A modulation pulse synthesis device based on phase amplitude mapping

Through real-time calculation of phase amplitude mapping relationship, multi-parameter modulation of pulse waveforms is realized, which solves the problem of limited pulse waveform modulation in the prior art, provides high resolution and adjustable parameters, and improves the performance of waveform synthesis.

CN117713771BActive Publication Date: 2024-11-12UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202311826411.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-11-12
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

The existing digital synthesis pulse waveform modulation method is limited by memory depth and sampling rate, and cannot achieve rapid adjustment of internal parameters of pulse waveforms, resulting in limited waveform synthesis performance and the inability to achieve high resolution and adjustability of pulse parameters.

Method used

Using a modulation pulse synthesis device based on phase amplitude mapping, the phase amplitude mapping relationship is calculated in real time to realize the modulation of the pulse waveform multi-parameters, including frequency, phase, pulse width and amplitude modulation, using the upper computer, frequency modulation control module, and phase modulation Control module, pulse width modulation control module, amplitude modulation control module, phase accumulation module, phase comparison module, waveform sample point calculation module, digital-to-analog converter and low-pass filter to complete the high resolution and parameter adjustability of pulse waveforms .

Benefits of technology

It realizes high resolution and parameter adjustability of pulse waveforms, avoids the limitations of memory depth and sampling rate, provides high resolution and adjustable pulse parameters for the equipment being tested, and improves the timing resolution and flexibility of waveform synthesis. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117713771B_ABST
    Figure CN117713771B_ABST
Patent Text Reader

Abstract

The present invention provides a modulation pulse synthesis device based on phase-amplitude mapping. The device sends pulse parameters through a host computer, and the frequency, phase, pulse width, and amplitude modulation control modules receive the pulse parameters and store them and send them to the corresponding modules to complete the modulation of the waveform. The phase accumulation module determines the phase value P, and then the phase comparison module determines the state of the waveform. The waveform sample calculation module calculates and outputs the waveform samples of the rising edge, falling edge, high level, and low level segments, and then sends them to the digital-to-analog converter to realize analog signal output. Finally, the low-pass filter is used to filter out stray signals such as the mirror frequency to obtain a relatively pure pulse waveform. Through the scheme of the present invention, with the help of the mapping relationship between the phase and amplitude, the real-time calculation of the modulated pulse waveform is realized, so that the pulse waveform synthesis is no longer limited by the memory depth, and the pulse signal resolution adjustment is no longer subject to the limitation of the sampling clock frequency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital testing technology, and more specifically, to a modulation pulse synthesis device based on phase amplitude mapping. Background Art

[0002] Pulse signal generator is an important test tool in the field of electronic testing. With the continuous development of semiconductor technology and integrated circuits, new requirements have been put forward for the high precision, high resolution, multiple trigger modes, and modulation functions of pulse signal generators. The current modulation method of digital synthesized pulse waveform is mainly based on direct digital synthesis (DDS) technology. DDS is divided into DDWS (Direct Digital Waveform Synthesis) and DDFS (Direct Digital Frequency Synthesis). Among them, the new frequency generated by DDWS modulation must be achieved by changing the frequency of the sampling clock or the number of data points in the waveform memory. Therefore, this method is relatively limited in order to achieve high resolution. The frequency resolution of the signal synthesized and modulated by DDFS is jointly determined by the sampling clock frequency and the number of bits of the phase accumulator. Under the premise of not changing the stored waveform samples, only the change of the pulse waveform frequency can be achieved, but the rise / fall time and pulse width cannot be modulated quickly. That is, the traditional digital waveform synthesis method obtains digital waveform samples by addressing and outputting waveform samples. Therefore, the performance of the synthesized waveform is limited by the capacity of the lookup table, which affects the timing resolution of the synthesized waveform, causes waveform jitter, and cannot adjust the internal parameters of the waveform. In addition, in actual engineering applications, the waveform lookup table will also increase the complexity of the hardware circuit structure. Summary of the invention

[0003] In order to solve the problem that the internal parameters of the pulse waveform cannot be adjusted quickly and in real time in the existing pulse modulation technology, and the pulse waveform modulation is limited by the memory depth and sampling rate, the present invention provides a modulation pulse synthesis device based on phase-amplitude mapping, which completes the modulation of multiple parameters of the pulse waveform through real-time calculation of the phase-amplitude mapping relationship, and provides a high-resolution signal with adjustable pulse parameters for the tested device.

[0004] The present invention provides a modulation pulse synthesis device based on phase amplitude mapping, comprising:

[0005] Host computer, used to calculate and send pulse parameters;

[0006] The frequency modulation control module, the phase modulation control module, the pulse width modulation control module, and the amplitude modulation control module are used to receive the parameters sent by the host computer, store the parameters and send them to the corresponding modules to complete the modulation of the pulse waveform;

[0007] The phase accumulation module receives the parameter value output by the frequency modulation control module, and after the waveform is mapped from the time domain t to the phase φ, accumulates the phase value with a step K in each clock cycle, and outputs the accumulated phase value P to the phase comparison module;

[0008] A phase comparison module receives the outputs of the pulse width modulation control module, the phase modulation module and the phase accumulation module, and compares the obtained phase value P with the cycle start point A, the rising edge end point B, the high level end point C, the falling edge end point D and the cycle end point E of the pulse waveform to determine the state of the pulse waveform, wherein the state includes the rising edge, the high level, the falling edge and the low level;

[0009] The waveform sample calculation module receives the outputs of the frequency modulation control module, the phase modulation control module, the pulse width modulation control module and the phase comparison module, and uses the phase value P and the waveform characteristic parameter (K r , K W , K f ,f,V H 、V L ) to calculate the waveform sample point values ​​of different states of the pulse waveform and output them to the digital-to-analog converter;

[0010] A digital-to-analog converter is used to receive the output of the waveform sample point calculation module and the amplitude modulation control module, perform digital-to-analog conversion on the waveform sample point data, and send the converted analog signal to a low-pass filter;

[0011] The low-pass filter is used to perform low-pass filtering on the analog signal output by the digital-to-analog converter, remove stray signals, and output a relatively pure pulse waveform.

[0012] Furthermore, the expression for phase accumulation by the phase accumulation module is nK-M×2 N , where n is a non-negative integer 0, 1, 2, ..., and K is the uniform quantization of the phase 2 N The increment after equal division, where N is the phase width, M is the overflow flag, M is 1 each time overflow occurs, and M is 0 when there is no overflow. When the phase accumulation value reaches the threshold 2 N After -1, an overflow occurs, and the phase value after the overflow is P+nK-2 N .

[0013] Furthermore, the pulse waveform samples within one cycle can be described by the following formula:

[0014]

[0015] Among them, V H is the high level waveform sample point, V L is a low-level waveform sample point, and the period of the pulse signal is 1 / f. T r is the rise time, T f is the fall time, T w is the pulse width, and the calculation formula of the phase value P is:

[0016] Furthermore, the calculation formulas for A, B, C, D, and E are:

[0017]

[0018] Among them, the phase value P and time t exist f×2 N Proportional mapping relationship.

[0019] Furthermore, the pulse parameters include frequency-related variables, and the frequency-related variables are K, B, C, D, K r / f, K f / f, the host computer calculates these six variables and sends them to the frequency modulation control module. After receiving these variables, the frequency modulation control module stores them in the FPGA on-chip RAM. Among them, variable K enters the phase accumulation module to calculate the phase, variables B, C, and D enter the phase comparison module to determine the state of the pulse waveform, and variable K r / f, K f / f enters the waveform sample point calculation module to calculate the rising edge and falling edge waveform sample point values ​​to achieve frequency modulation of the pulse waveform.

[0020] Furthermore, the pulse parameters also include variables related to the phase, and the variable related to the phase is P. After the upper computer calculates the variable P, it sends it to the phase modulation control module. After receiving these variables, the phase modulation control module stores them in the FPGA on-chip RAM. After the phase P is read out from the RAM, it enters the phase comparison module and the waveform sample calculation module to perform waveform segment discrimination and calculation of the rising and falling edge waveform sample point values ​​to achieve phase modulation of the pulse waveform.

[0021] Furthermore, the pulse parameters also include variables related to the amplitude, and the amplitude modulation is achieved by multiplying the waveform sample points by the amplitude modulation factor after the waveform sample point calculation module calculates the waveform sample points.

[0022] The present invention provides a modulation pulse synthesis device based on phase-amplitude mapping. The pulse parameters are sent by the host computer. After the frequency, phase, pulse width and amplitude modulation control modules receive the pulse parameters, they are stored and sent to the corresponding modules to complete the modulation of the waveform. Under the fixed sampling rate of the sampling clock, the phase accumulation module accumulates in steps of K in each clock cycle to determine the phase value P. Then, the phase comparison module compares the phase value P with the pulse waveform state transition points A, B, C, D, and E to determine the state of the waveform. Then, the waveform sample calculation module calculates and outputs the waveform samples of the rising edge, falling edge, high level, and low level segments, which are then sent to the digital-to-analog converter to realize analog signal output. Finally, the low-pass filter is used to filter out stray signals such as the mirror frequency to obtain a relatively pure pulse waveform. Through the scheme of the present invention, with the help of the mapping relationship between the phase and amplitude, the real-time calculation of the modulated pulse waveform is realized, so that the pulse waveform synthesis is no longer limited by the memory depth, and the pulse signal resolution adjustment is no longer subject to the limitation of the sampling clock frequency, providing a high-resolution signal with adjustable pulse parameters for the tested device. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 It is a principle framework diagram of a modulation pulse synthesis device based on phase amplitude mapping provided by an embodiment of the present invention;

[0025] Figure 2 is a relationship diagram of pulse waveform phase and amplitude mapping provided by an embodiment of the present invention;

[0026] Figure 3 It is a diagram of the relationship between pulse waveform time parameters and phase mapping provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] Figure 1 The invention is a principle block diagram of a modulation pulse synthesis device based on phase amplitude mapping.

[0029] In this embodiment, if Figure 1 As shown, a modulation pulse synthesis device based on phase amplitude mapping includes: a host computer, a frequency modulation control module, a phase modulation control module, a pulse width modulation control module, an amplitude modulation control module, a phase accumulation module, a phase comparison module, a waveform sample calculation module, a digital-to-analog converter, and a low-pass filter; each submodule is described in detail below:

[0030] The host computer is used to calculate and send pulse parameters and control signals to complete human-computer interaction;

[0031] The frequency, phase, pulse width and amplitude modulation control module is used to receive the parameters sent by the host computer, store the parameters, and complete the modulation of the pulse waveform through variables such as K, B, C, and D;

[0032] The phase accumulation module receives the parameter value output by the frequency modulation control module. After the waveform is mapped from the time domain t to the phase φ, it is used to accumulate the phase value in steps of K in each clock cycle. Its mathematical expression is nK-M×2 N , where n is a non-negative integer 0, 1, 2, ..., K is the uniform quantization of the phase 2 N The increment after equal division, where N is the phase width, M is the overflow flag, M is 1 each time overflow occurs, and M is 0 when there is no overflow. The phase accumulation module accumulates in steps of K in each clock cycle. When the phase accumulation value reaches the threshold 2 N After -1, an overflow occurs, and the phase value after the overflow is P+nK-2 N ; Finally, the accumulated phase value P is output to the phase comparison module;

[0033] The phase comparison module receives the outputs of the pulse width modulation control module, the phase modulation module and the phase accumulation module, and compares the obtained phase value P with the cycle start point A, the rising edge end point B, the high level end point C, the falling edge end point D and the cycle end point E of the pulse waveform to determine which state the waveform is in: S1 (rising edge), S2 (high level), S3 (falling edge) or S4 (low level);

[0034] The waveform sample point calculation module receives the outputs of the frequency modulation control module, the phase modulation control module, the pulse width modulation control module and the phase comparison module, and is used to calculate the waveform sample point values ​​of different states of the pulse waveform. When S1 is 1 and S2, S3 and S4 are 0, the waveform enters the rising edge stage, and the value of the rising edge waveform sample point is calculated and output; when S2 is 1 and S1, S3 and S4 are 0, the waveform enters the high level stage, and the amplitude is set to a high level; when S3 is 1 and S1, S2 and S4 are 0, the waveform enters the falling edge stage, and the value of the falling edge waveform sample point is calculated and output; when S4 is 1 and S1, S2 and S3 are 0, the waveform enters the low level stage, and the amplitude is set to a low level;

[0035] A digital-to-analog converter is used to receive the output of the waveform sample calculation module and the amplitude modulation control module, convert the received digital pulse waveform sample points into analog quantities and send them to the low-pass filter;

[0036] The low-pass filter is used to filter the analog signal output by the digital-to-analog converter, filter out the stray signals, and achieve pure pulse signal output. Due to the zero-order hold characteristic of the digital-to-analog converter, the analog signal output contains stray signals including the image frequency. The analog signal containing the stray signals needs to be filtered to obtain a pure pulse signal. The low-pass filter filters out the high-order harmonics and image frequencies outside the bandwidth of the pulse signal required by the user to obtain a high-resolution pulse signal with a controllable rising edge.

[0037] Figure 2 It is a pulse waveform phase and amplitude mapping relationship diagram.

[0038] like Figure 2 As shown, in this embodiment, the rising edge waveform sample point, the high level waveform sample point, the falling edge waveform sample point and the low level waveform sample point can be obtained by the following calculation formula:

[0039] The period of the pulse signal is 1 / f;

[0040] High level waveform sample point: V H ;

[0041] Low level waveform sample point: V L ;

[0042] Rising edge waveform sample point calculation formula: in T r is the rise time;

[0043] Falling edge waveform sample point calculation formula: in T f is the fall time, T w is the pulse width;

[0044] Phase value P calculation formula:

[0045] In general, the pulse waveform samples in one cycle can be described by the following formula:

[0046]

[0047] like Figure 2 As shown, by mapping the pulse waveform amplitude and phase one by one, its phase step K, that is, the resolution, is related to the selected bit number N.

[0048] Figure 3 It is the mapping relationship between pulse waveform time parameters and phase.

[0049] like Figure 3 As shown, the high and low levels of the pulse signal are V H and V L , the period of the pulse signal is 1 / f, and the rise time is T r The fall time T is the time for the level to transition from 10% to 90% of the amplitude. f The pulse width T is the time for the level to transition from 90% to 10% of the amplitude. w It is the time for the pulse high level to transition from 50% amplitude in the rising edge to 50% amplitude in the falling edge. A is the starting point of the pulse waveform cycle, B is the end point of the rising edge, C is the end point of the high level, D is the end point of the falling edge, and E is the end point of the pulse waveform cycle.

[0050] In this embodiment, the phase value P and time t have a relationship of f×2 N Proportional mapping relationship, according to Figure 3 , the calculation formulas for A, B, C, D, and E are:

[0051]

[0052] The frequency-related variables in the present invention are K, B, C, D, K r / f, K f / f, the host computer calculates these six variables and sends them to the frequency modulation control module. After receiving these variables, the frequency modulation control module stores them in the FPGA on-chip RAM. K enters the phase accumulation module to calculate the phase, B, C, and D enter the phase comparison module to determine the state of the pulse waveform, and K r / f, K f / f enters the waveform sample point calculation module to calculate the rising and falling edge waveform sample point values ​​to achieve frequency modulation of the pulse waveform.

[0053] The variable related to the phase of the present invention is P. After the host computer calculates the variable P, it is sent to the phase modulation control module. After receiving these variables, the phase modulation control module stores them in the RAM on the FPGA chip. After the phase P is read from the RAM, it enters the phase comparison module and the waveform sample point calculation module to perform waveform segment discrimination and calculation of the rising and falling edge waveform sample point values ​​to achieve phase modulation of the pulse waveform. The variables related to the amplitude are C, D, and K. w , the amplitude modulation is realized by multiplying the amplitude modulation factor after the waveform sample point calculation module calculates the waveform sample points.

