Noise verification method and equipment for analog circuit simulation test

By using Matlab to generate noise signal sources and superimpose them with the excitation signal in the simulation circuit performance test, the problem of idealization of the excitation signal in the existing technology is solved, achieving more accurate circuit performance evaluation and potential problem discovery, and obtaining reliable circuit performance. index.

CN118780239AInactive Publication Date: 2024-10-15MEGA HUNT MICROELECTRONICS (BEIJING) CO LTD

Patent Information

Application Number
CN202410369701.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The excitation signal input in the existing analog IP hybrid simulation is too ideal and cannot truly reflect the performance of the circuit in the actual working environment, especially in terms of noise tolerance, and cannot meet the simulation test conditions.

Method used

Matlab software is used to generate various types of noise signal sources, and the Vams language is used to superimpose the noise signal with the excitation signal of the circuit under test to generate a synthetic excitation signal, which is adjusted and processed according to the test requirements and output to the circuit under test for noise simulation testing. .

Benefits of technology

It realizes the generation of different types of noise in the simulation circuit performance test, fully simulates the performance of the circuit in the actual working environment, enables the simulation test to more accurately evaluate the actual working performance of the circuit, and finds potential problems for optimization to obtain reliable circuit performance. index.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118780239A_ABST
    Figure CN118780239A_ABST
Patent Text Reader

Abstract

The invention discloses a noise simulation verification method and equipment for simulating a circuit performance test. The method comprises the following steps: generating at least one noise signal source by using Matlab software; selecting at least one noise signal according to a test requirement and carrying out initialization processing; superposing the noise signal and an excitation signal of the tested circuit based on a Vam language to generate a synthetic excitation signal; and the synthesized excitation signal is adjusted and processed according to a test requirement and then is output to a tested circuit for a noise simulation test. According to the method, the performance of the circuit in an actual working environment is fully simulated, so that the actual working performance of the circuit can be more accurately evaluated by a simulation test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a noise simulation verification method for analog circuit performance testing, and also relates to electronic equipment adopting the method, belonging to the technical field of simulation verification. Background Art

[0002] Integrated circuit chips are subject to interference from various noise signals in the actual working environment of applications. Therefore, in order to detect the anti-interference performance of the circuit against various noises, it is necessary to simulate the actual interference noise signal source during the simulation design stage, superimpose the noise signal and the circuit excitation signal, and then perform simulation testing. Noise interference simulation can be used to detect whether the tolerance of each module in the integrated circuit chip to various noises meets the design requirements and usage needs of the circuit, and can also promote the optimization and improvement of circuit design.

[0003] In current technology, the stimulus signals input in analog IP hybrid simulation are often too idealized and cannot truly reflect the performance of the circuit in the actual working environment. In particular, in terms of noise tolerance, the idealized stimulus signals cannot fully meet the simulation test conditions. Therefore, when conducting simulation tests, it is necessary to introduce various interference noise sources that may exist in the actual working environment, such as power supply noise interference, wireless signal interference, etc., in order to more accurately evaluate the actual working performance of the circuit. At the same time, potential problems of the circuit can also be discovered during the simulation stage and corresponding optimization can be performed to obtain reliable circuit performance indicators.

[0004] In the Chinese patent application with application number 202210168059.6, a design method for a pseudo-random noise generator for FPGA is disclosed. The method includes the following steps: design of PN sequence generation module; design of pseudo-random noise generation module; design of FIR filter module; design of CIC filter module; simulation verification, cascading the above generated modules, and obtaining analog signals output at each level. Summary of the invention

[0005] The primary technical problem to be solved by the present invention is to provide a noise simulation verification method for analog circuit performance testing.

[0006] Another technical problem to be solved by the present invention is to provide an electronic device adopting the method.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] According to a first aspect of an embodiment of the present invention, there is provided a noise simulation verification method for analog circuit performance testing, comprising the following steps:

[0009] (1) Generate at least one noise signal source using Matlab software;

[0010] (2) selecting at least one noise signal according to the test requirements and performing initialization processing;

