CN1206722C - Solving method for transient analysis of power source network based on equivalent circuit - Google Patents
Solving method for transient analysis of power source network based on equivalent circuit Download PDFInfo
- Publication number
- CN1206722C CN1206722C CN 03104770 CN03104770A CN1206722C CN 1206722 C CN1206722 C CN 1206722C CN 03104770 CN03104770 CN 03104770 CN 03104770 A CN03104770 A CN 03104770A CN 1206722 C CN1206722 C CN 1206722C
- Authority
- CN
- China
- Prior art keywords
- node
- equivalent
- circuit
- current
- resistance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000004458 analytical method Methods 0.000 title claims abstract description 40
- 230000001052 transient effect Effects 0.000 title claims abstract description 14
- 238000004088 simulation Methods 0.000 claims description 32
- 230000008569 process Effects 0.000 claims description 20
- 230000009466 transformation Effects 0.000 claims description 16
- 238000006243 chemical reaction Methods 0.000 claims description 14
- 239000011159 matrix material Substances 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 5
- 230000009467 reduction Effects 0.000 claims description 4
- 239000003990 capacitor Substances 0.000 claims description 3
- 241000238876 Acari Species 0.000 claims description 2
- 239000000203 mixture Substances 0.000 claims description 2
- 230000000694 effects Effects 0.000 claims 1
- 238000013461 design Methods 0.000 abstract description 18
- 238000012360 testing method Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000021615 conjugation Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000036962 time dependent Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000009795 derivation Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000003012 network analysis Methods 0.000 description 2
- 238000005457 optimization Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000035800 maturation Effects 0.000 description 1
- 230000003071 parasitic effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000013517 stratification Methods 0.000 description 1
Images
Landscapes
- Design And Manufacture Of Integrated Circuits (AREA)
Abstract
The present invention relates to a method for transient analysis of a power source network of an integrated circuit on the basis of an equivalent circuit, which belongs to the design field of placement and routing in VLSI physical design. The present invention is characterized in that the method aims at the characteristics that the power source wire/ground wire of a special integrated circuit (ASIC) comprises large quantity of chain topological structures by using a computer. The parameters R, L and C of an RLC circuit for the intermediate node of a link, and a current source are equivalent to the nodes at both ends of the link. A linear equation is listed according to an equivalent circuit only composed of the nodes at both ends of all links. The voltage of each end of all links of the equivalent circuit is quickly solved by the existing method at this point. The method solves the voltage value of combined nodes of all the links according to the voltage value at this point. The present invention has the advantages of rapidness and internal storage saving, and not only can expand the scale for chip processing, but also can meet precision requirements.
Description
Technical field
Method based on the ic power network transients analysis and solution of equivalent electric circuit belongs to VLSI physical Design field, especially RLC power line in the layout routing field/earth cord network transient analysis solution technique category.
Background technology
In the chip physical Design, the wiring of power line/ground wire belongs to the wiring portion of special gauze, designing improperly, power line/earth cord network can cause a series of serious problems, can not get the damage of the excessive caused supply network of current density of a certain branch road in the caused logic error of enough supply power voltages, the supply network etc. as semiconductor device, therefore in the wiring stage, the wiring of power line/ground wire has limit priority.
Along with the manufacturing process of integrated circuit enters into sub-micro (VDSM) by present deep-submicron (DSM), the design scale of integrated circuit is also by ultra-large (VLSI), and very extensive (ULSI) is to G extensive (GSI) development.Because chip power-consumption sharply increases and chip power supply voltage constantly reduces, and makes supply network that increasing operating current must be provided.Simultaneously along with being increased sharply of working frequency of chip, make parasitic capacitance, inductance to the increase day by day of supply network influence, power line/earth cord network analysis has been converted to complicated transient analysis from better simply dc analysis.All these make the safe power supply problem of chip become one of topmost thorny problem in the chip design manufacture process, also are that restriction chip performance and scale continue one of main bottleneck that improves, and therefore are subjected to the unprecedented attention of academic and industrial quarters.
Because the improving constantly of production technology, constantly the dwindling of semiconductor device, the density of line becomes increasing, makes increasing to the demand of interconnection resource.Simultaneously because supply network need provide increasing operating current, thus supply network for the supply power voltage that guarantees each unit greater than minimum normal working voltage, also must widen the width of power line/ground wire, strengthened demand to interconnection resource.Like this, design one and occupy the least possible safe power supply network of interconnection resource, just become wires design stage important target.After the power line of circuit/earth cord network design is finished, for the supply power voltage that guarantees each unit greater than minimum normal working voltage, also must carry out analysis verification to whole design, promptly power line/earth cord network is carried out transient analysis and finds the solution.Therefore the transient analysis solver of efficient, an accurate power line/earth cord network is the basis of supply network design optimization in the chip, also is the verification tool of power supply gauze design correctness, and it can shorten the design cycle of chip simultaneously.Background knowledge and technology that following portions introduction is mainly relevant.
At the ASIC circuit based on the standard cell design, its power-line network as shown in Figure 1 and Figure 2.Circuit is the standard cell power supply by the power supply loop wire with the power rail that connects thereon, for the supply power voltage that guarantees each unit greater than minimum normal working voltage, generally also to increase some power supplies and strengthen buses.
Power line/ground wire roughly becomes the fully connected topology of a grid (Mesh), and following Fig. 3 is one and considers resistance (R), inductance (L), the rlc circuit analytical model of the power-line network of electric capacity (C) influence.
Wherein utilize in current source (PWL) analog chip that segmentation represents modular unit (cell) to go up the time dependent current value that receives.Power-line network just to these unit power supplies, guarantees that each unit can operate as normal.The purpose of power supply gauze sunykatuib analysis be exactly solve all unit modules each the time magnitude of voltage that engraves, the basis is provided for the verification of correctness of power-line network and optimization.
Because the electric current that receives of unit module changes the continuous variation that causes unit module voltage in time continuously, so the electric power network analysis and solution is a transient analysis problem.For the ease of in time domain, carrying out analysis and solution, generally transient problem must be converted into the quasi-static analysis problem, an enough little time step promptly is set, the transient simulation in the one-period is converted to enough a plurality of quasistatic direct currents finds the solution problem.
It is an On Solving System of Linear Equations problem that the quasistatic direct current is found the solution in the question essence.At first according to the topological structure and kirchhoff (Kirchhoff) law of circuit network, set up circuit equation for each node, the equations simultaneousness with all obtains system of linear equations.Power-line network is by electric capacity, inductance, and resistance, current source and voltage source are formed, and character sparse, symmetrical, positive definite that the coefficient matrix of linear equations of power-line network has can utilize more existing highly effective algorithms directly to find the solution.
To sum up, the power-line network transient analysis solution procedure of integrated circuit is as follows: the step-length of (1) selected transient analysis and the total step number of definite required simulation, (2) on each simulation steps, earlier according to topology of networks and Kirchhoff's law, set up the system of linear equations of circuit, utilize the derivation algorithm of equation group to solve each magnitude of voltage of each node constantly again.
Along with the increase day by day of integrated circuit integrated level, the raising gradually of technology, the transient analysis of power-line network are found the solution also to become and are become more and more important and complexity.Recently academia has done a lot of important breakthrough research work that have in this respect, and multi-grid method (multi grid), stratification (hierarchical method), pre-excellent conjugation tonsure method (PreconditionConjugate Gradient-PCG), the hierarchical model depression of order (hierarchical model order reduction) are wherein arranged.Though these new methods have very much progress for the analysis of the electric power network of large-scale circuit, but they do not have fully to investigate the characteristic of the electric power network structure of chip, do not make full use of the regularity of supply network structure, therefore mostly have the shortcoming that computational speed is slow, committed memory is many.For this reason, at ASIC circuit based on the standard cell design, consider the regularity characteristics of its electric power network, our structure and design realized accurately, efficiently based on the ic power network transients analysis and solution device of equivalent electric circuit, under the prerequisite of not losing accuracy and save memory, increased substantially the speed of analysis and solution, enlarged the chip-scale of analysis and solution,, obtained best up to now result for handling large-scale chip.
Summary of the invention
The objective of the invention is to design a kind of ic power network transients analysis and solution device, under the situation of not losing accuracy, increase substantially the speed of analysis and solution, the chip-scale that expansion can be found the solution based on equivalent electric circuit.The basis of invention is the ordered structure of power line/earth cord network, wherein a large amount of RLC chain structure circuit that exist shown in figure (4):
The main thought of invention is: (1) at the characteristics of the power-line network chain topological structure (as shown in Figure 4) of ASIC circuit, with the electrical parameter equivalence of node in the chain to two end nodes of this chain.(2) for the equivalent electric circuit that only constitutes by two end nodes of all chains, since very little according to the listed system of linear equations scale of this equivalent circuit, existing derivation algorithm can be adopted, calculate the magnitude of voltage of this each end points of equivalent electric circuit constantly fast.(3) according to this two ends node voltage of all chains constantly, solve all chains by this magnitude of voltage constantly of merge node, to reach the purpose of sunykatuib analysis.Because in whole process, finding the solution system of linear equations is a step the most consuming time and the consumption internal memory, thus reduce the process that the scale of equation group can shorten whole analysis and solution significantly, and the expense of compression memory significantly.
In the present invention, we will be only with the node definition of two other node connections be intermediate point (Middle Node), such as N
2, N
3N
iAnd N
nCorresponding with it, with node definition more than two other node connections be joint (CrossNode), as N
1And N
N+1Node.The core content of invention is exactly for the such long-chain of each bar, and the Cross Node that all Middle Node is merged to two ends gets on, and making circuit reduction is the equivalent electric circuit of only being made up of Cross Node.After the circuit equation group of finding the solution equivalent electric circuit again obtains this voltage constantly of each Cross Node, further recover to find the solution this magnitude of voltage constantly of all MiddleNode.
1, method based on the ic power network transients analysis and solution of equivalent electric circuit, it contains the step that power line/network of wires is carried out transient analysis based on dc analysis, it is characterized in that, it may further comprise the steps: utilize computer to contain the characteristics of a large amount of chain topological structures at the power line/earth cord network of application-specific integrated circuit (ASIC), the parameters R of the rlc circuit of link intermediate node, L, C and current source equivalence are to this both link ends node, again for the equivalent electric circuit that only constitutes by two end nodes of all links, list system of linear equations, solve this magnitude of voltage of all each end points of link of equivalent electric circuit constantly more in view of the above, obtain in view of the above again in all links by this magnitude of voltage constantly of merge node.
2, according to the method for 1 described ic power network transients analysis and solution based on equivalent electric circuit, its characteristics are that it contains following steps successively:
The 1st step: computer reads in the message file of circuit, comprises the relational structure between the node in the file; The changing in time of the supply module unit that resistance value between the node, inductance value, inductance initial voltage and current value, capacitance, electric capacity initial voltage and current value and each node are connected utilizes the current waveform that receives that PWL represents, in computer, set up the information of circuit in view of the above, and all intermediate points of mark and joint;
The 2nd step: according to the work period of circuit and the periodicity of needs simulation, computer reads in corresponding time step h and total simulation step number M respectively;
The 3rd step: the electric capacity in the discretization ifq circuit, inductance obtain the circuit of being made up of resistance, current source:
The 3.1st step: capacitor C in the discretization circuit or resistance L,
The time step of given simulation is utilized trapezoidal difference formula, and K+1 moment electric capacity disperses and turns to an equivalent resistance
With an equivalent current source
Model in parallel,
V
C, k, I
C, k, V
C, k+1, I
C, k+1Represent the voltage and current on K and the K+1 moment electric capacity respectively, its direction is consistent;
The time step of given simulation is utilized trapezoidal difference formula, and K+1 moment inductance disperses and turns to an equivalent resistance
With an equivalent current source
Model in parallel,
V
L, k, I
L, k, V
L, k+1, I
L, k+1Represent the voltage and current on k and the k+1 moment inductance respectively, its direction is consistent;
The 3.2nd step:, set up the discretization model of ifq circuit according to the discretization process in (3.1);
The 4th step: merge all intermediate nodes, set up the equivalent electric circuit of forming by the node that crosses:
The 4.1st step: utilize the Norton equivalent law to merge current source with the simplification circuit,
For a link that contains N+1 node, be vertex ticks 1 to N+1 from left to right, (the resistance R between 1<i<N) of adjacent node i and i+1 on the link
iThe series circuit of forming with K+1 moment discretization inductance is reduced to by equivalent resistance R
i *With equivalent current source el
I, k+1The parallel circuits of forming:
R
i, L
iBe respectively resistance and inductance value between node i and node i+1;
V
L, i, k, E
I, kBe respectively K L constantly
iOn electric current and magnitude of voltage, direction by the i+1 node to the i node;
El
I, k+1Be behind the equivalent-simplification and R
i *Equivalent current source in parallel;
The 4.2nd step: the current source over the ground on the merge node i,
Constantly for node i, modular unit received electric current e at K+1
I, k+1With the discretization capacitor C
iThe effect circuit that obtains is merged into by current source ec
I, k+1With resistance r
iThe circuit that composes in parallel:
C
iBe respectively node i associated capacitance value over the ground;
V
I, k, I
I, kBe respectively K constantly magnitude of voltage on the node i and the current value by electric capacity, direction over the ground;
Ec
I, k+1Expression constantly self receive electric current by i node K+1 and merge by the equivalent current that the corresponding capacitance discretization obtains after total current, calculate according to formula (5), the sense of current over the ground;
The 4.3rd step: Y type circuit is to the equivalent transformation of pi-network:
Be two end points by three adjacent successively nodes and the Y type conversion of circuits formed of ground with form pi-network;
General, three nodes establishing the Y circuit are x, y, z, wherein node Z ground connection), intermediate node is o, the structure of Y type circuit is:
Between end points x, o: by resistance R
xWith current source I
x, compose in parallel to the x direction from o,
Between end points y, o: by resistance R
yWith current source I
y, from composing in parallel to the y direction for o,
Between end points z, o: by resistance R
zWith current source I
z, compose in parallel to the z direction from o,
The structure of the pi-network that equivalence posterior nodal point x, y and z form is:
Between node x, the y by equivalent resistance R
XyWith equivalent current source I
XyCompose in parallel, wherein:
Between node x, the z by equivalent resistance R
XzWith equivalent current source I
XzCompose in parallel, wherein:
Between node y, the z by equivalent resistance R
YzWith equivalent current source I
YzCompose in parallel, wherein:
Therefore, the size of current of inflow node x is:
The size of current that flows into node y is:
The 4.4th step: the equivalent transformation of parallel circuits:
Parallel circuits between two nodes is done to merge the simplification conversion:
r
total=1/(1/r
left+1/r
right) ——(10),
i
total=i
left+i
right ——(11),
r
Left, r
Right, i
Left, i
Right, represent the size of two resistance and current source respectively;
r
Total, i
TotalThe all-in resistance after expression merges respectively and the size in total current source;
The 4.5th step: merge intermediate node, simplify obtaining final equivalent electric circuit:
Recycle top principle and step, merge the intermediate node of every link, obtain the π type equivalent electric circuit of every link, for a link that contains N+1 node, be labeled as 1 to N+1 from left to right, final π type equivalent circuit structure is as follows:
End points N+1 is between ground: equivalent resistance R
N+1 EquivWith equivalent current source I
N+1, k+1 EquivFrom N+1 to the place to parallel connection;
Circuit reduction is the equivalent electric circuit of the simplification of the node composition that only crosses the most at last;
The 5th step: the nodal voltage equation group of setting up the equivalent electric circuit that obtains by step (4.5) according to Kirchhoff's law
Thereby obtain only relevant sparse coefficient matrix G with circuit structure and resistance;
The 6th step: beginningization simulation, make step counter K=0, obtain the initial voltage value of each node by the PWL oscillogram of each node, this value should equal the initial voltage value of each node associated capacitance, thus structure
The 7th step: if K>M, then end simulation;
Otherwise execution following steps:
The 8th step: the PWL waveform extracting K+1 step by each node constantly each node supply module unit receive electric current, calculate the K+1 current vector on equation group the right constantly
Bring the system of linear equations that obtains by step (5) into:
This step is received the PWL waveform of electric current according to the supply module unit of each node, extracts this their current value size constantly, utilizes then
Merge the size that obtains equivalent current by electric capacity, inductance discretization then through equivalent transformation according to formula (1) (2) (4) (5) (7) (11), finally obtain each this equivalence constantly of node that crosses and receive electric current, constitute vector
The 9th step: with existing method solving equation group
Obtain cross the constantly magnitude of voltage vector of node of K+ 1
The 10th step: recover to find the solution this magnitude of voltage constantly of each intermediate node:
V
1, k+1, V
N+1, k+1Be the magnitude of voltage of the K+1 moment two joints,
Then by node i from 2 to N, obtain the K+1 magnitude of voltage constantly of these all intermediate nodes of link:
V
I, k+1Expression i node is at the K+1 voltage in step, i ∈ [1, n+1];
R
i *Resistance between expression i node and node i+1,
r
iThe equivalent resistance that expression is obtained by electric capacity i discretization, r
i=h/2C
i
El
I, k+1The equivalent current that expression obtains after by inductance i discretization, the current value that obtains through resulting electric current discretization after the Norton equivalent conversion is tried to achieve by formula (4) again, direction by node i+1 to node i;
Ec
I, k+1Expression constantly self receive electric current by i node K+1 and merge by the equivalent current that the corresponding capacitance discretization obtains after total current, calculate according to formula (6), the sense of current by node i to ground;
E
I, k+1Expression K+1 step flows into the current value of i node, direction by node i+1 to node i;
The 11st step: the magnitude of voltage of K+1 all nodes is constantly preserved in output, puts K=K+1, forwards step (7) to, carries out next step simulation process.
Not only speed is fast under the situation of precision satisfying to experiment showed, method proposed by the invention, thereby and the internal memory that can save computer enlarge and can find the solution the scale of chip.
Description of drawings
Fig. 1: the power line pessimistic concurrency control of integrated circuit,
The 1-supply rings,
Bus is strengthened in the 2-power supply,
The 3-power rail,
4-standard module unit (cell).
Fig. 2: based on the ASIC circuit supply network diagram of standard cell design,
The 1-power rail,
The 2-power supply is strengthened bus,
The 3-ground wire is strengthened bus,
The 4-standard cell,
5-ground wire rail,
6-power supply loop wire,
7-ground wire loop wire.
Fig. 3: the RLC analytical model of power-line network.
Fig. 4: common RLC chain circuit in the power-line network.
Fig. 5: the discretization model of electric capacity, inductance,
1-K+1 is the discretization model of electric capacity constantly,
2-K+1 is the discretization model of inductance constantly.
Fig. 6: the model before the RLC link discretization.
Fig. 7: the model after the RLC link discretization.
Fig. 8: Nuo Dun (Norton) law of equivalence,
Before the 1-conversion,
After the 2-conversion.
Fig. 9: merge current source,
Before 1-merges,
After 2-merges.
Figure 10: utilize the link after the Norton law is simplified.
Figure 11: Y type circuit is to the equivalent transformation of pi-network,
Before the 1-conversion,
After the 2-conversion.
Figure 12: the equivalent transformation of parallel circuits,
Before the 1-conversion,
After the 2-conversion.
Figure 13: begin to do the equivalent transformation of Y type circuit to pi-network from an end of link.
Figure 14: the equivalent transformation of making parallel circuits.
Figure 15: continue to do the equivalent transformation of Y type circuit to pi-network.
Figure 16: a link is simplified the final equivalent electric circuit in back.
Figure 17: h receives current value constantly according to PWL waveform extracting (K+1).
Figure 18: 8 * 8 test example, * represents Cross Node, expression Middle Node, outer thick line is represented the power supply power supply rail, the internal layer fine rule is represented the gauze of powering.
Figure 19: a link illustration in the test example.
Figure 20: the discretization model of illustration.
Figure 21: the method simplification circuit that utilizes promise to pause (Norton) law and merge current source.
Figure 22: link is simplified the final equivalent electric circuit in back.
Figure 23: the final equivalent model of 8 * 8 test examples.
Figure 24: program flow chart of the present invention.
Embodiment
Now the present invention is described in detail according to step once in conjunction with figure (4):
1. read in the circuit information file, set up the ifq circuit structure
This is an input process, and the description document of ifq circuit is read in, and comprises the relational structure between the node in the file; The time dependent size of current of receiving of the supply module unit that the resistance value between the node, inductance value, capacitance and each node connect.In computer, set up the information of circuit in view of the above, and all intermediate points of mark (Middle Node) and joint (Cross Node).
2. set the time step h of simulation, the total step number N of simulation
This step is set the parameter of simulation, time step h and total step number M.The setting of time step h will be according to the circuit working cycle; The work week issue of needs simulation is depended in the setting of total step number.
3. discretization electric capacity, inductance obtain by resistance, current source, the circuit that voltage source is formed
Because the existence of electric capacity, inductance need utilize time step and difference formula to carry out the discretization process.Introduce the discretization process of electric capacity, inductance below.
3.1 electric capacity, the discretization of inductance
The time step of given simulation, according to the trapezoid formula of backward difference:
Electric capacity:
Inductance:
Electric capacity, inductance can be by the discrete equivalent models that turns to resistance and current source parallel connection.As shown in Figure 5
V
C, k, I
C, k, V
C, k+1, I
C, k+1Represent the voltage and current on k and the k+1 moment electric capacity respectively, symbol and arrow mark among its direction such as Fig. 5.
V
L, k, I
L, k, V
L, k+1, I
L, k+1Represent the voltage and current on k and the k+1 moment inductance respectively, symbol and arrow mark among its direction such as Fig. 5.
C and L represent the value of electric capacity and inductance respectively, the simulated time step-length that the h representative is selected.
Like this, ifq circuit is the equivalent electric circuit of being made up of resistance, current source, voltage source by discretization.
3.2 the discretization model of electrical chain in the circuit
Be as drag wherein, see Fig. 6 as the RLC chain transformaiton among Fig. 4
4. merge all Middle Node, set up the equivalent electric circuit of forming by Cross Node
This is core of the present invention, exactly all Middle Node is merged to the CrossNode at two ends, the equivalent electric circuit that obtains simplifying.Give detailed introduction below.
4.1 the method for utilizing promise to pause (Norton) law of equivalence and merging current source is simplified circuit
On the basis of Fig. 5, utilize the Norton law, with of the conversion of the do of the local circuit in the electrical chain as Fig. 8.
4.2 the merging current source, as shown in Figure 9.
Through above-mentioned two steps, obtain circuit model as Figure 10.
The meaning of letter is as follows among Figure 10:
V
I, k+1Expression i node is at the k+1 voltage in step, i ∈ [1, n+1]
R
i *Resistance between expression i node and node i+1,
r
iThe equivalent resistance that expression is obtained by electric capacity i discretization, r
i=h/2C
i
El
I, k+1The equivalent current that expression obtains after by inductance i discretization, the current value through obtaining behind the Norton equivalent transformation is tried to achieve by formula (4) again, and direction is shown in Figure 10 arrow.
Ec
I, k+1Expression constantly self receive electric current by i node k+1 and merge by the equivalent current that the corresponding capacitance discretization obtains after total current, calculate according to formula (5), the sense of current is shown in Figure 10 arrow.
E
I, k+1The expression k+1 step flows into the current value of i node, and direction is shown in arrow among Figure 10.
4.3 Y type circuit is to the equivalent transformation of pi-network
General, for a Y type circuit, we can have conversion shown in Figure 11
Wherein:
4.4 the equivalent transformation of parallel circuits is seen Figure 12
r
total=1/(1/r
left+1/r
ight) ——(10)
i
total=i
left+i
right ——(11)
4.5 merge Middle Node, simplify obtaining final equivalent electric circuit
Recycle top conversion, a final electrical chain can be reduced to equivalent electric circuit shown in Figure 16.Describe its process (saving the mark of formula in the diagram) below in detail.
From chain, a Y type circuit part is transformed into pi-network, the part shown in circle frame among Figure 13.
Merge the parallel circuits part then, the part shown in roundlet frame among Figure 14.
After obtaining circuit, continue to do the equivalent transformation of Y type circuit to pi-network as Figure 15.
Repeat above step, up to the equivalent electric circuit that link is reduced to final following Figure 16.
Intermediate node (Middle Node) is all merged like this, and circuit is reduced to the equivalent electric circuit of only being made up of joint (Cross Node).
From formula (1) (2) (3) (6) (7) (10) (11) we as can be seen, by electric capacity and inductance discretization equivalent resistance only and electric capacity, the step-length of inductance and setting is relevant.Because these three parameters can not change in the dynamic analog analysis, so the value of all resistance can not change in the circuit after the discretization.
The circuit equation group shape of setting up according to kirchhoff as
Wherein G is a sparse matrix, only lead with electricity (inverse of resistance) relevant with the structure of circuit, so a demand gets once and gets final product.
6. step counter K=0 is put in initialization simulation.Obtain the initial voltage value (this value should equal the initial voltage value of each node associated capacitance) of each node by the PWL oscillogram of each node, make up thus
7. if K>M, then end simulation;
Otherwise execution following steps.
8. extract the electric current that receives of each unit of the K+1 step moment, and by calculating current vector
According to each unit receive electric current PWL waveform, utilize then
Merge the size that obtains equivalent current by electric capacity, inductance discretization then through equivalent transformation according to step (4) and formula (1) (2) (4) (5) (7) (11), final calculating is obtained each this equivalence constantly of node that crosses and is received electric current, obtains the K+1 current vector on equation group the right constantly
Bring the system of linear equations that obtains by step (5) into
Because the electric current that receives of unit changes in time, it is current time that the extraction K+1 step big or small process of receiving electric current constantly can be utilized (K+1) h, according to the corresponding PWL parameter in each unit, obtain it and receive current value accordingly then, detailed process as shown in figure 17.
9. the group of solving an equation obtains the K+1 step magnitude of voltage of all Cross Node constantly
Find the solution coefficient matrix and have system of linear equations sparse, symmetrical, positive definite character, the algorithm of a lot of existing efficient maturations is arranged at present.We adopt is a kind of conjugation tonsure method ICCG (Incomplete Cholesky ConjugateGradient) that decomposes pre-excellent matrix based on incomplete Qiao Laisiji in the pre-excellent conjugation tonsure method (PCG, Precondition Conjugate Gradient).Find the solution finish after, obtain this magnitude of voltage of each Cross Node constantly, utilize vector
Expression.
10. recover to find the solution this magnitude of voltage constantly of each Middle Node
After obtaining this step of all Cross Node voltage constantly, recover to find the solution this step of two Middle Node between Cross Node magnitude of voltage constantly one by one according to following formula and process, reach purpose to all node sunykatuib analyses.Utilize following processes and formula to realize:
By j from 2 to N:
So far, recovery calculates intermediate node (Middle Node) magnitude of voltage this moment between two nodes that cross (Cross Node).
11. the K+1 node voltage value in step is preserved in output, this step sunykatuib analysis finishes.Put K=K+1, carry out next step simulation.
Again, we adopt one to generate ourselves, but the example that does not lose general proxy property illustrates the specific embodiment of the present invention, carries out according to top flow chart.
This example vertical view (18) of 8 * 8, the working cell (cell) in each point among the figure (be labeled as * or) indication circuit, just we want the node of analysis mode, and they have the electric current of receiving and associated capacitance over the ground.On each bar line resistance and inductance are arranged, shown in following partial enlarged drawing.In this example, we utilize a supply rings of outside to represent power supply, and it can logic is seen as a node.According to the definition on top, obviously be labeled as the MiddleNode that () is, be labeled as the Cross Node that (*) is.Be the part in the middle of two Cross Node points in the circle frame among the figure, its side circuit is shown in figure (19), and following explanation will illustrate that mainly other parts by that analogy round this section local circuit.
1. read in the circuit information file, comprise in the file: the relational structure between the node; The time dependent current waveform (utilizing PWL to represent) that receives of the supply module unit that the resistance value between the node, inductance value, inductance initial voltage and current value, capacitance, electric capacity initial voltage and current value and each node are connected.In computer, set up the information of circuit in view of the above, and all intermediate points of mark (Middle Node) and joint (Cross Node).
2. set the time step h=T/120 of simulation, T is the work period of circuit.The total step number M=240 of simulation is equivalent to simulate two cycles
3. according to 3.1 and 3.2 process discrete circuit.Link in the illustration is transformed to (20) model as figure.
4. merge all intermediate nodes (Middle Node), set up the equivalent electric circuit of forming by the node that crosses (Cross Node)
The method of utilizing promise in 4.1 and 4.2 the process to pause (Norton) law of equivalence and merging current source is simplified circuit, obtains the circuit model as figure (21)
Utilize 4.3,4.4 and 4.5 processes to simplify link, form final equivalent electric circuit, shown in figure (22).
To all links, make above process.Merge all Middle Node, obtain the equivalent electric circuit of only forming by Cross Node.Original 65 points are reduced to 17 points, significantly dwindle circuit scale, thereby improve the speed of finding the solution and reduce memory requirements.Shown in figure (23).
5. obtain the sparse matrix G of the circuit equation group of equivalent electric circuit, according to the circuit structure of figure (21) and resistance value wherein, the sparse matrix G of equationof structure group.
6. beginningization simulation makes step counter K=0.Obtain the initial voltage value (this value should equal the initial voltage value of each node associated capacitance) of each node by the PWL oscillogram of each node, make up thus
7. if K>M, end simulation then,
Otherwise execution following steps.
8. extract the electric current that receives of each unit of the K+1 step moment, and obtain current vector
According to time parameter (K+1) h, extract the current value that receives in this moment of each supply node, then according to the process and the formula (1) (2) (4) (5) (7) (11) of (4.3), (4.4) and (4.5), calculate the equivalent associated current value of each Cross Node, merging obtains current vector then
Set up the circuit system of linear equations
9. utilize ICCG method solving equation group, obtain the magnitude of voltage of all nodes that cross (Cross Node) among K+1 moment Figure 22
10. recover to find the solution this magnitude of voltage constantly of each Middle Node
After obtaining this voltage constantly of all Cross Node, recover to find the solution this magnitude of voltage constantly of all Middle Node, reach the purpose of analyzing all nodes.
11. output is preserved this moment node voltage to output file.The simulation of this step finishes, and K=K+1 begins next step simulation.
Because the analysis and solution of power-line network and earth cord network is similarly, so the present invention only provides the analysis and solution method of power-line network.The present invention is equally applicable to the analysis and solution of earth cord network.
This method is at CPU 450M, simulation test run on the Sun Solaris V880 work station of internal memory 2G, and all codes utilize the C language compilation, and compiler is GNU gcc 2.95.1 version.
The present invention is satisfying under the prerequisite of precision, not only fast but also utilize internal memory little, is applicable to the more test of monster chip.
Claims (2)
1. based on the method for the ic power network transients analysis and solution of equivalent electric circuit, it contains the step that power line/network of wires is carried out transient analysis based on dc analysis, it is characterized in that, it may further comprise the steps: utilize computer to contain the characteristics of a large amount of chain topological structures at the power line/earth cord network of application-specific integrated circuit (ASIC), the parameters R of the rlc circuit of link intermediate node, L, C and current source equivalence are to this both link ends node, again for the equivalent electric circuit that only constitutes by two end nodes of all links, list system of linear equations, solve this magnitude of voltage of all each end points of link of equivalent electric circuit constantly more in view of the above, obtain in view of the above again in all links by this magnitude of voltage constantly of merge node.
2. the method for the ic power network transients analysis and solution based on equivalent electric circuit according to claim 1, its characteristics are that it contains following steps successively:
The 1st step: computer reads in the message file of circuit, comprises the relational structure between the node in the file; The changing in time of the supply module unit that resistance value between the node, inductance value, inductance initial voltage and current value, capacitance, electric capacity initial voltage and current value and each node are connected utilizes the current waveform that receives that PWL represents, in computer, set up the information of circuit in view of the above, and all intermediate points of mark and joint;
The 2nd step: according to the work period of circuit and the periodicity of needs simulation, computer reads in corresponding time step h and total simulation step number M respectively;
The 3rd step: the electric capacity in the discretization ifq circuit, inductance obtain the circuit of being made up of resistance, current source:
The 3.1st step: capacitor C in the discretization circuit or resistance L, the time step of given simulation is utilized trapezoidal difference formula, and K+1 moment electric capacity disperses and turns to an equivalent resistance
With an equivalent current source
Model in parallel,
V
C, k, I
C, k, V
C, k+1, I
C, k+1Represent the voltage and current on K and the K+1 moment electric capacity respectively, its direction is consistent;
The time step of given simulation is utilized trapezoidal difference formula, and K+1 moment inductance disperses and turns to an equivalent resistance
With an equivalent current source
Model in parallel,
V
L, k, I
L, k, V
L, k+1, I
L, k+1Represent the voltage and current on k and the k+1 moment inductance respectively, its direction is consistent;
The 3.2nd step:, set up the discretization model of ifq circuit according to the discretization process in (3.1);
The 4th step: merge all intermediate nodes, set up the equivalent electric circuit of forming by the node that crosses:
The 4.1st step: utilize the Norton equivalent law to merge current source with the simplification circuit,
For a link that contains N+1 node, be vertex ticks 1 to N+1 from left to right, (the resistance R between 1<i<N) of adjacent node i and i+1 on the link
iThe series circuit of forming with K+1 moment discretization inductance is reduced to by equivalent resistance R
i *With equivalent current source el
I, k+1The parallel circuits of forming:
R
i, L
iBe respectively resistance and inductance value between node i and node i+1;
V
L, i, k, E
I, kBe respectively K L constantly
iOn electric current and magnitude of voltage, direction by the i+1 node to the i node;
El
I, k+1Be behind the equivalent-simplification and R
i *Equivalent current source in parallel;
The 4.2nd step: the current source over the ground on the merge node i, constantly for node i, receive electric current e to modular unit at K+1
I, k+1With the discretization capacitor C
iThe effect circuit that obtains is merged into by current source ec
I, k+1With resistance r
iThe circuit that composes in parallel:
C
iBe respectively node i associated capacitance value over the ground; V
I, k, I
I, kBe respectively K constantly magnitude of voltage on the node i and the current value by electric capacity, direction over the ground; Ec
I, k+1Expression constantly self receive electric current by i node K+1 and merge by the equivalent current that the corresponding capacitance discretization obtains after total current, calculate according to formula (5), the sense of current over the ground;
The 4.3rd step: Y type circuit is to the equivalent transformation of pi-network:
Be two end points by three adjacent successively nodes and the Y type conversion of circuits formed of ground with form pi-network;
General, three nodes establishing the Y circuit are x, y, z, wherein node Z ground connection), intermediate node is o, the structure of Y type circuit is:
Between end points x, o: by resistance R
xWith current source I
r, compose in parallel to the x direction from o,
Between end points y, o: by resistance R
yWith current source I
y, from composing in parallel to the y direction for o,
Between end points z, o: by resistance R
zWith current source I
z, compose in parallel to the z direction from o,
The structure of the pi-network that equivalence posterior nodal point x, y and z form is:
Between node x, the y by equivalent resistance R
XyWith equivalent current source I
XyCompose in parallel, wherein:
Between node x, the z by equivalent resistance R
XzWith equivalent current source I
XzCompose in parallel, wherein:
Between node y, the z by equivalent resistance R
YzWith equivalent current source I
YzCompose in parallel, wherein:
Therefore, the size of current of inflow node x is:
The size of current that flows into node y is:
The 4.4th step: the equivalent transformation of parallel circuits:
Parallel circuits between two nodes is done to merge the simplification conversion:
i
total=i
left+i
right -(11),
r
Left, r
Right, i
Left, i
Right, represent the size of two resistance and current source respectively; r
Total, i
TotalThe all-in resistance after expression merges respectively and the size in total current source;
The 4.5th step: merge intermediate node, simplify obtaining final equivalent electric circuit:
Recycle top principle and step, merge the intermediate node of every link, obtain the π type equivalent electric circuit of every link, for a link that contains N+1 node, be labeled as 1 to N+1 from left to right, final π type equivalent circuit structure is as follows:
End points 1 is between N+1: equivalent resistance R
1, n+1 EquivWith equivalent current source I
1, n+1, k+1 Equiv, from N+1 to 1 direction parallel connection; End points 1 is between ground: equivalent resistance R
1 EquivWith equivalent current source I
1, k+1 Equiv, from 1 to the place to parallel connection; End points N+1 is between ground: equivalent resistance R
N+1 EquivWith equivalent current source I
N+1, k+1 EquivFrom N+1 to the place to parallel connection;
Circuit reduction is the equivalent electric circuit of the simplification of the node composition that only crosses the most at last;
The 5th step: the nodal voltage equation group of setting up the equivalent electric circuit that obtains by step (4.5) according to Kirchhoff's law
Thereby obtain only relevant sparse coefficient matrix G with circuit structure and resistance;
The 6th step: beginningization simulation, make step counter K=0, obtain the initial voltage value of each node by the PWL oscillogram of each node, this value should equal the initial voltage value of each node associated capacitance, thus structure
The 7th step: if K>M, then end simulation;
Otherwise execution following steps:
The 8th step: the PWL waveform extracting K+1 step by each node constantly each node supply module unit receive electric current, calculate the K+1 current vector on equation group the right constantly
Bring the system of linear equations that obtains by step (5) into:
This step is received the PWL waveform of electric current according to the supply module unit of each node, extracts this their current value size constantly, utilizes then
Merge the size that obtains equivalent current by electric capacity, inductance discretization then through equivalent transformation according to formula (1) (2) (4) (5) (7) (11), finally obtain each this equivalence constantly of node that crosses and receive electric current, constitute vector
The 9th step: with existing method solving equation group
Obtain cross the constantly magnitude of voltage vector of node of K+1
The 10th step: recover to find the solution this magnitude of voltage constantly of each intermediate node:
V
1, k+1, V
N+1, k+1Be the K+1 magnitude of voltage of two joints constantly, then by node i from 2 to N, obtain the K+1 magnitude of voltage constantly of these all intermediate nodes of link:
V
I, k+1Expression i node is at the K+1 voltage in step, i ∈ [1, n+1]; R
i *Resistance between expression i node and node i+1,
r
iThe equivalent resistance that expression is obtained by electric capacity i discretization, r
i=h/2C
iEl
I, k+1The equivalent current that expression obtains after by inductance i discretization, the current value that obtains through resulting electric current discretization after the Norton equivalent conversion is tried to achieve by formula (4) again, direction by node i+1 to node i;
Ec
I, k+1Expression constantly self receive electric current by i node K+1 and merge by the equivalent current that the corresponding capacitance discretization obtains after total current, calculate according to formula (6), the sense of current by node i to ground;
E
I, k+1Expression K+1 step flows into the current value of i node, direction by node i+1 to node i;
The 11st step: the magnitude of voltage of K+1 all nodes is constantly preserved in output, puts K=K+1, forwards step (7) to, carries out next step simulation process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03104770 CN1206722C (en) | 2003-02-28 | 2003-02-28 | Solving method for transient analysis of power source network based on equivalent circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03104770 CN1206722C (en) | 2003-02-28 | 2003-02-28 | Solving method for transient analysis of power source network based on equivalent circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1431704A CN1431704A (en) | 2003-07-23 |
CN1206722C true CN1206722C (en) | 2005-06-15 |
Family
ID=4790067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03104770 Expired - Fee Related CN1206722C (en) | 2003-02-28 | 2003-02-28 | Solving method for transient analysis of power source network based on equivalent circuit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1206722C (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009155851A1 (en) * | 2008-06-27 | 2009-12-30 | 华为技术有限公司 | A method and device for testing the paramaters of circuit |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1295775C (en) * | 2004-03-25 | 2007-01-17 | 杭州电子工业学院 | Fast analysis of superlarge integrated circit P/G distributing net |
US7669162B2 (en) * | 2004-03-30 | 2010-02-23 | Nec Corporation | Integrated power supply system analyzing system, integrated power supply system analyzing method, and multiplayer printed circuit board |
CN100347711C (en) * | 2005-05-27 | 2007-11-07 | 清华大学 | Transient state analyzing method for hierarchy power supply / earth cord network based on loose operations |
CN101504681B (en) * | 2009-03-20 | 2010-09-08 | 东南大学 | Evaluation method for decoupling capacitor on ASIC sheet based on chain circuit |
CN101908080B (en) * | 2009-06-03 | 2012-06-27 | 复旦大学 | Method for designing power supply network quickly |
CN101872377B (en) * | 2010-06-12 | 2011-11-09 | 清华大学 | Method for restraining integrated circuit electricity supply network noise by using decoupling capacitance |
CN102299824B (en) * | 2011-09-20 | 2014-10-08 | 北京航天自动控制研究所 | Analysis method for transmission characteristics of 1553B bus network |
CN102646143B (en) * | 2011-11-30 | 2014-03-26 | 清华大学 | Conductance matrix construction method and system in simulation of on-chip power supply network |
CN103049654B (en) * | 2012-12-18 | 2015-12-02 | 马善娟 | The method of discrimination of the transmission direction of a kind of material or energy |
CN103207941A (en) * | 2013-04-27 | 2013-07-17 | 清华大学 | Transient analysis method and transient analysis system under integrated circuit power supply network full-parameter model |
CN105823976B (en) * | 2015-01-09 | 2018-10-16 | 中芯国际集成电路制造(上海)有限公司 | The method that chip is detected and chip testing result is verified |
CN107622143A (en) * | 2017-08-03 | 2018-01-23 | 华北电力大学 | A kind of recursion electro-magnetic transient equivalent modeling method of multiport MMC |
CA3074024A1 (en) * | 2017-10-02 | 2019-04-11 | Liveramp, Inc. | Computing environment node and edge network to optimize data identity resolution |
CN107944081A (en) * | 2017-10-25 | 2018-04-20 | 华北电力大学 | Dual-port submodule MMC generalized equivalent modeling methods are shunk in a kind of short circuit |
CN107944082A (en) * | 2017-10-25 | 2018-04-20 | 华北电力大学 | A kind of single port submodule MMC electro-magnetic transient generalized equivalent modeling methods |
CN108133095A (en) * | 2017-12-14 | 2018-06-08 | 广东电网有限责任公司电力科学研究院 | A kind of double half-bridge submodule MMC modeling and simulating methods and device |
CN109116170A (en) * | 2018-08-03 | 2019-01-01 | 广州白云电器设备股份有限公司 | Contact net determines method, apparatus and electronic equipment to track short fault location |
CN109063390B (en) * | 2018-09-29 | 2023-01-03 | 大连大学 | Computer aided design method of microfluidic dilution network gradient generator |
CN113051860A (en) * | 2021-03-29 | 2021-06-29 | 深圳华大九天科技有限公司 | Equivalent resistance calculation method, electronic device, server, and storage medium |
CN113312866B (en) * | 2021-06-15 | 2022-03-11 | 深圳华大九天科技有限公司 | Method for realizing reduction circuit by combining equation variables |
-
2003
- 2003-02-28 CN CN 03104770 patent/CN1206722C/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009155851A1 (en) * | 2008-06-27 | 2009-12-30 | 华为技术有限公司 | A method and device for testing the paramaters of circuit |
Also Published As
Publication number | Publication date |
---|---|
CN1431704A (en) | 2003-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1206722C (en) | Solving method for transient analysis of power source network based on equivalent circuit | |
CN1300836C (en) | Circuit simulation method | |
Eidelloth et al. | Simulation tool for equivalent circuit modeling of photovoltaic devices | |
CN101034808A (en) | Distributed computing method of the features of the power system | |
CN1279480C (en) | Integrated wiring method of standard units with carrying optimization of time delay based on considering coupling effect | |
CN100336066C (en) | Resistance value calculation method | |
CN1601848A (en) | Digital dummy method of power system | |
CN1305127C (en) | Quick method for implementing noise optimization of integrated circuit supply network using decoupling capacitor | |
CN1275317C (en) | Integrated circuit layout plan and buffer plan integrated layout method | |
CN1304996C (en) | Rectangular steiner tree method of super large size integrated circuit avoiding barrier | |
CN1577207A (en) | Semiconductor equipment | |
CN101908081B (en) | Circuit auxiliary design method and system | |
CN1275318C (en) | High speed high precision transient simulation method able to process tree net hybrid power supply structure in VLSI | |
CN1305196C (en) | Solution to preventing power system from collapse in case of catastrophe | |
CN1545142A (en) | Integrated circuit power supply network transient analytical solving method based on multi-layer equivalent circuit model | |
CN1271553C (en) | Generally distributing method of standant unit for eliminating crosstalk caused by coupling inductance | |
Zubas et al. | Combining circularity and environmental metrics to assess material flows of PV silicon | |
CN1153164C (en) | Generating process of optimal cutting number in virtual multi-medium capacitor extraction | |
CN100336065C (en) | Right angle wiring tree method for wire length optimized obstacle passing | |
Toro-Frias et al. | An automated layout-aware design flow | |
CN1529268A (en) | Right-angle steiner tree method of obstacle at standard unit overall wiring | |
CN1808450A (en) | Transfer function recurrence methods of RLC interconnect and transmission line model and model predigestion | |
CN1702466A (en) | Record medium and derivation program recording equivalent circuit model of electricity storage element | |
CN1541364A (en) | Digital circuits with selection operators | |
CN1266585C (en) | Compression test plan generation of IC test, test sequence generation and testing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20050615 Termination date: 20150228 |
|
EXPY | Termination of patent right or utility model |