Simulation method

Information

  • Patent Grant
  • 6606586
  • Patent Number
    6,606,586
  • Date Filed
    Wednesday, May 5, 1999
    25 years ago
  • Date Issued
    Tuesday, August 12, 2003
    21 years ago
Abstract
A physical quantity at a given position in an analysis space is expressed by using a Poisson's equation, a Green's function and the Green's theorem. The equation thus obtained is substituted into an unknown parameter in the equation, to be expanded into infinite series. Stopping the expansion when the equation is expanded to some degree, the equation can be expressed only with known parameters such as boundary conditions. Through calculating the respective values of integrations included in terms of the series by the Monte Carlo method and adding them up, a physical quantity at a given position can be thereby obtained. Further, by the same method, a parasitic element constant at a given position in the analysis space can be also obtained. With this method, a simulation is achieved for obtaining a physical quantity and a parasitic element constant at a given position in an analysis space, without solving a matrix equation.
Description




BACKGROUND OF THE INVENTION




1. Field of the Invention




The present invention relates to a simulation method for obtaining a physical quantity such as a potential inside an electrical element such as a semiconductor device, or parasitic element constants such as capacitance, resistance and inductance by numerical analysis.




2. Description of the Background Art




As an electrical element such as a semiconductor device becomes smaller, an effect that a parasitic element produces on the electrical element becomes relatively greater, so a quantitative grasp on the effect is required. It is generally difficult to obtain the parasitic element constant which quantitatively indicates the effect of the parasitic element by measurement of a practical device, and therefore the parasitic element constant is obtained by a simulation of numerical analysis with a computer.




Through this simulation, a numerical analysis is performed on a physical quantity (e.g., potential, temperature and the like) in a given position inside the electrical element, accompanying computation of the parasitic element constant. As a method of numerical analysis, the FEM (finite element method), the FDM (finite difference method) or the BEM (boundary element method) is often used.




Discussion will be made below on an exemplary case where a value of parasitic capacitance of a conductor in a two-dimensional analysis region is numerically analyzed by the finite difference method using the control volume method.




An direct object of the finite difference method is to obtain a physical quantity in a point of intersection (referred to as “node”) of mesh (hereinafter, for simple discussion, a potential is adopted as a specific example of the physical quantity, and discussion is based thereon unless otherwise specified).





FIG. 9

illustrates a structure of a region to be analyzed. This figure shows a partial region VP of an electrical element and the region VP consists of a conductor region CR


1


and a dielectric region DR


1


having a dielectric constant of ∈. The region VP is divided into meshes on expression (the conductor region CR


1


is not divided into meshes since uniform potential exists in an electrostatic field inside the conductor region CR


1


). The conductor region CR


1


has material boundaries C


1


and C


2


and is separated thereby from others. The dielectric region DR


1


has material boundaries C


2


and C


3


and analysis boundaries D


1


an D


2


and is separated thereby from others. In the material boundary C


3


, the dielectric region DR


1


adjoins a not-shown conductor region. Herein, the analysis boundary refers to a limit of an analyzable region and the material boundary refers to a boundary where different materials adjoin.




It is assumed in

FIG. 9

that for example, the potentials at the nodes on the material boundaries C


2


and C


3


and the normal components of electric fields (derivative of potential to position) relative to interfaces (hereinafter, referred to as “normal differential of potential”) at the nodes on the analysis boundaries D


1


and D


2