[0054] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A modulation pulse synthesis device based on phase amplitude mapping, characterized in that: The device comprises: Host computer, used to calculate and send pulse parameters; The frequency modulation control module, the phase modulation control module, the pulse width modulation control module, and the amplitude modulation control module are used to receive the parameters sent by the host computer, store the parameters and send them to the corresponding modules to complete the modulation of the pulse waveform; The phase accumulation module receives the parameter value output by the frequency modulation control module, and after the waveform is mapped from the time domain t to the phase φ, it is used to accumulate the phase value with a step K in each clock cycle under the fixed sampling rate of the sampling clock, and output the accumulated phase value P to the phase comparison module; A phase comparison module receives the outputs of the pulse width modulation control module, the phase modulation module and the phase accumulation module, and compares the obtained phase value P with the cycle start point A, the rising edge end point B, the high level end point C, the falling edge end point D and the cycle end point E of the pulse waveform to determine the state of the pulse waveform, wherein the state includes the rising edge, the high level, the falling edge and the low level; A waveform sample point calculation module receives the outputs of the frequency modulation control module, the phase modulation control module, the pulse width modulation control module and the phase comparison module, calculates the waveform sample point values ​​of different states of the pulse waveform by means of the phase value P and the waveform characteristic parameters, and outputs them to the digital-to-analog converter; A digital-to-analog converter is used to receive the output of the waveform sample point calculation module and the amplitude modulation control module, perform digital-to-analog conversion on the waveform sample point data, and send the converted analog signal to a low-pass filter; A low-pass filter is used to perform low-pass filtering on the analog signal output by the digital-to-analog converter, remove stray signals, and output a pulse waveform; The pulse parameters include frequency-related variables, which are K, B, C, D, K r / f, K f / f, the host computer calculates these six variables and sends them to the frequency modulation control module. After receiving these variables, the frequency modulation control module stores them in the FPGA on-chip RAM. Among them, variable K enters the phase accumulation module to calculate the phase, variables B, C, and D enter the phase comparison module to determine the state of the pulse waveform, and variable K r / f, K f / f enters the waveform sample point calculation module to calculate the rising and falling edge waveform sample point values ​​to achieve the frequency modulation of the pulse waveform. K is to quantize the phase uniformly 2 N The increment after equal division, N is the phase width; The pulse parameters also include phase-related variables, and the phase-related variables are phase values ​​P. After the host computer calculates the phase value P, it is sent to the phase modulation control module. After receiving these variables, the phase modulation control module stores them in the RAM on the FPGA chip. After the phase value P is read out from the RAM, it enters the phase comparison module and the waveform sample point calculation module to perform waveform segment discrimination and calculation of the rising edge and falling edge waveform sample point values ​​to achieve phase modulation of the pulse waveform; The pulse parameters also include variables related to amplitude, and the variables related to amplitude are C, D, K w ,Amplitude modulation is realized by multiplying the amplitude modulation factor after the waveform sample point calculation module calculates the waveform sample points; Waveform characteristic parameters include K r , K W , K f ,f,V H 、V L , V H is the high level waveform sample point, V L is a low level waveform sample point, T r is the rise time, T f is the fall time, T w is the pulse width, N is the phase width, and the period of the pulse signal is 1 / f.

2. The device according to claim 1, characterized in that The expression for phase accumulation by the phase accumulation module is nK-M×2 N , where n is a non-negative integer 0, 1, 2, ..., M is the overflow flag, M is 1 every time overflow occurs, and M is 0 when there is no overflow. When the phase accumulation value reaches the threshold 2 N After -1, an overflow occurs, and the phase value after the overflow is P+nK-2 N .

3. The device according to claim 2, characterized in that The pulse waveform sample points within one cycle are calculated using the following formula: The calculation formula of the phase value P is:

4. The device according to claim 3, characterized in that The calculation formulas for A, B, C, D, and E are: Among them, the phase value P and time t exist f×2 N Proportional mapping relationship.

Citation Information

Patent Citations

  • Method and system for converting phase amplitude applied to DDS

    CN101354597A

  • Digital modulation signal generator based on DDS

    CN101776935A

  • Method and module for DDS (direct digital synthesizer) pulse edge adjusting and pulse signal generator

    CN103178809A

  • High-resolution pulse signal synthesis device

    CN113376585A

  • High-resolution pulse waveform generating device based on DDS

    CN113434006A