[0011] (3) superimposing the noise signal with the excitation signal of the circuit under test based on the Vams language to generate a synthetic excitation signal;

[0012] (4) The synthetic excitation signal is adjusted and processed according to the test requirements and then output to the circuit under test for noise simulation testing.

[0013] Preferably, in step (1), the noise signal source is a square wave noise signal source, wherein the expression of the square wave noise function is:

[0014] Y1=square_wave(amp,fre,pha,tim,del_t);

[0015] Where, Y1 represents the square wave noise signal; square_wave represents the square wave function; amp is the amplitude, in V; fre is the frequency, in MHz; pha is the phase; tim is the number of sampling points; del_t is the time point when the noise first appears;

[0016] Preferably, in step (1), the noise signal source is a sinusoidal noise signal source, wherein the expression of the sinusoidal noise function is:

[0017] Y2=singal_wave(amp,fre,pha,tim,del_t)

[0018] Where, Y2 represents the sinusoidal noise signal; singal_wave represents the sinusoidal wave function; amp is the amplitude in V; fre is the frequency in MHz; pha is the phase; tim is the number of sampling points; del_t is the time point when the noise first appears.

[0019] Preferably, in step (1), the noise signal source is a triangular wave noise signal source, wherein the expression of the triangular wave noise function is:

[0020] Y3=gener_wave(amp,fre,pha,tim,del_t)

[0021] Where, Y3 represents the triangle wave noise signal; generator_wave represents the triangle wave function; amp is the amplitude in V; fre is the frequency in MHz; pha is the phase; tim is the number of sampling points; del_t is the time point when the noise first appears.

[0022] Preferably, in step (1), the noise signal source is a random noise signal source, wherein the expression of the random noise function is:

[0023] Y4=randomnumbers_wave(max,min,ran,del_t,ste_s)

[0024] Among them, Y4 represents the random noise signal; randomnumbers_wave represents the random function; max is the maximum amplitude, the unit is V; min is the minimum amplitude, the unit is V; ran is the number of random samples; del_t is the time point when the noise first appears; ste_s: the step size of random sampling.

[0025] Preferably, the initialization process in step (2) includes the following sub-steps:

[0026] (21) Setting whether the noise signal is added after power-on stabilization;

[0027] (22) Setting the duration of the noise signal after it is added;

[0028] (23) setting the initial state of the noise signal;

[0029] (24) Using visualization operations to check and confirm the waveform of the noise signal.

[0030] Preferably, the generation of the synthetic excitation signal in step (3) comprises the following sub-steps:

[0031] (31) Convert the noise data format generated by Matlab software from number sequence number-voltage value to time-voltage value;

[0032] (32) Connecting the noise signal with the excitation signal of the circuit under test in a UVM environment to form the synthetic excitation signal.

[0033] Preferably, in step (32), for the superposition of the multiple noise signals, it also includes selecting the noise signal to adopt the superposition method of main noise or additional noise.

[0034] According to a second aspect of an embodiment of the present invention, an electronic device is provided, the electronic device comprising a processor and a memory, wherein the processor and the memory are coupled; wherein:

[0035] The memory is used to store computer programs;

[0036] The processor is used to run the computer program stored in the memory to execute the above-mentioned noise simulation verification method for analog circuit performance testing.

[0037] Compared with the prior art, the noise simulation verification method for analog circuit performance testing provided by the present invention generates multiple types of noise signal sources by using Matlab software, and then selects one or more types of noise signals according to the test requirements to superimpose the excitation signal of the analog circuit to generate a synthetic excitation signal. This achieves the generation of different types of noise when the analog circuit is tested for performance and adds them to the underlying circuit, fully simulating the performance of the circuit in the actual working environment, so that the simulation test can more accurately evaluate the actual working performance of the circuit. At the same time, potential problems of the circuit can also be discovered in the simulation stage and corresponding optimization can be performed, thereby obtaining reliable circuit performance indicators. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 A flowchart of a noise simulation verification method for analog circuit performance testing provided by the present invention;