are given as boundary conditions. A node having an unknown quantity to be obtained is represented by a blank circle (◯), a node given a value of potential as a boundary condition is represented by a solid circle (&Circlesolid;) and a node given a value of normal differential of potential as a boundary condition is represented by a double circle ((⊚). In a case of

FIG. 9

, the unknown quantity to be obtained is a potential at the node represented by ◯ and there are 36 nodes of ◯ in the whole region VP. Values of potentials at the 36 points should be obtained under the above boundary conditions.




From the potential distribution thus obtained, the amount of electric charges that the conductor region CR


1


and other not-shown conductor regions have under the respective boundary conditions is calculated, to obtain the parasitic capacitance of the conductor through numerical analysis.




As another exemplary case for obtaining the parasitic capacitance of the conductor in the two-dimensional analysis region, numeric analysis by the boundary element method will be discussed below.





FIG. 10

illustrates a structure of a region to be analyzed. This figure shows the same region VP as

FIG. 9

by different expression. In the boundary element method, insince the boundary is expressed like a polygonal line and an object is to obtain the potential or its normal differential at each segment line (hereinafter, referred to as “boundary element”), the inside of the dielectric region DR


1


is not expressed in a form of mesh. In

FIG. 10

, the boundary elements are represented by the nodes (&Circlesolid;, ⊚) which are points of intersection of the boundary elements, like in FIG.


9


.




In the boundary element method, at each boundary element, the value of either one of the potential and its normal differential is given as a boundary condition and the value of the other is the unknown quantity to be obtained. Therefore, in the case of

FIG. 10

, the potential is unknown at the node ⊚ and the normal differential of potential is unknown at the node &Circlesolid;, and there are 35 unknown quantities in the whole region VP.




Next, a method for obtaining an unknown quantity in this region VP and its theoretical ground will be discussed. Hereinafter, a region to be analyzed (referred to as “analysis space”) is represented by V and a close boundary existing inside the analysis space V is represented by S. When the analysis space V is assumed to be an electrical element, the inside of the boundary S is conductive and the outside is dielectric.




From the Gauss' law,








div {right arrow over (D)}=ρ


  (1)






is true. Further, from the definition of electric field and dielectric flux density,








{right arrow over (D)}=∈{right arrow over (E)}=−∈ grad ψ


  (2)






is also true where {right arrow over (D)}, ρ, ∈, {right arrow over (E)} and ψ represent a dielectric flux density vector, a charge density, a dielectric constant, an electric field vector and a potential, respectively. An arrow above the reference sign indicates a vector sign.




Substituting Eq. 2 into Eq. 1, the Poisson's equation as expressed by










div


(

grad





ψ

)


=

Δψ
=

-

ρ
ε







(
3
)













is obtained. If ρ=0. Eq.3 is the Laplace's equation.




The Green's function G({right arrow over (x)}, {right arrow over (x′)}) is defined as a function satisfying






Δ


G


(


{right arrow over (x)},{right arrow over (x


′)})=−δ(


{right arrow over (x)}−{right arrow over (x


′)})  (4)










G


(


{right arrow over (x)},{right arrow over (x


′)})=0 (where |


x


′|→∝)  (5)






where {right arrow over (x)}, {right arrow over (x′)}, Δ and δ represent a position vector for a given position in the analysis space V, a position vector for a given point on the boundary S in the analysis space V, Laplacian with respect to {right arrow over (x)} and Dirac's delta function, respectively. The Green's function G({right arrow over (x)}, {right arrow over (x′)}) is a solution to the boundary problem with respect to {right arrow over (x)} when the unit charge is put on the position of {right arrow over (x′)}, from physical interpretation.




The Dirac's delta function δ satisfies, from its definition,









v




dV


′ψ(


{right arrow over (x′)})δ(




{right arrow over (x)}−{right arrow over (x


′)})=ψ(


{right arrow over (x)}


)  (6)






where dV′ represents a variable of integration in the analysis space V.




Spatial dimension for {right arrow over (x)} and {right arrow over (x′)} is arbitrary. It is known that for example, in a case of two dimensions, the Green's function G({right arrow over (x)}, {right arrow over (x′)}) is expressed as










G


(


x


,


x





)


=


-

1

2

π




ln


&LeftBracketingBar;


x


-


x





&RightBracketingBar;






(
7
)













and in a case of three dimensions, the Green's function is expressed as










G


(


x


,


x





)


=


1

4

π




1

&LeftBracketingBar;


x


-


x





&RightBracketingBar;







(
8
)













Applying the Green's theorem to the analysis space V and the boundary S using the potential ψ({right arrow over (x′)}) on the boundary S and the Green's function G({right arrow over (x)}, {right arrow over (x′)}),













s




dS′{right arrow over (n′)}·{G


(


{right arrow over (x)},{right arrow over (x


′)})∇′ψ(


{right arrow over (x′)})−ψ(




{right arrow over (x′)})∇′




G


(


{right arrow over (x)},{right arrow over (x


′)})}=∫


v




dV′{G


(


{right arrow over (x)},{right arrow over (x


′)})Δ′ψ(


{right arrow over (x′)})−ψ(




{right arrow over (x′)})Δ′




G


(


{right arrow over (x)},{right arrow over (x


′)})}  (9)






is true where dS′, {right arrow over (n′)}, ∇′ and Δ′ represent a variable of integration on the boundary S, an outward unit normal vector on the boundary S, a gradient with respect to {right arrow over (x′)} and Laplacian with respect to {right arrow over (x′)}, respectively.




Transforming Eq. 9 by using Eqs. 3, 4 and 6,






ψ(


{right arrow over (x)}


)=∫


v




dV′G


·(


{right arrow over (x)},{right arrow over (x


′)})ρ(


{right arrow over (x′)})+









s




dS′{right arrow over (n′)}·{G


(


{right arrow over (x)},{right arrow over (x


′)})∇′ψ(


{right arrow over (x′)})−ψ(




{right arrow over (x′)})∇′




G


(


{right arrow over (x)},{right arrow over (x


′)})}  (10)






is obtained. In other words, the potential ψ({right arrow over (x)}) at a given point (position {right arrow over (x)}) inside the analysis space V can be expressed by using the Green's function G({right arrow over (x)},{right arrow over (x′)}) and the values of parameters (ψ({right arrow over (x′)}), {right arrow over (n′)} and the like) at a point (position {right arrow over (x′)}) on the boundary S.




As to a region having no independent charge therein, such as a dielectric, in the analysis space V, it is assumed that ρ=0 in Eq. 10. Then, Eq. 10 is expressed as






ψ(


{right arrow over (x)}


)=







s




dS′{right arrow over (n′)}·{G


(


{right arrow over (x)},{right arrow over (x


′)})∇′ψ(


{right arrow over (x′)})−ψ(




{right arrow over (x′)})∇′




G


(


{right arrow over (x)},{right arrow over (x


′)})}  (11)






In Eq. 11, since the Green's function G({right arrow over (x)},{right arrow over (x′)}) is known as shown in Eq. 7 or 8 and either one of the potential ψ({right arrow over (x′)}) at {right arrow over (x′)} and the normal differential {right arrow over (n′)}·∇′ψ({right arrow over (x′)}) of potential is given as a boundary condition, the other which is unknown can be obtained by performing integral calculus.




When the numerical analysis is performed with computer, approximating the integral, Eq. 11 is expressed in terms of such a matrix equation (where A, Ψ and B represent a coefficient matrix, a solution to be obtained and an absolute term, respectively) as








AΨ=B


  (12)






and Eq. 12 is solved numerically to obtain the solution Ψ.




How to obtain the parasitic capacitance is as follows. From the Gauss' law, the normal differential {right arrow over (n′)}·∇′ψ({right arrow over (x′)}) of potential is integrated with respect to the variable of integration dS′ on the boundary S between the conductor and the dielectric to obtain the amount of electric charges. With variation of the potential ψ


j


of the j-th conductor, the amount of electric charges Q


i


of the i-th (i≠j) conductor induced thereby is computed, to obtain the parasitic capacitance C


i,j


between the i-th conductor and the j-th conductor as










C

i
,
j


=




Q
i





ψ
j







(
13
)













In these methods, however, an increased number of meshes imposes overload on calculation performance of a CPU and memory capacity in the computer since fragmented nodes and boundary elements are used in accordance with complicated shape of the material to meet the requirement for higher accuracy of analysis, and as a result, it is disadvantageously impossible to broaden an analyzable region. Specifically, the matrix equation of Eq. 12 becomes larger and the use of memory region and calculation time increase. Moreover, it is disadvantageously impossible to obtain approximate solution until the computer completes the matrix equation. These problems especially become prominent in obtaining the potential and parasitic element constant inside a semiconductor device of three-dimensionally complicated shape.




The analysis made by the boundary element method advantageously uses less equations than those made by the finite element method and the finite difference method since the unknown quantity exists only on the boundary. On the other hand, the equations to be solved are disadvantageously complicated. Therefore, the analysis by the boundary element method is not much different from those by the finite element method and the finite difference method in terms of calculation time and the amount of calculations.




In any method, there are still problems that the use of memory region and calculation time increase and the approximate solution can not be obtained until the equations are completely solved. Further, the accuracy of calculated value is found after the equations are completely solved, and therefore it is impossible to perform calculation with desired accuracy determined in advance.




SUMMARY OF THE INVENTION




The present invention is directed to a simulation method. According to a first aspect of the present invention, the simulation method comprises the steps of: (a) expressing a first function representing a first physical quantity (potential, temperature) satisfying a Poisson's equation with respect to a first variable indicating a given position in an analysis space comprising at least one region having a boundary comprising information on position and boundary condition in a form of a first integral with a difference, as a first integrand, between a product of a second function representing the first physical quantity with respect to a second variable indicating a position on the boundary and a first derivative representing a normal component on the boundary out of a differentiated result of a first Green's function on the first and second variables and the first physical quantity with respect to the second variable and a product of the first Green's function and a second derivative representing a normal component on the boundary out of a differentiated result of the second function with respect to the second variable, the boundary as a first integral region and the second variable as a first variable of integration; and (b) substituting the first integral sequentially into either one of the second function and the second derivative that is not given as the boundary condition while updating the first variable of integration.




According to a second aspect of the present invention, the simulation method of the first aspect further comprises the steps of: (c) expressing the first function as a sum of series and obtaining values of first to m-th (m≧1) terms out of the sum of series by using the information on position and boundary condition that the boundary comprises; and (d) adding all the values of the first to m-th terms obtained in the step (c) to numerically calculate a value of the first function.




According to a third aspect of the present invention, in the simulation method of the first aspect, the at least one region means a plurality of regions, and the method further comprises the steps of: (c) expressing a third function representing a second physical quantity (the amount of electric charges) in a first region which is one of the plurality of regions in a form of a second integral with a product of a third derivative representing a normal component on the boundary of the first region out of a differentiated result of the first function with respect to the first variable on the boundary of the first region and a physical constant depending on a material of the first region as a second integrand, the first variable as a second variable of integration and the boundary of the first region as the second integral region; and (d) performing the step (b) on a fourth function representing a parasitic element constant between the first region and a second region which is one of the plurality of regions obtained by differentiating the third function with respect to the second function in the second region to express the fourth function as a sum of series and obtaining values of first to n-th (n≧1) terms out of the sum of series by using the information on position and boundary condition that the boundary comprises; and (e) adding all the values of the first to n-th terms obtained in the step (d) to numerically calculate a value of the fourth function.




According to a fourth aspect of the present invention, the simulation method of the first aspect further comprises the steps of: (c) expressing a third function representing a second physical quantity (current) in the region in a form of a second integral with a product of a third derivative representing a normal component on the boundary out of a differentiated result of a first function with respect to the first variable on the boundary and a first physical constant depending on a material of the region as a second integrand, the first variable as a second variable of integration and the boundary as the second integral region; and (d) performing the step (b) on the third function to express the third function as a first sum of series and obtaining values of first to p-th (p≧1) terms out of the first sum of series by using the information on position and boundary condition that the boundary comprises; and (e) adding all the values of the first to p-th terms obtained in the step (d) to numerically calculate a value of the third function.




According to a fifth aspect of the present invention, the simulation method of the fourth aspect further comprises the step of: (f) dividing difference between the second function of a position in the region and the second function of another position in the region by the third function, to numerically calculate a value of a fourth function representing a parasitic element constant (parasitic resistance, parasitic thermal resistance) in the region.




According to a sixth aspect of the present invention, the simulation method of the fourth aspect further comprises the steps of: (f) expressing a fourth function representing a parasitic element constant (self-inductance) in the region in a form of a fourth integral, using a third variable and a fourth variable both of which indicate positions in the region and a fifth function expressed in a form of a third integral with a product obtained by multiplying a fourth derivative representing a differentiated value of the first function with respect to the fourth variable in the region by the first physical constant and a second Green's function on the third and fourth variables and the first physical quantity as a third integrand, the fourth variable as a third variable of integration and the region as a third integral region, with a product obtained by multiplying an inner product of the fifth function and a fifth derivative representing a differentiated value of the first function with respect to the third variable in the region by the first physical constant, a second physical constant depending on a material of the region and the inverse of the square of a value of the third function as a fourth integrand, the third variable as a fourth variable of integration and the region as a fourth integral region; (g) performing the step (b) on the fourth function to express the fourth function as a second sum of series and obtaining values of first to q-th (q≧1) terms out of the second sum of series by using the information on position and boundary condition that the boundary comprises; and (h) adding all the values of the first to q-th terms obtained in the step (g) to numerically calculate a value of the fourth function.




According to a seventh aspect of the present invention, in the simulation method of the first aspect, the at least one region means a plurality of regions, and the method further comprises the steps of: (c) expressing a third function representing a second physical quantity in a first region which is one of the plurality of regions in a form of a second integral with a third variable representing a position on a first boundary which the first region has as a second variable of integration, a product of a third derivative representing a normal component on the first boundary out of a differentiated result of the first function with respect to the third variable on the first boundary and a first physical constant depending on a material of the first region as a second integrand and the first boundary as a second integral region; and (d) performing the step (b) on the third function to express the third function as a first sum of series and obtaining values of first to r-th (r≧1) terms out of the first sum of series by using the information on position and boundary condition that the boundary comprises; (e) adding all the values of the first to r-th terms obtained in the step (d) to numerically calculate a value of the third function; (f) expressing a fourth function representing a second physical quantity in a second region which is one of the plurality of regions in a form of a third integral with a fourth variable representing a position on a second boundary which the second region has as a third variable of integration, a product of a fourth derivative representing a normal component on the second boundary out of a differentiated result of the first function with respect to the fourth variable on the second boundary and a second physical constant depending on a material of the second region as a third integrand and the second boundary as a third integral region; and (g) performing the step (b) on the fourth function to express the fourth function as a second sum of series and obtaining values of first to s-th (s≧1) terms out of the second sum of series by using the information on position and boundary condition that the boundary comprises; (h) adding all the values of the first to s-th terms obtained in the step (g) to numerically calculate a value of the fourth function; (i) expressing a fifth function representing a parasitic element constant between the first and second regions in a form of a fifth integral, using a fifth variable representing a position in the first region, a sixth variable representing a position in the second region and a sixth function expressed in a form of a fourth integral with a product obtained by multiplying a fifth derivative representing a differentiated result of the first function with respect to the sixth variable in the second region by the second physical constant and a second Green's function on the fifth and sixth variables and the first physical quantity as a fourth integrand, the sixth variable as a fourth variable of integration and the second region as a fourth integral region, with a product obtained by multiplying an inner product of the sixth function and a sixth derivative representing a differentiated result of the first function with respect to the fifth variable in the first region by the first physical constant, a third physical constant depending on a material of the first region, the inverse of the third function and the inverse of the fourth function as a fifth integrand, the fifth variable as a fifth variable of integration and the first region as a fifth integral region; () performing the step (b) on the fifth function to express the fifth function as a third sum of series and obtaining values of first to t-th (t≧1) terms out of the third sum of series by using the information on position and boundary condition that the boundary comprises; and (k) adding all the values of the first to t-th terms obtained in the step () to numerically calculate a value of the fifth function.




By using the simulation method of the first aspect of the present invention, either one of the second function and the second derivative that is not given as the boundary condition can be expressed in a form of numerically-calculable function.




By using the simulation method of the second aspect of the present invention, since the first function is obtained as the sum of the values of the first to the m-th terms in an expression where the first function is expanded into the sum of series, the calculation can be performed by the number of the terms in accordance with a predetermined accuracy and stopped before the following term without changing the number of boundary elements for a change of calculation accuracy.




By using the simulation method of the third aspect of the present invention, since the fourth function is obtained as the sum of the values of the first to the n-th terms in an expression where the fourth function is expanded into the sum of series, the calculation can be performed by the number of the terms in accordance with a predetermined accuracy and stopped before the following term without changing the number of boundary elements for a change of calculation accuracy. Further, more accurate value of the fourth function can be obtained in consideration of distribution of physical quantities. Furthermore, the value of the fourth function can be obtained without obtaining the value of the first function.




By using the simulation method of the fourth aspect of the present invention, since the third function is obtained as the sum of the values of the first to the p-th terms in an expression where the third function is expanded into the first sum of series, the calculation can be performed by the number of the terms in accordance with a predetermined accuracy and stopped before the following term without changing the number of boundary elements for a change of calculation accuracy. Further, more accurate value of the third function can be obtained in consideration of distribution of physical quantities. Furthermore, the value of the third function can be obtained without obtaining the value of the first function.




By using the simulation method of the fifth aspect of the present invention, since the fourth function is obtained after the third function is obtained as the sum of the values of the first to the p-th terms in an expression where the third function is expanded into the first sum of series, the calculation can be performed by the number of the terms in accordance with a predetermined accuracy and stopped before the following term without changing the number of boundary elements for a change of calculation accuracy. Further, more accurate value of the fourth function can be obtained in consideration of distribution of physical quantities. Furthermore, the value of the fourth function can be obtained without obtaining the value of the first function.




By using the simulation method of the sixth aspect of the present invention, since the fourth function is obtained as the sum of the values of the first to the q-th terms in an expression where the fourth function is expanded into the second sum of series, the calculation can be performed by the number of the terms in accordance with a predetermined accuracy and stopped before the following term without changing the number of boundary elements for a change of calculation accuracy. Further, more accurate value of the fourth function can be obtained in consideration of distribution of physical quantities. Furthermore, the value of the fourth function can be obtained without obtaining the value of the first function.




By using the simulation method of the seventh aspect of the present invention, since the fifth function is obtained as the sum of the values of the first to the t-th terms in an expression where the fifth function is expanded into the third sum of series, the calculation can be performed by the number of the terms in accordance with a predetermined accuracy and stopped before the following term without changing the number of boundary elements for a change of calculation accuracy. Further, more accurate value of the fifth function can be obtained in consideration of distribution of physical quantities. Furthermore, the value of the fifth function can be obtained without obtaining the value of the first function.




An object of the present invention is to provide a simulation method which allows reduction in use of memory region and calculation time when it is required to quickly obtain an approximate solution even with low calculation accuracy and allows a calculated value of high accuracy to be obtained when high calculation accuracy is required even though the use of memory region and calculation time increase.











These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.




BRIEF DESCRIPTION OF THE DRAWINGS





FIG. 1

illustrates a model of an analysis space in accordance with first to fifth preferred embodiments of the present invention;





FIG. 2

illustrates part of the analysis space in accordance with the first and second preferred embodiments of the present invention;





FIG. 3

illustrates a plane to which the Monte Carlo method is applied in accordance with the first preferred embodiment of the present invention;





FIG. 4

illustrates a space to which the Monte Carlo method is applied in accordance with the first preferred embodiment of the present invention;





FIG. 5

illustrates a space to which the Monte Carlo method is applied in accordance with the second preferred embodiment of the present invention;





FIG. 6

illustrates part of the analysis space in accordance with the third preferred embodiment of the present invention;





FIG. 7

illustrates part of the analysis space in accordance with the fourth preferred embodiment of the present invention;





FIG. 8

illustrates part of the analysis space in accordance with the fifth preferred embodiment of the present invention; and





FIGS. 9 and 10

each illustrate an analysis space in the background art.











DESCRIPTION OF THE PREFERRED EMBODIMENTS




The First Preferred Embodiment





FIG. 1

illustrates a model of an analysis space V having a boundary S∞ of infinity. In the analysis space V, there exist regions V


1


, V


2


, . . . , V


i


, . . . , V


j


, . . . , V


N


(N≧1) having boundaries S


1


, S


2


, . . . , S


i


, . . . , S


j


, . . . , S


N


, respectively. Applying the model view to the electrical element such as a semiconductor device, the regions V


1


to V


N


correspond to conductor regions and other portions in the analysis space V correspond to dielectric regions. One of a potential and a normal differential of potential on the boundaries S


1


to S


N


is given as a boundary condition. Further, the potential and the normal differential of potential on the boundary S∞ of infinity are each assumed to be 0. In this preferred embodiment, the value of the potential ψ({right arrow over (x′)}) at a given point ({right arrow over (x′)}) in the analysis space V is expressed in a form of equation obtained by developing Eq. 11.




Herein, it is assumed, for simple discussion, that the charge density ρ in a region other than the regions V


1


to V


N


inside the analysis space V is 0, and a Dirichlet's boundary condition, specifically, a boundary condition for the potential on the boundaries S


1


to S


N


is given.




In this case, if









S
=




j
=
1

N



S
j






(
14
)













Eq. 11 is true with S replaced by S


j


.




As to the term on the right side of Eq. 11, since


n′


is known from positional information of the boundaries S


1


to S


N


, the potential ψ({right arrow over (x′)}) is known from the boundary condition, the Green's function G({right arrow over (x)},{right arrow over (x′)}) is known from Eq. 7 or 8 and the normal differential {right arrow over (n′)}·G({right arrow over (x)},{right arrow over (x′)}) of the Green's function is known from calculation using the Green's function G({right arrow over (x)},{right arrow over (x′)}), only the normal differential {right arrow over (n′)}·∇′ψ({right arrow over (x′)}) of potential on the boundary is unknown.




In Eq. 11, when {right arrow over (x)} is technically converted into {right arrow over (x′)} and {right arrow over (x′)} is technically converted into {right arrow over (x″)},






ψ(


{right arrow over (x′)})=









s




dS″n″·{G


(


{right arrow over (x′)},{right arrow over (x


″)})∇″ψ(


{right arrow over (x″)})−ψ(




{right arrow over (x″)})∇″




G


(


{right arrow over (x′)},{right arrow over (x


″)})}  (15)






is obtained. Assuming the relation between {right arrow over (x″)} and {right arrow over (x′)} is the same as that between {right arrow over (x′)} and {right arrow over (x)},{right arrow over (x″)} is also a position vector on the boundaries S


1


to S


N


.




Substituting Eq. 15 into the unknown letter {right arrow over (n′)}·∇′ψ({right arrow over (x′)}),






ψ(


{right arrow over (x)}


)=−







s




dS


′{ψ(


{right arrow over (x′)})




{right arrow over (n′)}·∇′G


(


{right arrow over (x)},{right arrow over (x


′)})}








+







s




dS′{right arrow over (n′)}·{G


(


{right arrow over (x)},{right arrow over (x


′)})∇′{







s




dS″{right arrow over (n″)}·{G








(


{right arrow over (x′)},{right arrow over (x


″)})∇″ψ(


{right arrow over (x″)})








−ψ(


{right arrow over (x″)})∇″




G


(


{right arrow over (x′)},{right arrow over (x


″)})}}}  (16)






is obtained. Specifically, the variable of integration of Eq. 11 is updated from {right arrow over (x′)} indicating a position on the boundary to {right arrow over (x″)} indicating a position on the boundary and substituted into the equation. As is clear from the right side of Eq. 16, the unknown normal differential {right arrow over (n″)}·∇″ψ({right arrow over (x″)}) of potential on the boundary exists in the last term of the expanded equation and all the former terms are expressed by known quantities. Therefore, by repeating the same conversion as in Eq. 15 obtained is















ψ


(

x


)


=



-



S






S





{


ψ


(


x




)






n




·







G


(


x


,


x





)





}




-



S






S





{


G


(


x


,


x





)






n




·







{



S






S





{


ψ


(


x




)











G


(



x




,


x





)



·


n






}



}




}



+



S






S





{


G


(


x


,


x





)






n




·







{



S






S





{


G


(



x




,


x





)











ψ


(


x




)



·


n






}



}




}




=



-



S






S





{


ψ


(


x




)






n




·







G


(


x


,


x





)





}




-



S






S





{


G


(


x


,


x





)






n




·







{



S






S





{


ψ


(


x




)











G


(



x




,


x





)



·


n






}



}




}



+



S






S





{


G


(


x


,


x





)






n




·







{



S






S





{


G


(



x




,


x





)






n




·







{



S






S
″′










n
″′



·

{



G


(



x




,


x
″′




)






″′



ψ
(






x
″′



)



-


ψ


(


x
″′



)






″′



G


(



x




,


x
″′




)





}




}




}



}




}




=


=


-



S






S

(
1
)





{


ψ


(


x

(
1
)




)






n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)





}




