A method for reducing jitter and eliminating overshoot during waveform generation
Through the combination of predistortion and average filtering, the problems of jitter and overshoot in the waveform generator are solved, and a higher quality output waveform is achieved, which is better than traditional virtual ultra-high sampling technology.
Patent Information
- Application Number
- CN202111497485.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-09
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2041-12-09
AI Technical Summary
Traditional waveform generators are prone to jitter and overshoot when outputting waveforms, resulting in a decrease in signal quality. The dejitter technology based on virtual ultra-high sampling occupies high memory and slow processing speed, and cannot effectively suppress overshoot.
Using a method of combining predistortion-reducing impulse response function sidelobe and average filtering, the filter factor is accurately solved through the predistortion overshoot filter factor generation algorithm, and the edge position is solved in real time in FPGA, and the waveform data is processed in combination with the average filter to achieve the Combined processing of jitter and overshoot.
It effectively reduces waveform jitter and overshoot, improves the quality of the output waveform, and has lower memory footprint, faster processing speed, higher jitter accuracy and better overshoot suppression effect than traditional technology.
Smart Images

Figure CN114389577B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of waveform processing, and in particular relates to a method for reducing jitter and eliminating overshoot in a waveform generation process. Background Art
[0002] When an arbitrary waveform generator transmits pulses, square waves or other waveforms with amplitude jumps, the inherent frequency response of the system will cause the Gibbs phenomenon on the rising and falling edges of the output waveform, thus distorting the output waveform. This distortion causes spikes and oscillations to appear on the originally flat waveform. In addition, when the sampling rate of the digital-to-analog converter (DAC) of the arbitrary waveform generator is not an integer multiple of the signal frequency, the positions of the rising and falling edges of the waveform will randomly jump within a sampling period, causing time domain jitter of the waveform. The above two problems will directly affect the quality of the output signal of the arbitrary waveform generator.
[0003] Modern arbitrary wave signal generators use a point-by-point waveform output method, sampling the signal at a specified sampling rate, generating a sampling rate and storing it in a waveform memory, and then outputting it point by point to the DAC to generate the corresponding signal. However, when the frequency period of the signal is not an integer multiple of the sampling rate, the sampling moment does not match the period of the waveform during the generation of the digital waveform, which will generate a sampling error. From the perspective of the time domain, signal jitter is generated, and the jitter index is further deteriorated at low sampling rates.
[0004] Take pulse signal as an example. If a 1GSa / s clock is used to sample a pulse signal with a frequency of 98MHz, since 98MHz cannot divide 1GSa / s, sampling errors will occur at the edge of the pulse. At this time, the de-jittering technology based on virtual ultra-high sampling can be used. When generating a waveform, this technology increases the sampling rate to 1000GSa / s, and then generates a new 1000GSa / s waveform through low-pass filtering, and then regenerates the 1GSa / s waveform through fractional interpolation and extraction. In this process, ps-level precise sampling is achieved. After being converted into an analog signal through an external DAC, the analog signal is band-limited filtered by a low-pass filter. At a sampling rate of 1GSa / s, a 1ps-level jitter index can be achieved, which improves the jitter performance quality of the output signal. However, for a virtual sampling rate of 1000GSa / s, if such a high sampling rate is used to generate sampling points for all waveforms, and then low-pass operations are performed, many problems will result, such as slow operation speed and high resource usage.
[0005] In summary, the traditional de-jitter technology based on virtual ultra-high sampling occupies a large amount of memory, has a slow processing speed, and requires fractional interpolation processing. The control accuracy is related to the virtual sampling rate. Under certain resource consumption conditions, the jitter accuracy is not high, and it is impossible to effectively suppress overshoot. Summary of the invention
[0006] In order to solve the above problems, the present invention proposes a method for reducing jitter and eliminating overshoot during waveform generation, which reduces output waveform overshoot and suppresses waveform jitter, and further improves the output waveform quality of the arbitrary waveform generator.
[0007] The technical solution of the present invention is as follows:
[0008] A method for reducing jitter and eliminating overshoot during waveform generation, using a combination of predistortion to reduce the side lobes of an impulse response function and average filtering to simultaneously solve the overshoot and jitter problems that occur during waveform generation, the specific steps are as follows:
[0009] S1. Obtain the required filter factor in advance through the pre-distortion overshoot filter factor generation algorithm;
[0010] S2. Filter the waveform to be processed using the filter factor to obtain new waveform data;
[0011] S3. The relationship between frequency and phase is used in FPGA to solve the edge position in real time, and then converted into the amplitude value of the jitter point;
[0012] S4. The waveform in step S3 is averaged and filtered by an average filter, and the waveform data obtained after filtering is the waveform data after the two methods are jointly processed;
[0013] S5. Output the waveform corresponding to the waveform data in step S4.
[0014] Furthermore, in step S1, a pre-distortion overshoot filter factor generation algorithm is used to solve the filter factor required for pre-distortion by measuring the inverse Fourier transform of the impulse response function. The specific process is as follows:
[0015] S101. Use FPGA to load a digital pulse waveform, which is transformed by FPGA, DAC, analog channel, etc. to output an analog waveform, which is the pulse response of the system;
[0016] S102. Collecting the impulse response to obtain waveform data of the impulse response;
[0017] S103. Perform inverse Fourier transform on the waveform data to obtain a frequency response function of the system;
[0018] S104. Taking the inverse of the frequency response function, obtain a new frequency response function, such that the product of the two frequency response functions is equal to 1;
[0019] S105. Perform Fourier transform on the new frequency response function to obtain a filter factor.
[0020] Further, in step S4, the filter factor of the average filter is equal to [1 / N, 1 / N, ... 1 / N], where N is the required number of edge points.
[0021] Beneficial technical effects brought by the present invention:
[0022] The jitter reduction and overshoot elimination are processed jointly, and the overshoot and jitter problems are solved simultaneously by combining pre-distortion to reduce the side lobes of the impulse response function and average filtering; a pre-distortion overshoot filter factor generation algorithm is adopted, that is, the filter factor required for pre-distortion is accurately solved by measuring the inverse Fourier transform of the impulse response function and other methods; while greatly reducing the waveform jitter, the overshoot is effectively suppressed; compared with the traditional de-jittering technology based on virtual ultra-high sampling, the present invention has the advantages of less memory occupation, faster processing speed, smaller jitter error, higher processing accuracy and better overshoot suppression effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A flow chart of a method for reducing jitter and eliminating overshoot during waveform generation;
[0024] Figure 2 The jitter caused by the waveform appearing at different times;
[0025] Figure 3 It is a schematic diagram of the edge after filtering the waveform;
[0026] Figure 4 This is a simulation result diagram of the waveform comparison before and after the implementation of the method of the present invention. DETAILED DESCRIPTION
[0027] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0028] The present invention proposes a method for reducing jitter and eliminating overshoot during waveform generation, the core key point of which is: a method for jointly processing jitter reduction and overshoot elimination, combining pre-distortion to reduce the side lobe of the impulse response function and average filtering to solve the overshoot and jitter problems at the same time.
[0029] like Figure 1 As shown in the figure, the specific process of combining predistortion to reduce the side lobes of the impulse response function and average filtering to solve the overshoot and jitter problems at the same time is:
[0030] Step 1. Obtain the required filter factor in advance through a predistortion overshoot filter factor generation algorithm;
[0031] The essence of this process is to accurately solve the filter factor required for pre-distortion by measuring the inverse Fourier transform of the impulse response function. The specific solution process is as follows:
[0032] (1) Using FPGA to load a digital pulse waveform, the waveform is transformed by FPGA, DAC, analog channel, etc. and then output as an analog waveform, which is the pulse response of the system;
[0033] (2) collecting the pulse response to obtain waveform data of the pulse response;
[0034] (3) performing inverse Fourier transform on the waveform data to obtain the frequency response function of the system;
[0035] (4) Taking the inverse of the frequency response function, obtain a new frequency response function, so that the product of the two frequency response functions is equal to 1.
[0036] (5) Perform Fourier transform on the new frequency response function to obtain the filter factor.
[0037] Step 2. Filter the waveform to be processed using the above filtering factor to obtain new waveform data;
[0038] Step 3. Use the relationship between frequency and phase in the FPGA to solve the edge position in real time, and then convert it into jitter points (for example Figure 2 The amplitude value of the jitter point;
[0039] Step 4. Then, the waveform in step 3 is average filtered, and the filter factor of the average filter is equal to [1 / N, 1 / N, ... 1 / N] (N is the required number of edge points). The waveform data obtained after filtering is the waveform data after the joint processing of the two methods;
[0040] Step 5. Output the waveform corresponding to the waveform data in step 4. The waveform obtained at this time is the waveform after overshoot and jitter are suppressed to the greatest extent.
[0041] The process proposed by the scheme analysis of the present invention is:
[0042] like Figure 2 As shown, the number of edge points, that is, the time of the rising edge is realized by using an averaging filter for the case where there are only two edge points. The order (number of taps) of the averaging filter is 1 less than the number of edge points after generation. The averaging filter h[n] = [0.2, 0.2, 0.2, 0.2, 0.2].
[0043] Since the sampling rate is not always divisible by the signal frequency, after the first waveform passes, when the second waveform calculates the sampling point corresponding to the corresponding frequency, the edge amplitude will be different. This difference will be adjusted by adjusting the first point of the edge, that is, Figure 2 The amplitude of the 19th point in the signal can be used to slightly adjust the delay time of the rising edge and the falling edge, and the adjustment range is 1 sampling time.
[0044] Since the overshoot elimination method requires pre-distortion processing of the edge amplitude, and the pre-distortion compensation amount is related to the number of edge points, different edge points correspond to different compensation amounts. Through experiments, it can be seen that when de-jittering is performed first and then pre-distortion compensation is performed, the overshoot phenomenon will be greatly improved, but it will also greatly affect the effect of jitter processing, especially when the number of edge points is small, the impact is more obvious. Therefore, consider performing pre-distortion compensation first and then filtering. Since the de-jittering process is the process of adding edge points, there are only two edge points before de-jittering, and the overshoot removal process requires at least 3 points (counting the points of the upper and lower edges), such as Figure 3 As shown in the figure, after compensating the overshoot of 3 points, if no dithering is performed, the output waveform is much better than that without compensation. Dithering is performed by adjusting the amplitude of the 8th, 9th, and 10th points. However, the number of edge points has increased to 4 points. Therefore, if the number of edge points is N, the compensated waveform should be convolved with a filter of order N-2.
[0045] The impact of the filter's non-zero points on the edge can be seen from the unit step function in the three cases where the edge length is 3 points, 5 points, and 11 points. When the average filter is convolved with a square wave, the edge points are 3 points, 5 points, and 11 points respectively. The number of edge points (time length) is equal to the number of non-zero points of the filter. When the frequency cannot be divided by the sampling rate, if no de-jittering is performed, that is, Figure 2 If the amplitude of the jitter point does not change with time, the waveform can only be obtained by FPGA calculation during the output process. Figure 2 In the two cases where the middle edge is 1 and 3, the edge after average filtering is only Figure 3 There are two cases 1 and 3 in the figure, and the edge keeps jumping between the two cases, which causes the waveform jitter in the time domain. Figure 3 The amplitude of the midpoint is adjusted so that it changes with the time offset of a sampling point in the interval [-1,1]. When jitter = 0, it should be the middle state between cases 1 and 3 in theory, and its delay is half of the sampling point. At this time, the delay resolution can be converted into amplitude resolution.
[0046] The length of the filter or the number of zero-filling points has no effect on the filtered waveform and its edges. Therefore, we can use only a filter with the corresponding number of points without adding extra zero points to reduce the amount of calculation. We can also take the smallest integer power of 2. Figure 4 The simulation results before and after the method of the present invention are shown in FIG. 1. It can be seen from the simulation result diagram that the overshoot of the waveform after pre-processing is greatly improved compared with that before processing.
[0047] The method of the present invention can greatly reduce waveform jitter and effectively suppress overshoot.
[0048] Of course, the above description is not a limitation of the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by technicians in this technical field within the essential scope of the present invention should also fall within the protection scope of the present invention.
Claims
1. A method for reducing jitter and eliminating overshoot during waveform generation, characterized in that: The overshoot and jitter problems that occur during waveform generation are solved by combining pre-distortion to reduce the side lobes of the impulse response function and average filtering. The specific steps are as follows: S1. Obtain the required filter factor in advance through the pre-distortion overshoot filter factor generation algorithm; S2. Filter the waveform to be processed using the filter factor to obtain new waveform data; S3. The relationship between frequency and phase is used in FPGA to solve the edge position in real time, and then converted into the amplitude value of the jitter point; S4. The waveform in step S3 is averaged and filtered by an average filter, and the waveform data obtained after filtering is the waveform data after the two methods are jointly processed; S5. Output the waveform corresponding to the waveform data in step S4; In step S1, a predistortion overshoot filter factor generation algorithm is used to solve the filter factor required for predistortion by measuring the inverse Fourier transform of the impulse response function. The specific process is as follows: S101. Use FPGA to load a digital pulse waveform, which is transformed by FPGA, DAC, analog channel, etc. to output an analog waveform, which is the pulse response of the system; S102. Collecting the impulse response to obtain waveform data of the impulse response; S103. Perform inverse Fourier transform on the waveform data to obtain a frequency response function of the system; S104. Taking the inverse of the frequency response function, obtain a new frequency response function, such that the product of the two frequency response functions is equal to 1; S105. Perform Fourier transform on the new frequency response function to obtain a filter factor.
2. The method for reducing jitter and eliminating overshoot during waveform generation according to claim 1, characterized in that: In step S4, the filter factor of the average filter is equal to [1 / N, 1 / N, ... 1 / N], where N is the required number of edge points.
Citation Information
Patent Citations
Compensation method for unbalanced broadband intermediate frequency signal amplitudes
CN103986484A
Method and device for clock synchronisation with a vestigial-sideband-modulated transmitted signal
US20060208786A1