[0039] Figure 2 This is a noise simulation verification flow chart of the crystal oscillator starting circuit in the first embodiment of the present invention;

[0040] Figure 3 It is a schematic diagram of simulation waveforms of a noise signal, an excitation signal and a synthetic excitation signal in the first embodiment of the present invention;

[0041] Figure 4 A noise simulation verification flow chart of a wireless data demodulation circuit in the second embodiment of the present invention;

[0042] Figure 5 A schematic diagram of simulation waveforms of a noise signal, an excitation signal and a synthetic excitation signal in the second embodiment of the present invention;

[0043] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The technical content of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.

[0045] like Figure 1 As shown, a noise simulation verification method for analog circuit performance testing provided by an embodiment of the present invention comprises at least the following steps:

[0046] S1: Generate at least one noise signal source using Matlab software.

[0047] According to the signal waveform, noise signal sources are usually divided into two categories: regular noise signal sources and irregular noise signal sources, both of which are generated using Matlab software. Regular noise signal sources include sine waves, square waves, triangle waves (or sawtooth waves), etc. In practical applications, inductance devices usually generate sine wave noise interference signals, radio frequency devices such as walkie-talkies, Wi-Fi, GPRS, etc. generate square wave noise interference signals, and various power supply devices generate triangle wave noise interference signals. By simulating the regular noise signal source to simulate the circuit, the existing problems can be reproduced, which is convenient for problem location and improvement. Irregular noise signal sources, such as random noise, are usually noise interference signals generated in complex environments. By simulating the irregular noise signal source to simulate the circuit, it can be detected whether the circuit's tolerance to noise meets the design requirements, so as to optimize and improve the circuit.

[0048] The generation of noise signal source is firstly designed by Matlab, and the noise function is encapsulated. When using it, the required noise signal can be generated by setting different variable values ​​of the noise function. The variables in the noise function usually include amplitude, frequency, phase, number of sampling points, delay time, waveform accuracy, etc. The specific generation of several commonly used noise functions is described below.

[0049] S11: Generation of square wave noise signal source.

[0050] The expression of the square wave noise function is as follows:

[0051] Y1=square_wave(amp,fre,pha,tim,del_t) (1)

[0052] Among them, Y1 represents the square wave noise signal (represented by y in the program); square_wave represents the square wave function; amp is the amplitude (represented by amplitude in the program), the unit is V; fre is the frequency (represented by frequency in the program), the unit is MHz; pha is the phase (represented by phase in the program); tim is the number of sampling points (represented by timerange in the program); del_t is the time point when the noise first appears (represented by delay_time in the program).

[0053] The square wave noise signal source can generate a variety of required square wave noise signals by setting different values ​​of multiple variables in the square wave noise function. The encapsulated square wave function file is square_wave.m, and its specific Matlab code program is as follows:

[0054]

[0055] S12: Generation of a sine wave noise signal source.

[0056] The expression of the sine wave noise function is as follows:

[0057] Y2=singal_wave(amp,fre,pha,tim,del_t) (2)

[0058] Among them, Y2 represents the sinusoidal noise signal (represented by y in the program); singal_wave represents the sinusoidal wave function; amp is the amplitude (represented by amplitude in the program), the unit is V; fre is the frequency (represented by frequency in the program), the unit is MHz; pha is the phase (represented by phase in the program); tim is the number of sampling points (represented by timerange in the program); del_t is the time point when the noise first appears (represented by delay_time in the program).

[0059] The sine wave noise signal source can generate a variety of required sine wave noise signals by setting different values ​​of multiple variables in the sine wave noise function. The packaged sine wave function file is singal_wave.m, and its specific Matlab code program is as follows:

[0060]

[0061] S13: Generation of a triangle wave noise signal source.

[0062] The expression of the triangle wave noise function is as follows:

[0063] Y3=gener_wave(amp,fre,pha,tim,del_t) (3)