-




n
=
1





{



S






S

(
1
)





{


G


(



x

(
0
)




,


x

(
1
)





)










n

(
1
)




·




(
1
)




{



S






S

(
2
)





{


G


(



x

(
1
)




,


x

(
2
)





)






n

(
2
)




·




(
2
)




{






S






S

(

n
-
1

)





{


G
(







x

(

n
-
2

)




,


x

(

n
-
1

)





)









n

(

n
-
1

)




·




(

n
-
1

)




{



S






S

(
n
)









{


G
(







x

(

n
-
1

)




,


x

(
n
)





)









n

(
n
)




·




(
n
)




{



S






S

(

n
+
1

)









{


ψ
(






x

(

n
+
1

)




)











(

n
+
1

)




G
(







x

(
n
)








,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}



}




}





}




}




























(
17
)













where (n) represents the number of prime (′), and {right arrow over (x


(0)


)}={right arrow over (x)}.




Thus, when the unknown letter {right arrow over (n


(n)


)}·∇


(n)


ψ({right arrow over (x


(n)


)}) is expanded and the expression of infinite series is adopted, ψ({right arrow over (x)}) on the left side can be technically expressed only with the known quantities. Actually, however, since calculation can not be performed with infinite series, the calculation is made by the number m (m≧2) of terms and the following terms including the unknown letter {right arrow over (n


(m+1)


)}·∇


(m+1)


ψ({right arrow over (x


(m+1)


)}) are ignored.




Further, as can be seen from Eq. 17, at every expansion, differential operation ∇, multiplication by the Green's function and integral calculus with respect to the boundary S are performed. Considering that the Green's function is expressed with Eqs. 7 and 8, the value of the high-order term component of n decreases even though the integral calculus with respect to the boundary S is performed. Therefore, since the unknown quantity {right arrow over (n


(n)


)}·∇


(n)


ψ({right arrow over (x


(n)


)}) makes less contribution to ψ({right arrow over (x)}) on the left side as the number n of expansions increases, the numerical calculation may be stopped when the number of calculated terms becomes the necessary number m in accordance with a required accuracy.




Based on such a mathematical ground, discussion will be presented on a method of obtaining the value of potential at a given position ({right arrow over (x)}) on the region V in the two-dimensional view of

FIG. 2

by numerical analysis.

FIG. 2

is an enlarged view of a partial region VP


1


in the analysis space V of the model view of FIG.


1


.




In

FIG. 2

, the boundary S


i


separates the conductor region CR


1


and the dielectric region DR


1


having a dielectric constant ∈, and the boundary S


i+1


separates the conductor region CR


2


and the dielectric region DR


1


. The boundaries S


i


and S


i+1


each consist of a plurality of boundary elements. The node &Circlesolid; is regarded as a representative point of boundary elements and is given positional (coordinate) information and the value of potential as a boundary condition. With this, {right arrow over (x′)} is given as a numerical value of coordinate of the node &Circlesolid;. Further, with the coordinates of adjacent nodes, a unit normal vector {right arrow over (n′)} of each boundary element can be given as a numerical value.




First, a position whose potential should be obtained, i.e., {right arrow over (x)} is specified. Next, the potential at the point is obtained as below by using Eq. 17.




In Eq. 17, when the contribution of the first term (n=0) to the potential ψ({right arrow over (x)}) on the left side is expressed as ψ|


n=0


,






ψ|


n=0




=−∫




s




dS


′{ψ(


{right arrow over (x′)})




{right arrow over (n′)}·∇′G


(


{right arrow over (x)},{right arrow over (x


′)})}  (18)






The contribution ψ|


n=0


of the first term is obtained by numerical analysis. Considering Eq. 14 together, Eq. 18 is expressed as











(

ψ
&RightBracketingBar;

)


n
=
0


=

-




j
=
1

N



{




S
j







S





{


ψ


(


x




)






n




·







G


(


x


,


x





)





}



}







(
19
)













Since the potential on the boundary S (specifically, S


1


to S


N


) is known from the boundary condition and the same potential exists anywhere on a boundary in an electrostatic field, when potentials on the boundaries are expressed as ψ


1


, . . . ψ


2


, . . . , ψ


i


, . . . , ψ


j


, . . . , ψ


N


, No Eq. 19 can be expressed as











(

ψ
&RightBracketingBar;

)


n
=
0


=

-




j
=
1

N



{




S
j







S





{


ψ
j





n




·







G


(


x


,


x





)





}



}







(
20
)













Considering that {right arrow over (x′)} and the unit normal vector {right arrow over (n′)} are obtained as numerical values, {right arrow over (x)} is specified and the Green's function G({right arrow over (x)},{right arrow over (x′)}) is obtained from Eq. 7 (in a case of two dimensions), when the integrand is assumed f


0


(j,{right arrow over (x)},{right arrow over (x′)}) in Eq. 20,








f




0


(


j,{right arrow over (x)},{right arrow over (x


′)})=−ψ


j




{right arrow over (n′)}·∇′G


(


{right arrow over (x)},{right arrow over (x


′)})  (21)






can be easily calculated.




In the numerical analysis of Eq. 20, since the integrand f


0


(j,{right arrow over (x)},{right arrow over (x)}) of Eq. 21 can be easily obtained, the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) is integrated with respect to the boundary S by using MCM (Monte Carlo method). The reason why the Monte Carlo method is used is that it is easy to generate a random number with computer and it is possible to achieve a desired calculation accuracy by changing the number of generations of random numbers since the error of calculation is in proportion to the inverse of the square root of the number of generations of random numbers.




Each boundary S


j


is expressed being divided into boundary elements as shown in FIG.


2


. Therefore, in the case of two dimensions, assuming that the total of lengths of lines of all the boundaries S


1


to S


N


is represented as L


total


, the total length of line of the j-th boundary S


j


as L


j


, the number of boundary elements that the j-th boundary S


j


has as N


j


and the length of line of the k-th boundary element S


jk


among the boundary elements that the j-th boundary S


j


has as L


jk


, respectively, L


total


can be expressed as










L
total

=





j
=
1

N



L
j


=




j
=
1

N






k
=
1


N
j




L
jk








(
22
)













(in the case of three dimensions, the above length of line is replaced by area).




To obtain the integrated value of the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) of Eq. 21, the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) is expressed on a plane f


0


−S as shown in FIG.


3


. The horizontal axis S of

FIG. 3

is an alignment of the lengths of lines L


jk


of all the boundary elements S


jk


in the boundary S (specifically, boundaries S


1


to S


N


), having a size of the total L


total


of lengths. The vertical axis f


0


shows the value of the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}). The upper limit value Φ of the vertical axis f


0


is larger than an expected maximum value of the potential ψ({right arrow over (x)}) to be obtained in the analysis space V and an appropriately-determined value (e.g., 10[V]) for using the Monte Carlo method. A rectangle having sides Φ and L


total


is represented as RA, and in the rectangle RA, a region of values smaller than the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) is represented as D


