CN114386367B - Simulation method, system and medium of nonlinear delay circuit system - Google Patents

Simulation method, system and medium of nonlinear delay circuit system Download PDF

Info

Publication number
CN114386367B
CN114386367B CN202210292357.6A CN202210292357A CN114386367B CN 114386367 B CN114386367 B CN 114386367B CN 202210292357 A CN202210292357 A CN 202210292357A CN 114386367 B CN114386367 B CN 114386367B
Authority
CN
China
Prior art keywords
delay circuit
network model
circuit system
output
time
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.)
Active
Application number
CN202210292357.6A
Other languages
Chinese (zh)
Other versions
CN114386367A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202210292357.6A priority Critical patent/CN114386367B/en
Publication of CN114386367A publication Critical patent/CN114386367A/en
Application granted granted Critical
Publication of CN114386367B publication Critical patent/CN114386367B/en
Priority to PCT/CN2023/080789 priority patent/WO2023179379A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/39Circuit design at the physical level
    • G06F30/398Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • G06F18/2135Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods based on approximation criteria, e.g. principal component analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Geometry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a simulation method, a system and a medium of a nonlinear delay circuit system, wherein the method comprises the following steps: simulating the nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system; calculating the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix; constructing a basis function based on the singular value vector and the singular value, and obtaining a state variable function based on the basis of the basis function; constructing a time sequence convolution network model, and obtaining training data of the time sequence convolution network model based on an output matrix and a state variable function; training the time sequence convolution network model based on training data of the time sequence convolution network model; the signal is input to the trained time series convolution network model to output the value of the state variable of the nonlinear delay circuit system. The scheme of the invention avoids repeatedly solving the mathematical model of the nonlinear delay circuit system, reduces the calculation time and improves the calculation speed.

Description

Simulation method, system and medium of nonlinear delay circuit system
Technical Field
The present invention relates to the field of circuit simulation technologies, and in particular, to a method, a system, and a medium for simulating a nonlinear delay circuit system.
Background
With the continuous increase of the scale and the working frequency of the integrated circuit, the working state of each functional circuit inside the integrated circuit is more and more complex, and in the design stage of the integrated circuit, each module inside the integrated circuit needs to be accurately modeled and subjected to simulation analysis, so that the tape-out failure can be reduced to the maximum extent. The signal integrity analysis in the integrated circuit and the simulation of the output signals of all modules need to be subjected to a large amount of numerical calculation. Especially as the operating frequency of the integrated circuit increases, the propagation delay of the signal needs to be taken into account, which brings great challenges to the design of the integrated circuit.
Nonlinear delay circuitry is one of the most complex blocks of circuitry within an integrated circuit. When the nonlinear delay circuit system is analyzed and simulated, a complex mathematical model needs to be solved, and under the condition of a circuit with a larger scale, the solution is difficult. Most of the current mathematical model processing methods for the nonlinear delay circuit system are numerical methods, the numerical methods are time-consuming in the processing process, the calculation time is often unacceptable, and even the calculation is impossible.
Due to the large number of on-chip interconnects and the increasing operating frequency of chips, the chips need to be subjected to repeated simulation verification before being manufactured into a tape-out chip. Therefore, each circuit module in the chip needs to be accurately modeled, and under the condition of high-speed signals, the transmission delay of the signals needs to be taken into consideration, so that the obtained mathematical model is complex and large in scale, the calculation amount is huge when the simulation analysis is directly carried out on the chip, the chip can meet the design requirement after multiple parameter debugging and simulation analysis in the design stage, and the timeliness of directly using the mathematical model of the original interconnection delay system to carry out analysis and simulation is poor.
Disclosure of Invention
In view of this, the invention provides a simulation method, system and medium for a nonlinear delay circuit system, which avoids repeatedly solving a mathematical model of a large-scale nonlinear delay circuit system, and requires a small amount of computation for each simulation calculation, thereby greatly reducing the simulation analysis time cost of an integrated circuit and improving the research and development efficiency of a chip.
Based on the above object, an aspect of the embodiments of the present invention provides a simulation method for a nonlinear delay circuit system, which specifically includes the following steps:
simulating a nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system;
calculating the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix;
constructing a basis function based on the singular value vector and the singular value, and obtaining a state variable function based on the basis of the basis function;
constructing a time sequence convolution network model, and obtaining training data of the time sequence convolution network model based on the output matrix and the state variable function;
training the time sequence convolution network model based on the training data of the time sequence convolution network model;
the signal is input to the trained time series convolution network model to output the value of the state variable of the nonlinear delay circuit system.
In some embodiments, calculating the output matrix using principal component analysis to obtain singular value vectors and singular values of the output matrix includes:
interpolating the output matrix by using a discrete empirical interpolation algorithm to obtain an interpolation matrix;
and carrying out singular value decomposition on the interpolation matrix to obtain a left singular value vector, a singular value and a right singular value vector of the interpolation matrix.
In some embodiments, constructing basis functions based on the singular value vectors and the singular values comprises:
constructing basis functions based on the right singular value vectors and the singular values.
In some embodiments, the expression of the basis function is:
Figure 852692DEST_PATH_IMAGE001
wherein E issquareFor an interpolation matrix, λiIs EsquareSingular value of, ViIs equal to said lambdaiCorresponding toEsquareN is EsquareThe number of singular values of;
the expression of the state variable function is:
Figure 885370DEST_PATH_IMAGE002
wherein, trIs the r < th > time, where r ∈ {1,2, …, m }, x (t)r) Is trThe output value of the state variable of the time instant non-linear delay circuit system,
Figure DEST_PATH_IMAGE003
is EsquareThe mean value vector of (a) is,
Figure 944593DEST_PATH_IMAGE004
q is E selected from nsquareThe number of singular values of (c).
In some embodiments, constructing a time-series convolutional network model comprises:
establishing coefficients at time r
Figure DEST_PATH_IMAGE005
Coefficient of preceding r-k time
Figure 111132DEST_PATH_IMAGE006
The mathematical model in (b) is:
Figure DEST_PATH_IMAGE007
the mathematical model is simulated based on a time-series convolutional network model.
In some embodiments, the output matrix includes output values of all state variables of the nonlinear delay circuitry output after the simulation of the nonlinear delay circuitry.
In some embodiments, deriving training data for the time-series convolutional network model based on the output matrix and the state variable function comprises:
deriving an expression of the coefficient based on the state variable function;
substituting the output values of all state variables in the output matrix into the expression of the coefficient to obtain the values of all the coefficients;
a training data set and a validation data set of the time series convolutional network model are derived based on values of all coefficients.
In some embodiments, simulating a non-linear delay circuitry to obtain an output matrix of the non-linear delay circuitry comprises:
and taking square wave signals as the input of the nonlinear delay circuit system, and simulating the nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system.
In another aspect of the embodiments of the present invention, a simulation system of a nonlinear delay circuit system is further provided, including:
the simulation module is configured to simulate the nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system;
the calculation module is configured to calculate the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix;
the calculation module is further configured to construct a basis function based on the singular value vector and the singular value, and obtain a state variable function based on the basis of the basis function;
the building module is configured to build a time sequence convolution network model and obtain training data of the time sequence convolution network model based on the output matrix and the state variable function;
a training module configured to train the time series convolutional network model based on training data of the time series convolutional network model;
an output module configured to input a signal to the trained time series convolutional network model to output a value of a state variable of the nonlinear delay circuitry.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has at least the following beneficial technical effects: the invention obtains the output matrix of the nonlinear delay circuit system by simulating the nonlinear delay circuit system; calculating the output matrix by using a principal component analysis method to obtain a singular value vector and a singular value of the output matrix; constructing a basis function based on the singular value vector and the singular value, and obtaining a state variable function based on the basis of the basis function; constructing a time sequence convolution network model, and obtaining training data of the time sequence convolution network model based on an output matrix and a state variable function; training the time sequence convolution network model based on training data of the time sequence convolution network model; signals are input into the trained time sequence convolution network model to output the value of the state variable of the nonlinear delay circuit system, so that the problem that the mathematical model of the large-scale nonlinear delay circuit system is solved repeatedly is avoided, the calculation amount required by each simulation calculation is small, the simulation analysis time cost of the integrated circuit is greatly reduced, and the research and development efficiency of the chip is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a block diagram of an embodiment of a simulation method for a non-linear delay circuit system according to the present invention;
FIG. 2 is a diagram illustrating a time series convolution model according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of a hole convolution according to the present invention;
FIG. 4 is a diagram illustrating a timing convolution module according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the state variable output at any time based on the trained time series convolutional network model provided in the present invention;
FIG. 6 is a schematic diagram of a non-linear delay circuitry;
FIG. 7 is a comparison graph of simulation results from a simulation of the non-linear delay circuit system of FIG. 6;
FIG. 8 is a diagram illustrating an embodiment of a simulation system for a nonlinear delay circuit system according to the present invention;
fig. 9 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above objects, a first aspect of an embodiment of the present invention provides an embodiment of a simulation method for a nonlinear delay circuit system. As shown in fig. 1, it includes the following steps:
step S10, simulating a nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system;
step S20, calculating the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix;
step S30, constructing a basis function based on the singular value vector and the singular value, and obtaining a state variable function based on the basis of the basis function;
step S40, constructing a time sequence convolution network model, and obtaining training data of the time sequence convolution network model based on the output matrix and the state variable function;
step S50, training the time sequence convolution network model based on the training data of the time sequence convolution network model;
and step S60, inputting signals to the trained time sequence convolution network model to output the values of the state variables of the nonlinear delay circuit system.
The mathematical model of a nonlinear interconnect delay circuitry is generally:
Figure 939411DEST_PATH_IMAGE008
wherein the matrix E ∈ Rn×nThe value of (A) is composed of inductance value and capacitance value, Rn×nA real number matrix of n rows by n columns is represented, n is a natural number not containing 0, the function f (x) is a mathematical model of a nonlinear element in the integrated circuit, B belongs to Rn×1Is an input matrix, u (t) is an input, C ∈ R1×nIs an output matrix; unknown variables x (t) ε Rn×1Is the node voltage or branch current in the circuit, n is the order of the circuit system, and tau is the signal transmission delay. In the case of a large scale nonlinear interconnect delay circuitry, the simulation calculation for this equation would be exceptionally complex and time consuming. In the simulation and analysis process of the signal integrity and other performances of the integrated circuit, the mathematical model needs to be solved for many times, so that huge calculation amount is caused.
To solve the above problem, the present embodiment provides a simulation method for a nonlinear delay circuit system, which includes the following specific processes:
in step S10, before the nonlinear delay circuit system is simulated, the time interval of the simulation and the time interval in the time interval are set in advance to obtain the output value of the state variable at a specific time.
For example, a square wave signal y = a square (t, w) with time length t, amplitude ± a and duty ratio w is used as the input of the nonlinear delay circuit system, and the time interval of the simulation is set to [0, 2000 [ ]]The interval point T is 0.01, and the nonlinear delay circuit system is simulated to obtain the corresponding output matrix of the nonlinear delay circuit systemF squareOutput matrixF squareOutput matrix containing values of state variables at all times within a time intervalF square
Figure 142990DEST_PATH_IMAGE009
Wherein, x (t)j) Is tjAll the state variables x, j and m of the time nonlinear delay circuit system are natural numbers without 0, tjRepresenting the j-th time, with a time of j × T, TmThe representative time is m × T, which represents the mth time. It should be noted that the square wave signal is only an example of the embodiment of the present invention, and the input signal of the nonlinear delay circuit system may include a sine wave, a triangular wave, and other input signals besides the square wave. And outputting the state variables at all the moments in the selected time interval through the steps.
In step S20, F is extracted by principal component analysissquareIs given as the main information.
Principal component analysis method: the multi-index is converted into a small number of comprehensive indexes (namely, principal components), wherein each principal component can reflect most information of the original variable and the contained information is not repeated.
Using principal component analysis to convert matrix FsquareIs related to a set of variables x (t)j) The linear transformation is converted into another group of irrelevant variables, and the new variables are arranged according to the descending order of the variance. The total variance of the variables is kept constant in the mathematical transformation, such that the first variable has the largest variance, called the first principal component, and the second variable has the second largest variance and is uncorrelated with the first variable, called the second principal component. And analogizing in turn, how many new variables have how many principal components after transformation. Sorting the main components from large to small according to the contribution amount of the main components to the variation, namely variation percentage; when the cumulative variation percentage of the first several principal components reaches a certain value (ratio)E.g., 75%, 80%, 85%), the latter principal components are removed to compress the data, increasing the computational speed of the simulation.
The principal component analysis method includes: eigenvalue Decomposition, SVD (Singular Value Decomposition, hereinafter referred to as SVD), NMF (Non-negative Matrix Decomposition), and the like.
This embodiment applies principal component analysis to the output matrix FsquareCalculating to obtain an output matrix FsquareThe singular value vector and the singular value.
Through the steps, the calculation speed of the nonlinear delay circuit system simulation is improved.
In step S30, a basis function is constructed based on the singular value vector and the singular value, and a state variable function is obtained based on the basis function. The step reflects the value of the state variable output by the nonlinear delay circuit system at any moment through the state variable function, so that the value of the state variable output at any moment can be directly obtained through the state variable function after the input signal is input into the nonlinear delay circuit system subsequently, and the calculation speed of the simulation of the nonlinear delay circuit system is accelerated.
In step S40 and step S50, a time series convolutional network model is constructed, and training data of the time series convolutional network model is obtained based on the output matrix and the state variable function; training the time sequence convolution network model based on the training data of the time sequence convolution network model. The time sequence convolution network model is used for representing the relation between input data at the current moment and input data at the previous k moment, and based on the state variable function, the trained time sequence convolution network model can well predict the value of the state variable output by the nonlinear delay circuit system at any moment, so that the simulation accuracy of the nonlinear delay circuit system is ensured.
In step S60, the signal is input to the trained time series convolution network model, so that the value of the state variable of the nonlinear delay circuit system at any time can be obtained, and the mathematical model of the nonlinear delay circuit system is not required to be solved repeatedly, thereby increasing the computation speed of the simulation of the nonlinear delay circuit system and ensuring the accuracy of the simulation of the nonlinear delay circuit system.
Through the embodiment, only one-time simulation solving is needed for the nonlinear delay circuit system, the problem that the mathematical model of the large-scale nonlinear delay circuit system is solved repeatedly is avoided, the calculation amount required by each simulation calculation is small, the simulation analysis time cost of the integrated circuit is greatly reduced, and the research and development efficiency of the chip is improved.
In some embodiments, calculating the output matrix using principal component analysis to obtain singular value vectors and singular values of the output matrix comprises:
interpolating the output matrix by using a discrete empirical interpolation algorithm to obtain an interpolation matrix;
and carrying out singular value decomposition on the interpolation matrix to obtain a left singular value vector, a singular value and a right singular value vector of the interpolation matrix.
In some embodiments, constructing basis functions based on the singular value vectors and the singular values comprises:
constructing basis functions based on the right singular value vectors and the singular values.
In some embodiments, the expression of the basis function is:
Figure 17406DEST_PATH_IMAGE010
wherein E issquareFor an interpolation matrix, λiIs EsquareSingular value of, ViIs equal to said lambdaiCorresponding EsquareA vector of singular values of n is EsquareThe number of singular values of;
the expression of the state variable function is:
Figure 597423DEST_PATH_IMAGE011
wherein, trIs the r < th > time, where r ∈ {1,2, …, m }, x (t)r) Is trTime of day isThe output value of the state variable of the linear delay circuitry,
Figure 139262DEST_PATH_IMAGE003
is EsquareThe mean value vector of (a) is,
Figure 513743DEST_PATH_IMAGE012
q is E selected from nsquareThe number of singular values of (c).
In some embodiments, constructing a time-series convolutional network model comprises:
establishing coefficients at time r
Figure 875454DEST_PATH_IMAGE005
Coefficient of preceding r-k time
Figure 118217DEST_PATH_IMAGE013
The mathematical model in (b) is:
Figure 124350DEST_PATH_IMAGE014
the mathematical model is simulated based on a time-series convolutional network model.
In some embodiments, the output matrix includes output values of all state variables of the nonlinear delay circuitry output after the simulation of the nonlinear delay circuitry.
In some embodiments, deriving training data for the time-series convolutional network model based on the output matrix and the state variable function comprises:
deriving an expression of the coefficient based on the state variable function;
substituting the output values of all state variables in the output matrix into the expression of the coefficient to obtain the values of all the coefficients;
a training data set and a validation data set of the time series convolutional network model are derived based on values of all coefficients.
In some embodiments, simulating the non-linear delay circuitry to obtain an output matrix of the non-linear delay circuitry comprises:
and taking square wave signals as the input of the nonlinear delay circuit system, and simulating the nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system.
The following describes a specific embodiment of the present invention with reference to another specific example.
In this embodiment, the principal component analysis method is performed by applying an output matrix FsquareSingular value decomposition is carried out to obtain an output matrix FsquareSingular values and singular value vectors.
Further, since the output matrix FsquareThe amount of data contained in (1) is very large, and in order to increase the speed of performing singular value decomposition on the output matrix, the discrete empirical interpolation algorithm is first used to perform the singular value decomposition on the output matrix FsquareInterpolation is carried out to obtain an interpolation matrix E based on an output matrixsquare,Esquare= DEIM(Fsquare) Matrix Esquare∈Rn×m
The specific interpolation process is as follows:
inputting a matrix:
Figure 794366DEST_PATH_IMAGE015
outputting a matrix: esquare
The method comprises the following steps: find the first column vector x (t)1) And its maximum value position [ gamma, z ]1]=max{|x(t1) I where y is the vector x (t)1) Maximum value of, z1Is the maximum value in the vector x (t)1) At the same position in (a).
Step two: take matrix U = [ x (t)1)]Interpolation selection matrix
Figure 643373DEST_PATH_IMAGE016
Figure 299613DEST_PATH_IMAGE017
Is at z1Unit vectors with position 1 and other positions 0.
Step three: the following cycle is performed:
a) from p =2 to p = m, m corresponding to the m time instant in the input matrix;
b) solving a matrix equation to obtain a vector c:
NUc=Nx(tp)
c) solving a vector r:
r=x(tp)-Nc
d) find the maximum and its position in the vector r:
p,zp] =max{|r|}
d)
Figure 550466DEST_PATH_IMAGE018
and (5) finishing the circulation to obtain an interpolation selection matrix N.
Solving the interpolation matrix Esquare = NFsquare
After obtaining the interpolation matrix of the output matrix, the interpolation matrix E is comparedsquareSingular value decomposition is carried out to obtain Esquare=UΣVTWherein U ∈ Rn×nIs a matrix EsquareLeft singular value vector of ∈ Rn×mIs a matrix EsquareSingular value of, VT∈Rm×mIs a matrix EsquareRight singular value vector of (a).
Next, a basis function is constructed using the singular value vector and the singular value:
Figure 266750DEST_PATH_IMAGE001
(1)
wherein λ isiAs an interpolation matrix EsquareSingular value of (A)iE is Σ, n is the interpolation matrix EsquareNumber of singular values of, ViAs an interpolation matrix EsquareSingular value vector of, and λiAnd correspond to each other.
The state variable function x (t) at any moment can be obtained by combining the formula (1)r):
Figure 603053DEST_PATH_IMAGE019
(2)
Wherein, trIs the time of the r < th >, where r ∈ {1,2, …, m }, x (t })r) Is trThe output value of the state variable of the time instant non-linear delay circuit system,
Figure 187618DEST_PATH_IMAGE003
is EsquareThe mean value vector of (a) is,
Figure 445641DEST_PATH_IMAGE004
q is E selected from nsquareThe number of singular values of (c).
Analyzing the principle of the nonlinear delay circuit system, it can be known that the output of the nonlinear delay circuit system at the current moment is related to the input of the previous k moments, and based on the output, the function x (t) of the state variable can be obtainedr) Unknown variable (coefficient) of
Figure 191881DEST_PATH_IMAGE020
) Establishing a mathematical model, wherein the mathematical model is as follows:
Figure 749901DEST_PATH_IMAGE021
where k is a natural number excluding 0.
And constructing a time sequence convolution network model. As shown in fig. 2, M in fig. 2 represents the number of time-series convolution modules in order to construct the time-series convolution network model.
The time sequence convolution network model comprises an input layer, at least one time sequence convolution module, a full connection layer and an output layer, wherein the input layer is used for inputting training data
Figure 13523DEST_PATH_IMAGE022
The output layer is used for outputting the training result
Figure 973389DEST_PATH_IMAGE023
With reference to fig. 3 and 4, a time-series convolution module is constructed based on the hole convolution and residual connection, where in fig. 3, k represents the convolution kernel size, and d represents the hole parameter (hole interval size), which is used to expand the perception field of the causal network. In fig. 4, Dropout is interpreted as drop and Relu is interpreted as an activation function.
The traditional convolution network model can not directly process sequence modeling (sequence modeling), when processing sequence problems, causal convolution is needed, and the function is to abstract the sequence problems according to the principle that
Figure 31475DEST_PATH_IMAGE024
De-prediction
Figure 607950DEST_PATH_IMAGE005
. The output of each layer of the hole convolution is obtained by the input of the corresponding position of the previous layer and the input of the previous position, if the output layer and the input layer are preceded by a plurality of hidden layers, the more all the inputs of one output correspond to, and the farther the input and the output are apart, the earlier input variable needs to be considered to participate in the operation, so that the timing problem can be processed. However, as the number of layers of convolution increases: the method solves the problems of gradient disappearance, complex training and poor fitting effect, and in order to solve the problem, expanded convolution (scaled) is used for reducing the number of convolution layers and increasing the perception field of the convolution. The extended convolution (filtered convolution) is to make the filter be applicable to the area larger than the length of the filter itself by skipping part of the input, as shown in fig. 3, it can be seen that the perception field of the next layer of neurons in the causal neural network on the historical data of the last neuron is greatly extended, which also improves the modeling capability of the causal convolutional network on the time series speculation task requiring long memory.
The time sequence convolution module is formed by connecting a cavity cause-effect convolution layer, a weight normalization layer, an activation function layer and a Dropout layer, and uses a residual error structure.
The time sequence task can be well modeled based on the constructed time sequence convolution network model. Will be k times before
Figure 409683DEST_PATH_IMAGE025
Obtaining current time r as training data
Figure 489635DEST_PATH_IMAGE023
And then based on the state variable function, obtaining the output value of the state variable at the current moment, wherein the current moment can be freely selected. This makes it possible to obtain an output value of the state variable at any time.
The following is a description of a specific process for constructing training data.
The coefficient is obtained from equation (2)
Figure 843256DEST_PATH_IMAGE026
The value of (c):
Figure 251235DEST_PATH_IMAGE027
wherein the content of the first and second substances,
Figure 981293DEST_PATH_IMAGE028
,x(tj) Output matrix F for simulation output of nonlinear delay circuitrysquareThe value of the state variable in (1).
Obtain all coefficients
Figure 650172DEST_PATH_IMAGE029
After all values of (2), the coefficients are adjusted
Figure 315640DEST_PATH_IMAGE029
All values of (a) are split into a training set and a validation set. For example, by combining coefficients
Figure 601127DEST_PATH_IMAGE029
80% of all values of (a) are split into training sets, leaving 20% as validation sets.
And training the constructed time sequence convolution network based on the training set and the verification set. The optimizer used in the training process is an Adam optimizer, the training epoch number is 50, the loss function is a mean square error function, and a well-trained time sequence convolution network model is obtained.
Good pair coefficient of the trained model
Figure 479085DEST_PATH_IMAGE005
Predicting to obtain the state variable x (t) at any timej) The specific flow is as follows:
and inputting the coefficient of the input at the previous k time related to the output at the current time r +1 into the trained time sequence convolution network model to obtain the coefficient at the r +1 th time, substituting the coefficient at the r +1 th time into a state variable function to obtain the value of the state variable at the r +1 th time, and obtaining the output value of the state variable at any time based on the value. If r +1 is less than or equal to k, the signal just starts to be input into the nonlinear delay circuit system, and after r +1> k, the input coefficient at the previous k moment is input into the trained time sequence convolution network model to start to predict the system.
In fig. 5, when k =5, the coefficient is predicted, and the state variable x (t) at the current time is obtainedj) The flow chart of the value (b) illustrates that the coefficient of the current time r +1 is related to the previous 5 coefficients, and the previous 5 coefficients are input into the trained time sequence convolution network model to obtain the coefficient of the current time r + 1.
Through the embodiment, the calculation amount can be greatly reduced in the simulation process of the nonlinear delay circuit system, repeated solving of a large-scale nonlinear delay circuit system is avoided, the calculation time is reduced under the condition of ensuring the accuracy, and the calculation speed is improved.
The non-linear delay circuit system in fig. 6 is composed of three coupled interconnection lines, and the transmitting end and the receiving end of the non-linear delay circuit system are non-linear circuit devices, so that the whole non-linear delay circuit system is formed. The mathematical model of the nonlinear delay circuit is
Figure 533628DEST_PATH_IMAGE030
The matrix size is E ∈ R1806×1806The function f (x) is a mathematical model of the nonlinear component in FIG. 6, B ∈ R1806 ×1Is an input matrix, u (t) is an input, C ∈ R1×1806Is an output matrix. The input function is sin (2 × pi × t) and the time to solve the mathematical model directly is 1518.31 seconds. The mathematical model constructed using the proposed method of the present invention uses the same input sin (2 x pi t) and the solution time is 53.22 seconds. The solving time is greatly shortened, but the output results of the mathematical model of the nonlinear delay circuit are relatively close, and the output results are shown in fig. 7.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 8, an embodiment of the present invention further provides a simulation system of a nonlinear delay circuit system, including:
a simulation module 110, where the simulation module 110 is configured to simulate a nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system;
a calculation module 120, where the calculation module 120 is configured to calculate the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix;
the calculation module 120 is further configured to construct a basis function based on the singular value vector and the singular value, and obtain a state variable function based on the basis of the basis function;
a building module 130, where the building module 130 is configured to build a time sequence convolutional network model, and obtain training data of the time sequence convolutional network model based on the output matrix and the state variable function;
a training module 140, the training module 140 configured to train the time-series convolutional network model based on training data of the time-series convolutional network model;
an output module 150, the output module 150 configured to input a signal to the trained sequential convolutional network model to output a value of a state variable of the nonlinear delay circuitry.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 9, an embodiment of the present invention further provides a computer-readable storage medium 40, where the computer-readable storage medium 40 stores a computer program 410, which when executed by a processor, performs the above method.
The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
The embodiment of the invention also can comprise corresponding computer equipment. The computer device comprises a memory, at least one processor and a computer program stored on the memory and executable on the processor, the processor performing any of the above methods when executing the program.
The memory, as a non-volatile computer-readable storage medium, may be used to store a non-volatile software program, a non-volatile computer-executable program, and modules, such as program instructions/modules corresponding to the simulation method of the nonlinear delay circuit system in the embodiments of the present application. The processor executes various functional applications and data processing of the device by running the non-volatile software programs, instructions and modules stored in the memory, i.e., the simulation method of the nonlinear delay circuit system implementing the above method embodiments.
The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the device, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, the memory optionally includes memory located remotely from the processor, and such remote memory may be coupled to the local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. The numbers of the embodiments disclosed in the above embodiments of the present invention are merely for description, and do not represent the advantages or disadvantages of the embodiments. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for simulating a nonlinear delay circuit system, comprising:
simulating a nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system;
calculating the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix;
constructing a basis function based on the singular value vector and the singular value, and obtaining a state variable function based on the basis of the basis function;
constructing a time sequence convolution network model, and obtaining training data of the time sequence convolution network model based on the output matrix and the state variable function;
training the time sequence convolution network model based on the training data of the time sequence convolution network model;
the signal is input to the trained time series convolution network model to output the value of the state variable of the nonlinear delay circuit system.
2. The method of claim 1, wherein computing the output matrix using principal component analysis to obtain singular value vectors and singular values of the output matrix comprises:
interpolating the output matrix by using a discrete empirical interpolation algorithm to obtain an interpolation matrix;
and carrying out singular value decomposition on the interpolation matrix to obtain a left singular value vector, a singular value and a right singular value vector of the interpolation matrix.
3. The method of claim 2, wherein constructing basis functions based on the singular value vectors and the singular values comprises:
constructing basis functions based on the right singular value vectors and the singular values.
4. The method of claim 3, wherein the basis functions are expressed as:
Figure 420267DEST_PATH_IMAGE001
wherein, EsquareFor an interpolation matrix, λiIs EsquareSingular value of, ViIs equal to said lambdaiCorresponding EsquareA vector of singular values of n is EsquareThe number of singular values of;
the expression of the state variable function is:
Figure 98373DEST_PATH_IMAGE002
wherein, trIs the time of the r < th >, where r ∈ {1,2, …, m }, x (t })r) Is trThe output value of the state variable of the time instant non-linear delay circuit system,
Figure 532896DEST_PATH_IMAGE003
is EsquareThe mean value vector of (a) is,
Figure 980058DEST_PATH_IMAGE004
q is E selected from nsquareThe number of singular values of (c).
5. The method of claim 4, wherein constructing a time-series convolutional network model comprises:
establishing coefficients at time r
Figure 700889DEST_PATH_IMAGE005
Coefficient of preceding r-k time
Figure 741658DEST_PATH_IMAGE006
The mathematical model in (b) is:
Figure 838927DEST_PATH_IMAGE007
the mathematical model is simulated based on a time-series convolutional network model.
6. The method of claim 4, wherein the output matrix comprises output values of all state variables of the nonlinear delay circuitry output after the nonlinear delay circuitry is simulated.
7. The method of claim 4, wherein deriving training data for the time-series convolutional network model based on the output matrix and the state variable function comprises:
deriving an expression of the coefficient based on the state variable function;
substituting the output values of all state variables in the output matrix into the expression of the coefficient to obtain the values of all the coefficients;
a training data set and a validation data set of the time series convolutional network model are derived based on values of all coefficients.
8. The method of claim 1, wherein simulating nonlinear delay circuitry to obtain an output matrix of the nonlinear delay circuitry comprises:
and taking square wave signals as the input of the nonlinear delay circuit system, and simulating the nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system.
9. An emulation system for a nonlinear delay circuit system, comprising:
the simulation module is configured to simulate a nonlinear delay circuit system to obtain an output matrix of the nonlinear delay circuit system;
the calculation module is configured to calculate the output matrix by using a principal component analysis method to obtain singular value vectors and singular values of the output matrix;
the calculation module is further configured to construct a basis function based on the singular value vector and the singular value, and obtain a state variable function based on the basis function;
the building module is configured to build a time sequence convolution network model and obtain training data of the time sequence convolution network model based on the output matrix and the state variable function;
a training module configured to train the time series convolutional network model based on training data of the time series convolutional network model;
an output module configured to input a signal to the trained sequential convolutional network model to output a value of a state variable of the nonlinear delay circuitry.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202210292357.6A 2022-03-24 2022-03-24 Simulation method, system and medium of nonlinear delay circuit system Active CN114386367B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210292357.6A CN114386367B (en) 2022-03-24 2022-03-24 Simulation method, system and medium of nonlinear delay circuit system
PCT/CN2023/080789 WO2023179379A1 (en) 2022-03-24 2023-03-10 Simulation method and system for nonlinear delay circuit system, and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210292357.6A CN114386367B (en) 2022-03-24 2022-03-24 Simulation method, system and medium of nonlinear delay circuit system