[0064] Among them, Y3 represents the triangular wave noise signal (represented by y in the program); generator_wave represents the triangular wave function; amp is the amplitude (represented by amplitude in the program), the unit is V; fre is the frequency (represented by frequency in the program), the unit is MHz; pha is the phase (represented by phase in the program); tim is the number of sampling points (represented by timerange in the program); del_t is the time point when the noise first appears (represented by delay_time in the program).

[0065] The triangle wave noise signal source can generate a variety of required triangle wave noise signals by setting different values ​​of multiple variables in the triangle wave noise function. The packaged triangle wave function file is generator_wave.m, and its specific Matlab code program is as follows:

[0066]

[0067]

[0068] In the noise functions of the above three rules, the number of sampling points tim (timerange) usually needs to be set separately before running the function. The format is timerange = 0:0.01:100, where the first group of numbers 0 is the starting sampling point, the second group of numbers 0.01 is the sampling step, and the third group of numbers 100 is the ending sampling point. The sampling step should be kept at 0.01. Changing the sampling step may cause frequency errors. Among them, the default sampling point in the function is us level. If you want to increase or decrease the frequency of the sampling point, you can change the product term after the timerange variable in the function to achieve it. Timerange in Matlab means that the noise sequence is in sampling points. One sampling point corresponds to one signal data and noise data. The purpose of being equivalent to time can be achieved by reducing the number of sampling points.

[0069] S14: Generation of random noise signal source.

[0070] The expression of the random noise function is as follows:

[0071] Y4=randomnumbers_wave (max,min,ran,del_t,ste_s) (4)

[0072] Among them, Y4 represents the random noise signal (represented by y in the program);