1


and a region of values equal to or larger than the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) is represented as D


2


.




The principle of integral calculus by the Monte Carlo method is as follows. First, generated is such a random number RN


1


as to choose a point inside the rectangle RA at random. Next, comparison between the random number RN


1


and the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) is made to check if the random number RN1 is larger than the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}). Specifically, it is judged whether the random number RN


1


is located below the curb of the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) in FIG.


3


. Only when the random number RN


1


is located in the region D


1


, the integrated value W is incremented. Then, the random number RN


1


is generated again and comparison between the random number RN


1


and the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) is made, and only when the above condition is satisfied, the integrated value W is incremented. This is repeated M times.




If the number M of generations of random numbers is large enough, it is considered that the ratio of the integrated value W and the number M of generations of random numbers almost coincides with the area ratio of the region D


1


and the region D


1


+D


2


. The ratio of W and M can be expressed as










W
M







j
=
1

N



{




S
j






f
0



(

j
,

x


,


x





)






S





}




L
total


Φ






(
23
)













The numerator and the denominator of the right side represent the area of the region D


1


and the area of the region D


1


+D


2


(i.e., the rectangle RA), respectively. Therefore, transforming Eq. 23,













j
=
1

N



{




S
j






f
0



(

j
,

x


,


x





)






S





}





W
M



L
total


Φ





(
24
)













and the contribution ψ|


n=0


of the first term can be obtained by numerical analysis.




Further, generation of the random number RN


1


is made as below. First, a random number RN


2


is generated to choose one of all the boundary elements S


jk


. At this time, probability P


jk


of choosing each boundary element S


jk


is given as;










P
jk

=


L
jk


L
total






(
25
)













in accordance to the length of line of the boundary element. This is an equivalent to choosing part of the horizontal axis S of

FIG. 3

with weight added in accordance with the length of line L


jk


of the boundary element. Next, the random number RN


1


is generated in a range of the upper limit Φ and 0. The random number RN


1


, unlike the random number RN


2


, is generated in a range of 0 to the upper limit Φ with no weight at uniform probability. This means choosing one point out of 0 to Φ of the vertical axis f


0


after choosing part of the horizontal axis S, and therefore means choosing one point inside the rectangle RA at random. Repeating this M times, the random numbers RN


1


are uniformly distributed inside the rectangle RA.




Next, in a like manner, the contribution of the second term (n=1) to the potential ψ({right arrow over (x)}) on the left side of Eq. 17 is obtained. When the contribution of the second term is represented as ψ|


n=1


,











ψ
&RightBracketingBar;


n
=
1


=

-



S






S





G


(


x


,


x





)






n




·







{




j
=
1

N



{




S
j







S





{


ψ


(


x




)






n




·







G


(



x




,


x





)





}



}


}










(
26
)













is true. Since the vectors {right arrow over (x)} and {right arrow over (x′)} and the vector {right arrow over (x″)} are independent, Eq. 26 can be expressed as











ψ
&RightBracketingBar;


n
=
1


=

-



S






S








j
=
1

N



{




S
j







S





{


G


(


x


,


x





)






n




·







{


ψ
j





n




·







G


(



x




,


x





)





}




}



}









(
27
)













In Eq. 27, assuming the integrand to be f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}),








f




1


(


j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)})=−




G


(


{right arrow over (x)},{right arrow over (x


′)})


{right arrow over (n′)}·∇′{ψ




j




{right arrow over (n″)}·∇″G


(


{right arrow over (x′)},{right arrow over (x


″)})}  (28)






The integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}) can be numerically calculated like the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}).




Since the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}) can be indicated correspondingly to the boundary S like the integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}) but both {right arrow over (x′)} and {right arrow over (x″)} are variables of integration unlike the case of integrand f


0


(j,{right arrow over (x)},{right arrow over (x′)}), the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}) has to be expressed on a space f


1


−S′−S″ as shown in FIG.


4


. Since both the axes S′ and S″ show the boundary S inside the analysis space V from different view points, its maximum value is Ltotai of Eq. 22. The value of the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}) is integrated with respect to the boundary S′ and the total of the integrated values with respect to the boundary S


j


is integrated with respect to the boundary S″, to obtain the contribution ψ|


n=1


of the second term. In other words, the value of the contribution ψ|


n=1


of the second term can be obtained by calculating the volume of the region D


1


of FIG.


4


.




The volume of the region D


1


can be obtained by the Monte Carlo method like the value of the contribution ψ|


n=0


of the first term. In this case, since the space f


1


−S′−S″ is in three dimensions, it is necessary to generate another random number RN


3


, in addition to the random numbers RN


1


and RN


2


, to choose one point inside a rectangular solid RP


1


at random. Specifically, the random number RN


2


for choosing one of the boundary elements S′


jk


in the boundary S′ at the probability P


jk


is first generated, the random number RN


3


for choosing one of the boundary elements S″


rs


in the boundary S″ at the probability P


rs


is next generated, and finally the random number RN


1


is generated in a range of the upper limit Φ and 0. Thus, one point can be chosen at random inside the rectangular solid RP


1


.




Next, comparison between the random number RN


1


and the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}) is made to check if the random number RN


1


is smaller than the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}), and only when the random number RN


1


is found in the region D


1


, the integrated value W is incremented. This is repeated M times. If the number M of generations of random numbers is large enough, it is considered that the ratio of the integrated value W and the number M of generations of random numbers almost coincide with the volume ratio of the region D


1


and the region D


1


+D


2


. The ratio of W and M can be expressed










W
M






S






S








j
=
1

N



{




S
j







S






f
1



(

j
,

x


,


x




,


x





)




}






L
total



L
total


Φ






(
29
)













Transforming Eq. 29,












S






S








j
=
1

N



{




S
j







S






f
1



(

j
,

x


,


x




,


x





)




}







W
M




(

L
total

)

2


Φ





(
30
)













and thus the integral calculus of the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}) with respect to the boundaries S′ and S″ can be made. Therefore, the contribution ψ|


n=1


of the second term can be obtained by numerical analysis.




On the analogy of the integrand f


1


(j,{right arrow over (x)},{right arrow over (x′)},{right arrow over (x″)}), the contribution ψ|


n=m−1


of the m-th term (n=m−1) can be similarly obtained as below. The integrand f


m−1


(j,{right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)})) is defined as








f




m−1


(


j,{right arrow over (x


(0)


)}, . . . ,




{right arrow over (x


(m)


)})=




G


(


{right arrow over (x


(0)


)},




{right arrow over (x


(1)


)})




{right arrow over (n


(1)


)}·∇




(1)




{G


(


{right arrow over (x


(1


)},




{right arrow over (x


(2)


)})




{right arrow over (n


(2)


)})·∇




(2)




{ . . . G


(


{right arrow over (x


(m−2


)},




{right arrow over (x


(m−1)


)})




{right arrow over (n


(m−1)


)}·∇




(m−1)





j









(m)




G


(


{right arrow over (x


(m−1


)},




{right arrow over (x


(m)


)})·




{right arrow over (n


(m)


)}}} . . . }}


  (31)






and comparison between the value of the integrand f


m−1


(j,{right arrow over (x


(0)


)}, . . . {right arrow over (x


(m)


)}) and the last random number RN


1


in choosing one point inside the (m+1)th-dimensional space at random is made to obtain the integrated value W. Then, the contribution ψ|


n=m−1


of the m-th term (n=m−1) can be obtained as











ψ
&RightBracketingBar;


n
=

m
-
1






W
M




(

L
total

)

m


Φ





(
32
)













The above method is a so-called hit-or-miss Monte Carlo method, and when the definite integral is obtained by using the hit-or-miss Monte Carlo method, the error err of the integrated value ψ|


n=m−1


obtained correspondingly to a set of random numbers is defined as the square root of variance (that is, standard deviation) of the integrated value ψ|


n=m−1


, being expressed as









err
=










Φ


(

L
total

)


m


ψ

&RightBracketingBar;


n
=

m
-
1



-
ψ

&RightBracketingBar;


n
=

m
-
1


2

M






(
33
)













It can be seen from Eq. 33 that the value of the error err depends on the number M of generations of random numbers. Therefore, the value of the error err is obtained at the same time as the contribution ψ|


n=m−1


of the m-th term is calculated, and for example, if the value of the error err falls within 5%, the value of the contribution ψ|


n=m−1


of the m-th term is determined, and if exceeds 5%, the number M of generations of random numbers is reset and the calculation is started again. Since the error of the contribution value ψ|


n=m−1


of the m-th term is thus checked, the contribution value ψ|


n=m−1


of the m-th term can be obtained with higher accuracy.




Thus, with respect to the infinite series of Eq. 17, the sum is obtained sequentially from the first term. Predetermining that the calculation is stopped when the value of contribution ψ|


n=m


of the (m+1)th term is equal to or smaller than, for example, 10% of the value of contribution ψ|


n=0


of the first term, addition of the contributions from the first term to the m-th term is made to obtain an approximate value of potential with accuracy to some degree. Further, since the amount of calculation can vary with the value of this ratio, it is possible to reduce the use of memory and calculation time, or to improve the accuracy of approximate value with an increase of calculation time.




The above is the calculation of potential at a {right arrow over (x)}, and as to other {right arrow over (x)}, the potential ψ({right arrow over (x)}) at a given portion in the analysis space V can be obtained by the same calculation as above.




Though the above discussion has been made with reference to

FIG. 2

taking the case of two dimensions, in the case of three dimensions, only calculation of the integrand f


m−1


(j,{right arrow over (x


(0)


)}, . . . {right arrow over (x


(m)


)}) is changed and the principle is not changed, so it is natural that the present invention can be applied to the case of three dimensions.




Though the above calculation uses the Dirichlet's boundary condition, if the calculation uses a Neumann's boundary condition giving the normal differential of potential on the boundaries S


1


to S


N


, instead of expansion of {right arrow over (n′)}·∇′ψ({right arrow over (x′)}) in Eq. 11, Eq. 15 may be substituted into the unknown letter ψ({right arrow over (x′)}) on the right side and then expanded. In a case of boundary condition with the boundary given the potential and the boundary given the normal differential of potential mixed, the boundary S is divided into a boundary S


D


having the Dirichiet's boundary condition and a boundary S


N


having the Neumann's boundary condition as








S=S




D




+S




N


  (34)






and expansion of series is performed for each boundary.




With the simulation method of this preferred embodiment, since the value of potential at a given portion inside the analysis space V is obtained, by using the boundary condition, as the sum of series from the first term to the m-th term in an expression where the function of potential is expanded into infinite series, the calculation can be stopped at such a term as to ensure the predetermined accuracy without changing the number of boundary elements for improvement in accuracy. Since the amount of calculation can be changed by arbitrarily setting the number of generations of random numbers, it is possible to gain the approximate value of potential to be obtained with less number of generations of random numbers, less use of memory and less amount of calculation time. On the other hand, it is also possible to improve the accuracy of approximate value with more number of generations of random numbers and more amount of calculation time.