Publications (2)

Publication Number Publication Date
CN114386367A CN114386367A (en) 2022-04-22
CN114386367B true CN114386367B (en) 2022-05-24

Family

ID=81205090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210292357.6A Active CN114386367B (en) 2022-03-24 2022-03-24 Simulation method, system and medium of nonlinear delay circuit system

Country Status (2)

Country Link
CN (1) CN114386367B (en)
WO (1) WO2023179379A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114386367B (en) * 2022-03-24 2022-05-24 苏州浪潮智能科技有限公司 Simulation method, system and medium of nonlinear delay circuit system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191559A (en) * 2019-12-25 2020-05-22 国网浙江省电力有限公司泰顺县供电公司 Overhead line early warning system obstacle identification method based on time convolution neural network
CN111859835A (en) * 2020-06-29 2020-10-30 浪潮电子信息产业股份有限公司 Order reduction method, order reduction device and order reduction equipment of circuit interconnection network model

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850871B1 (en) * 1999-10-18 2005-02-01 Agilent Technologies, Inc. Method and apparatus for extraction of nonlinear black-box behavioral models from embeddings of the time-domain measurements
US7600206B2 (en) * 2007-04-09 2009-10-06 Chang Gung University Method of estimating the signal delay in a VLSI circuit
CN114004191A (en) * 2021-09-30 2022-02-01 苏州浪潮智能科技有限公司 Method, system, device and medium for extracting delay circuit macro model
CN114386367B (en) * 2022-03-24 2022-05-24 苏州浪潮智能科技有限公司 Simulation method, system and medium of nonlinear delay circuit system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191559A (en) * 2019-12-25 2020-05-22 国网浙江省电力有限公司泰顺县供电公司 Overhead line early warning system obstacle identification method based on time convolution neural network
CN111859835A (en) * 2020-06-29 2020-10-30 浪潮电子信息产业股份有限公司 Order reduction method, order reduction device and order reduction equipment of circuit interconnection network model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于奇异值分解及PRESS统计的模型结构优化方法;李德才等;《控制与决策》;20120831;第27卷(第08期);第1273-1276页 *

Also Published As

Publication number Publication date
CN114386367A (en) 2022-04-22
WO2023179379A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
Orchard et al. Efficient neuromorphic signal processing with loihi 2
Verdult et al. Subspace identification of multivariable linear parameter-varying systems
De Jesus et al. Backpropagation algorithms for a broad class of dynamic networks
CN108960407B (en) Recurrent neural network language model training method, device, equipment and medium
Yang et al. Fast economic dispatch in smart grids using deep learning: An active constraint screening approach
CN112364975B (en) Terminal running state prediction method and system based on graph neural network
Prasad et al. Nonlinear system identification and model reduction using artificial neural networks
CN111245673B (en) SDN time delay sensing method based on graph neural network
CN114386367B (en) Simulation method, system and medium of nonlinear delay circuit system
CN114490065A (en) Load prediction method, device and equipment
CN109033021B (en) Design method of linear equation solver based on variable parameter convergence neural network
CN111859835A (en) Order reduction method, order reduction device and order reduction equipment of circuit interconnection network model
Abbas et al. Curve fitting predication with artificial neural networks: A comparative analysis
CN114781629A (en) Hardware accelerator of convolutional neural network based on parallel multiplexing and parallel multiplexing method
CN114841282A (en) Training method of pre-training model, and generation method and device of solution model
CN114006370A (en) Power system transient stability analysis and evaluation method and system
CN113423005A (en) Motion-driven intelligent music generation method and system
CN116757062A (en) Power load frequency characteristic analysis method, device, equipment and storage medium
Murtagh et al. Bit-serial systolic array implementation of a multilayer perceptron
CN114372539B (en) Machine learning framework-based classification method and related equipment
CN114462707B (en) Web service multidimensional QoS joint prediction method based on feature depth fusion
CN115168864A (en) Intelligent cross contract vulnerability detection method based on feature cross
CN112215270B (en) Similarity comparison method, system, equipment and medium of model
Alrubaie Cascade-Forward neural network for volterra integral equation solution
Xue et al. A Sequence Model Compression Method Based on Proper Orthogonal Decomposition

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
GR01 Patent grant
GR01 Patent grant