[0073] randomnumbers_wave represents a random function; max is the maximum amplitude (indicated by maxvalue in the program), in V; min is the minimum amplitude (indicated by minvalue in the program), in V; ran is the number of random samples (indicated by

[0074] del_t is the time when the noise first appears (represented by delay_time in the program); ste_s: the step size of random sampling (represented by step_size in the program).

[0075] The random noise signal source can generate the required multiple random noise signals by setting different values ​​of multiple variables in the random noise function. The packaged random function file is randomnumbers_wave.m, and its specific Matlab code program is as follows:

[0076]

[0077]

[0078] S2: Select at least one noise signal according to the test requirements and perform initialization processing.

[0079] According to the test requirements of the actual circuit under test, select at least one noise signal type from a variety of noise signal sources, and initialize the selected noise signal. The visualization function of Matlab software can intuitively check the generation results of the noise signal waveform, and then read the noise data through the Vpwl source in Vams. Because the noise data generated by Matlab has no data before the delay, it is necessary to initialize the noise data in the generated noise data file to prevent affecting the normal working state of the module power-on process. The initialization process specifically includes the following sub-steps:

[0080] S21: Set whether the noise signal is added after the power-on is stable; if so, set the delay_time variable to a specific time; if not, set delay_time to zero.

[0081] S22: Set the duration of the noise signal after it is added.

[0082] The duration of the noise signal is set according to the test requirements of the actual circuit under test. When the duration is long, the noise signal is basically a continuous interference signal, and when the duration is short, the noise signal is basically a periodic instantaneous interference signal.

[0083] S23: Set the initial state of the noise signal.

[0084] According to the specific type of the selected noise signal, set the parameter values ​​of the variables included in its noise function. Regular noise signals usually include frequency, phase, amplitude and other parameter settings; triangular wave noise also needs to set the rise and fall time ratio; random noise signals need to set the interval time of noise points.

[0085] S24: Check and confirm the formed noise signal waveform using visualization operation.

[0086] S3: Based on the Vams language, the noise signal is superimposed on the excitation signal of the circuit under test to generate a synthetic excitation signal.

[0087] Based on the description method of Vams language, the selected noise signal is superimposed with the excitation signal of the circuit under test. This function is crucial for simulating and evaluating the anti-interference performance of the circuit. By introducing the noise signal and superimposing it with the excitation signal of the circuit under test, the operation of the circuit under test in the actual environment can be more realistically simulated, so as to accurately evaluate the circuit performance. Signal superposition specifically includes the following sub-steps:

[0088] S31: Convert the noise data format generated by the Matlab software from number sequence number-voltage value to time-voltage value.

[0089] The conversion of noise data format is to ensure that the noise data can be converged in the time domain simulation of the Vams environment, and generate a noise_Z (Z represents the name of the selected noise signal type).txt file in the simulation directory to ensure synchronous control of the data.

[0090] S32: Connect the noise signal to be superimposed with the excitation signal of the circuit under test in the UVM environment to form a superimposed synthetic excitation signal. If multiple noise signals are selected, it is necessary to select the superposition method of the noise signal through main_sel and sup_sel. Among them, the main noise signal is selected through main_sel, and the additional noise signal is selected through sup_sel.

[0091] S4: After adjusting and processing the synthetic excitation signal according to the test requirements, the signal is output to the circuit under test for noise simulation testing.

[0092] According to the test requirements, the adjustment of the synthetic excitation signal is usually the adjustment of the phase and amplitude. After the synthetic excitation signal is adjusted, the synthetic excitation signal is output to the circuit under test for noise simulation test, and the noise verification result of the circuit under test is obtained.

[0093] The above is a detailed description of a noise simulation verification method for analog circuit performance testing provided by an embodiment of the present invention. The following describes the operation flow and parameter settings of the verification method through two actual application analog circuit noise simulation test processes.

[0094] First embodiment

[0095] The analog circuit under test is a crystal oscillator start-up circuit, which simulates the working scenario of adding interference to the power supply ground. Figure 2 As shown, the specific noise simulation verification process is as follows:

[0096] Assume that multiple types of noise signal source candidates have been generated using Matlab software.

[0097] S101: Select the number of noise signals to be 1 and the type of noise to be a sine wave noise signal.

[0098] S102: Select to add noise signal after the chip is powered on and stabilized, and set the power-on stabilization time to delay_time to 5us.

[0099] S103: Setting the duration of the added noise signal to 1 ms.

[0100] S104: Set the initial state of the noise signal, set the initial voltage to 0V, the period to 5Mhz, the phase to 0, and the peak to ±200mV.

[0101] S105: Check and confirm the formed sinusoidal noise signal waveform by using visualization operation.

[0102] S106: Convert the noise data format generated by the Matlab software from number sequence number-voltage value to time-voltage value, and generate a noise_sine.txt file in the simulation directory.

[0103] S107: Connect the noise signal to be superimposed with the excitation signal of the circuit under test in the UVM environment to form a synthetic excitation signal, which is defined as "electrical" type data.

[0104] S108: Outputting the synthesized excitation signal to the circuit under test for noise simulation testing.

[0105] S109: After the preset simulation time is reached, check whether the noise addition is completed. If it is completed, print "add noise finish"; if it is not completed, print "error".

[0106] S110: End the test after generating the test result file.

[0107] The superposition of the noise signal and the excitation signal in this embodiment is as follows: Figure 3 As shown, Figure 3 The horizontal axis is time (in ns) and the vertical axis is voltage. The noise signal is a sine wave noise signal with an amplitude between ±200mV; the excitation signal of the circuit under test is a 5V voltage signal; the synthetic excitation signal is a sine wave signal with an amplitude between +5.2V and +4.8V.

[0108] Second embodiment

[0109] The simulated circuit under test is a wireless data demodulation circuit, which simulates the working scenario of adding interference to the power supply ground. Figure 4 As shown, the specific noise simulation verification process is as follows:

[0110] Assume that multiple types of noise signal source candidates have been generated using Matlab software.

[0111] S201: Select the number of noise signals to be 2 and the types of noise to be a sine wave noise signal and a square wave noise signal.

[0112] S202: Select to add noise signal after the chip is powered on and stabilized, and set the power-on stabilization time to delay_time to 5us.

[0113] S203: Setting the duration of the added noise signal to 1 ms.

[0114] S204: Set the initial state of the noise signal. Set the initial voltage of the sine wave noise signal to 0V, the period to 5Mhz, the phase to 0, and the peak value to ±200mV; set the initial voltage of the square wave noise signal to 0V, the period to 1Mhz, the phase to 0, and the peak value to +500mV.

[0115] S205: Using visualization operations, the waveforms of the formed sine wave noise signal and the square wave noise signal are respectively checked and confirmed.

[0116] S206: Convert the noise data format generated by the Matlab software from number sequence number-voltage value to time-voltage value, and generate noise_sine.txt and noise_freq.txt files in the simulation directory respectively.

[0117] S207: In the UVM environment, the noise signal to be superimposed is connected to the excitation signal of the circuit under test, the square wave noise signal is selected as the main noise, the sine wave noise signal is selected as the additional noise, and the square wave signal is selected for superposition at the low level. The formed synthetic excitation signal is defined as "electrical" type data.

[0118] S208: Outputting the synthesized excitation signal to the circuit under test for noise simulation testing.

[0119] S209: After the preset simulation time is reached, it is determined whether the noise addition is completed. If it is completed, "add noise finished" is printed; if it is not completed, "error" is printed.

[0120] S210: End the test after generating the test result file.

[0121] The superposition of the noise signal and the excitation signal in this embodiment is as follows: Figure 5 As shown, Figure 5The horizontal axis is time (in ns), and the vertical axis is voltage. Among them, noise signal 1 is a square wave noise signal, which is the main noise, and its amplitude is between +500mV and 0; noise signal 2 is a sine wave noise signal, which is an additional noise, and its amplitude is between ±200mV; the main noise and the additional noise are superimposed to form an irregular noise signal, and its amplitude is between +500mV and -200mV; the excitation signal is a 5V voltage signal, and the synthetic excitation signal is an irregular signal, and its amplitude is between +5.5V and +4.8V.

[0122] Based on the above noise simulation verification method for analog circuit performance testing, an embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, the electronic device includes one or more processors and a memory. The memory is coupled to the processor and is used to store one or more computer programs. When the one or more computer programs are executed by the one or more processors, the one or more processors implement the noise simulation verification method for analog circuit performance testing in the above embodiment.

[0123] Wherein, the processor is used to control the overall operation of the electronic device to complete all or part of the steps of the noise simulation verification method for analog circuit performance testing. The processor module can be a central processing unit (CPU), a graphics processing unit (GPU), a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a digital signal processing (DSP) chip, etc. The memory is used to store various types of data to support operations on the electronic device, and these data may include instructions for any application or method for operating the electronic device, as well as application-related data. The memory module can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, etc.

[0124] In summary, compared with the prior art, the noise simulation verification method for analog circuit performance testing provided by the present invention generates a variety of noise signal sources by using Matlab software, and then selects one or more types of noise signals according to the test requirements to superimpose the excitation signal of the analog circuit to generate a technical solution for synthesizing the excitation signal, which realizes the generation of different types of noise and adds it to the underlying circuit when the performance test of the analog circuit is performed, fully simulating the performance of the circuit under the actual working environment, so that the simulation test can more accurately evaluate the actual working performance of the circuit. At the same time, it is also possible to find potential problems of the circuit in the simulation stage and optimize it accordingly, so as to obtain reliable circuit performance indicators. Therefore, the noise simulation verification method for analog circuit performance testing provided by the present invention has the beneficial effects of ingenious and reasonable program design, flexible and convenient signal adjustment, high practicality and excellent circuit performance.

[0125] It should be noted that the above-mentioned multiple embodiments are only examples, and the technical solutions of various embodiments can be combined, all of which are within the protection scope of the present invention.

[0126] It should be noted that, in the description of the present invention, “plurality” means two or more than two, unless otherwise clearly and specifically defined.

[0127] The noise simulation verification method and device for analog circuit performance testing provided by the present invention are described in detail above. For those skilled in the art, any obvious changes made to it without departing from the essence of the present invention will constitute an infringement of the patent right of the present invention and will bear corresponding legal responsibilities.

Claims

1. A noise simulation verification method for analog circuit performance testing, characterized in that The steps include: (1) Generate at least one noise signal source using Matlab software; (2) selecting at least one noise signal according to the test requirements and performing initialization processing; (3) superimposing the noise signal with the excitation signal of the circuit under test based on the Vams language to generate a synthetic excitation signal; (4) The synthetic excitation signal is adjusted and processed according to the test requirements and then output to the circuit under test for noise simulation testing.

2. The noise simulation verification method for analog circuit performance testing as claimed in claim 1, characterized in that In step (1), the noise signal source is a square wave noise signal source, and the expression of the square wave noise function is: Y1=square_wave(amp,fre,pha,tim,del_t) Where, Y1 represents the square wave noise signal; square_wave represents the square wave function; amp is the amplitude in V; fre is the frequency in MHz; pha is the phase; tim is the number of sampling points; del_t is the time point when the noise first appears.

3. The noise simulation verification method for analog circuit performance testing as claimed in claim 1, characterized in that In step (1), the noise signal source is a sinusoidal noise signal source, and the expression of the sinusoidal noise function is: Y2=singal_wave(amp,fre,pha,tim,del_t) Where, Y2 represents the sinusoidal noise signal; singal_wave represents the sinusoidal wave function; amp is the amplitude in V; fre is the frequency in MHz; pha is the phase; tim is the number of sampling points; del_t is the time point when the noise first appears.

4. The noise simulation verification method for analog circuit performance testing as claimed in claim 1, characterized in that In step (1), the noise signal source is a triangular wave noise signal source, and the expression of the triangular wave noise function is: Y3=gener_wave(amp,fre,pha,tim,del_t) Where, Y3 represents the triangle wave noise signal; generator_wave represents the triangle wave function; amp is the amplitude in V; fre is the frequency in MHz; pha is the phase; tim is the number of sampling points; del_t is the time point when the noise first appears.

5. The noise simulation verification method for analog circuit performance testing as claimed in claim 1, characterized in that In step (1), the noise signal source is a random noise signal source, and the expression of the random noise function is: Y4=randomnumbers_wave(max,min,ran,del_t,ste_s) Among them, Y4 represents the random noise signal; randomnumbers_wave represents the random function; max is the maximum amplitude, the unit is V; min is the minimum amplitude, the unit is V; ran is the number of random samples; del_t is the time point when the noise first appears; ste_s: the step size of random sampling.

6. The noise simulation verification method for analog circuit performance testing according to claim 1, characterized in that The initialization process in step (2) includes the following sub-steps: (21) Setting whether the noise signal is added after power-on stabilization; (22) Setting the duration of the noise signal after it is added; (23) setting the initial state of the noise signal; (24) Using visualization operations to check and confirm the waveform of the noise signal.

7. The noise simulation verification method for analog circuit performance testing according to claim 1, characterized in that The generation of the synthetic excitation signal in step (3) includes the following sub-steps: (31) Convert the noise data format generated by Matlab software from number sequence number-voltage value to time-voltage value; (32) Connecting the noise signal with the excitation signal of the circuit under test in a UVM environment to form the synthetic excitation signal.

8. The noise simulation verification method for analog circuit performance testing as claimed in claim 7, characterized in that In step (32), for the superposition of multiple noise signals, it also includes selecting the noise signal to adopt the superposition method of main noise or additional noise.

9. An electronic device, characterized in that It includes a processor and a memory, wherein the processor and the memory are coupled; wherein, The memory is used to store computer programs; The processor is used to run the computer program stored in the memory to execute the noise simulation verification method for analog circuit performance testing according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Simulation signal test circuit, test method, test equipment and storage medium

    CN115684878A

  • Narrow band noise frequency signal generating device based on pseudo - random function

    CN205249183U

  • Structure and method for testing lock-in amplifier

    WO2018059232A1

Cited By

  • Automatic BMS function test system and test method

    CN119738644A

  • Noise test information generation method and device, noise evaluation method and device, medium and product

    CN119881464A