Though this preferred embodiment has been discussed taking a potential as a physical quantity, since temperature, for example, is a physical quantity satisfying the Poisson's equation, the value of temperature at a given portion inside the analysis space V can be obtained by the same method as above.




The Second Preferred Embodiment




This preferred embodiment has an object of obtaining the parasitic capacitance C


i,j


between the conductor V


i


and the conductor V


j


when the regions V


1


to V


N


of

FIG. 1

are regarded as a conductor. Herein, it is assumed, for simple discussion, that the charge density ρ in a region other than the regions V


1


to V


N


inside the analysis space V is 0, and the Dirichlet's boundary condition is given, like in the first preferred embodiment. It is also assumed, like in the first preferred embodiment, that the discussion is based on the two-dimensional view of FIG.


2


and the dielectric constant ∈ in the dielectric region DR


1


is constant.




From the Gauss' law, the amount of electric charges Q


i


that the conductor V


i


has is expressed as








Q




i




=−∫




S






i






dS{{right arrow over (n)}


·∈∇ψ(


{right arrow over (x)}


)}  (35)






Substituting Eq. 17 into Eq. 35,










Q
i

=

-




s
i







S

(
0
)





{




n

(
0
)




·
ε






(
0
)




{


-




S
i











S

(
1
)





{


ψ


(


x

(
1
)




)






n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)





}




-




n
=
1

x



{



S






S

(
1
)









{


G


(



x

(
0
)




,


x

(
1
)





)






n

(
1
)




·




(
1
)




{




{



S






S

(
n
)





{


G


(



x

(

n
-
1

)




,


x

(
n
)





)










n

(
n
)




·




(
n
)




{



S






S

(

n
+
1

)









{


ψ
(






x

(

n
+
1

)




)











(

n
+
1

)




G
(







x

(
n
)








,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}



}






}



}























(
36
)













Considering Eq. 14 and the boundary condition together, Eq. 36 is expressed as










Q
i

=




s
i







S

(
0
)





{

ε








n

(
0
)




·




(
0
)




{





j

1







S
j







S

(
1
)





{


ψ
j





n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)





}




+




S
i







S

(
1
)





{


ψ
i





n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)





}



+




n
=
1

x



{



S






S

(
1
)





{


G


(



x

(
0
)




,


x

(
1
)





)






n

(
1
)




·




(
1
)




{




{



S






S

(
n
)





{


G


(



x

(

n
-
1

)




,


x

(
n
)





)






n

(
n
)




·




(
n
)




{





j

1







S
j







S

(

n
+
1

)









{


ψ
j











(

n
+
1

)




G
(







x

(
n
)








,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}




+




S
i







S

(

n
+
1

)









{


ψ
i











(

n
+
1

)




G
(







x

(
n
)




,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}




}






}



}























(
37
)













Therefore, from Eq. 13, the parasitic capacitance C


i,j


can be expressed as










C

i
,
j


=





Q
i





ψ
j



=




S
i







S

(
0
)









{

ε








n

(
0
)




·




(
0
)




{





S
j







S

(
1
)





{



n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)




}



+




n
=
1





{



S






S

(
1
)





{


G


(



x

(
0
)




,


x

(
1
)





)






n

(
1
)




·




(
1
)




{




{



S






S

(
n
)





{


G
(







x

(

n
-
1

)




,


x

(
n
)





)









n

(
n
)




·




(
n
)




{




S
j







S

(

n
+
1

)





{





(

n
+
1

)




G
(







x

(
n
)




,


x

(

n
+
1

)





)


·


n

(

n
+
1

)





}



}






}



}
























(
38
)













Like in the first preferred embodiment, assuming the contribution of the m-th term of Eq. 38 to be C


i,j


|


n=m−1


, the values of contributions are sequentially obtained and the obtained values are added.




For example, to obtain the value of contribution C


i,j


|


n=0


of the first term,








C




i,j


|


n=0




=∫




S






i






dS{∈{right arrow over (n)}·∇{∫




S






j






dS′{{right arrow over (n′)}·∇′G


(


{right arrow over (x)},{right arrow over (x


′)})}}}  (39)






should be calculated. It is noted that Eq. 39 has a structure similar to that of Eq. 26 with respect to the contribution ψ|


n=1


of the second term in the first preferred embodiment. Therefore, referring to the integrand f


m−1


(j,{right arrow over (x


(0)


)}, . . . ,{right arrow over (x


(m)


)}) like the calculation of the contribution ψ|


n=1


of the second term, the integrand g


0


({right arrow over (x)},{right arrow over (x′)}) is defined as








g




0


(


{right arrow over (x)},{right arrow over (x


′)})=∈


{right arrow over (n)}·∇


55


{right arrow over (n′)}·∇′G


(


{right arrow over (x)},{right arrow over (x


′)})}  (40)






considering a space g


0


−S


i


−S′


j


as shown in FIG.


5


.




In

FIG. 5

, the axis represented as g


0


is an axis indicating the values of the integrand g


0


({right arrow over (x)},{right arrow over (x′)}) and its upper limit C is larger than the maximum value of the parasitic capacitance C


i,j


to be obtained inside the analysis space V and is a value appropriately determined for using the Monte Carlo method. The axis represented as S′


j


is an alignment of the line lengths L


jk


of the boundary elements S′


jk


on any boundary S′


j


among the boundaries S′


1


to S′


N


with respect to {right arrow over (x′)} except the boundary S′


i


and its maximum value L


j


is a total length of the boundary S′


j


. The axis represented as S


i


is an alignment of line lengths L


ik


of the boundary elements S


ik


on the boundary S


i


with respect to {right arrow over (x)} and its maximum value L


i


is a total length of the boundary S


i


. Therefore, the value of the contribution C


i,j


|


n=0


can be obtained by calculating the volume of the region D


1


inside a rectangular solid RP


2


in the space g


0


−S


i


−S′


j


.




The volume of the region D


1


can be obtained by the Monte Carlo method like the contribution ψ|


n=1


of the second term in the first preferred embodiment. Specifically, a random number RN


4


is first generated, which is used for choosing one of the boundary elements S


ik


on the boundary S


i


at a probability P


ik


which is defined as










P
ik

=


L
ik


L
i






(
41
)













Next, a random number RN


5


is generated, which is used for choosing one of the boundary elements S′


jk


on the boundary S′


j


at a probability P′


jk


which is defined as











P
jk


=


L
jk


L
j









(


where





j


i

)





(
42
)













Finally, a random number RN


6


is generated, which ensures a uniform probability in a range of the upper limit C and 0. Thus, one point inside the rectangular solid RP


2


is chosen at random.




Next, comparison between the random number RN


6


and the integrand g


0


({right arrow over (x)},{right arrow over (x′)}) is made to check if the random number RN


6


is smaller than the integrand g


0


({right arrow over (x)},{right arrow over (x′)}), and only when the random number RN


6


is located in the region D


1


, the integrated value W is incremented. This is repeated M times. If the number M of generations of random numbers is large enough, it is considered that the ratio of the integrated value W and the number M of generations of random numbers almost coincide with the volume ratio of the region D


1


and the region D


1


+D


2


. The ratio of W and M can be expressed as










W
M







S
i






S



{




S
j







S






g
0



(


x


,


x





)




}





L
i



L
j


C






(
43
)













Transforming Eq. 43,













S
j






S



{




S
j







S






g
0



(


x


,


x





)




}






W
M



L
i



L
j


C





(
44
)













and the integral calculus of the integrand g


0


({right arrow over (x)},{right arrow over (x′)}) can be performed. Thus, the value of the contribution C


i,j


|


n=0


of the first term can be obtained by numerical analysis.




Similarly, the contribution C


i,j


|


n=m−1


of the m-th term (n=m−1) can be obtained as below. The integrand g


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) is defined as











g

m
-
1




(



x

(
0
)




,

,


x

(
m
)





)


=

ε








n

(
0
)




·




(
0
)




{


G


(



x

(
0
)




,


x

(
1
)





)











n

(
1
)





·




(
1
)




{




{


G


(



x

(

m
-
2

)




,


x

(

m
-
1

)





)











n

(

m
-
1

)





·




(

m
-
1

)




{



n

(
m
)




·




(
m
)




G


(



x

(

m
-
1

)




,


x

(
m
)





)




}




}




}




}








(
45
)













and comparison is made between the value of the integrand g


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) and the last random number RN


6


when one point inside a (m+1)th-dimensional space is chosen at random, to obtain the integrated value W. Then the contribution C


i,j


|


n=m−1


of the m-th term is obtained as










C

i
,
j






n
=

m
-
1








W
M



L
i



L
j



L
total

m
-
1



C






(
46
)













Further, like in the first preferred embodiment, the error value is obtained at the same time as the contribution C


i,j


|


n=m−1


of the m-th term is calculated, and if the error value falls within a certain value, the value of the contribution C


i,j


|


n=m−1


of the m-th term is determined, and if exceeds the certain value, the number M of generations of random numbers is reset and the calculation is started again. Since the error of the contribution value C


i,j


|


n=m−1


of the m-th term is thus checked, the contribution value C


i,j


|


n=m−1


of the m-th term can be obtained with higher accuracy.




Furthermore, like in the first preferred embodiment, predetermining that the calculation is stopped when the value of contribution C


i,j


|


n=m−1


of the (m+1)th term is equal to or smaller than a certain ratio of the value of contribution C


i,j


|


n=0


of the first term, addition of the contributions from the first term to the m-th term is made to obtain an approximate value of parasitic capacitance with accuracy to some degree. Further, since the amount of calculation can vary with the value of this ratio, it is possible to reduce the use of memory and calculation time, or to improve the accuracy of approximate value with an increase of calculation time.




In the case of three dimensions, like in the first preferred embodiment, only calculation of the integrand g


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) is changed and the principle is not changed, so it is natural that the present invention can be applied to the case of three dimensions.




Further, like in the first preferred embodiment, the present invention can be applied not only to the Dirichlet's boundary condition but also to the Neumann's boundary condition and the mixed boundary condition.




With the simulation method of this preferred embodiment, since the value of parasitic capacitance between the conductors inside the analysis space V is obtained, by using the boundary condition, as the sum of series from the first term to the m-th term in an expression where the function of parasitic capacitance is expanded into infinite series, it is possible to ensure a predetermined accuracy with an increase in the number of terms without changing the number of boundary elements for improvement in accuracy. Since the amount of calculation can be changed by arbitrarily setting the number of generations of random numbers, it is possible to gain the approximate value of parasitic capacitance to be obtained with less number of generations of random numbers, less use of memory and less amount of calculation time. On the other hand, it is possible to improve the accuracy of approximate value with more number of generations of random numbers and more amount of calculation time. Moreover, it is possible to obtain the parasitic capacitance without obtaining the potential.




The Third Preferred Embodiment




This preferred embodiment has an object of obtaining a parasitic resistance in a conductor region CR


3


when a current is applied to the conductor region CR


3


in the two-dimensional view of FIG.


6


.

FIG. 6

is an enlarged view of a partial region VP


2


in the analysis space V of the model view of FIG.


1


. The conductor region CR


3


has the boundary S


j


and is separated thereby from the dielectric region DR


1


. The boundary S


j


consists of partial boundaries S


ja


and S


jb


. The conductor region CR


3


has a constant electric conductivity σ. The node &Circlesolid; is regarded as a representative point of boundary elements and is given positional (coordinate) information and information on a boundary condition. When a current flows in the conductor region CR


3


, though the conductor has a potential distribution since it is not an electrostatic field, the potential difference between the boundary elements in the partial boundary S


ja


and that between the boundary elements in the partial boundary S


jb


are each so much smaller than that between the partial boundaries S


ja


and S


jb


, being negligible. Therefore, all the boundary elements of the partial boundary S


ja


are given the potential ψ


ja


as a boundary condition and all the boundary elements of the partial boundary S


jb


are given the potential ψ


jb


as a boundary condition (Dirichlet's boundary condition).




The parasitic resistance R


jab


between the partial boundaries S


ja


and S


jb


in the conductor region CR


3


is obtained as below. It is herein assumed that a current I


jab


flows into the conductor region CR


3


through the partial boundary S


ja


and the same current I


jab


flows out of the conductor region CR


3


through the partial boundary S


jb


, and the current I


jab


is a constant current.




To obtain the parasitic resistance in the conductor, the equation of continuance of current as










div






J



=

-







p



t







(
47
)













and the equation defining the electric field and current density as








{right arrow over (J)}=σ{right arrow over (E)}=−σgrad ψ


  (48)






are used where {right arrow over (J)}, ρ, t, σ, {right arrow over (E)} and ψ represent a current density vector, a charge density, a time, an electric conductivity, an electric field vector and a potential, respectively.




Since the current I


jab


flows in through the partial boundary S


ja


and all the current I


jab


flows out through the partial boundary S


jb


, the right side of Eq. 47 is 0. Therefore, from Eqs. 47 and 48, ψ satisfies the Laplace's equation and Eq. 11 is true for the potential ψ in the conductor region CR


3


. The vector {right arrow over (x′)} of Eq. 11 is a position vector on the boundary S, like in the first and second preferred embodiments.




The current I


jab


can be expressed as a line integral (in the case of three dimensions, a surface integral) of the current density in a surface where the current flows in or out, as








I




jab




=∫




S






ja






dS{right arrow over (n)}·{right arrow over (J)}=∫




S






jb






dS{right arrow over (n)}·{right arrow over (J)}


  (49)






Substituting Eq. 48 into Eq. 49,








I




jab




=∫




S






ja






ds{right arrow over (n)}·{−σ∇ψ(




{right arrow over (x)}


)}  (50)






Therefore, like in the first and second preferred embodiments, expanding the normal differential n·∇ψ({right arrow over (x)}) of potential which is unknown by using Eq. 17, Eq. 50 can be expressed as










I
jab

=


-
σ






S
ja











S

(
0
)







n

(
0
)




·




(
0
)




{


-



S






S

(
1
)





{


ψ


(


x

(
1
)




)






n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)





}




-




n
=
1





{



S






S

(
1
)





{


G


(



x

(
0
)




,


x

(
1
)





)






n

(
1
)




·




(
1
)




{












{



S






S

(
n
)





{


G


(



x

(

n
-
1

)




,


x

(
n
)





)






n

(
n
)




·




(
n
)




{



S






S

(

n
+
1

)





{


ψ


(


x

(

n
+
1

)




)








(

n
+
1

)




G
(







x

(
n
)




,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}



}














}



}






















(
51
)













Defining the integrand h


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) as








h




m−1


(


{right arrow over (x


(0)


)}, . . . ,




{right arrow over (x


(m)


)})=σ




{right arrow over (n


(0)


)}·∇




(0)




{G


(


{right arrow over (x


(0)


)},




{right arrow over (x


(1)


)})




{right arrow over (n


(1)


)}·∇




(1)




{ . . . {G


(


{right arrow over (x


(m−2


)},




{right arrow over (x


(m−1)


)})




{right arrow over (n


(m−1)


)}·∇




(m−1)


{ψ(


{right arrow over (x


(m)


)})




{right arrow over (n


(m)


)}·∇




(m)




G


(


{right arrow over (x


(m−1


)},




{right arrow over (x


(m)


)})}} . . . }}


  (52)






the value of the integrand h


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) is integrated by using the Monte Carlo method in the (m+1)th-dimensional space with respect to the boundaries S


(0)


, . . . , S


(m)


and an appropriate upper limit, to obtain the contribution I


jab


|


n=m−1


. Further, the error value is obtained at the same time as the contribution I


jab


|


n=m−1


of the m-th term is calculated, and if the error value falls within a certain value, the value of the contribution I


jab


|


n=m−1


of the m-th term is determined, and if exceeds the certain value, the number M of generations of random numbers is reset and the calculation is started again.




Furthermore, predetermining that the calculation is stopped when the value of contribution I


jab


|


n=m


of the (m+1)th term is equal to or smaller than a certain ratio of the value of contribution I


jab


|


n=0


of the first term, addition of the contributions from the first term to the m-th term is made to obtain an approximate value of current I


jab


with accuracy to some degree.




Using the current I


jab


thus obtained together with the potentials ψ


ja


and ψ


jb


as the boundary condition, the value of the parasitic resistance R


jab


can be obtained as










R
jab

=



ψ
ja

-

ψ
jb



I
jab






(
53
)













Further, like in the first and second preferred embodiments, the present invention can be also applied to the case of three dimensions and the case where the Neumann's boundary condition or the mixed boundary condition is given as a boundary condition.




With the simulation method of this preferred embodiment, it is possible to obtain more accurate value of the parasitic resistance R


jab


in consideration of the potential distribution while producing the same effect as the second preferred embodiment. Moreover, it is possible to directly obtain the parasitic resistance without obtaining the potential distribution.




The Fourth Preferred Embodiment




This preferred embodiment has an object of obtaining a parasitic self-inductance of the conductor region CR


3


when a current is applied to the conductor region CR


3


or a parasitic mutual inductance of the conductor region CR


3


when a current is applied to the conductor region CR


3


and a conductor region CR


4


in the view of FIG.


7


.

FIG. 7

is an enlarged view of a partial region VP


3


in the analysis space V of the model view of FIG.


1


. The conductor region CR


3


has the boundary S


j


and is separated thereby from the dielectric region DR


1


. The boundary S


j


consists of partial boundaries S


jc


and S


jd


. The conductor region CR


4


has the boundary S


k


and is separated thereby from the dielectric region DR


1


. The boundary Sk consists of partial boundaries S


ka


and S


kb


. The conductor region CR


3


has a constant electric conductivity σ


1


and a constant magnetic permeability μ


1


. The conductor region CR


4


has a constant electric conductivity σ


2


and a constant magnetic permeability μ


2


. The node &Circlesolid; is regarded as a representative point of boundary elements and is given positional information and information on a boundary condition. When a current flows in the conductor regions CR


3


and CR


4


, though the conductor has a potential distribution since it is not an electrostatic field, the potential difference between the boundary elements in the partial boundary S


jc


and that between the boundary elements in the partial boundary S


jd


are each so much smaller than that between the partial boundaries S


jc


and S


jd


, being negligible. Similarly, the potential difference between the boundary elements in the partial boundary S


ka


and that between the boundary elements in the partial boundary S


kb


are each so much smaller than that between the partial boundaries S


ka


and S


kb


, being negligible. Therefore, all the boundary elements of the partial boundary S


jc


are given the potential ψ


jc


as a boundary condition, all the boundary elements of the partial boundary S


jd


are given the potential ψ


jd


as a boundary condition, all the boundary elements of the partial boundary S


ka


are given the potential ψ


ka


as a boundary condition, and all the boundary elements of the partial boundary S


kb


are given the potential ψ


kb


as a boundary condition, (Dirichlet's boundary condition).




Next, study will be made on obtaining a parasitic self-inductance L


j,j


by a current I


j


flowing in the conductor region CR


3


, i.e., the region V


j


, or a parasitic mutual inductance L


j,k


by the current I


j


flowing in the region V


j


and a current I


k


flowing in the conductor region CR


4


, i.e., a region V


k


.




In

FIG. 7

, it is assumed that a current I


jcd


flows into the conductor region CR


3


through the partial boundary S


jc


and the same current I


jcd


flows out of the conductor region CR


3


through the partial boundary S


jd


, and the current I


jcd


is a constant current. It is further assumed that a current I


kab


flows into the conductor region CR


4


through the partial boundary S


ka


and the same current I


kab


flows out of the conductor region CR


4


through the partial boundary S


kb


, and the current I


kab


is a constant current. Then, Eq. 11 is also true for the potential ψ inside the conductor regions CR


3


and CR


4


.




An energy W


m


by magnetic field at a position represented by {right arrow over (x)} is expressed as










W
m

=


1
2






V
j










V









A




(

x


)


·


J




(

x


)










(
54
)













where dV, {right arrow over (A)} ({right arrow over (x)}) and {right arrow over (J)} ({right arrow over (x)}) represent a variable of integration, a vector potential and a current density vector, respectively.




A relation between the vector potential and the current density vector is expressed as














A




(

x


)


=


μ

4





π







V
k











V







J




(


x




)



&LeftBracketingBar;


x


-


x





&RightBracketingBar;











=

μ





V
k











V





G


(


x


,


x





)





J




(


x




)












(
55
)













where μ, G({right arrow over (x)},{right arrow over (x′)}), {right arrow over (x′)} and dV′ represent a magnetic permeability at {right arrow over (x)}, a Green's function, a position vector indicating the inside of a conductor region where the current density vector exists and a variable of integration in the region V


k


where {right arrow over (x′)} exists, respectively. The reason why the integrals in the conductor regions V


j


and V


k


, instead of the whole analysis region V, are used is that the vector potential A is not influenced by a portion where the current density vector {right arrow over (J)} is 0. The vector {right arrow over (x′)} is a vector also indicating the inside of the conductor region, different from that used in the first to third preferred embodiment, indicating a position on the boundary S.




A relation between the energy W


m


by the magnetic field and the parasitic mutual inductance L


j,k


is expressed as










W
m

=


1
2



L

j
,
k




I
j



I
k






(
56
)













(if k=j, L


j,j


represents the parasitic self-inductance). The values of the currents I


j


and I


k


can be obtained from the third preferred embodiment.




Using Eqs. 48 and 56 together, Eq. 54 can be transformed into













L

j
,
k


=


1


I
j



I
k








V
k










V




{

μ





V
k











V





G


(


x


,


x





)





J




(


x




)





}

·


J




(

x


)












=


μ


I
j



I
k








V
j










V






V
k











V






{


G


(


x


,


x





)



σ





a












ψ


(


x




)




}

·
σ






b








ψ


(

x


)















(
57
)













where σa and σb represent an electric conductivity at {right arrow over (x′)} and an electric conductivity at {right arrow over (x)}, respectively. In

FIG. 7

, when the parasitic mutual inductance is obtained, μ=μ


1


, σa=σ


2


and σb=σ


1


since attention is directed to the conductor regions CR


3


and CR


4


. When the parasitic self-inductance is obtained, μ=μ


1


, σa=σb=σ


1


since attention is directed only to the conductor region CR3.




Therefore, like in the first to third preferred embodiments, expanding the unknown letters ∇′ψ({right arrow over (x′)}) and ∇ψ({right arrow over (x)}) by using Eq. 17, Eq. 57 can be expressed as










L

j
,
k


=


μ


I
j



I
k












V
j











V

(
0
)












V
k











V

(
1
)









{


G
(







x

(
0
)




,


x

(
1
)





)






σ





a









(
1
)




{


-



S






S

(
2
)









{


ψ
(






x

(
2
)




)









n

(
2
)




·




(
2
)




G


(



x

(
1
)




,


x

(
2
)





)





}




-




n
=
1





{



S






S

(
2
)









{


G


(



x

(
1
)




,


x

(
2
)





)










n

(
2
)




·




(
2
)




{




{



S






S

(

n
+
1

)





{


G


(



x

(
n
)




,


x

(

n
+
1

)





)










n

(

n
+
1

)




·




(

n
+
1

)




{



S






S

(

n
+
2

)









{


ψ
(






x

(

n
+
2

)




)











(

n
+
2

)




G




(







x

(

n
+
1

)








,


x

(

n
+
2

)





)


·


n

(

n
+
2

)






}



}






}



}


}


·
σ






b









(
0
)




{


-



S






S

(
1
)









{


ψ
(






x

(
1
)




)









n

(
1
)




·




(
1
)




G
(







x

(
0
)




,


x

(
1
)





)




}




-




n
=
1





{



S






s

(
1
)









{


G
(







x

(
0
)




,


x

(
1
)





)









n

(
1
)




·




(
1
)




{




{



S






S

(
n
)









{


G


(



x

(

n
-
1

)




,


x

(
n
)





)










n

(
n
)




·




(
n
)




{



S






S

(

n
+
1

)









{


ψ
(






x

(

n
+
1

)




)











(

n
+
1

)




G
(







x

(
n
)








,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}



}






}



}


































(
58
)













It is noted that the vector {right arrow over (x′)} with respect to the unknown letter ∇′ψ({right arrow over (x′)}) is a vector also indicating the inside of the conductor region while the vector {right arrow over (x′)} which appears as the result of expansion of the unknown letter ∇ψ({right arrow over (x)}) is a vector only indicating a boundary portion, i.e., a surface of the conductor region.




Therefore, defining the integrand O


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m+1)


)}) as













o

m
-
1




(



x

(
0
)




,









x

(

m
+
1

)






)


=



μ





σ





a





σ





b



I
j



I
k









{


G


(



x

(
0
)




,


x

(
1
)





)







(
1
)




{


G


(



x

(
1
)




,


x

(
2
)





)










n

(
2
)




·




(
2
)




{








G


(



x

(

m
-
1

)




,


x

(
m
)





)










n

(
m
)




·




(
m
)




{


ψ


(


x

(

m
+
1

)




)










n

(

m
+
1

)




·




(

m
+
1

)




G
(







x

(
m
)




,


x

(

m
-
1

)





)




}




}






}



}



}

·




(
0
)




{


G


(



x

(
0
)




,


x

(
1
)





)






n

(
1
)




·




(
1
)




{




{


G


(



x

(

m
-
2

)




,


x

(

m
-
1

)





)






n

(

m
-
1

)




·




(

m
-
1

)




{


ψ


(


x

(
m
)




)






n

(
m
)




·




(
m
)




G


(



x

(

m
-
1

)




,


x

(
m
)





)





}




}




}




}






(
59
)













the value of the integrand O


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m+1)


)}) is integrated by using the Monte Carlo method in the 2(m+1)th-dimensional space, to obtain the contribution L


j,k


|


n=m−1


of the m-th term. Since there are two unknown letters in this case, the spatial dimension for the Monte Carlo method is twice as large as that of the first to third preferred embodiments. Specifically, consideration should be made in the total dimensional space of the (m+1)th-dimensional space with respect to the boundaries S


(0)


, . . . , S


(m)


and an appropriate upper limit and the (m+1)th-dimensional space with respect to the boundaries S


(1)


, . . . , S


(m+1)


and an appropriate upper limit. In calculation of each term, two volume integrals with respect to the analysis space V are performed and further a surface integral with respect to the boundary S is performed in accordance with the number m of terms.




Further, the error value is obtained at the same time as the contribution L


j,k


|


n=m−1


of the m-th term is calculated, and if the error value falls within a certain value, the value of the contribution L


j,k


|


n=m−1


of the m-th term is determined, and if exceeds the certain value, the number of generations of random numbers is reset and the calculation is started again.




Furthermore, predetermining that the calculation is stopped when the value of contribution L


j,k


|


n=m


of the (m+1)th term is equal to or smaller than a certain ratio of the value of contribution L


j,k


|


n=0


of the first term, addition of the contributions from the first term to the m-th term is made to obtain an approximate value of parasitic mutual (or self) inductance L


j,k


with accuracy to some degree.




Further, like in the first and second preferred embodiments, the present invention can be also applied to the case where the Neumann's boundary condition or the mixed boundary condition is given.




With the simulation method of this preferred embodiment, it is possible to obtain more accurate value of the parasitic inductance L


j,k


in consideration of the potential distribution while producing the same effect as the second or third preferred embodiment. Moreover, it is possible to directly obtain the parasitic inductance without obtaining the potential distribution.




The Fifth Preferred Embodiment




This preferred embodiment will be discussed, taking a temperature as a physical quantity, instead of a potential, and has an object of obtaining a parasitic thermal resistance in the conductor region CR


1


and the dielectric region DR


1


when a heat flow is applied to the conductor region CR


1


and the dielectric region DR


1


in the two-dimensional view of FIG.


8


.

FIG. 8

is an enlarged view of a partial region VP


4


in the analysis space V of the model view of FIG.


1


. The conductor region CR


1


has the boundary S


i


and is separated thereby from the dielectric region DR


1


. The boundary S


i


consists of partial boundaries S


ia


and S


ib


. The conductor region CR


2


has the boundary S


i+1


and is separated thereby from the dielectric region DR


1


. The conductor region CR


1


has a constant thermal conductivity k


1


and the dielectric region DR


1


has a constant thermal conductivity k


2


. The node &Circlesolid; is regarded as a representative point of boundary elements and is given positional (coordinate) information and information on a boundary condition. When a heat flow goes in the conductor region CR


1


and the dielectric region DR


1


, though there is a temperature distribution in the conductor region CR


1


and the dielectric region DR


1


, all the boundary elements in the partial boundary S


ia


are given a temperature T


ia


as a boundary condition and all the boundary elements in the partial boundary S


i+1


are given a temperature T


i+1


as a boundary condition (Dirichlet's boundary condition).




The parasitic thermal resistance R


i,i+1


between the partial boundaries S


ia


in the conductor region CR


1


and the boundary S


i+1


in the conductor region CR


2


is obtained as below. It is herein assumed that a heat flow I


i,i+1


flows into the conductor region CR


1


through the partial boundary S


ia


and the same heat flow I


i,i+1


flows in the conductor region CR


2


through the boundary S


i+1


and the heat flow I


i,i+1


is a constant heat flow.




To obtain the parasitic thermal resistance in a certain region, the equation of continuance of heat flow as








div {right arrow over (J)}=


0  (60)






and the equation defining the temperature and heat flow density as








{right arrow over (J)}=−k grad T


  (61)






are used where {right arrow over (J)}, k and T represent. a heat flow density vector, a thermal conductivity and a temperature, respectively. Since the heat flow is a constant heat flow, the right side is 0 in Eq. 60.




Since Eqs. 60 and 61 are in the same form as Eq. 47 and 48 of the third preferred embodiment, the equations can be considered in the same manner as the third preferred embodiment.




The heat flow I


i,i+1


can be expressed as a line integral (in the case of three dimensions, a surface integral) of the heat flow density in a surface where the heat flow goes in or out, as








I




i,i+1




=∫




S






ia






dS{right arrow over (n)}·{right arrow over (J)}=∫




S






i+1






dS{right arrow over (n)}·{right arrow over (J)}


  (62)






Substituting Eq. 61 into Eq. 62 with attention directed to the partial boundary S


ia


,








I




i,i+1




=∫




S






ia






dS{right arrow over (n)}·{−k




1





T


(


{right arrow over (x)}


)  (63)






Therefore, like in the first to fourth preferred embodiments, expanding the normal differential {right arrow over (n)}·∇T({right arrow over (x)}) which is unknown by using Eq. 17, Eq. 63 can be expressed as










I

i
,

i
+
1



=


-
k1






s
ia










S








n

(
0
)


·




(
0
)




{


-



S






S

(
1
)





{


T


(


x

(
1
)




)






n

(
1
)




·




(
1
)




G


(



x

(
0
)




,


x

(
1
)





)





}




-




n
=
1





{



S






S

(
1
)









{


G


(



x

(
0
)




,


x

(
1
)





)










n

(
1
)




·




(
1
)




{




{



S






S

(
n
)





{


G


(



x

(

n
-
1

)




,


x

(
n
)





)










n

(
n
)




·




(
n
)




{



S






S

(

n
+
1

)









{


T
(






x

(

n
+
1

)




)











(

n
+
1

)




G
(







x

(
n
)








,


x

(

n
+
1

)





)


·


n

(

n
+
1

)






}



}






}



}






















(
64
)













Defining the integrand q


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) as








q




m−1


(


{right arrow over (x


(0)


)}, . . . ,




{right arrow over (x


(m)


)})=




k




1




{right arrow over (n


(0)


)}·∇




(0)




{G


(


{right arrow over (x


(0)


)},




{right arrow over (x


(1)


)})




{right arrow over (n


(1)


)}·∇




(1)




{ . . . {G


(


{right arrow over (x


(m−2


)},




{right arrow over (x


(m−1)


)})




{right arrow over (n


(m−1)


)}·∇




(m−1)




{T


(


{right arrow over (x


(m)


)})




{right arrow over (n


(m)


)}·∇




(m)




G


(


{right arrow over (x


(m−1


)},




{right arrow over (x


(m)


)})}} . . . }}


  (65)






the value of the integrand q


m−1


({right arrow over (x


(0)


)}, . . . , {right arrow over (x


(m)


)}) is integrated by using the Monte Carlo method in the (m+1)th-dimensional space, to obtain the contribution I


j,i+1


|


n=m−1


. Further, the error value is obtained at the same time as the contribution I


j,i+1


|


n=m−1


of the m-th term is calculated, and if the error value falls within a certain value, the value of the contribution I


j,i+1


|


n=m−1


of the m-th term is determined, and if exceeds the certain value, the number of generations of random numbers is reset and the calculation is started again.




Furthermore, predetermining that the calculation is stopped when the value of contribution I


j,i+1


|


n=m


of the (m+1)th term is equal to or smaller than a certain ratio of the value of contribution I


j,i+1


|


n=0


of the first term, addition of the contributions from the first term to the m-th term is made to obtain an approximate value of heat flow I


j,i+1


with accuracy to some degree.




Using the current I


j,i+1


thus obtained together with the temperatures T


ia


and T


i+1


, the value of the parasitic thermal resistance R


i,i+1


can be obtained as










R

i
,

i
+
1



=



T
ia

-

T

i
+
1




I

i
,

i
+
1








(
66
)













Further, like in the first to third preferred embodiments, the present invention can be also applied to the case of three dimensions and the case where the Neumann's boundary condition or the mixed boundary condition is given.




With the simulation method of this preferred embodiment, it is possible to obtain more accurate value of the parasitic thermal resistance R


i,i+1


in consideration of the temperature distribution while producing the same effect as the second to fourth preferred embodiments. Moreover, it is possible to directly obtain the parasitic thermal resistance without obtaining the temperature distribution.




While the invention has been shown and described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is therefore understood that numerous modifications and variations can be devised without departing from the scope of the invention.



Claims
  • 1. A computer simulation method for obtaining a physical quantity at a position in an electrical element, comprising the steps of:(a) expressing a first function representing a first physical quantity satisfying a Poisson's equation with respect to a first variable indicating a given position in an analysis space of said electrical element, said analysis space comprising at least one region having a boundary comprising information on position and boundary condition in a form of a first integral with a difference as a first integrand between a product of a second function representing said first physical quantity with respect to a second variable indicating a position on said boundary and a first derivative representing a normal component on said boundary out of a differentiated result of a first Green's function on said first and second variables and said first physical quantity with respect to said second variable and a product of said first Green's function and a second derivative representing a normal component on said boundary out of a differentiated result of said second function with respect to said second variable, said boundary as a first integral region, and said second variable as a first variable of integration; and (b) substituting said first integral sequentially into either one of said second function and said second derivative that is not given as said boundary condition while updating said first variable of integration so as to provide a computer simulation to obtain said physical quantity at said given position in said analysis space of said electrical element by using said boundary condition based on a distribution of said first physical quantity.
  • 2. The simulation method according to claim 1 further comprising the steps of:(c) expressing said first function as a sum of series and obtaining values of first to m-th (m ≧1) terms out of said sum of series by using said information on position and boundary condition that the said boundary comprises; and (d) adding all said values of said first to m-th terms obtained in said step (c) to numerically calculate a value of said first function.
  • 3. The simulation method according to claim 2, wherein calculations for a (m+1)th term and the following terms are not performed when said value of said m-th term in said sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (c).
  • 4. The simulation method according to claim 2, whereinsaid boundary further comprises boundary elements, and said step (c) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (β), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (α) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ), when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
  • 5. The simulation method according to claim 1, whereinsaid at least one region means a plurality of regions, said method further comprising the steps of: (c) expressing a third function representing a second physical quantity in a first region which is one of said plurality of regions in a form of a second integral with a third variable representing a position on a first boundary which said first region has as a second variable of integration, a product of a third derivative representing a normal component on said first boundary out of a differentiated result of said first function with respect to said third variable on said first boundary and a first physical constant depending on a material of said first region as a second integrand, and said first boundary as a second integral region; and (d) performing said step (b) on said third function to express said third function as a first sum of series, and obtaining values of first to r-th (r≧1) terms out of said first sum of series by using said information on position and boundary condition that the said boundary comprises; (e) adding all said values of said first to r-th terms obtained in said step (d) to numerically calculate a value of said third function; (f) expressing a fourth function representing a second physical quantity in a second region which is one of said plurality of regions in a form of a third integral with a fourth variable representing a position on a second boundary which said second region has as a third variable of integration, a product of a fourth derivative representing a normal component on said second boundary out of a differentiated result of said first function with respect to said fourth variable on said second boundary and a second physical constant depending on a material of said second region as a third integrand, and said second boundary as a third integral region; and (g) performing said step (b) on said fourth function to express said fourth function as a second sum of series, and obtaining values of first to s-th (s≧1) terms out of said second sum of series by using said information on position and boundary condition that the said boundary comprises; (h) adding all said values of said first to s-th terms obtained in said step (g) to numerically calculate a value of said fourth function; (i) expressing a fifth function representing a parasitic element constant between said first and second regions in a form of a fifth integral, using a fifth variable representing a position in said first region, a sixth variable representing a position in said second region and a sixth function expressed in a form of a fourth integral with a product obtained by multiplying a fifth derivative representing a differentiated result of said first function with respect to said sixth variable in said second region by said second physical constant and a second Green's function on said fifth and sixth variables and said first physical quantity as a fourth integrand, said sixth variable as a fourth variable of integration and said second region as a fourth integral region, with a product obtained by multiplying an inner product of said sixth function and a sixth derivative representing a differentiated result of said first function with respect to said fifth variable in said first region by said first physical constant, a third physical constant depending on a material of said first region, the inverse of said third function and the inverse of said fourth function as a fifth integrand, said fifth variable as a fifth variable of integration, and said first region as a fifth integral region; (j) performing said step (b) on said fifth function to express said fifth function as a third sum of series, and obtaining values of first to t-th (t≧1) terms out of said third sum of series by using said information on position and boundary condition that the said boundary comprises; and (k) adding all said values of said first to t-th terms obtained in said step (j) to numerically calculate a value of said fifth function.
  • 6. The simulation method according to claim 5, whereincalculations for a (r+1)th term and the following terms are not performed when said value of said r-th term in said first sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (d), calculations for a (s+1)th term and the following terms are not performed when said value of said s-th term in said second sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (g), and calculations for a (t+1)th term and the following terms are not performed when said value of said t-th term in said third sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (j).
  • 7. The simulation method according to claim 5, whereinsaid boundary further comprises boundary elements, and said step (d) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (β), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (α) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ), when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
  • 8. The simulation method according to claim 5, whereinsaid boundary further comprises boundary elements, and said step (g) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (β), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (α) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ), when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
  • 9. The simulation method according to claim 5, whereinsaid boundary further comprises boundary elements, and said step (j) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (j), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (Ga) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ), when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
  • 10. A computer simulation method for obtaining a parasitic element constant in an electrical element, comprising the steps of:(a) expressing a first function representing a first physical quantity satisfying a Poisson's equation with respect to a first variable indicating a given position in an analysis space of said electrical element, said analysis space comprising at least one region having a boundary comprising information on position and boundary condition in a form of a first integral with a difference as a first integrand between a product of a second function representing said first physical quantity with respect to a second variable indicating a position on said boundary and a first derivative representing a normal component on said boundary out of a differentiated result of a first Green's function on said first and second variables and said first physical quantity with respect to said second variable and a product of said first Green's function and a second derivative representing a normal component on said boundary out of a differentiated result of said second function with respect to said second variable, said boundary as a first integral region, and said second variable as a first variable of integration; and (b) substituting said first integral sequentially into either one of said second function and said second derivative that is not given as said boundary condition while updating said first variable of integration so as to provide a computer simulation to obtain said parasitic element constant in said analysis space of said electrical element by using said boundary condition based on a distribution of said first physical quantity, said at least one region means a plurality of regions, said method further comprising the steps of: (c) expressing a third function representing a second physical quantity in a first region which is one of said plurality of regions in a form of a second integral with a product of a third derivative representing a normal component function said boundary of said first region out of a differentiated result of said first function with respect to said first variable on said boundary of said first region and a physical constant depending on a material of said first region as a second integrand, said first variable as a second variable of integration, and said boundary of said first region as the second integral region; and (d) performing said step (b) on a fourth function representing a parasitic element constant between said first region and a second region which is one of said plurality of regions obtained by differentiating said third function with respect to said second function in said second region to express said fourth function as a sum of series, and obtaining values of first to n-th (n≧1) terms out of said sum of series by using said information on position and boundary condition that the said boundary comprises; and (e) adding all said values of said first to n-th terms obtained in said step (d) to numerically calculate a value of said fourth function.
  • 11. The simulation method according to claim 10, whereincalculations for a (n+1)th term and the following terms are not performed when said value of said n-th term in said sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (d).
  • 12. The simulation method according to claim 10, whereinsaid boundary further comprises boundary elements, and said step (d) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (β), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (α) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ), when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
  • 13. A computer simulation method for obtaining a physical quantity at a position in an electrical element, comprising the steps of:(a) expressing a first function representing a first physical quantity satisfying a Poisson's equation with respect to a first variable indicating a given position in an analysis space of said electrical element, said analysis space comprising at least one region having a boundary comprising information on position and boundary condition in a form of a first integral with a difference as a first integrand between a product of a second function representing said first physical quantity with respect to a second variable indicating a position on said boundary and a first derivative representing a normal component on said boundary out of a differentiated result of a first Green's function on said first and second variables and said first physical quantity with respect to said second variable and a product of said first Green's function and a second derivative representing a normal component on said boundary out of a differentiated result of said second function with respect to said second variable, said boundary as a first integral region, and said second variable as a first variable of integration; and (b) substituting said first integral sequentially into either one of said second function and said second derivative that is not given as said boundary condition while updating said first variable of integration, said method further comprising the steps of: (c) expressing a third function representing a second physical quantity in said region in a form of a second integral with a product of a third derivative representing a normal component on said boundary out of a differentiated result of a first function with respect to said first variable on said boundary and a first physical constant depending on a material of said region as a second integrand, said first variable as a second variable of integration, and said boundary as the second integral region; and (d) performing said step (b) on said third function to express said third function as a first sum of series so as to provide a computer simulation to obtain said physical quantity at said given position in said analysis space of sail electrical element by using said boundary condition based on a distribution of said first physical quantity, and obtaining values of first to p-th (p≧1) terms out of said first sum of series by using said information on position and boundary condition that the said boundary comprises; and (e) adding all said values of said first to p-th terms obtained in said step (d) to numerically calculate a value of said third function.
  • 14. The simulation method according to claim 13, whereincalculations for a (p+1)th term and the following terms are not performed when said value of said p-th term in said sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (d).
  • 15. The simulation method according to claim 13, whereinsaid boundary further comprises boundary elements, said step (d) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (β), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (α) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ) when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
  • 16. The simulation method according to claim 13 further comprising the step of:(f) dividing difference between said second function of a position in said region and said second function of another position in said region by said third function, to numerically calculate a value of a fourth function representing a parasitic element constant in said region.
  • 17. The simulation method according to claim 13 further comprising the steps of:(f) expressing a fourth function representing a parasitic element constant in said region in a form of a fourth integral, using a third variable and a fourth variable both of which indicate positions in said region and a fifth function expressed in a form of a third integral with a product obtained by multiplying a fourth derivative representing a differentiated value of said first function with respect to said fourth variable in said region by said first physical constant and a second Green's function on said third and fourth variables and said first physical quantity as a third integrand, said fourth variable as a third variable of integration and said region as a third integral region, with a product obtained by multiplying an inner product of said fifth function and a fifth derivative representing a differentiated value of said first function with respect to said third variable in said region by said first physical constant, a second physical constant depending on a material of said region and the inverse of the square of a value of said third function as a fourth integrand, said third variable as a fourth variable of integration, and said region as a fourth integral region; (g) performing said step (b) on said fourth function to express said fourth function as a second sum of series, and obtaining values of first to q-th (q≧1) terms out of said second sum of series by using said information on position and boundary condition that the said boundary comprises; and (h) adding all said values of said first to q-th terms obtained in said step (g) to numerically calculate a value of said fourth function.
  • 18. The simulation method according to claim 17, wherein calculations for a (q+1)th term and the following terms are not performed when said value of said q-th term in said second sum of series is equal to or smaller than a certain ratio of said value of said first term in said step (g).
  • 19. The simulation method according to claim 17, whereinsaid boundary further comprises boundary elements, and said step (g) comprises the steps of: (α) comprising a first step of choosing one of said boundary elements at random with a weight in accordance with each size of said boundary elements at each of said first variable of integration, a second step of calculating a value of said integrand that each of said terms comprises on the basis of said information on position of said one of said boundary elements, a third step of generating a random number having a predetermined upper limit, a fourth step of comparing said value of said integrand with a value of said random number and a fifth step of incrementing an integrated value when said value of said random number is smaller than said value of said integrand; (β) setting the number of repetitions of said step (α); (γ) calculating a value of each of said terms, subsequent to said step (β), by dividing a product of said upper limit, said integrated value obtained by performing said number of repetitions of said step (α) and information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; (δ) calculating an error, subsequent to said step of (γ), by taking a square root of a quotient obtained by dividing a remainder obtained by subtracting the square of said value of each of said terms from a product of said value of each of said terms, said upper limit and said information on size of said boundary obtained from said information on position of said boundary by said number of repetitions; and (∈) determining said value of each of said terms, subsequent to said step (δ), when said error falls within a certain ratio of said value of each of said terms, or going back to said step (β) when said error exceeds.
Priority Claims (1)
Number Date Country Kind
P10-337298 Nov 1998 JP
US Referenced Citations (5)
Number Name Date Kind
5220398 Horn et al. Jun 1993 A
5471435 Marschall Nov 1995 A
5826215 Garrett et al. Oct 1998 A
6051027 Kapur et al. Apr 2000 A
6182023 Ohtsu et al. Jan 2001 B1
Non-Patent Literature Citations (1)
Entry
Y. L. Le Coz, et al. “A Stochastic Algorithm for High Speed Capacitance Extraction in Integrated Circuits”, Solid-State Electronics, vol. 35, No. 7, 1992, pp. 1005-1012.