CN117688359A - Voltage waveform acquisition method and storage medium - Google Patents

Voltage waveform acquisition method and storage medium Download PDF

Info

Publication number
CN117688359A
CN117688359A CN202311535321.7A CN202311535321A CN117688359A CN 117688359 A CN117688359 A CN 117688359A CN 202311535321 A CN202311535321 A CN 202311535321A CN 117688359 A CN117688359 A CN 117688359A
Authority
CN
China
Prior art keywords
function
voltage
time domain
current
pole
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.)
Pending
Application number
CN202311535321.7A
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Xingxin Technology Co ltd
Original Assignee
Hangzhou Xingxin Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Xingxin Technology Co ltd filed Critical Hangzhou Xingxin Technology Co ltd
Priority to CN202311535321.7A priority Critical patent/CN117688359A/en
Publication of CN117688359A publication Critical patent/CN117688359A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/32Circuit design at the digital level
    • G06F30/33Design verification, e.g. functional simulation or model checking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/15Correlation function computation including computation of convolution operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Computing Systems (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The application provides a voltage waveform acquisition method and a storage medium, wherein the voltage waveform acquisition method comprises the following steps: confirming a current function of an input current of the circuit; generating a transfer function according to the structural information of the circuit; and generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function. The voltage waveform acquisition method and the storage medium provided by the application can quickly solve the voltage waveform of the output voltage generated after the input current passes through the circuit based on the transfer function generated by the convolution algorithm through the structural information of the circuit, and have the advantages of high precision and high efficiency.

Description

Voltage waveform acquisition method and storage medium
Technical Field
The present application relates to the field of integrated circuit technologies, and in particular, to a voltage waveform acquisition method and a storage medium.
Background
The integrated circuit has the advantages of small volume, light weight, less lead wires and welding points, long service life, high reliability, good performance and the like, and is widely applied. In order to ensure the correctness of the logic functions and the completeness of the functions of the integrated circuit, the integrated circuit is generally required to be verified. The voltage waveform of the output voltage after passing through the RC interconnect needs to be acquired when verifying the integrated circuit.
The voltage waveform of the existing output voltage is usually obtained by adopting a simulation circuit simulator (Simulation Program with Integrated Circuit Emphasis, spice), but the calculation speed of Spice is slow, the workload is large, and the efficiency of obtaining the voltage waveform is low.
The foregoing description is provided for general background information and does not necessarily constitute prior art.
Disclosure of Invention
In order to alleviate the above-mentioned problems, the present application provides a voltage waveform acquisition method and a storage medium.
In one aspect, the present application provides a voltage waveform acquisition method, specifically, the voltage waveform acquisition method includes: confirming a current function of an input current of the circuit; generating a transfer function according to the structural information of the circuit; and generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function.
Optionally, the step of performing a current function of the input current of the validation circuit includes: and confirming the current function according to a composite current source delay model.
Optionally, the structural information of the circuit in the voltage waveform obtaining method includes at least one of the following: resistance information; inductance information; capacitance information.
Optionally, the step of generating the transfer function according to the structural information of the circuit includes: generating a transfer function of a frequency domain according to the structure information; and carrying out inverse Laplace transformation on the transfer function of the frequency domain to generate a transfer function of the time domain.
Optionally, the transfer function of the frequency domain is:and/or the transfer function of the time domain is: />Wherein H(s) is the transfer function of the frequency domain, d is a preset constant, i is the sequence number of each pole in the circuit, N is the number of poles in the circuit, s is the current frequency, and p i For the pole value of the ith pole in the circuit, h (t) is the transfer function of the time domain, delta (t) is the unit impulse function, k i The gain coefficient for the ith pole, e is a natural constant and t is the current time.
Optionally, the voltage waveform acquisition method includes, after performing the step of generating a transfer function of a frequency domain from the structural information: when the number of poles in the transfer function of the frequency domain is larger than a preset pole threshold value, replacing the number of poles with the preset pole number, and updating the transfer function of the frequency domain.
Optionally, the step of generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function comprises: performing convolution operation according to the current function of the time domain and the transfer function of the time domain, generating a voltage function of the time domain, and acquiring the voltage waveform according to the voltage function of the time domain; or performing equivalent convolution operation according to the current function of the frequency domain and the transfer function of the frequency domain to generate a voltage function of the frequency domain, performing inverse Laplacian transformation on the voltage function of the frequency domain to generate a voltage function of a time domain, and acquiring the voltage waveform according to the voltage function of the time domain.
Optionally, the voltage function of the time domain is:wherein v (t) is a voltage function of the time domain, h (t) is a transfer function of the time domain, i (t) is a current function of the time domain, and τ is a current time argument.
Optionally, the step of generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function comprises at least one of: when the current function comprises a unit step function of a time domain, generating a first voltage function of the time domain based on a convolution algorithm according to the unit step function and the transfer function, and acquiring the voltage waveform according to the first voltage function of the time domain; when the current function comprises a ramp function of a time domain, generating a second voltage function of the time domain based on a convolution algorithm according to the ramp function and the transfer function, and acquiring the voltage waveform according to the second voltage function of the time domain; when the current function comprises a piecewise linear function of a time domain, generating a third voltage function of the time domain based on a convolution algorithm according to the piecewise linear function and the transfer function, and acquiring the voltage waveform according to the third voltage function of the time domain; .
Optionally, the first voltage function of the time domain includes:
optionally, the second voltage function of the time domain includes:
optionally, the third voltage function in the time domain includes: wherein i is the serial number of each pole in the circuit, N is the number of poles in the circuit, and p i Is the pole value, k, of the ith pole in the circuit i Gain coefficient of ith pole, t is current time, y 1 (t) is a first voltage function of the time domain, y 2 (t) is a second voltage function of the time domain, y 3 (t) a third voltage function of the time domain, exp is an exponential e representation, r (t) is the ramp function,r (t) =tu (t), u (t) being the unit step function, m representing the number of segmented currents, t j Indicating the current time of the j-th stage, b j Represents the current slope of the j-th segment, j=0, 1, …, m, b 0 =0。
Optionally, when the current function includes a piecewise linear function, generating a third voltage function of a time domain based on a convolution algorithm according to the piecewise linear function and the transfer function, and acquiring the voltage waveform according to the third voltage function of the time domain includes: and when the pole value of the ith pole is not zero, performing expansion operation on the third voltage function of the time domain according to the second voltage function of the time domain, and generating a fourth voltage function of the time domain at the ith pole.
Optionally, the fourth voltage function of the time domain at the ith pole is:
optionally, when the pole value of the ith pole is zero, the third voltage function of the time domain is calculated at t=t according to the second voltage function of the time domain j Pair of partsAnd performing second-order Taylor expansion operation, generating a fourth voltage function of the time domain at the ith pole, and acquiring the voltage waveform according to the fourth voltage function of the time domain at the ith pole.
Optionally, the fourth voltage function of the time domain at the ith pole is:wherein y is i (t a ) T as a fourth voltage function of the time domain at the ith pole a For the a-th current period, a=0, 1, …, m+1.
Optionally, the step of performing the voltage waveform acquisition method according to the fourth voltage function of the time domain at the ith pole includes: and according to the number of the poles, summing the fourth voltage time domain function at each pole to generate a total voltage function of a time domain, and generating the voltage waveform according to the total voltage function of the time domain.
Optionally, the total voltage function of the time domain is:wherein v (t) a ) As a function of the total voltage in the time domain.
In another aspect, the present application further provides a storage medium, in particular, a storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the voltage waveform acquisition method as described above.
As described above, the voltage waveform acquisition method and the storage medium provided by the application can quickly solve the voltage waveform of the output voltage generated after the input current passes through the circuit based on the transfer function generated by the convolution algorithm through the structural information of the circuit, and have the advantages of high precision and high efficiency.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application. In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of a voltage waveform acquisition method according to an embodiment of the present application.
FIG. 2 is a schematic diagram of a unit step function according to an embodiment of the present application.
FIG. 3 is a schematic diagram of a ramp function according to an embodiment of the present application.
FIG. 4 is a schematic diagram of a saturation ramp function according to an embodiment of the present application.
FIG. 5 is a schematic diagram of a piecewise linear function in accordance with one embodiment of the present application.
Fig. 6 is a block diagram of a circuit according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings. Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the element defined by the phrase "comprising one … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element, and furthermore, elements having the same name in different embodiments of the present application may have the same meaning or may have different meanings, a particular meaning of which is to be determined by its interpretation in this particular embodiment or by further combining the context of this particular embodiment.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
First embodiment
In one aspect, the present application provides a voltage waveform obtaining method, and fig. 1 is a flowchart of a voltage waveform obtaining method according to an embodiment of the present application. Referring to fig. 1, in one embodiment, the voltage waveform obtaining method includes the following steps:
s10: a current function of the input current of the circuit is validated.
In one embodiment, the current function may be validated by a composite current source delay model. Specifically, in one embodiment, step S10: the current function of the input current of the validation circuit may include: acquiring a current waveform of an input current of the circuit according to the composite current source delay model; the current function is confirmed from the current waveform. The current waveform is a waveform image of a current, and the current function is a correspondence between a current value as a dependent variable and an independent variable (e.g., time). Specifically, the waveform image of the current may be directly obtained through a composite current source delay model, and the current function may be generated according to the waveform image of the current, but the application is not limited thereto.
The composite current source delay model (Composite Current Source Delay Model, CCS delay model) is a nonlinear current source driving model based on time and voltage, and can provide high calculation accuracy even if the driving resistance of the logic gate is far lower than the interconnect resistance because the driving resistance of the current source is infinite. Therefore, in the embodiment of the application, the accuracy of acquiring the voltage waveform can be further improved by acquiring the current function through the composite current source delay model.
S20: and generating a transfer function according to the structural information of the circuit.
In one embodiment, the structural information of the circuit may include, but is not limited to, at least one of: resistance information; inductance information; capacitance information.
Wherein different circuits correspond to different transfer functions. One or more items of structural information of the circuit may be selected to generate a transfer function of the circuit. Specifically, in one embodiment, step S20: generating the transfer function from the structural information of the circuit may include: generating a transfer function according to resistance information, inductance information, capacitance information and connection relation in the circuit; and converts the transfer function into a frequency domain transfer function that includes pole information (e.g., pole values and pole numbers).
The transfer function may be a transfer function in the frequency domain or a transfer function in the time domain. In one embodiment, step S20: generating the transfer function from the structural information of the circuit may include: generating a transfer function of the frequency domain according to the structure information; and carrying out inverse Laplace transformation on the transfer function of the frequency domain to generate the transfer function of the time domain.
Specifically, in one embodiment, the transfer function of the frequency domain may be expressed as: the transfer function in the time domain can be expressed as: />
Wherein H(s) is a transfer function of a frequency domain, d is a preset constant, i is a sequence number of each pole in the circuit, N is the number of poles in the circuit, s is a current frequency, and p i Is the pole value, k, of the ith pole in the circuit i The gain coefficient of the ith pole is h (t) is a transfer function of a time domain, delta (t) is a unit impulse function, and t is current time.
In an embodiment, when the dimension of the interconnection circuit network is large, that is, the number of poles N is greater than the preset pole threshold, in order to improve the calculation efficiency and ensure the calculation accuracy, step S20: the generating of the transfer function of the frequency domain from the structure information then comprises: when the number of poles in the transfer function of the frequency domain is larger than a preset pole threshold value, replacing the number of poles with the preset pole number, and updating the transfer function of the frequency domain. Specifically, the preset pole number n and the preset pole threshold are not limited, and the proper preset pole threshold and the proper preset pole number n can be selected according to the operation efficiency and the precision requirement.
In this embodiment, the transfer function in the frequency domain and the time domain is determined by obtaining the structural information of the circuit, such as the resistance information, the inductance information, the capacitance information and the connection relationship in the circuit, so that the relationship between the current excitation at the input end and the voltage response at the output end can be represented, thereby measuring the characteristics of the circuit.
S30: a voltage waveform of the output voltage of the circuit is generated based on a convolution algorithm based on the current function and the transfer function.
The current function may be a current function in a time domain or a current function in a frequency domain. The transfer function may be a transfer function in the time domain or a transfer function in the frequency domain. The convolution-based algorithm may include, but is not limited to, at least one of: multiplying the transfer function of the frequency domain by the current function of the frequency domain (i.e., performing an equivalent convolution operation); and carrying out convolution operation on the transfer function in the time domain and the current function in the time domain. Therefore, the voltage function of the output voltage generated based on the convolution algorithm may be a voltage function of a time domain or a voltage function of a frequency domain.
In one embodiment, step S30: generating a voltage waveform of the output voltage of the circuit based on the convolution algorithm according to the current function and the transfer function may include: generating a time domain voltage function of the output voltage of the circuit based on a convolution algorithm according to the current function of the time domain and the transfer function of the time domain; a voltage waveform of an output voltage of the circuit is obtained according to a voltage function of a time domain. In other embodiments, step S30: the generating of the voltage waveform of the output voltage of the circuit based on the convolution algorithm may also include, based on the current function and the transfer function: generating a frequency domain voltage function based on an equivalent convolution algorithm according to the frequency domain current function and the frequency domain transfer function, performing Laplacian inverse transformation on the frequency domain voltage function to generate a time domain voltage function, and acquiring a voltage waveform of the output voltage of the circuit according to the time domain voltage function.
Specifically, in one embodiment, the voltage function in the time domain is:wherein h (t) is a transfer function in the time domain, i(t) is a current function in the time domain, v (t) is a voltage function in the time domain, and τ is a current time argument.
In this embodiment, the voltage waveform obtaining method performs convolution operation on the current function and the transfer function based on the convolution algorithm to obtain the voltage waveform, so that the voltage waveform of the output voltage generated after the input current passes through the circuit can be rapidly solved, and the method has the advantages of high precision and high efficiency.
Step S30 in one embodiment is described below by taking a unit step function in which the current function is in the time domain as an example: and generating a specific implementation step of the voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function. FIG. 2 is a schematic diagram of a unit step function according to an embodiment of the present application. Referring to fig. 2, the ordinate y represents a current value, and the abscissa t represents a current time. The unit step function of the time domain isAfter inverse Laplace transformation, the frequency-domain unit step function can be expressed as +.>Since the multiplication of the transfer function in the frequency domain and the current function in the frequency domain is equal to the convolution operation of the transfer function in the time domain and the current function in the time domain, the first voltage function in the frequency domain can be expressed as If the first voltage function of the frequency domain is subjected to the inverse laplace transform, the first voltage function of the corresponding time domain may be expressed as: />Wherein y is 1 (t) is a first voltage function in the time domain, exp is an exponential e representation.
The ramp function with the current function as the time domain is taken as an exampleStep S30 in one embodiment is described: and generating a specific implementation step of the voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function. FIG. 3 is a schematic diagram of a ramp function according to an embodiment of the present application. Referring to fig. 3, an ordinate y represents a current value, and an abscissa t represents a current time. The ramp function of the time domain can be expressed as r (t) =tu (t), and after the inverse laplace transform, the ramp function of the frequency domain can be expressed asSince the multiplication of the transfer function of the frequency domain and the current function of the frequency domain is equal to the convolution of the transfer function and the current function in the time domain, the second voltage function of the frequency domain can be expressed as:after the second voltage function in the frequency domain is subjected to the inverse laplace transform, the second voltage function corresponding to the time domain can be expressed as:
in the following, a ramp function with a current function as a time domain is taken as an example, to describe step S30 in an embodiment: and generating a specific implementation step of the voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function. FIG. 4 is a schematic diagram of a saturation ramp function according to an embodiment of the present application. Referring to fig. 4, the ordinate y represents the current value, and the abscissa t represents the current time. Illustratively, as can be seen from FIG. 4, the saturation ramp function in the time domain isThe voltage function of the time domain corresponding to the saturation ramp function of the time domain can be obtained according to the second voltage function of the time domain, and the voltage function of the time domain can be expressed as follows: /> Substituting the second voltage function y of the time domain 2 (t) can be solved, where tr is an arbitrary constant.
Step S30 in one embodiment is described below by taking a piecewise linear function with a current function as a time domain as an example: and generating a specific implementation step of the voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function. FIG. 5 is a schematic diagram of a piecewise linear function in accordance with one embodiment of the present application. Referring to fig. 5, the ordinate y represents the current value, and the abscissa t represents the current time. Illustratively, as can be seen from FIG. 5, the current waveform is given by m+1 sets of time and current values, representing the piecewise linear function of the time domain as a combination of ramp functionsAccording to the second voltage function of the time domain, a third voltage function of the time domain corresponding to the piecewise linear function can be obtained and substituted into y 2 And solving.
Wherein, a third voltage function of the time domain generated by performing convolution operation on the piecewise linear function of the time domain and the transfer function of the time domain can be expressed as:
i.e.
Wherein y is 3 (t) is a third voltage function in the time domain, m represents the number of segment currents, t j Indicating the current time of the j-th stage, b j Represents the current slope of the j-th segment, j=0, 1, …, m, b 0 =0。
In an embodiment, the fourth voltage function of the time domain at the ith pole may be obtained according to the second voltage function and the third voltage function of the time domain in combination with the expansion operation, so as to obtain the sum of all the piecewise currents of the piecewise linear function at the ith pole and the transfer function for convolution operation.
In an embodiment, when the pole value of the ith pole is not zero, performing an expansion operation on the third voltage function of the time domain according to the second voltage function of the time domain, and generating a fourth voltage function of the time domain at the ith pole, where the fourth voltage function of the time domain at the ith pole is:
in one embodiment, when the pole value is zero, the fourth voltage function may be solved by using a second-order taylor expansion method.
Specifically, when the pole value of the ith pole is zero, the third voltage function of the time domain is calculated at t=t according to the second voltage function of the time domain j Pair of partsPerforming second-order Taylor expansion operation, generating a fourth voltage function of the time domain at the ith pole, and acquiring a voltage waveform according to the fourth voltage function of the time domain at the ith pole, wherein the fourth voltage function of the time domain at the ith pole is as follows:
wherein y is i (t a ) T as a fourth voltage function of the time domain at the ith pole a For the a-th current period, a=0, 1, …, m+1.
Optionally, the application does not limit the operation solution of the voltage function, and an appropriate operation formula can be selected to solve the voltage function.
In one embodiment, the voltage waveform obtaining method includes, in performing the step of obtaining the voltage waveform according to a fourth voltage function of the time domain at the ith pole: summing the fourth voltage time domain function at each pole according to the number of poles to generate a total voltage function of the time domain, and generating a voltage waveform according to the total voltage function of the time domain; wherein, the total voltage function of the time domain can be expressed as:v(t a ) As a function of the total voltage in the time domain.
In this embodiment, the fourth voltage time domain functions at all poles are combined to generate the total voltage function in the time domain, so that a voltage waveform can be obtained.
The algorithm complexity of the convolution algorithm is O (n 2 ),O(n 2 ) The code representing the convolution algorithm is nested with 2-layer n loops. The algorithm complexity is only related to the number of points of the current waveform, and the voltage waveform acquisition method has high efficiency because the number of points of the current waveform is relatively small. In one embodiment, for circuits with smaller interconnect network dimensions, the voltage waveform is generated using a complete transfer function, the error of which is mainly due to the error of the current waveform itself. For a circuit with a large dimension of an interconnection network, the original pole number N is replaced by the preset pole number N, and an existing reduced order model is used to obtain an approximate transfer function of N order, and since the transfer function is a rational function and is a Pade approximation (Pade approximation) of N order, the error can be calculated to be H n (s)=H(s)+O((s-s 0 ) 2n ),O((s-s 0 ) 2n ) Representing an approximation of the transfer function to an absolute value of the transfer function of less than (s-s 0 ) 2n I.e. the error due to truncation of the transfer function is very small. Therefore, the error for solving the voltage waveform is mainly derived from the error of the current waveform, and the current waveform has high precision when accurate.
Second embodiment
Fig. 6 is a block diagram of a circuit according to an embodiment of the present application.
Referring to fig. 6, the circuit illustratively includes a first capacitor C 1 A second capacitor C 2 And a resistor R. First capacitor C 1 Is connected with one end of a resistor R, is a current input end I of the circuit in First capacitor C 1 Is grounded; second capacitor C 2 Is connected with the other end of the resistor R and is the voltage output end V of the circuit out Second capacitor C 2 Is grounded.
In one embodiment, taking the circuit of fig. 6 as an example, the steps of performing the voltage waveform acquisition method include:
(1) Confirming a current function of an input current of the circuit;
current function I in Take the piecewise linear function in the first embodiment as an example;
(2) Generating a transfer function according to the structural information of the circuit;
the transfer function in the frequency domain is:
the transfer function in the time domain is:
(3) Generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function;
the voltage function in the time domain is obtained based on a convolution algorithm:
when the pole p 1 When it is not equal to 0,
when the pole p 2 When the value of the sum is =0,
finally obtain output voltage V out Is a waveform of (a):
v(t a )=y 1 (t a )+y 2 (t a )。
third embodiment
In another aspect, the present application further provides a storage medium, in particular, a storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the voltage waveform acquisition method as described above.
In this application, step numbers such as S10 and S20 are used for the purpose of more clearly and briefly describing the corresponding content, and are not to constitute a substantial limitation on the sequence, and those skilled in the art may execute S20 first and then S10 when implementing the present invention, but these are all within the scope of protection of the present application.
In the embodiments of the storage medium provided in the present application, all technical features of any one of the embodiments of the method may be included, and the expansion and explanation of the description are substantially the same as those of each embodiment of the method, which is not repeated herein.
The present embodiments also provide a computer program product comprising computer program code which, when run on a computer, causes the computer to perform the method in the various possible implementations as above.
The embodiments also provide a chip including a memory for storing a computer program and a processor for calling and running the computer program from the memory, so that a device on which the chip is mounted performs the method in the above possible embodiments.
It can be understood that the above scenario is merely an example, and does not constitute a limitation on the application scenario of the technical solution provided in the embodiments of the present application, and the technical solution of the present application may also be applied to other scenarios. For example, as one of ordinary skill in the art can know, with the evolution of the system architecture and the appearance of new service scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The units in the device of the embodiment of the application can be combined, divided and pruned according to actual needs.
In this application, the same or similar term concept, technical solution, and/or application scenario description will generally be described in detail only when first appearing, and when repeated later, for brevity, will not generally be repeated, and when understanding the content of the technical solution of the present application, etc., reference may be made to the previous related detailed description thereof for the same or similar term concept, technical solution, and/or application scenario description, etc., which are not described in detail later.
In this application, the descriptions of the embodiments are focused on, and the details or descriptions of one embodiment may be found in the related descriptions of other embodiments.
The technical features of the technical solutions of the present application may be arbitrarily combined, and for brevity of description, all possible combinations of the technical features in the above embodiments are not described, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the present application.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

