Equivalent circuit simulation system and method for HSPICE
Granted 16 Jul 2013 · 1 office action
Current assignee: Cloud Network Technology Singapore Pte. Ltd. · originally Foxconn Technology Group
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Yu-Chang Pai, Wen-Laing Tseng, Shen-Chun Li, Shou-Kuo Hsu +1 · Examiner: Omar Fernandez Rivas · AU 2128 · TC 2100
Life of the application
9 dated eventsAbstract
A simulation system and method for generating equivalent circuits compatible with HSPICE reads data corresponding to N-port network system format in a storage device, and obtains S-parameter matrixes from the N-port network system. S-parameters in the S-parameter matrix that satisfy passivity are checked, and an interpolation algorithm to supplement S-parameters with passivity when some S-parameters not satisfy passivity is performed. Numbers of pole-residue, times for recursion and a tolerant system error of a rational function are generated for determining S-parameters. A rational function matrix composed of S-parameters is generated by performing a vector fitting algorithm, and an equivalent circuit is generated compatible with HSPICE format based on the generated rational function matrix.
Description
4 parts›BACKGROUND
1. Technical Field
The present application is related to simulation systems for circuits, especially to a simulation system and method for generating equivalent circuits compatible with HSPICE.
2. Description of Related Art
S-parameters are widely used in channel models of printed circuit boards (PCB). Using measuring instruments, such as network analyzer or full-wave type field solver software, such as HFSS of Ansoft Inc., S-parameters can be obtained for a channel system, and an equivalent full wave model for the channel system can also be obtained.
HSPICE, is a circuit simulation software developed by Synopsys Inc.; it uses Inverse Fourier Transform (IFT) to predict behavior of S-parameters in the time-domain. When S-parameters are combined with a system circuit, time-domain simulation of the system circuit will cost considerable time and delay the development of new products. Furthermore, S-parameters do not correspond to the passivity of circuits, and cause problems in convergence of time-domain solution of the simulation circuit.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of one embodiment of a computer comprising an equivalent circuit simulation system for HSPICE.
FIG. 2 is a flowchart illustrating one embodiment of a method for generating an equivalent simulation circuit for HSPICE.
FIG. 3 is a drawing illustrating an exemplary N-port circuit system.
FIG. 4 is a drawing illustrating a main equivalent circuit generated by one embodiment of the equivalent circuit simulation system.
FIG. 5 is a drawing illustrating an exemplary sub-equivalent circuit generated by one embodiment of the equivalent circuit simulation system.
›DETAILED DESCRIPTION · 1 of 2
FIG. 1 is a block diagram of one embodiment of a computer 1 comprising an equivalent circuit simulation system for HSPICE 12 . The computer 1 further comprises a storage device 10 and a central processing unit 11 (CPU). The computer 1 is connected to an output device 2 , such as a display, for outputting generated equivalent circuits. The storage device 10 is configured for storing information of N-port circuit system in Touchstone format (such as *.SNP), including frequency domain parameters and S parameters of an electronic element. The Touchstone File Format Specification is stipulated by IBIS Associates. The equivalent circuit simulation system 12 is configured for reading N-port network parameter data presented in the Touchstone File, generating an equivalent circuit compatible with HSPICE, and outputting the equivalent circuit to the output device 2 , such as a display. HSPICE, a commercial version of Simulation Program with Integrated Circuit Emphasis (SPICE), is a circuit simulator for generating equivalent circuits and predicting behavior of the generated circuits based on given circuit construction and electronic parameters. HSPICE stipulates a series of formats of input, output, connection, names and parameters of electronic elements.
In this embodiment, the equivalent circuit simulation system 12 includes an acquisition module 121 , a parameter check module 122 , a parameter generation module 123 , and an equivalent circuit generation module 124 . The storage device 10 may be a memory system of the computer 1 . The modules 121 - 124 may comprise computerized code in the form of one or more programs that are stored in the storage device 10 . The computerized code includes instructions that are executed by the at CPU 11 to provide functions for modules 121 - 124 . Modules described here refer to a section of a computer program, which is able to perform particular functions.
The acquisition module 121 is configured for reading N-port network parameter data compatible with Touchstone File format in the storage device 10 , and obtaining S-parameter matrixes in the N-port network parameter. The N-port network system shown in FIG. 3 defines the parameters in frequency domain and S-parameters. V 1 to VN are voltage on ports 1 to N, I 1 to I N are currents flowing into ports 1 to N. The S-parameter matrix is a divergence matrix describing relationships between an incident voltage wave and a reflective voltage wave, and S-parameters are parameters in frequency domain built based on the relationships between the incident voltage wave and the reflective voltage wave.
The parameter check module 122 checks if all S-parameters in the S-parameter matrix satisfy passivity, and performs an interpolation algorithm to supplement S-parameters with passivity when some S-parameters do not satisfy passivity. Passivity is a property describing behavior of passive components, such as resistors, inductors, and capacitors, which only consume energy instead of having power gain.
The function generation module 123 is configured for generating numbers of pole-residue, times for recursion and a tolerant system error of a rational function f(S) creating S-parameters. The tolerant system error is a maximum error allowed to exist in a simulation equivalent circuit, represented by the following rational function:
f ( s ) = ∑ m = 1 M r m s + p m + d + se
Wherein, the ƒ(s) is a continuation function, r m is a residue, and p m is a pole. The function generation module 123 increases accuracy of the rational function ƒ(s) by setting numbers of pole-residue and times for recursion of the interpolation algorithm.
The equivalent circuit generation module 124 is configured for generating a rational function matrix composed with S-parameters by performing a vector fitting algorithm, and generating an equivalent circuit compatible with HSPICE format based on the generated rational function matrix. The equivalent circuit generation module 124 is also configured for determining if a root mean square (RMS) of the error of the rational function matrix is less than selected system errors, and increasing the numbers of pole-residue to perform vector fitting when the system error is more than the RMS of the error of the rational function matrix.
FIG. 2 is a flowchart illustrating one embodiment of a method for generating an equivalent simulation circuit for general HSPICE. The equivalent circuit simulation system generates equivalent circuits compatible with HSPICE based on the N-port network data, solves divergence problem and increases simulation performance of a circuit by performing interpolation algorithm to avoid S-parameters falling into the non-passive frequency range.
In block S 21 , the acquisition module 121 reads Touchstone files of the N-port network, which includes parameters in frequency domain and S-parameters of electronic components in the N-port network from the storage device 10 . The Touchstone file is a standard format for stored data, stipulated by IBIS Associates. In block S 22 , the acquisition module 121 obtains S-parameter matrix from Touchstone file data in the N-port network system. The N-port network system shown in FIG. 3 defines parameters in frequency domain and S-parameters of electronic components. V 1 to VN are port voltages of Ports 1 to N, and I 1 to I N are port currents flowing into Ports 1 to N. The S-parameter matrix is a divergence matrix describing relationships between an incident voltage wave and a reflective voltage wave, and S-parameters are parameters in frequency domain built based on the relationship between the incident voltage wave and the reflective voltage wave.
In block S 23 , the parameter check module 122 checks if all S-parameters satisfy passivity. If the S-parameters in the S-parameter matrix do not satisfy passivity, the block S 24 is performed, otherwise, the block S 25 is performed.
In block S 24 , the parameter check module 122 performs interpolation algorithm to supplement S-parameters satisfied with passivity. If S-parameters do not have passivity, the S-parameters of all points in the frequency domain of electronic components should satisfy the formula (1) shown below.
›DETAILED DESCRIPTION · 2 of 2
I−S H ( s ) S ( s )>0 (1)
Wherein I is an identity matrix, s=jw, H is a conjugate transpose, also known as Hermitian transpose. Formula (1) filters reference points in the frequency domain of the electronic components, which do not satisfy passivity, and interpolation algorithm supplements passivity of S-parameters before vector fitting is performed.
In block S 25 , the function generation module 123 defines numbers of pole-residue, times for recursion, and system errors of the rational function f(s). The rational function f(s) is represented by formula (2).
f ( s ) ≈ ∑ m = 1 M r m s + p m + d + se ( 2 )
Where f(s) is a continuation function, r m is a residue, and p m is a pole. The function generation module 123 increases accuracy of the rational function ƒ(s) by setting numbers of pole-residue and times for recursion of the interpolation algorithm.
In block S 26 , the equivalent circuit generation module 124 generates a rational function matrix composed of S-parameters by performing a vector fitting algorithm based on numbers of pole-residue. In this embodiment, after the parameter check module 122 checks passivity of S-parameters, the S-parameter matrix of the N-port network system is represented by formula (3):
The equivalent circuit generation module 124 performs vector fitting on each element of the above formula (3), and obtains a rational function matrix represented by the following formula (4).
In block S 27 , the equivalent circuit generation module 124 determines if the RMS of the rational function matrix is less than the determined system error. In block S 28 , if the RMS error is larger than the system error, the equivalent circuit generation module 124 returns to block S 26 to perform vector fitting. In block S 29 , if the RMS error is less than the tolerant error of the system, the equivalent circuit generation module 124 generates an equivalent circuit compatible with HSPICE corresponding to the rational function matrix.
FIG. 3 is a drawing illustrating an N-port network system, wherein a represents an incident wave of the S-parameter, b represents the reflected wave of the S-parameter, and Z o represents a corresponding referential resistance. The S-parameter of the N port circuit network can be presented as formula (5):
The relationship among the incident wave a, the reflective wave b, the port voltage V and the port current I can be represented by formula (8):
The relationship among voltage, current and S parameters can be obtained by formula (7):
I=Z 0 −1 V−Z −1/2 SZ 0 1/2 ( Z 0 −1 V+ 1) (7)
Formula (8) can be obtained by substituting the rational function matrix formula (4) into formula (7):
An equivalent circuit shown in FIG. 4 to FIG. 5 can be synthesized according to formula (4) and formula (8), which is compatible with HSPICE.
FIG. 4 illustrates a main equivalent circuit compatible with HSPICE. Voltages V 1 to V N and currents I 1 to I N are supplied by a sub-equivalent circuit shown in FIG. 5 . The main circuit
The residue of Ŝ ij (s) can be represented as real parts and complex parts in formula (11):
Ŝ ij ( s )= Ŝ ij ( s )+ Ŝ ij ( s )+ k i, j +se i, j (11)
Ŝr ij (s) and Ŝc ij (s) can be represented by formula (12):
S ^ r ij ( s ) = ∑ u = 1 U r u i , j s + p u ij ,
r u i , j > 0 for u < U + , r u i , j ≤ 0 for u > U + ( 12 a ) S ^ cij ( s ) = ∑ v = 1 V c v i , j + d v i , j j s + ( a v i , j + b v i , j j ) + c v i , j - d v i , j j s + ( a v i , j - b v i , j j ) , ( 12 b )
c v i, j ≦0 for v≦V + , c v i, j <0 for v>V +
Where U+2V=M, p u i, j >0, a v i, j >0, b v i, j >0, b v i, j >0, d v i, j >0.
FIGS. 4 to 6 show equivalent circuits stimulated and synthesized based on formulas (10) to (12). FIG. 5 illustrates a sub-equivalent circuit generated by one embodiment of the equivalent circuit simulation system, which is compatible with HSPICE. A voltage-dependent current source coefficient Ŝ ij can be described by Laplace Trasform in HSPICE environment, as the following:
Gij Vi gnd LAPLACE {tilde over (V)} j gnd k 0 ij , k 1 ij , . . . , k M+1 ij /d 0 ij , d 1 ij , . . . , d M ij
Wherein k and d can be obtained by the following formula (9):
The equivalent circuit generated by the circuit simulation system and method as disclosed is compatible with HSPICE by using N-port network system simulation, avoids complicated Inverse Fourier Transform operations, and increases performance of the equivalent simulation circuits. Furthermore, the present application filters S-parameters in frequency domain without passivity, and solves diverging problems in equivalent circuits.
While the disclosure has been described by way of example and in terms of preferred embodiment, it is to be understood that the disclosure is not limited thereto. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Claims as granted
15 claimsLog in to read the claims of this application.
Log in to unlockClassifications
5 codes- G06F7/60
- G06F17/50
- G06F17/10
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock