POWER NETWORK DC INTEGRITY CHECKS OF PCBS
20200242292 ยท 2020-07-30
Inventors
Cpc classification
G06F30/367
PHYSICS
Y04S40/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G06F2119/02
PHYSICS
G06F2115/12
PHYSICS
G06F30/23
PHYSICS
Y02E60/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
International classification
Abstract
A system and method for integrity analysis of a printed circuit board comprises a processor and a first set of instructions executable on the processor configured to use a two-dimensional mesh for the analysis of the printed circuit board to reduce the number of elements in a mesh representing the printed circuit board. A second set of instructions are executable on the processor are configured to use a resistive line to replace all vias and a third set of instructions are executable on the processor configured to approximate the contours of shapes in the printed circuit board to further reduce the number of elements.
Claims
1. A method of integrity analysis of a printed circuit board, comprising: using a two-dimensional mesh for the analysis of the printed circuit board to reduce a number of elements in a mesh representing the printed circuit board; using a resistive line to replace all vias; and approximating the contours of shapes in the printed circuit board to further reduce the number of elements.
2. The method of claim 1, wherein the step of approximating the contours comprises using a critical angle method.
3. The method of claim 2, wherein the critical angle set in the critical angle method is approximately 150.
4. The method of claim 1, further comprising reducing a three-dimensional analysis of the printed circuit board to the two-dimensional analysis by assigning a same electrical potential value for each of a plurality of layers of the printed circuit board.
5. A system for integrity analysis of a printed circuit board, comprising: a processor; a first set of instructions executable on the processor configured to use a two-dimensional mesh for the analysis of the printed circuit board to reduce the number of elements in a mesh representing the printed circuit board; a second set of instructions executable on the processor configured to use a resistive line to replace all vias; and a third set of instructions executable on the processor configured to approximate the contours of shapes in the printed circuit board to further reduce the number of elements.
6. The system of claim 5, wherein the instructions for approximating the contours comprises instructions for using a critical angle method.
7. The system of claim 6, wherein the critical angle set is approximately 150.
8. The system of claim 5, further comprising a set of instructions executable on the processor for reducing a three-dimensional analysis of the printed circuit board to the two-dimensional analysis by assigning a same electrical potential value for each of a plurality of layers of the printed circuit board.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0009]
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
I. Introduction
[0024] With reference to
[0025] The method and system described herein performs DC analysis for PCBs, including detection of excessive voltage IR drop, areas of excess current density and even power and thermal hotspots. The system and method uses a novel two-dimensional finite element method (FEM) based DC power network integrity analysis for PCBs. Unlike the existing 3D finite element-based DC analysis such as the Cadence PowerDC tool, the system applies 2D finite elements for space discretization so that the number of elements can be significantly reduced. To model the vertical vias and horizontal connects among different layers and parts in PCBs, simple resistive line elements are employed. To further control the number of elements to be used, contour shape modeling is introduced so that it can perform with efficiency and accuracy. The numerical results show that the described 2D PCB DC solver is 29.29% faster than the commercial PowerDC with similar accuracy on practical industry PCB designs.
II. Review of Finite Element-Based Solver for Steady State Electrical Field
[0026] The finite element method (FEM) was introduced in 1940 for solving partial differential equations (PDEs) for initial and boundary-value problems, and is described in H. Martin and G. Carey, Introduction to Finite Element Analysis: Theory and Application, New York, McGraw-Hill, 1973. Based on the mathematical theory of the weak solution of PDEs, FEM can deal with Neumann boundary conditions (BCs) in a natural way and it can also deal with irregular geometrics much more easily. A brief review of the steady-state electrical field solving process, which can be viewed as FEM for Poisson's equation with Dirichlet and Neumann boundary conditions, follows.
[0027] For an electrical field in the steady state, the following formula applies:
where V is the voltage potential and E is the electrical field vector. Then there is the so-called Poisson's equation in the differential form:
For steady state electrical field with constant current flow, i.e., =0, there ends up a Laplace equation .sup.2=0, and there are the following boundary conditions:
v.sub.i(t=0)=v.sub.i0,i=1 . . . m(voltage)
i.sub.i(t=0)=i.sub.i0,i=1 . . . k(voltage)
[0028] In general, the electrical potential Vin steady state can be described by the Poisson's equation with both Dirichlet and Neumann boundary conditions given as follows:
.sup.2V=f(x),x,
V=u(x),x.sub.D,
V.Math.N=g(x),x.sub.N,
where R.sup.n is the solution domain with the boundary , .sub.D (is the part of the boundary where Dirichlet boundary conditions are given, .sub.N is the part of the boundary where Neumann boundary conditions are given V(x) is unknown electrical field to be found, f(x), u(x), and g(x) are given electrical charges and voltage sources and current sources.
[0029] The weak formulation for FEM is used for real computation due to that it is difficult to enforce Dirichlet and Neumann boundary conditions. Given the test function s, then:
.sub.(Vf).Math.sd=0.
[0030] Integrating this equation by part and applying the divergence theorem, obtains the following:
.sub.V.Math.sd=.sub..sub.
[0031] For Dirichlet boundary condition, the integral term .sub..sub.
.sub.V.Math.sd=.sub..sub.
[0032] Dirichlet BC is called Essential Boundary Conditions, as it is not a part of the weak) form. For Neumann boundary condition, g(x)=V.Math.n and the integral term over the Neumann surface contains exactly the same flux, so:
.sub.V.Math.sd=.sub..sub.
[0033] Neumann BC is called Natural Boundary Conditions, as is part of the weak form. The resulting weak form for the Poisson's problem can now be written. For any test function sV.sub.0(), we need to find VV() such that:
.sub.V.Math.sd=.sub..sub.
[0034] To solve numerically given problem based on this weak form, the following algorithm with five steps is used:
Finite element solver for Poisson's equation: [0035] 1: Define the domain and the surfaces .sub.D and .sub.N. [0036] 2: Define the known functions f, u, and g. [0037] 3: Define the unknown function V and the test function s. [0038] 4: Define essential boundary conditions (Dirichlet conditions)
V(x)=u(x),x.sub.D. [0039] 5: Define equation and natural boundary conditions (Neumann conditions) as the set of all integral terms .sub.V.Math.sd,.sub..sub.
III. NEW 2D FEM DC SOLUTION FOR PCBS
[0040] The new 2D FEM solver may use, in one embodiment, two new approximation methods to speed up the FEM analysis for power networks analysis of PCBs.
[0041] A power network in PCBs usually contains five elements: electrical source 1, copper clad laminate (CCL) 5, via 3, discrete component 2 and IC load 4 as shown in
[0042] However, for a practical power networks in PCBs, there are still 3D structures as there may be many layers that are connected by vias as shown in
[0043] To solve the extracted 2D model for a power network, the system first uses 2D elements (lines or triangles) to mesh a 2D plane as described above in Section II. Then the system treats vertical vias and discrete components as pure resistance based on the Ohm's law. Next, the system sets up in given voltage (Dirichlet) or current boundary (Neumann) conditions.
[0044] With reference to
[0045] For voltage boundary condition, which is usually specified by source component pins, the system adds a line element connecting the pin center and an arbitrary point on the edge of the pin, which makes the Dirichlet boundary conditions. The electrical potentials on the line are assumed to be identical, as shown in
[0046] Similarly, for current boundary condition, which is usually specified by sink component pins, the same measure is taken. It is assumed that the magnitude of current density on the boundary line is the same as shown in
[0047] The second approximation method that one embodiment employs controls the number of elements at the cost of a very small accuracy degradation. With reference to
[0048] In a finite element meshing process, the complex contour may lead to a very large number of elements if very fine lines are used to model the complicated shapes or contours. Such is the case if the cycles and arcs that are very dense meshes are used such as the complicated contours and shapes as shown in
[0049] Thus, the system uses the Critical Angle concept to reduce the number of contour points and thus control the number of the elements around those contours. Specifically, letting p1, p2, . . . , pn be the point sequence of the contour. Each time the system deletes a point pi if the included angle of the line segments pi1pi and pipi+1 is greater than the critical angle, and then updates the point range until there is no point to be deleted or there are only three points left. The algorithm below describes the details and
[0050] The Critical Angle based contour modeling in meshing process includes the following pseudo code:
TABLE-US-00001 Input: An array A of original contour points, Critical Angle , length of array n Output: A for i = 1;i n;i + + do Calculate the included angle of line p.sub.i1p.sub.i and p.sub.ip.sub.i+1 (p.sub.0 = p.sub.n, p.sub.n+1 = p.sub.1) if > & & n > 3 then Delete p.sub.i from A n = n 1 i = i 1 else if n > 3 then Continue; else Break; end if end for Return A
IV. EXPERIMENTAL RESULTS AND DISCUSSIONS
[0051] The described 2D FEM DC solver has been implemented in C++ with the Armadillo numerical package available the C++ linear algebra library by Conrad Sanderson. The experimental data was collected on Linux severs with an Intel Xeon E5-2698 CPU at 2.3 GHz. The Gmesh program available from Gmish.info was used to generate the 2D mesh for our 2D FEM solver.
[0052] The numeration solution of 2D FEM was compared with Cadence Sigrity PowerDC on a industry PCB design, the Galileo PCB. The example tested was a power network, named V1P0 S0. It consisted of one source component pin C3B9.1 with voltage 1V, multiple pins of sink component U2 A5 with total 10 A current and V1P0 S0 net. The copper conductivity was set with 5.959e+7S/m, as PowerDC does by default, and employed the equal current model in pins belonging to U2 A5.
[0053] Table I below shows the comparison results of voltage IR drops between PowerDC and the 2D FEM solver.
TABLE-US-00002 TABLE I VOLTAGE IR DROP COMPARISONS AGAINST POWERDC Voltage at pins (mV) U2A5 pin number PowerDC 2D FEM AD14 966.262 967.481 AB14 966.465 967.652 Y14 966.612 967.727 V14 966.558 967.707 Y16 966.742 967.894 V16 966.841 967.986 AB18 966.676 967.902 Y18 966.796 967.968 V18 967.229 968.26 T18 967.378 968.386 AB20 966.62 967.866 Y20 967.193 968.237 V20 967.45 968.575 Avg IR drop 33.168 32.028
[0054] The voltage values calculated by the 2D FEM solver are consistently a little bigger than by those by the PowerDC and the average IR drop was very close. However, the solver takes 5.441 s of CPU time total while PowerDC takes 7.034423 according to its analysis report, reducing time cost by 29.29% against PowerDC. Voltage distribution and current density distribution plots are shown in
[0055]
[0056] The impact of the Critical Angle concept, which allow the system to perform the trade-off between the solver efficiency and accuracy, was reviewed. By setting the value of the Critical Angle, the system can regulate the number of mesh nodes and elements and also the accuracy of the results. In one embodiment, V1P0 S0 was also selected as the test power network. Table II shows the meshing results from Gmsh while different values of the Critical Angle are set.
TABLE-US-00003 TABLE II PERFORMANCE COMPARISON FOR DIFFERENT CONTOUR MODELINGS IN MESHING Critical Angle () Index 150 160 170 180 Meshing 0.869719 1.04875 3.87363 16.9746 time (s) No. of 6437 10049 34023 146202 nodes No. of 13883 21461 70603 298786 elements Solver 5.441 21.281 run time (s) Avg IR 32.028 32.621 drop (mV)
[0057] It is clearly seen that the meshing time decreases significantly when the critical angle decreases to 150. When it reaches below 150, it causes serious deformation of the contour area and thus poor accuracies. As a result, 150 was determined to be a good trade-off choice between solver efficiency and accuracy.
[0058] Described herein is a fast 2D finite element method for DC integrity analysis of PCBs. The new method and system use a 2D mesh instead 3D mesh for the analysis so that the number of elements can be significantly reduced with marginal accuracy loss. A resistive line is also used to replace all the vias. To further reduce the number of elements, the Critical Angle method used to approximate the contours of the complicated shapes in the PCBs so that better accuracy and efficiency trade-off can be made. The proposed 2D FEM DC solver was compared against the commercial Cadence PowerDC solver on an industry PCB design. The new solver shows similar accuracy while delivering 29.29% speedup over PowerDC.
[0059] It is to be understood that not necessarily all objects or advantages may be achieved in accordance with any particular implementation of the invention. Thus, for example, those skilled in the art will recognize that the invention may be embodied or carried out in a manner that achieves or optimizes one advantage or group of advantages as taught herein without necessarily achieving other objects or advantages as may be taught or suggested herein.