1. A voltage waveform acquisition method, characterized in that the voltage waveform acquisition method comprises:
confirming a current function of an input current of the circuit;
generating a transfer function according to the structural information of the circuit;
and generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm according to the current function and the transfer function.
2. The voltage waveform acquisition method of claim 1, wherein the structural information of the circuit includes at least one of:
resistance information; inductance information; capacitance information;
the step of generating a transfer function from the structural information of the circuit comprises:
generating a transfer function of a frequency domain according to the structure information;
and carrying out inverse Laplace transformation on the transfer function of the frequency domain to generate a transfer function of the time domain.
3. The voltage waveform acquisition method of claim 2, wherein the step of generating a transfer function of a frequency domain from the structural information includes, after:
when the number of poles in the transfer function of the frequency domain is larger than a preset pole threshold value, replacing the number of poles with the preset pole number, and updating the transfer function of the frequency domain.
4. A voltage waveform acquisition method according to claim 2 or 3, wherein the current function is a current function of a time domain or a current function of a frequency domain;
the step of generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm from the current function and the transfer function comprises:
performing convolution operation according to the current function of the time domain and the transfer function of the time domain, generating a voltage function of the time domain, and acquiring the voltage waveform according to the voltage function of the time domain;
or performing equivalent convolution operation according to the current function of the frequency domain and the transfer function of the frequency domain to generate a voltage function of the frequency domain, performing inverse Laplacian transformation on the voltage function of the frequency domain to generate a voltage function of a time domain, and acquiring the voltage waveform according to the voltage function of the time domain.
5. The method of voltage waveform acquisition according to claim 4, wherein,
the transfer function of the frequency domain is:
and/or
The transfer function of the time domain is:
wherein H(s) is the transfer function of the frequency domain, d is a preset constant, i is the sequence number of each pole in the circuit, N is the number of poles in the circuit, s is the current frequency, and p i Is the pole value, k, of the ith pole in the circuit i The gain coefficient of the ith pole is h (t) is the transfer function of the time domain, delta (t) is a unit impulse function, e is a natural constant, and t is the current time; and/or
The voltage function of the time domain is:
v(t)=∫ 0 t h(τ)i(t-τ)dτ;
wherein v (t) is a voltage function of the time domain, h (t) is a transfer function of the time domain, i (t) is a current function of the time domain, τ is a current time argument, h (τ) is a transfer function of the time domain, and i (t- τ) is a current function of the time domain.
6. The method of voltage waveform acquisition according to claim 1, wherein,
when the current function comprises a unit step function of a time domain, according to the unit step function and the transfer function, a first voltage function of the time domain generated based on a convolution algorithm comprises:
and/or
When the current function comprises a ramp function of a time domain, according to the ramp function and the transfer function, a second voltage function of the time domain generated based on a convolution algorithm comprises:
and/or
When the current function comprises a piecewise linear function of a time domain, according to the piecewise linear function and the transfer function, a third voltage function of the time domain generated based on a convolution algorithm comprises:
wherein i is the serial number of each pole in the circuit, N is the number of poles in the circuit, and p i Is the pole value, k, of the ith pole in the circuit i Gain coefficient of ith pole, t is current time, y 1 (t) is a first voltage function of the time domain, y 2 (t) is a second voltage function of the time domain, y 3 (t) is the third voltage function of the time domain, exp is an exponential e representation, r (t) is the ramp function, r (t) =tu (t), u (t) is the unit step function, m represents the number of segmented currents, t j Indicating the current time of the j-th stage, b j Represents the current slope of the j-th segment, j=0, 1, …, m, b 0 =0。
7. The voltage waveform acquisition method of claim 6 wherein when the current function comprises a piecewise linear function, the step of generating a voltage waveform of the output voltage of the circuit based on a convolution algorithm from the current function and the transfer function comprises at least one of:
when the pole value of the ith pole is not zero, performing expansion operation on the third voltage function of the time domain according to the second voltage function of the time domain, and generating a fourth voltage function of the time domain at the ith pole;
when the pole value of the ith pole is zero, the third voltage function of the time domain is calculated according to the second voltage function of the time domain at t=t j Pair of partsAnd performing second-order Taylor expansion operation, generating a fourth voltage function of the time domain at the ith pole, and acquiring the voltage waveform according to the fourth voltage function of the time domain at the ith pole.
8. The method of voltage waveform acquisition according to claim 7, wherein,
when the pole value of the ith pole is not zero, the fourth voltage function in the time domain at the ith pole is:
and/or
When the pole value of the ith pole is zero, and when the pole value of the ith pole is not zero, the fourth voltage function of the time domain at the ith pole is:
wherein y is i (t a ) T as a fourth voltage function of the time domain at the ith pole a For the a-th current period, a=0, 1, …, m+1.
9. The voltage waveform acquisition method of claim 8 wherein the step of acquiring the voltage waveform from a fourth voltage function of the time domain at the ith pole comprises:
and according to the number of the poles, summing the fourth voltage time domain function at each pole to generate a total voltage function of a time domain, and generating the voltage waveform according to the total voltage function of the time domain.
10. A storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the voltage waveform acquisition method of any one of claims 1-9.
CN202311535321.7A 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium Pending CN117688359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311535321.7A CN117688359A (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311535321.7A CN117688359A (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium
CN202310718887.7A CN116451622B (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202310718887.7A Division CN116451622B (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium

Publications (1)

Publication Number Publication Date
CN117688359A true CN117688359A (en) 2024-03-12

Family

ID=87134205

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202311535321.7A Pending CN117688359A (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium
CN202310718887.7A Active CN116451622B (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310718887.7A Active CN116451622B (en) 2023-06-16 2023-06-16 Voltage waveform acquisition method and storage medium

Country Status (1)

Country Link
CN (2) CN117688359A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117371377B (en) * 2023-12-06 2024-04-09 杭州行芯科技有限公司 Current waveform acquisition method, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7818149B2 (en) * 2006-09-18 2010-10-19 University Of Rochester Transient response of a distributed RLC interconnect based on direct pole extraction
CN106934123B (en) * 2016-12-30 2020-02-04 北京华大九天软件有限公司 Circuit transient response calculation method based on recursive convolution
EP3543722A1 (en) * 2018-03-20 2019-09-25 Koninklijke Philips N.V. Magnetic resonance imaging using corrected k-space trajectories calculated from current sensor data
CN109067193B (en) * 2018-08-17 2020-03-13 燕山大学 Cascade power electronic transformer and unbalance compensation control method thereof
CN113359892B (en) * 2021-06-21 2022-06-21 歌尔股份有限公司 Method and device for generating transfer function of vibration motor and storage medium

Also Published As

Publication number Publication date
CN116451622B (en) 2023-10-24
CN116451622A (en) 2023-07-18

Similar Documents

Publication Publication Date Title
Dong et al. Piecewise polynomial nonlinear model reduction
CN116451622B (en) Voltage waveform acquisition method and storage medium
US5588142A (en) Method for simulating a circuit
US8892416B2 (en) System and method of generating equation-level diagnostic error messages for use in circuit simulation
CN106126670B (en) Operation data sorting processing method and device
Pulch Multi time scale differential equations for simulating frequency modulated signals
Oliveira et al. Efficient RF circuit simulation using an innovative mixed time-frequency method
JP6650333B2 (en) Frequency characteristic analyzer, method, and program
US20190188347A1 (en) Method and System for Circuit Simulation
CN117371377B (en) Current waveform acquisition method, computer equipment and storage medium
JP2007257524A (en) Device and method for analyzing circuit operation
Iordache et al. ACAP-Analog Circuit Analysis Program
JP6604802B2 (en) Semiconductor integrated circuit design support apparatus, semiconductor integrated circuit unwanted radiation countermeasure method, computer program
Holmes Guitar effects: pedal emulation and identification
Burtsev et al. Calculation of transient modes in semiconductor converters using static resistances and the implicit Euler method
WO2018096765A1 (en) Circuit simulation method and circuit simulation device
JP6029712B2 (en) Method for identifying the value of an unknown circuit component in an analog circuit
Iyer et al. Filter Design
EP1426770B1 (en) Capacitor transient response analysis program, recording medium thereof, transient response analysis method, and simulator
CN117203647A (en) Processor and method for tensor network contraction in quantum simulators
CN115867914A (en) Method and device for determining the sensitivity of a characteristic variable of an electronic circuit
Hackl et al. Python-LTSpice Framework for Multi-Objective EMC Filter Optimization
Celik et al. The Elmore Delay
Iyer et al. Implementing Analog Filters Digitally
Brinson et al. A tabular source approach to modelling and simulating device and circuit noise in the time domain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination