CN105183998A - Periodic signal simulation method and system - Google Patents

Periodic signal simulation method and system Download PDF

Info

Publication number
CN105183998A
CN105183998A CN201510587098.XA CN201510587098A CN105183998A CN 105183998 A CN105183998 A CN 105183998A CN 201510587098 A CN201510587098 A CN 201510587098A CN 105183998 A CN105183998 A CN 105183998A
Authority
CN
China
Prior art keywords
node
moment
time
nodal
current 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.)
Granted
Application number
CN201510587098.XA
Other languages
Chinese (zh)
Other versions
CN105183998B (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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510587098.XA priority Critical patent/CN105183998B/en
Publication of CN105183998A publication Critical patent/CN105183998A/en
Application granted granted Critical
Publication of CN105183998B publication Critical patent/CN105183998B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a periodic signal simulation method and system. Node information of all moments in a period is obtained and stored as historical period information; the node value of a current moment and node values of two moments before the current moment obtained through simulation are obtained; a node of the current moment and nodes of the two moments before the current moment serve as three start moment nodes; three continuous historical moment nodes corresponding to information of the three start moment nodes are matched in the stored historical period information; the node value of the next moment is calculated through the differential fitting algorithm according to the historical period information and the information of the three start moment nodes; an equation set is solved through the value till the right item converges and a real value of the moment is obtained; by means of a node value of a new moment, node values of subsequent periods are calculated through the interpolation fitting algorithm, and stimulation computation can be accurately carried out on period signal values of circuits.

Description

A kind of emulation mode of periodic signal and system
Technical field
The present invention relates to circuit simulation field, particularly relate to a kind of emulation mode and system of periodic signal.
Background technology
Now along with the rapid expansion of chip circuit scale, the demand of commercialization also increases thereupon, there has also been requirements at the higher level to the simulation accuracy of circuit and speed.In order to meet the needs of circuit simulation speed, each emulator producer utilizes the mode such as linear interpolation and quadratic interpolation to improve the accuracy of predicted value, to expect the simulation velocity improving circuit.But not ideal to the effect of the predicted value of periodic signal, the further influence time step-length of decline of predicted value efficiency, causes simulation velocity to improve.Present urgent need proposes a kind of emulation mode for periodic signal.
Summary of the invention
In view of this, fundamental purpose of the present invention is the emulation mode and the system that provide a kind of periodic signal, can carry out simulation calculation exactly to the periodic signal value of circuit.
For achieving the above object, the invention provides a kind of emulation mode of periodic signal, comprising:
Obtain the nodal information in each moment of one-period, and be stored as history cycle information;
Obtain the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in two moment before the node of described current time and described current time as three initial time nodes;
Continuous three historical juncture nodes that coupling is corresponding with described three initial time nodal informations in the described history cycle information stored;
Utilize described history cycle information and described three initial time nodal informations to calculate the numerical value of subsequent time node according to difference fitting algorithm, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle.
Preferably, described interpolation fitting algorithm is:
F X t n + 1 = ( ( t n + Δ t ) - Σ Δ t ) · k t - 1 / K t + 1 + N X t n , represent the numerical value of X node at subsequent time, t nrepresent current time value, Δ t represents time step, k t-1represent the slope of current time, K t+1represent the slope of the subsequent time of the historical juncture node corresponding with current time node, represent the numerical value of the historical juncture node corresponding with current time node.
Preferably, described nodal information comprises node serial number, history nodal values, node slope and time step.
Preferably, in the described history cycle information stored, coupling continuous three the historical juncture nodes corresponding with described three initial time nodal informations comprise:
Determine the node slope of described three initial time nodes, in described history cycle information, mate identical continuous three the historical juncture nodes of node slope numerical value described with three according to three described node slopes.
Preferably, described three initial time nodes are rear three the moment nodes emulating the second period obtained.
Preferably, described history cycle information is historical information matrix form.
Present invention also offers a kind of analogue system of periodic signal, comprising:
History cycle data obtaining module, for obtaining the nodal information in each moment of one-period, and is stored as history cycle information;
Initial time node acquisition module, for obtaining the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in two moment before the node of described current time and described current time as three initial time nodes;
Matching module, for continuous three historical juncture nodes that coupling in the described history cycle information stored is corresponding with described three initial time nodal informations;
Computing module, for the numerical value utilizing described history cycle information and described three initial time nodal informations to calculate subsequent time node according to difference fitting algorithm, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle.
Preferably, described interpolation fitting algorithm is:
F X t n + 1 = ( ( t n + Δ t ) - Σ Δ t ) · k t - 1 / K t + 1 + N X t n , represent the numerical value of X node at subsequent time, t nrepresent current time value, Δ t represents time step, k t-1represent the slope of current time, K t+1represent the slope of the subsequent time of the historical juncture node corresponding with current time node, represent the numerical value of the historical juncture node corresponding with current time node.
Preferably, described three initial time nodes are rear three the moment nodes emulating the second period obtained.
Preferably, described history cycle information is historical information matrix form.
Apply emulation mode and the system of a kind of periodic signal provided by the invention, obtain the nodal information in each moment of one-period, and be stored as history cycle information, obtain the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in the moment of two before the node of current time and current time as three initial time nodes, continuous three historical juncture nodes that coupling is corresponding with three initial time nodal informations in the described history cycle information stored, described history cycle information and described three initial time nodal informations are utilized to calculate the numerical value of subsequent time node according to difference fitting algorithm, this numerical value is utilized to carry out solving equations until right-hand vector convergence obtains this moment actual value, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle, simulation calculation can be carried out exactly to the periodic signal value of circuit.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
Fig. 1 is the process flow diagram of the emulation mode embodiment one of a kind of periodic signal of the present invention;
Fig. 2 is the historical information matrix schematic diagram of the embodiment of the present invention one;
Fig. 3 is a principle schematic of the embodiment of the present invention one;
Fig. 4 is the another principle schematic of the embodiment of the present invention one;
Fig. 5 is the structural representation of the emulation system embodiment two of a kind of periodic signal of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one:
The invention provides a kind of emulation mode of periodic signal, Fig. 1 shows embodiment one process flow diagram of this your name periodic signal emulation mode, comprising:
Step S101: the nodal information obtaining each moment of one-period, and be stored as history cycle information;
Obtain the NODE node of one-period, each moment nodal information is stored as historical information matrix form, as shown in Figure 2, for historical information matrix, wherein, NODE, Nx* that NodeXz indication circuit periodic signal volume is z represent * the history value of certain NODE, and Kx represents an xth slope of NODE, △ t represents the step-length of time, and the chained list length of each NODE can be different.Historical information matrix is made up of multiple chained list, and dynamic adjustment is with the emulation demand adapting to different circuit scale.
Step S102: obtain the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in two moment before the node of described current time and described current time as three initial time nodes;
Emulation can be utilized to obtain the value in two cycles, and using the numerical value in rear three moment of second round as initial value, first moment of period 3 is subsequent time.
Step S103: continuous three historical juncture nodes that coupling is corresponding with described three initial time nodal informations in the described history cycle information stored;
Nodal information comprises node serial number, history nodal values, node slope and time step, determine the node slope of described three initial time nodes, in described history cycle information, identical continuous three the historical juncture nodes of node slope numerical value described with three are mated according to three described node slopes, as shown in Figure 3,3 points of interval B are mated.
Step S104: utilize described history cycle information and described three initial time nodal informations to calculate the numerical value of subsequent time node according to difference fitting algorithm, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle.
Described interpolation fitting algorithm is: F X t n + 1 = ( ( t n + Δ t ) - Σ Δ t ) · k t - 1 / K t + 1 + N X t n , represent the numerical value of X node at subsequent time, t nrepresent current time value, Δ t represents time step, k t-1represent the slope of current time, K t+1represent the slope of the subsequent time of the historical juncture node corresponding with current time node, represent the numerical value of the historical juncture node corresponding with current time node, as shown in Figure 4, calculate according to interpolation fitting algorithm value, utilize the nodal values in moment that newly obtains as the value in first moment of period 3 of emulation, and continue the nodal values recycling history cycle information and interpolation fitting algorithm calculated for subsequent cycle.
The emulation mode of a kind of periodic signal that application the present embodiment provides, obtain the nodal information in each moment of one-period, and be stored as history cycle information, obtain the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in the moment of two before the node of current time and current time as three initial time nodes, continuous three historical juncture nodes that coupling is corresponding with three initial time nodal informations in the described history cycle information stored, described history cycle information and described three initial time nodal informations are utilized to calculate the numerical value of subsequent time node according to difference fitting algorithm, this numerical value is utilized to carry out solving equations until right-hand vector convergence obtains this moment actual value, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle, simulation calculation can be carried out exactly to the periodic signal value of circuit.
Embodiment two:
Present invention also offers a kind of analogue system of periodic signal, the structural representation that Fig. 5 shows the emulation system embodiment two of periodic signal of the present invention comprises:
History cycle data obtaining module 101, for obtaining the nodal information in each moment of one-period, and is stored as history cycle information;
Initial time node acquisition module 102, for obtaining the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in two moment before the node of described current time and described current time as three initial time nodes;
Matching module 103, for continuous three historical juncture nodes that coupling in the described history cycle information stored is corresponding with described three initial time nodal informations;
Computing module 104, for the numerical value utilizing described history cycle information and described three initial time nodal informations to calculate subsequent time node according to difference fitting algorithm, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle.
In the present embodiment, described interpolation fitting algorithm is: F X t n + 1 = ( ( t n + Δ t ) - Σ Δ t ) · k t - 1 / K t + 1 + N X t n , represent the numerical value of X node at subsequent time, t nrepresent current time value, Δ t represents time step, k t-1represent the slope of current time, K t+1represent the slope of the subsequent time of the historical juncture node corresponding with current time node, represent the numerical value of the historical juncture node corresponding with current time node.
Described in the present embodiment, three initial time nodes are rear three the moment nodes emulating the second period obtained; Described nodal information comprises node serial number, history nodal values, node slope and time step; Described history cycle information is historical information matrix form.
The analogue system of a kind of periodic signal that application the present embodiment provides, obtain the nodal information in each moment of one-period, and be stored as history cycle information, obtain the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in the moment of two before the node of current time and current time as three initial time nodes, continuous three historical juncture nodes that coupling is corresponding with three initial time nodal informations in the described history cycle information stored, described history cycle information and described three initial time nodal informations are utilized to calculate the numerical value of subsequent time node according to difference fitting algorithm, this numerical value is utilized to carry out solving equations until right-hand vector convergence obtains this moment actual value, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle, simulation calculation can be carried out exactly to the periodic signal value of circuit.
It should be noted that, each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.For system class embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Finally, also it should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above method provided by the present invention, system and mobile terminal are described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. an emulation mode for periodic signal, is characterized in that, comprising:
Obtain the nodal information in each moment of one-period, and be stored as history cycle information;
Obtain the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in two moment before the node of described current time and described current time as three initial time nodes;
Continuous three historical juncture nodes that coupling is corresponding with described three initial time nodal informations in the described history cycle information stored;
Utilize described history cycle information and described three initial time nodal informations to calculate the numerical value of subsequent time node according to difference fitting algorithm, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle.
2. method according to claim 1, is characterized in that, described interpolation fitting algorithm is:
F X t n + 1 = ( ( t n + Δ t ) - Σ Δ t ) · k t - 1 / K t + 1 + N X t n , represent the numerical value of X node at subsequent time, t nrepresent current time value, Δ t represents time step, k t-1represent the slope of current time, K t+1represent the slope of the subsequent time of the historical juncture node corresponding with current time node, represent the numerical value of the historical juncture node corresponding with current time node.
3. method according to claim 2, is characterized in that, described nodal information comprises node serial number, history nodal values, node slope and time step.
4. method according to claim 3, is characterized in that, in the described history cycle information stored, coupling continuous three the historical juncture nodes corresponding with described three initial time nodal informations comprise:
Determine the node slope of described three initial time nodes, in described history cycle information, mate identical continuous three the historical juncture nodes of node slope numerical value described with three according to three described node slopes.
5. method according to claim 1, is characterized in that, described three initial time nodes are rear three the moment nodes emulating the second period obtained.
6. method according to claim 1, is characterized in that, described history cycle information is historical information matrix form.
7. an analogue system for periodic signal, is characterized in that, comprising:
History cycle data obtaining module, for obtaining the nodal information in each moment of one-period, and is stored as history cycle information;
Initial time node acquisition module, for obtaining the nodal values by emulating two moment before the nodal values of current time and current time that obtain, using the node in two moment before the node of described current time and described current time as three initial time nodes;
Matching module, for continuous three historical juncture nodes that coupling in the described history cycle information stored is corresponding with described three initial time nodal informations;
Computing module, for the numerical value utilizing described history cycle information and described three initial time nodal informations to calculate subsequent time node according to difference fitting algorithm, and utilize the nodal values in new moment according to the nodal values in interpolation fitting algorithm calculated for subsequent cycle.
8. system according to claim 7, is characterized in that, described interpolation fitting algorithm is:
F X t n + 1 = ( ( t n + Δ t ) - Σ Δ t ) · k t - 1 / K t + 1 + N X t n , represent the numerical value of X node at subsequent time, t nrepresent current time value, Δ t represents time step, k t-1represent the slope of current time, K t+1represent the slope of the subsequent time of the historical juncture node corresponding with current time node, represent the numerical value of the historical juncture node corresponding with current time node.
9. system according to claim 7, is characterized in that, described three initial time nodes are rear three the moment nodes emulating the second period obtained.
10. system according to claim 7, is characterized in that, described history cycle information is historical information matrix form.
CN201510587098.XA 2015-09-15 2015-09-15 The emulation mode and system of periodic signal in a kind of chip circuit Active CN105183998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510587098.XA CN105183998B (en) 2015-09-15 2015-09-15 The emulation mode and system of periodic signal in a kind of chip circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510587098.XA CN105183998B (en) 2015-09-15 2015-09-15 The emulation mode and system of periodic signal in a kind of chip circuit

Publications (2)

Publication Number Publication Date
CN105183998A true CN105183998A (en) 2015-12-23
CN105183998B CN105183998B (en) 2019-07-26

Family

ID=54906077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510587098.XA Active CN105183998B (en) 2015-09-15 2015-09-15 The emulation mode and system of periodic signal in a kind of chip circuit

Country Status (1)

Country Link
CN (1) CN105183998B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103454497A (en) * 2013-09-10 2013-12-18 南京理工大学 Phase difference measuring method based on improved windowing discrete Fourier transform
CN104462661A (en) * 2014-11-14 2015-03-25 上海交通大学 Electronic power switch interpolation real-time simulation method
CN104569581A (en) * 2015-01-30 2015-04-29 湖南大学 Multi-level set and single-cycle estimation method of power grid frequency measuring

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103454497A (en) * 2013-09-10 2013-12-18 南京理工大学 Phase difference measuring method based on improved windowing discrete Fourier transform
CN104462661A (en) * 2014-11-14 2015-03-25 上海交通大学 Electronic power switch interpolation real-time simulation method
CN104569581A (en) * 2015-01-30 2015-04-29 湖南大学 Multi-level set and single-cycle estimation method of power grid frequency measuring

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄容兰 等: "基于仿真信号源的有限长非周期信号研究", 《微计算机信息》 *

Also Published As

Publication number Publication date
CN105183998B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN103646152B (en) A kind of electromagnetic transient in power system emulation mode based on matrix exponetial
CN103152163A (en) Fractional order hyper chaotic system and projection synchronization method thereof
CN104199481B (en) Device and method is revised in a kind of time delay chain temperature drift based on FPGA in-orbit
CN103812447B (en) White Gaussian noise method for generation and device
CN107742885A (en) Distribution network voltage power sensitivity method of estimation based on canonical match tracing
Dassios On solutions and algebraic duality of generalised linear discrete time systems
CN104156542A (en) Implicit-projection-based method for simulating stability of active power distribution system
CN102063070A (en) DSP-based laser pulse code controller
RU180966U1 (en) PROBABLE ARITHMETIC DEVICE
Gottlieb Spectral methods for compressible plow problems
CN105183998A (en) Periodic signal simulation method and system
CN106844900B (en) Method for setting up electromagnetic transient simulation system
CN104133409A (en) Triangular wave combining device with adjustable symmetry
CN104573164A (en) Hardware realization method for updating equivalent historical current source information of small-step system
CN104950261A (en) Battery hardware-in-loop simulation testing method and system
CN103162846B (en) Method of building coefficient transfer matrix between Zernike polynomial aberration model and Walsh function aberration model
CN104809297A (en) Electromagnetic force density transferring method used among special-shaped grids in magnetic field-structure field coupling calculation
CN103365827A (en) Computing method of high-precision sine/cosine function
CN100517214C (en) Hardware configuration method implementing binary system polynomial arithmetic and hardware system
CN101127575B (en) An equably distributed random number generator and its generation method
CN102609576B (en) Power system transient stability simulating method based on estimation-correction numerical integration
Miljković et al. Generation and application of pseudorandom binary sequences using virtual instrumentation
CN108536954A (en) A kind of high-precision Lattice Boltzmann Method based on intersection point interruption gal the Liao Dynasty gold
Emiroğlu et al. Control of a chaotic finance system with passive control
Danca et al. Suppressing chaos in fractional-order systems by periodic perturbations on system variables

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant