Vector signal generator-based arbitrary length waveform construction method, system, device and storage medium

By adaptively reconstructing new waveform data, the problem that vector signal generators cannot emit waveforms of arbitrary length is solved, the processing is simplified, and the integrity and periodicity of the signal are guaranteed.

CN120848685BActive Publication Date: 2025-12-30SUZHOU SAIMAI MEASUREMENT & CONTROL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511343958.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-19
Publication Date
2025-12-30
Estimated Expiration
2045-09-19

AI Technical Summary

Technical Problem

Existing technologies cannot effectively transmit raw waveform files of arbitrary length, and existing methods are complex, making it difficult to remove invalid data and splice valid data, which affects the signal shape and periodicity.

Method used

By determining the burst operation multiplier K and the repetition factor M, new waveform data is adaptively reconstructed, ensuring that the signal periodicity and shape are not destroyed, and simplifying the internal logic judgment and data processing of the FPGA.

Benefits of technology

It enables the efficient transmission of waveform files of arbitrary length, reduces design complexity, simplifies internal FPGA processing, and ensures the shape and periodicity of the signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120848685B_ABST
    Figure CN120848685B_ABST
Patent Text Reader

Abstract

The application provides a vector signal generator-based arbitrary-length waveform construction method, system, device and storage medium, and belongs to the technical field of communication. The method comprises the following steps: S1, determining the length L and bit width W1 of input original waveform file data, wherein the original waveform file has an arbitrary waveform length; S2, determining the fixed burst operation length N of a read-write DDR chip used by the vector signal generator and the fixed data bit width W2 of the DDR chip; S3, determining a burst operation multiple factor K, wherein the burst operation multiple factor K is the ratio of the burst operation bit width to the original waveform file data bit width; S4, determining a repetition factor M according to the original waveform file data length L and the burst operation multiple factor K; and S5, adaptively reconstructing new waveform data according to the repetition factor M and the original waveform file. The application can achieve the loading of original waveform files with an arbitrary waveform length, and the method is simple and easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method, system, device, and storage medium for constructing waveforms of arbitrary length based on a vector signal generator. Background Technology

[0002] With the rapid development of broadband wireless digital communication, vector signal generators play a crucial role in the research and testing of numerous industries, including communications and radar. Vector signal generators are primarily responsible for the high-speed transmission and emission of various types of vector signals. In practical applications, depending on the application scenario, the vector signal generator loads a given raw waveform data file of a specific type and length suitable for the current scenario for transmission. Since the industries and scenarios in which vector signal generators are used vary, the required length of the raw waveform data file to be transmitted also varies. Therefore, it is crucial that vector signal generators can transmit raw waveform data files of arbitrary length.

[0003] In existing technologies, such as Figure 1 As shown, waveform transmission is performed using a specially limited waveform length. Since the vector signal generator internally uses a fixed burst operation length for writing and cyclic reading operations on the DDR, the amount of information contained in the original waveform file must be an integer multiple of the DDR burst operation bit width. The original waveform file data length is L, the original waveform file data bit width is W1, the fixed burst operation length is N, and the DDR data bit width is W2, meaning that L must be satisfied. W1 must be N W2 is an integer multiple of N, that is, L is N. A multiple of W2 / W1.

[0004] Waveform transmission employs a specially restricted waveform length, meaning the waveform length must be an integer multiple of N*W2 / W1. Only with a raw waveform file using this restricted length can the shape and periodicity of the original signal transmitted by the vector signal generator be preserved. This technique is not suitable for transmitting raw waveform files of arbitrary length. If an arbitrary waveform length is used without the restricted length, the shape and periodicity of the original signal from the vector signal generator will be destroyed; that is, the transmitted signal will not be the intended original periodic signal waveform.

[0005] To address the issue of being able to transmit raw waveform files of arbitrary length, such as... Figure 2As shown, complex functional modules such as logic judgment, data selection, and splicing are added inside the FPGA to complete waveform transmission. Since the vector signal generator uses fixed burst lengths for writing to and cyclically reading from the DDR, if an arbitrary length original waveform file is used, a small amount of invalid data will be introduced at the end of each cyclic transmission. To effectively remove this invalid data without disrupting the shape and periodicity of the original signal, a complex functional module needs to be added inside the FPGA. This removal method often requires adding a complex module after the FPGA reads data from the DDR with a fixed burst length to perform logic judgment, identify and remove the invalid data, and perfectly splice the valid data before and after, all without affecting the data transmission rate and throughput. Adding this functional module to the FPGA is often quite complex, and sometimes even difficult, to implement.

[0006] Existing technologies require the use of specially limited waveform lengths for waveform transmission; or complex operation modules such as logic judgment, data selection and splicing are added inside the FPGA to complete waveform transmission, which is a complicated method. Summary of the Invention

[0007] To address the technical problems existing in the prior art, this invention provides a method, system, device, and storage medium for constructing waveforms of arbitrary length based on a vector signal generator. This method and system can support the transmission of original file waveforms of arbitrary length while reducing design complexity and being easy to implement.

[0008] This invention provides a method for constructing waveforms of arbitrary length based on a vector signal generator, comprising the following steps:

[0009] S1, determine the length L and bit width W1 of the input original waveform file data, where the original waveform file has an arbitrary waveform length;

[0010] S2, determine the fixed burst operation length N of the read / write DDR chip used by the vector signal generator and the fixed data bit width W2 of the DDR chip;

[0011] S3, determine the burst operation multiplier factor K, where the burst operation multiplier factor K is the ratio of the burst operation bit width to the original waveform file data bit width;

[0012] S4. Determine the repetition factor M based on the original waveform file data length L and the burst operation multiplier factor K;

[0013] S5 adaptively reconstructs new waveform data based on the repetition factor M and the original waveform file.

[0014] Preferably, the original waveform file is an original waveform file with an integer multiple of the signal period.

[0015] Preferably, the burst operation bit width is N. W2, K=N W2 / W1.

[0016] Preferably, step S4, which involves classifying and determining the repetition factor M based on the original waveform file data length L and the burst operation multiplier factor K, specifically includes the following steps:

[0017] First type, finding L If the remainder of 1 / K is 0, then the repetition factor M = 1 and the classification judgment stops; if the remainder is not 0, the second classification judgment is performed.

[0018] The second type is to find L. If the remainder of 2 / K is 0, then the repetition factor M = 2 and the classification judgment stops; if the remainder is not 0, the third category classification judgment is performed.

[0019] Based on the above, the classification judgment continues in this manner until the classification judgment of the (K-1)th class is reached;

[0020] For the (K-1)th class, find L If the remainder of (K-1) / K is 0, then the repetition factor M = K-1 is determined, and the classification judgment stops; if the remainder is not 0, then the repetition factor M = K is determined, and the classification judgment stops.

[0021] Preferably, in step S5, the adaptive reconstruction of new waveform data based on the repetition factor M and the original waveform file specifically involves: copying the original waveform file data M times based on the repetition factor M, using it as new waveform data, and determining the length of the new waveform data as LL=L*M, thereby completing the adaptive reconstruction of the new waveform data.

[0022] The present invention also provides an arbitrary length waveform transmission system based on a vector signal generator, comprising: an input raw waveform file, a host computer, a DDR, an FPGA, and a digital-to-analog converter (DAC);

[0023] The original waveform file has an arbitrary waveform length;

[0024] The host computer loads the original waveform file data, constructs new waveform data of arbitrary length using the above-mentioned arbitrary length waveform construction method based on vector signal generator, and sends the new waveform data to the FPGA;

[0025] The FPGA writes new waveform data to the DDR for buffering with a fixed burst operation length. The FPGA also reads new waveform data buffered in the DDR in a loop with a fixed burst operation length. The FPGA then transmits the looped new waveform data to the digital-to-analog converter (DAC) for transmission.

[0026] The present invention provides an arbitrary length waveform transmitting device based on a vector signal generator, including a processor, the processor being capable of executing a computer program that can implement the above-described arbitrary length waveform construction method based on a vector signal generator.

[0027] The present invention provides a storage medium storing a computer program that can implement the above-described method for constructing waveforms of arbitrary length based on a vector signal generator.

[0028] Compared with the prior art, the beneficial effects of the present invention are as follows:

[0029] This invention integrates fixed burst operation length, DDR data bit width, original waveform file data length, and original waveform file data bit width to determine the repetition factor through classification judgment. Then, new waveform data is reconstructed by repetition factor and original waveform file. It can load original waveform files of arbitrary waveform length, avoid adding complex and difficult-to-implement logic judgment, invalid data removal and valid data splicing functional modules inside FPGA. The method is simple and easy to implement. Attached Figure Description

[0030] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0031] Figure 1 This is a schematic diagram of the waveform transmission process in the prior art that utilizes specially limited waveform lengths;

[0032] Figure 2 A flowchart illustrating the process of adding complex operation modules such as logic judgment, data selection and splicing to the FPGA to complete waveform transmission in the existing technology;

[0033] Figure 3 This is a schematic diagram of the transmission process of an arbitrary length waveform transmission system based on a vector signal generator, according to an embodiment of the present invention. Detailed Implementation

[0034] The specific embodiments of the present invention will be described in detail below.

[0035] This invention provides a method for constructing waveforms of arbitrary length based on a vector signal generator, comprising the following steps:

[0036] S1, determine the length L and bit width W1 of the input original waveform file data, where the original waveform file has an arbitrary waveform length;

[0037] S2, determine the fixed burst operation length N of the read / write DDR chip used by the vector signal generator and the fixed data bit width W2 of the DDR chip;

[0038] S3, determine the burst operation multiplier factor K, where the burst operation multiplier factor K is the ratio of the burst operation bit width to the original waveform file data bit width;

[0039] S4. Determine the repetition factor M based on the original waveform file data length L and the burst operation multiplier factor K;

[0040] S5 adaptively reconstructs new waveform data based on the repetition factor M and the original waveform file.

[0041] According to one specific embodiment of the present invention, the original waveform file is an original waveform file having an integer multiple of the signal period.

[0042] According to a specific embodiment of the present invention, the burst operation bit width is N. W2, K=N W2 / W1.

[0043] According to a specific embodiment of the present invention, step S4, classifying and determining the repetition factor M based on the original waveform file data length L and the burst operation multiplier factor K, specifically includes the following steps:

[0044] First type, finding L If the remainder of 1 / K is 0, then the repetition factor M = 1 and the classification judgment stops; if the remainder is not 0, the second classification judgment is performed.

[0045] The second type is to find L. If the remainder of 2 / K is 0, then the repetition factor M = 2 and the classification judgment stops; if the remainder is not 0, the third category classification judgment is performed.

[0046] Based on the above, the classification judgment continues in this manner until the classification judgment of the (K-1)th class is reached;

[0047] For the (K-1)th class, find L If the remainder of (K-1) / K is 0, then the repetition factor M = K-1 is determined, and the classification judgment stops; if the remainder is not 0, then the repetition factor M = K is determined, and the classification judgment stops.

[0048] According to a specific embodiment of the present invention, in step S5, the adaptive reconstruction of new waveform data based on the repetition factor M and the original waveform file specifically involves: copying the original waveform file data M times according to the repetition factor M, using these copies as new waveform data, and determining the length of the new waveform data as LL=L. M completes the adaptive reconstruction of the new waveform data.

[0049] like Figure 3 As shown, the present invention also provides an arbitrary length waveform transmission system based on a vector signal generator, comprising: an input raw waveform file, a host computer, a DDR, an FPGA, and a digital-to-analog converter (DAC);

[0050] The original waveform file has an arbitrary waveform length;

[0051] The host computer loads the original waveform file data, constructs new waveform data of arbitrary length using the above-mentioned arbitrary length waveform construction method based on vector signal generator, and sends the new waveform data to the FPGA;

[0052] The FPGA writes new waveform data to the DDR for buffering with a fixed burst operation length. The FPGA also reads new waveform data buffered in the DDR in a loop with a fixed burst operation length. The FPGA then transmits the looped new waveform data to the digital-to-analog converter (DAC) for transmission.

[0053] The present invention provides an arbitrary length waveform transmitting device based on a vector signal generator, including a processor, the processor being capable of executing a computer program that can implement the above-described arbitrary length waveform construction method based on a vector signal generator.

[0054] The present invention provides a storage medium storing a computer program that can implement the above-described method for constructing waveforms of arbitrary length based on a vector signal generator.

[0055] Example 1

[0056] The method for constructing arbitrary length waveforms based on a vector signal generator according to a specific embodiment of the present invention will be described in detail below.

[0057] In this embodiment, the original waveform file has 20 data points as one signal cycle, and there are 10 signal cycles in total. That is, the original waveform file has a data length of 200, and each data point in the original waveform file has a bit width of 32 bits. The vector signal generator is designed to read and write DDR with a fixed burst operation length of 8, and the DDR used in the vector signal generator has a fixed data bit width of 64 bits.

[0058] This embodiment provides a method for constructing waveforms of arbitrary length based on a vector signal generator, including the following steps:

[0059] 1. Determine the original waveform file data length L=200, the original waveform file data bit width W1=32, the fixed burst operation length N=8 for reading and writing DDR, and the fixed data bit width W2=64 for DDR;

[0060] 2. Determine the burst operation multiplier K, where K is the ratio of the burst operation bit width to the original waveform file data bit width (W1=32), and the burst operation bit width is N. W2=8 64 = 512, further K = N W2 / W1=16;

[0061] 3. Based on the original waveform file data length L=200 and burst operation multiplier factor K=16, classify and determine the repetition factor M;

[0062] Since the burst operation multiplication factor K=16 has been determined, the following classification judgments will be performed sequentially to determine the repetition factor M:

[0063] First type, finding L 1 / K=200 The remainder of 1 / 16 is 8. Since the remainder is not 0, we continue to the second category classification judgment.

[0064] The second type is to find L. 2 / K=200 If the remainder of 2 / 16 is 0, then the repetition factor M = 2, and the classification judgment is stopped.

[0065] 4. Based on the determined repetition factor M=2, adaptively reconstruct new waveform data and determine the length LL of the new waveform data.

[0066] Based on the repetition factor M=2, new waveform data is adaptively reconstructed, and the original waveform file data is copied twice and assigned to the new waveform data.

[0067] Based on the repetition factor M=2, the new waveform data length LL=L is determined. M=200 2 = 400.

[0068] Example 2

[0069] The arbitrary length waveform transmission system based on a vector signal generator of the present invention will be described in detail below according to a specific embodiment of the present invention. For any content not covered in detail, please refer to the method described above.

[0070] like Figure 3 As shown, in this embodiment, the same parameters as in Embodiment 1 are used, namely: the original waveform file has 20 data points as one signal cycle, and there are 10 signal cycles in total, that is, the original waveform file data length is 200, the bit width of each data point in the original waveform file is 32 bits, the fixed burst operation length of the vector signal generator for reading and writing DDR is 8, and the fixed data bit width of the DDR used in the vector signal generator is 64 bits.

[0071] This invention provides an arbitrary length waveform transmission system based on a vector signal generator, comprising: an input raw waveform file, a host computer, DDR, FPGA, and a digital-to-analog converter (DAC);

[0072] 1. The length of the original waveform file of the input vector signal generator is known. The data length L of the original waveform file can be any value. In this embodiment, the data length L of the original waveform file is 200. The known original waveform file is an integer multiple of the signal period, that is, 20 data points constitute one signal period. There is a total of 10 signal periods in the original waveform file, that is, the data length of the original waveform file is 200 data points, and the bit width of each data point in the original waveform file is 32 bits.

[0073] 2. The host computer software loads the original waveform file data, classifies and determines the reconstruction factor according to the above method, adaptively reconstructs new waveform data, and sends the new waveform data to the FPGA:

[0074] If, using existing technology, the original waveform file data is directly stored in DDR, and the FPGA performs data writing and cyclic reading operations on the 64-bit DDR with a fixed burst operation length of 8, a small amount of invalid data will appear at the end of each loop read, disrupting the original shape and periodicity of the output signal. This is because directly storing the original waveform file data in DDR requires storing 200... 32 = 6400 bits of information. When performing a burst write operation on a 64-bit DDR memory with a fixed burst operation length of 8, the data width of each burst operation is 8 bits. 64 = 512 bits of information. Since the 6400 bits of information to be stored is not an integer multiple of the 512-bit data width of a burst operation (6400 / 512 = 12.5), 13 burst operations are needed to store all 6400 bits of information in the DDR. The information stored in the DDR after 13 burst operations is 13... The data size is 512 = 6656 bits, while the original waveform file only contains 6400 bits. The data cached in DDR will contain 6656 - 6400 = 256 bits of invalid information. When the FPGA performs cyclic burst read operations on 64-bit DDR data with a fixed burst length of 8, each loop read will end with 256 bits of invalid data, thus disrupting the original shape and periodicity of the output signal.

[0075] In this invention, the host computer uses the above method to classify and determine the reconstruction factor M, and then adaptively reconstructs the new waveform data based on the reconstruction factor M. This ensures that the reconstructed waveform data maintains the original shape and periodicity of the signal. According to Example 1, the determined reconstruction factor M = 2, and the new waveform data is adaptively reconstructed by copying the original waveform file data twice as the new waveform data. The length of the new waveform data is determined to be LL = L. M=200 2 = 400.

[0076] The host computer sends new waveform data to the FPGA. The length of the new waveform data is 400 data points, and the bit width of the new waveform data is still 32 bits.

[0077] 3. The FPGA writes the new waveform data into a 64-bit DDR buffer with a fixed burst operation length of 8. Since the reconstructed new waveform data is reconstructed based on four factors: fixed burst operation length, DDR data width, original waveform file data length, and original waveform file data width, the shape and periodicity of the original signal are guaranteed in the reconstructed new waveform data. At the same time, the FPGA writes the new waveform data into the DDR buffer with a fixed burst operation length, which does not destroy the shape and periodicity of the original signal.

[0078] According to Example 1, the reconstruction factor M=2 is determined, and the length of the reconstructed waveform data LL=L. M=200 2 = 400. Since the original waveform file has 20 data points per signal cycle, totaling 10 signal cycles, the reconstructed waveform data has 20 signal cycles, still an integer multiple of the original signal cycle. The new waveform data is stored in DDR, requiring 400 bytes to be stored. 32 = 12800 bits of information, while when the FPGA performs a burst write operation on a 64-bit DDR with a fixed burst operation length of 8, the data width of each burst operation is 8. 64 = 512 bits of information. Since the 12800 bits of information that the new waveform data needs to be stored is an integer multiple of the 512-bit information of the burst operation data, that is, 12800 / 512 = 25, performing 25 burst write DDR operations can completely store the 12800 bits of information that the new waveform data needs to be stored into DDR, while not introducing any invalid information.

[0079] 4. Cache new waveform data in DDR.

[0080] 5. The FPGA continues to read new waveform data from the 64-bit DDR memory cache using a fixed burst operation length of 8 cycles. Because the reconstructed new waveform data takes into account the fixed burst operation length and the DDR data width, the FPGA reads the new waveform data from the DDR cache using a fixed burst operation length. Each cycle reads data without invalid data at the end, thus ensuring the periodicity of the output signal.

[0081] 6. The FPGA sends the data read in a loop to the digital-to-analog converter (DAC) for transmission.

[0082] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.

Claims

1. A method for arbitrary length waveform construction based on a vector signal generator, characterized by, The method comprises the following steps: S1, determining the length L and the bit width W1 of the input original waveform file data, wherein the original waveform file has an arbitrary waveform length; S2, determining the fixed burst operation length N of the read-write DDR chip and the fixed data bit width W2 of the DDR chip used by the vector signal generator; S3, determining a burst operation multiple factor K, wherein the burst operation multiple factor K is a ratio of a burst operation bit width to an original waveform file data bit width; the burst operation bit width is N W2, K = N W2 / W1; S4, determining the repetition factor M according to the length L of the original waveform file data and the burst operation multiple factor K; S5, reconstructing new waveform data according to the repetition factor M and the original waveform file; In step S4, the repetition factor M is determined according to the length L of the original waveform file data and the burst operation multiple factor K, and the specific steps comprise the following steps: The first type is to obtain the remainder of L 1 / K, if the remainder is 0, it is determined that the repetition factor M = 1, and the classification judgment is stopped; if the remainder is not 0, the second type of classification judgment is performed; The second type is to obtain the remainder of L 2 / K, if the remainder is 0, it is determined that the repetition factor M=2, and the classification judgment is stopped; if the remainder is not 0, the third type of classification judgment is performed; According to the above, the classification judgment is continued in this way until the classification judgment of the K-1th category is performed; Class K-1, find L (K-1) mod K, if the remainder is 0, then determine the repetition factor M = K-1, stop classification; if the remainder is not 0, then determine the repetition factor M = K, stop classification; In step S5, the new waveform data is adaptively reconstructed according to the repetition factor M and the original waveform file, specifically: according to the repetition factor M, the original waveform file data is copied M times as the new waveform data, and the length LL of the new waveform data is determined as L M, and the adaptive reconstruction of the new waveform data is completed.

2. The method of claim 1, wherein, The original waveform file is an original waveform file with an integer multiple of a signal period.

3. A vector signal generator based arbitrary length waveform transmission system, comprising: It comprises: The input original waveform file, the upper computer, the DDR, the FPGA and the digital-to-analog converter DAC; The original waveform file has an arbitrary waveform length; The upper computer loads the original waveform file data, uses the arbitrary length waveform construction method based on the vector signal generator in any one of claims 1-2 to construct new waveform data of an arbitrary length, and issues the new waveform data to the FPGA; The FPGA writes the new waveform data into the DDR for buffering in a fixed burst operation length, and the FPGA still reads the new waveform data buffered in the DDR in a fixed burst operation length, and the FPGA transmits the new waveform data read in a cycle to the digital-to-analog converter DAC for transmission.

4. An arbitrary length waveform launch device based on a vector signal generator, characterized in that, The processor can execute a computer program, and the computer program can implement the arbitrary length waveform construction method based on the vector signal generator in any one of claims 1-2.

5. A storage medium, characterized by The storage medium stores a computer program, and the computer program can implement the arbitrary length waveform construction method based on the vector signal generator in any one of claims 1-2.

Citation Information

Patent Citations

  • Bit error tester, code pattern generation method and device, electronic equipment and medium

    CN116455530A

  • Method for cyclically generating high-rate waveform signal and signal generator

    CN119759176A