Multi-parameter configurable waveform generation method and system for signal generator

By providing a multi-parameter configurable waveform generation method for signal generators, the problems of complex operation and poor compatibility of existing tools are solved. It realizes user-friendly waveform generation and efficient signal processing, supports multiple modulation methods and frame structures, and improves the quality and compatibility of signal generation.

CN121585284AActive Publication Date: 2026-02-27成都华兴汇明科技有限公司
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202610093024.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-23
Publication Date
2026-02-27
Estimated Expiration
2046-01-23

AI Technical Summary

Technical Problem

Existing vector signal generator waveform generation tools are complex to operate, cumbersome to configure parameters, lack real-time preview functions, have imperfect error handling mechanisms, poor compatibility, cannot support multiple modulation methods and frame structure configurations, have incomplete channel coding support, lack intelligent parameter optimization, and cannot meet the high-efficiency requirements of modern communication systems.

Method used

This paper provides a multi-parameter configurable waveform generation method that receives configuration parameters through a user-friendly graphical interface, automatically configures the frame structure, and generates waveform files compatible with signal generators. The method includes modulation, filtering, and format conversion processes, supports 13 modulation methods and custom frame structures, and provides intuitive graphical displays to improve the user experience.

Benefits of technology

It simplifies user operation, improves the efficiency and quality of waveform generation, reduces the error rate, enhances the compatibility and functional integrity of signal generation, and meets the high-efficiency requirements of modern communication systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121585284A_ABST
    Figure CN121585284A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-parameter configurable waveform generation method and system for a signal generator, and relates to the technical field of communication signal processing, and the method comprises the steps: receiving configuration parameters inputted by a user, and the configuration parameters comprise a modulation parameter, a filtering parameter, a frame structure parameter and an information source parameter; generating a pseudo-random bit sequence according to the information source parameters, and framing according to the pseudo-random bit sequence and the frame structure parameters to obtain complete frame data; performing signal processing and matching of modulation, amplitude optimization and filtering on the complete frame data according to the modulation parameters and the filtering parameters to generate baseband IQ waveform data; and converting the baseband IQ waveform data according to a file standard required by the signal generator to obtain a WV-format waveform file compatible with the signal generator. An operable configuration interface is provided for a user, user operation is facilitated, parameters are configured based on multiple parameters input by the user, a frame structure is automatically configured, and a waveform file compatible with the signal generator is generated according to the frame structure.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication signal processing, and particularly relates to a multi-parameter configurable waveform generation method and system for a signal generator. BACKGROUND

[0002] In the development, testing and verification process of a wireless communication system, a vector signal generator is an indispensable key device. However, when the existing vector signal generator generates a waveform, it generally depends on a specific waveform generation tool. For example, R&S SMW200A, as a leading vector signal generator in the industry, is widely used in the testing scenarios of various wireless communication standards such as 5G, LTE and WLAN. When the vector signal generator of R&S generates a waveform, it needs to depend on the official WinIQSIM2 software of R&S, a third-party commercial waveform generation tool or an open source communication tool package. However, the official WinIQSIM2 tool has the following problems: complex operation, steep learning curve, tedious parameter configuration, easy to make mistakes, lack of real-time preview function, imperfect error handling mechanism, poor compatibility of different versions of SMW200A devices, different waveform files cannot be compatible with different devices, limited functions cannot support multiple modulation modes, lack of advanced frame structure configuration, incomplete channel coding support, lack of intelligent parameter optimization. As can be seen from the above, these tools have different degrees of deficiencies in terms of ease of use, functional integrity and compatibility, and cannot meet the efficient needs of modern communication system development. SUMMARY

[0003] The purpose of the present application is to provide a multi-parameter configurable waveform generation method and system for a signal generator, which provides an operable configuration interface for users, is convenient for user operation, and automatically configures a frame structure based on the multi-parameter configuration parameters input by the user, and generates a waveform file compatible with the signal generator according to the frame structure.

[0004] In one aspect, the present application provides a multi-parameter configurable waveform generation method for a signal generator, which specifically includes the following steps: S1, receiving configuration parameters input by a user, the configuration parameters including modulation parameters, filtering parameters and frame structure parameters; S2, receiving a user-inputted custom pseudo-random bit sequence stream, grouping frames according to the custom pseudo-random bit sequence stream and the frame structure parameters to obtain complete frame data; S3, performing signal processing and matching of modulation, amplitude optimization and filtering on the complete frame data according to the modulation parameters and the filtering parameters to generate baseband IQ waveform data; S4, converting the baseband IQ waveform data according to the file standard required by the signal generator to obtain a waveform file in WVF format compatible with the signal generator.

[0005] In some specific embodiments, the frame structure comprises a pseudo-random bit sequence stream and optional frame structure configuration parameters, the frame structure configuration parameters comprising 0 or more of an optional synchronization sequence, a frame counter, and a CRC check bit; The custom pseudo-random bit sequence stream and the user-selected frame structure configuration parameters are embedded into the frame structure during framing to obtain complete frame data.

[0006] In some specific embodiments, the specific process of generating baseband IQ waveform data is as follows: S31. According to the modulation type in the modulation parameter, the complete frame data is modulated and mapped into a corresponding original IQ signal using the default encoding mode of the signal generator; S32. The signal statistical characteristics of the original IQ signal are counted, the target parameters are selected according to the modulation type, and the original IQ signal is amplitude-optimized according to the signal statistical characteristics and the target parameters to obtain an optimized IQ signal; S33. The optimized IQ signal is pulse-shaped using a corresponding filter according to the filter parameter to generate baseband IQ waveform data.

[0007] In some specific embodiments, the specific process of modulating and mapping the complete frame data into a corresponding original IQ signal is as follows: The complete frame data with a length of n is divided into n / L bit sequences according to a fixed length L; Each bit sequence is mapped into a corresponding IQ symbol to generate an original IQ signal, and finally n / L IQ signals are obtained.

[0008] In some specific embodiments, the specific process of amplitude-optimizing the original IQ signal is as follows: The DC offset of the original IQ signal is counted, the DC offset comprising the mean value of the I signal DC component and the mean value of the Q signal DC component; The DC offset is subtracted from the original IQ signal to obtain a first IQ signal; The first IQ signal is power-normalized to obtain a second IQ signal; An IQ offset is added to the second IQ signal to obtain an optimized IQ signal.

[0009] In some specific embodiments, the specific process of power normalization is as follows: The AC total power of the first IQ signal is calculated using NumPy vectorization; According to the device power level standard of the signal generator, the target AC power is calculated; According to the AC total power and the target AC power, the scaling ratio of the first IQ signal is calculated, and the first IQ signal is power-normalized according to the scaling ratio to obtain a second IQ signal; In some specific embodiments, the specific process of adding the IQ offset in the second IQ signal is as follows: According to the set level offset parameter target value LEVEL OFS, the level offset gain coefficient m is calculated: m=10 (LEVEL OFS / 20) ; The level offset gain coefficient m is added to the second IQ signal, and it is calculated whether the amplitude of the second IQ signal after adding m is within the preset amplitude range, and if not, the second IQ signal is limited in amplitude, and finally the optimized IQ signal is obtained.

[0010] In some specific embodiments, the specific process of obtaining a waveform file in WV format compatible with the file standard is as follows: The IQ components of the baseband IQ waveform data are sampled respectively, and the I signal and the Q signal are arranged alternately, and adjacent I signal values and Q signal values constitute a sampling point and are stored in the IQ-wv file. The IQ-wv file is arranged in little-endian order, and is divided into blocks according to the preset length, and the processed little-endian data is obtained. The standard file of the signal generator is obtained, and the processed little-endian data is written into the data area of the standard file according to the file standard, and the waveform file is obtained.

[0011] In some specific embodiments, the filter parameter includes a filter type selected by the user, including a root raised cosine filter, a raised cosine filter, or a Gaussian filter.

[0012] In a second aspect, the application provides a multi-parameter configurable waveform generation system for a signal generator, comprising: A user interaction layer is configured to provide a graphical interface for user input, and the user inputs configuration parameters according to the input control of the graphical interface, and the configuration parameters include modulation parameters, filter parameters, frame structure parameters, and custom pseudo-random bit sequence streams. A business logic layer is configured to group frames according to the custom pseudo-random bit sequence streams and the frame structure parameters, obtain complete frame data, and perform signal processing and matching on the complete frame data according to the modulation parameters, the IQ amplitude parameters, and the filter parameters, to generate baseband IQ waveform data. A data processing layer is configured to convert the generated baseband IQ waveform data into a file standard required by the signal generator, and obtain a waveform file in WV format compatible with the signal generator.

[0013] The application has the following beneficial effects: 1. The method can be embedded in a signal generator, and provides a compatible waveform file for the signal generator, provides an intuitive application graphical interface for the user, sets up various parameter configuration controls in the graphical interface, provides comprehensive modulation mode and parameter configuration options for the user, the user can input the corresponding configuration parameters through the parameter configuration control, reduces the user learning cost, improves the user experience and efficiency; 2. The configuration parameters input by the user are used for framing and signal amplitude optimization processing, and finally a waveform file compatible with the signal generator is generated, which improves the signal generation quality, compared with the existing waveform generation tool, the waveform generation method of the application has more complete functions (13 kinds of modulation modes can be selected, frame structure is customized, etc.), which is more easy to operate and use for the user, and the waveform generation speed is faster and the error rate is lower. BRIEF DESCRIPTION OF DRAWINGS

[0014] Figure 1 A multi-parameter configurable waveform generation method flowchart for a signal generator is provided for the embodiments of the application. Figure 2 A parameter configuration interface schematic diagram is provided for the embodiments of the application. Figure 3 A QPSK constellation diagram is provided for the embodiments of the application. Figure 4 A time domain waveform diagram of an IQ signal is provided for the embodiments of the application. DETAILED DESCRIPTION

[0015] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only a part of the embodiments of the application, rather than all the embodiments of the application. The description of the at least one exemplary embodiment is actually only illustrative, but not as any limitation on the application of the application or use. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the application.

[0016] Unless otherwise specified, the relative arrangement, numerical expression and values of the components and steps described in the embodiments do not limit the scope of the application.

[0017] At the same time, it should be understood that the sizes of the parts shown in the drawings are not drawn in accordance with the actual proportional relationship for the convenience of description.

[0018] In addition, the description of known structures, functions and configurations may be omitted for the sake of clarity and brevity. Those skilled in the art will recognize that various changes and modifications can be made to the examples described herein without departing from the spirit and scope of the disclosure.

[0019] Techniques, methods, and devices known to those of ordinary skill in the relevant art can not be discussed in detail herein. However, where appropriate, such techniques, methods, and devices can be considered part of the present disclosure.

[0020] In all of the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Thus, other examples of the example embodiments can have different values.

[0021] Embodiment 1 As shown in the figure, the embodiment provides a multi-parameter configurable waveform generation method for a signal generator, specifically comprising the following steps: Figure 1 S1, receiving configuration parameters input by a user, the configuration parameters including modulation parameters, filtering parameters, frame structure parameters, and signal source parameters; It can be understood that, in order to optimize the user experience, a graphical input interface as shown in the figure is provided for the user, and the graphical input interface contains a plurality of parameter configuration controls for the user to configure the required configuration parameters by himself / herself, as shown in the figure, the modulation parameters include modulation type, symbol rate (MHz), sampling rate (MHz), and SPS (key parameter set), the filtering parameters include filter type, roll-off coefficient, and bandwidth time product BT; the frame structure parameters include frame header type, synchronization sequence, counter bit number, self-defined sequence, and coding rate, CRC check parameters (including CRC type and CRC position), and channel coding parameters (including coding type and coding rate, constraint length, LDPC code length N, and LDPC information bit K, the coding type including convolution code, Turbo code, LDPC code, and polar code); the signal source parameters include PRBS type and bit length, and the IQ amplitude parameters include target amplitude. Figure 2 Figure 2

[0022] In the graphical input interface, there are also embedded display controls of IQ time domain waveform graphs, constellation graphs, log information, etc. generated by the signal generator according to the waveform file, to provide intuitive graphical display for the user and help the user understand the data change in the waveform generation process, thereby improving the device usability.

[0023] Before receiving the configuration parameters input by the user, there is also a step of loading the standard configuration corresponding to the currently applied signal generator type (for example, for R&S SMW200A, the standard configuration is sampling rate 128MHz and full scale 32767) according to the currently applied signal generator type, the standard configuration including sampling rate, full scale (maximum amplitude value), etc., initializing the graphical input interface according to the standard configuration, and waiting for the user input; ​​​Among them, the filter type provides support for 3 kinds of pulse shaping filter options: root raised cosine (RRC), raised cosine (RC) and Gaussian (Gaussian) filter; The modulation type includes 13 kinds of modulation options, including constant envelope modulation: BPSK, π / 2-BPSK, QPSK, OQPSK, 8PSK, 16PSK, GMSK; Quadrature amplitude modulation: 16QAM, 64QAM, 256QAM, QAM16, QAM64, QAM256; S2, according to the user input custom pseudo-random bit sequence stream, according to the custom pseudo-random bit sequence stream and frame structure parameter framing, get complete frame data; The custom pseudo-random bit sequence stream can be a pseudo-random bit sequence stream directly input by the user in the custom sequence, or a pseudo-random bit sequence stream generated according to user-selected source parameters, including PRBS (pseudo-random bit sequence) type and PRBS sequence length. The frame structure is composed of a pseudo-random bit sequence stream and optional frame structure configuration parameters, including optional synchronization sequence, frame counter bit number, CRC check parameter, and the user can select one or more frame structure configuration parameters for framing, or can not select frame structure configuration parameters. When selecting frame structure parameters for framing, the pseudo-random bit sequence stream is embedded in the frame structure to obtain complete frame data.

[0024] The pseudo-random sequence (such as PRBS9) is the original source data, only responsible for providing a random and repeatable bit stream (such as the 1024-bit PRBS9 sequence in the following example), and itself does not contain synchronization, check and other communication necessary control information, and cannot be directly used for device identification and data transmission. Therefore, it is necessary to embed it in the frame structure, and the frame structure as a standardized data container integrates the pseudo-random sequence (payload) with the communication necessary control information to form a complete data block that can be parsed by the device.

[0025] A typical frame structure consists of: a synchronization sequence (e.g., hexadecimal AA) + a frame counter (16 bits) + a pseudo-random sequence (payload) + a CRC checksum. For example, a 1024-bit PRBS9 bitstream is embedded as the "payload" in the frame structure. The total length of the complete frame data is: synchronization sequence (8 bits) + counter (16 bits) + 1024 bits (payload) + CRC24 (24 bits) = 1072 bits. The complete frame data is a complete bitstream. Modulation, filtering, and amplitude calibration are performed on the complete frame data. The complete frame data is also used for data identification and integrity verification by the signal generator. The synchronization sequence (e.g., AA) helps the signal generator quickly locate the frame start position and avoid data misalignment. The frame counter is used for sequential identification during multi-frame transmission. The CRC checksum is used by the signal generator to verify whether the data has been transmitted incorrectly after reception. All this information is contained in the modulated IQ signal and is ultimately written to the WV file, which is one of the keys to compatibility (data boundaries need to be identified through the frame structure).

[0026] S3. Perform signal processing and matching on the complete frame data according to the modulation parameters and filtering parameters, including modulation, amplitude optimization and filtering, to generate baseband IQ waveform data; The specific process for generating the baseband IQ waveform is as follows: S31. According to the modulation type in the modulation parameters, the signal generator's default encoding method is used to modulate and map the complete frame data into the corresponding original IQ signal; Specifically, the process of obtaining the original IQ signal is as follows: S311. For a complete frame of data of length n, it is divided into n / L bit sequences according to a fixed length L. The fixed length L corresponds to the modulation type. For example, in QPSK modulation, the fixed length L is 2, and in QAM modulation, the fixed length m is log2 (QAM order) bits (e.g., 4 bits for 16QAM, 6 bits for 64QAM, and 8 bits for 256QAM). S312. Map each bit sequence to the corresponding IQ symbol to generate an original IQ signal, and finally obtain n / L IQ signals.

[0027] S32. Calculate the signal statistical characteristics of the original IQ signal, select the target parameter according to the modulation type, and optimize the amplitude of the original IQ signal according to the signal statistical characteristics and the target parameter to obtain the optimized IQ signal. Specifically, the process of amplitude optimization of the original IQ signal is as follows: S321. Calculate the DC offset of the original IQ signal. The DC offset includes the mean of the DC component of the I signal and the mean of the DC component of the Q signal. S322. Subtract the DC offset from the original IQ signal to obtain the first IQ signal; S323. Perform power normalization processing on the first IQ signal to obtain the second IQ signal; The specific process of power normalization is as follows: The total AC power of the first IQ signal is calculated using NumPy vectorization; Calculate the target AC power based on the device power level standard of the signal generator (obtained from full scale). Based on the total AC power and the target AC power, the scaling ratio of the first IQ signal is calculated, and the power of the first IQ signal is normalized according to the scaling ratio to obtain the second IQ signal. S324. Add an IQ offset to the second IQ signal to obtain the optimized IQ signal.

[0028] The specific process of adding IQ offset to the second IQ signal is as follows: Calculate the level offset gain coefficient based on the set target value of the level offset parameter LEVEL OFS: m=10 LEVEL OFS / 20 ; A level offset gain coefficient m is added to the second IQ signal. The amplitude of the second IQ signal after adding m is calculated to see if it is within the preset amplitude range. If not, the second IQ signal is amplitude-limited to obtain the optimized IQ signal.

[0029] It is understood that this embodiment provides 13 modulation types to choose from. During modulation, in order to map the symbols of the IQ signals, the fixed length L is 2 during constant envelope modulation. The specific modulation implementation process is as follows: BPSK: standard mapping 0→+1, 1→1; π / 2BPSK: continuous phase shift, accumulating π / 2 phase; OQPSK: Q-path delay half-symbol processing; GMSK: Gaussian filter continuous phase modulation. During QAM modulation, the fixed length L=log2 (QAM order) is used. The modulation implementation process is as follows: 16QAM: 4×4 rectangular constellation, Gray code mapping; 64QAM: 8×8 rectangular constellation, optimized normalization; 256QAM: 16×16 rectangular constellation, intelligent PAPR control.

[0030] S33. Based on the filtering parameters, the optimized IQ signal is pulse-shaped using the corresponding filter to generate baseband IQ waveform data. The filtering parameters include the user-selected filter type, supporting three pulse-shaping filters: root raised cosine (RRC), raised cosine (RC), and Gaussian filter.

[0031] S4. Convert the baseband IQ waveform data according to the file standard required by the signal generator to obtain a WV format waveform file compatible with the signal generator.

[0032] Specifically, the process of obtaining a WV format waveform file compatible with the file standard is as follows: S41. Sample the IQ components of the baseband IQ waveform data separately, using an alternating arrangement of I and Q signals. Adjacent I signal values ​​and Q signal values ​​constitute a sampling point and are stored in the IQ-wv file. S42. Arrange the IQ-wv file in little-endian order and divide it into blocks of 2 bytes (16 bits) of preset length (to adapt to 16-bit signed integer storage) to obtain the processed little-endian data; S43. Obtain the standard file of the signal generator, write the processed little-endian data into the data area of ​​the standard file according to the file standard, and obtain the waveform file.

[0033] To better understand the scheme of this embodiment, the following uses the R&S SMW200A vector signal generator as an example. Taking 1024-point PRBS9 sequence IQ data as input and QPSK (Gray inverse code) as the modulation method, after adjusting the IQ offset and gain, IQ waveform (wv) format files and constellation diagrams are generated respectively, as follows: Figure 3 As shown, the signal distribution characteristics of waveform data under QPSK modulation are presented. All data are based on the R&S SMW200A equipment standard definition to ensure compatibility. The specific process is as follows: 1. Receive configuration parameters input by the user. Modulation parameters are: modulation type: QPSK, symbol rate: 2 MHz, sampling rate: 128 MHz, number of samples per symbol: 8, roll-off factor: 0.35; source parameters are: PRBS type: PRBS9, bit length: 1024; frame structure parameters are: frame header type: synchronization counter; synchronization sequence: AA; counter bit length: 16; CRC type: CRC24; CRC position: frame tail; channel coding: LDPC (648,324); coding rate: 1 / 2.

[0034] 2. Generate a 1024-bit PRBS9 random sequence based on the source parameters and frame it to obtain complete frame data (synchronization sequence (8 bits) + counter (16 bits) + 1024 bits (PRBS9 random sequence) + CRC24 (24 bits) = 1072 bits). Construct a standard QPSK constellation mapping based on the modulation parameters: group the 1072-bit frame data into 2-bit groups to generate 536 QPSK IQ symbols. Subsequent DC removal and normalization processes these 536 IQ symbols containing frame structure information.

[0035] 2.1 Generation of PRBS9 Data IQ Coordinates (Based on Input) PRBS9 sequence generation, where the generator polynomial of PRBS9 is x. 9 + x5 + 1, the initial seed is 0x1FF (compliant with RFC 5019 standard), generating 1024 bits (padded with 3 highest bits set to 0 to reach 1024), the first 10 bit sequence is: 11111111110000011111...; 2.2 Original IQ signal (IQ.original) If the signal generator to be applied is an R&S device, then the QPSK modulation mapping uses the same Gray code mapping as the R&S device to ensure phase matching of constellation points. QPSK modulation is performed on the complete frame data using the default Gray inverse encoding of the R&S SMW200A. For a 1072-bit complete frame data, it is divided into 536 2-bit sequences. Each 2-bit sequence is mapped to an IQ symbol, generating 536 original IQ signals. Table 1 shows some of the bit sequences and the generated IQ symbols: Table 1 Mapping Correspondence Table (ps: Power normalized to 1.0) The corresponding generated IQ signals are: Q.original[0] = {0.7071, 0.7071} (based on 00) IQ.original[1] = {-0.7071, 0.7071} (based on 01) IQ.original[2] = {-0.7071, -0.7071} (according to 11) IQ.original[3] = {0.7071, -0.7071} (according to 10) 3. Signal processing and matching based on target parameters To improve the signal quality of the generated waveform, the amplitude of the original IQ signal is optimized. The specific optimization process is as follows: 3.1 The statistical characteristics of the original IQ signals are shown in Table 2: Table 2 Statistical Characteristics 3.2 Select the target parameters according to the modulation type, as shown in Table 3; Table 3 Target Parameter Table 3.3 Signal Processing and Matching To optimize the original IQ signal, a three-stage scaling algorithm is employed: DC component removal, AC component power normalization, and addition of target offset with intelligent limiting. 1) Remove the I / Q DC offset, calculate the average DC component of the I / Q signals, and then subtract it from the original signal to eliminate the DC offset, obtaining the first IQ signal. For example: DC component I = mean(IQ.original.real) = -0.002 (mean represents NumPy vectorized calculation) The DC component of the Q-path, DC_Q, is calculated as mean(IQ.original.imag) = 0.00; Calculation formula: First IQ signal IQ_removed[n] = (IQ.original[n].real - DC_I) + j× (IQ.original[n].imag - DC_Q), for example, for the first original IQ signal: IQ.dc_removed[0]={0.7071 - (-0.002), 0.7071 - 0.001} = {0.7091, 0.7070}; it can be seen that the DC component I path is -0.002, Q path is 0.001, and the peak amplitude does not change significantly.

[0036] 2) AC power normalization Normalize the signal power after DC removal to 1 (NRPT standard for R&S equipment); Calculate the total AC power after removing DC: P_ac = mean(|IQ_removed[n]| 2 ) ≈ 1.000009; Target AC power: P_target = (32767 / √2) 2 = 536838144.5; I / Q uniform scaling: k = √(P_target / P_ac) ≈ 23169.80; Calculation formula: IQ_ac_norm[n] = IQ_removed[n] × k; Specifically, IQ.ac_norm[0] = {0.7091 * 23169.8, 0.7070 * 23169.8} = {16430, 16381} It can be seen that the normalized signal power is 1.0, the peak amplitude is √2 (1.414), and the signal dynamic range is 3.0dB (RMS).

[0037] 3) Add I / Q offset To accommodate the level imbalance of R&S equipment, preset level offsets and gains are applied to the I / Q signals.

[0038] Level offset gain: Linear gain coefficient m = 10 for -6.27dBm. (-6.27 / 20) ≈ 0.486; Adjust the calculation: IQ_offset[n] = IQ_ac_norm[n] + m; Limiting: Values ​​in the range of [-32768, 32767] will be limited to prevent device saturation.

[0039] IQ.offset[0]= {16430 + 0.486, 16381 + 0.486} = {16430, 16381}; IQ.offset_limited[0] = {16432, 16383}; IQ.ac_norm[1] = {-16430, 16381}; IQ.offset[1] = {-16430 + 2, 16381 + 2} = {-16428, 16383}; IQ.offset_limited[1] = {-16428, 16383}; 4) Quality assessment and filter shaping The amplitude-optimized IQ signal is subjected to quality assessment and amplitude calibration fine-tuning to adjust the waveform amplitude to the target value (e.g., 28000) to ensure compliance with the level standards of the R&S equipment; then pulse shaping is performed using a specified filter (RRC / RC / Gaussian), where the Gaussian filter needs to be configured with bandwidth-time product (BT). Gain adjustment (R&S standard) is shown in Table 4: Table 4 Gain Adjustment Table Table 5 Filtering Process (RRC Filter) The amplitude-calibrated IQ signal needs to be pulse-shaped filtered (to reduce signal distortion) to obtain baseband IQ waveform data, generating a signal like this. Figure 4The IQ time-domain waveform is shown below. In this embodiment, an RRC filter (roll-off factor of 0.22) is selected. The specific filtering parameters and methods for using an RRC filter are shown in Table 5. Table 5 shows that using an RRC filter with a roll-off factor of 0.22 to pulse-shape filter the amplitude-calibrated IQ signal makes the signal spectrum more concentrated, meeting the RF transmission requirements of the SMW200A device. To enable the signal generator to generate the corresponding waveform file, the baseband IQ waveform data also needs to be encapsulated into a WV format waveform file that the signal generator can recognize.

[0040] 4. WV format file encapsulation Format recognition and parameter encapsulation convert baseband IQ waveform data into R&S SMW200A-compatible WV format files (e.g., .wv, .wvd, .wvz), ensuring seamless integration with R&S devices. Floating-point IQ data is converted into 16-bit signed integers to generate WV format files. 4.1 IQ Sampling (Interleaved) The IQ components of each constellation point are sampled separately, and the I / Q components are arranged in an alternating manner. Each I / Q value constitutes a sampling point and is stored in the IQ-wv file.

[0041] I0, Q0, I1, Q1, I2, Q2, I3, Q3, ... / / Sampling of the first 4 constellation points; 16432, 16383, -16428, 16383, -16428, -16383, 16432, -16383, ... / / Specific numerical values; 4.2 Chunked Transmission (Little Endian) The IQ-wv file is arranged in little-endian order and transmitted in 16-bit (2-byte) blocks.

[0042] 32, 64, 33, 64, ... (16432, 16383, ...) / / IQ-wv file; 33, 64, 33, 64, ... / / Little-endian; 4.3 Write the standard header (1024 bytes) of the signal generator (R&S) The file header contains the key fields of Table 6: Table 6 File Headers 4.4 Writing to the data area + checksum Write the processed little-endian data into the data area after the file header, calculate the CRC32 checksum and write it into the last 4 bytes of the file header.

[0043] 4.5 Waveform files encapsulated in WV format are shown in Table 7, which provides a partial waveform file structure: Table 7. Final .wv file structure (partial) Because signal generator devices have fixed requirements for the number of samples in waveform files (e.g., 256,000 samples for SMW200A), in order to ensure that the generated waveform file conforms to the 256,000-sample standard of SMW200A, the signal needs to be spliced / truncated to adapt the waveform file to the signal generator. The baseband IQ waveform data has been filtered, and its signal length may not meet the 256,000-sample file standard required by the signal generator. In this case, intelligent splicing is required. For example: 536 QPSK symbols are obtained → after upsampling at 8 times the sampling rate (SPS=8), 536×8=4288 samples are obtained → it needs to be repeated 256,000÷4288≈60 times → spliced ​​to 256,000 samples; a cosine window is used on the sampled samples to achieve a smooth transition between adjacent segments and avoid signal abrupt changes at the splicing point. If the signal length exceeds 256,000 samples (e.g., the generated signal has 260,000 samples), then it will be truncated according to the symbol boundary: for example, if SPS=8, it will be truncated to 256,000 ÷ 8 × 8 = 256,000 samples to avoid distortion caused by truncating in the middle of the symbol.

[0044] To package the above into an R&S-compatible WV format, please pay attention to the following four core steps: The symbols used in QPSK Gray reverse encoding are completely consistent with those of the R&S SMW200A; AC power normalization is strictly aligned to the device's 3.0dB standard; level offset and gain matching ensure I / Q balance; and all parameters (sampling rate, FullScale, etc.) and byte order in the WV file header conform to the R&S parsing specification. Furthermore, I / Q ≠ Q / I; the processing timing and symbol mapping must be precise and consistent with the R&S device standard I / Q spectrum.

[0045] Example 2 This embodiment 2 provides a multi-parameter configurable waveform generation system for a signal generator, including: The user interaction layer provides users with an input-enabled graphical interface. Users input configuration parameters, including modulation parameters, filtering parameters, and frame structure parameters, according to the input controls configured in the graphical interface. The business logic layer is used to frame the user-input custom pseudo-random bit sequence stream and frame structure parameters to obtain complete frame data. It also performs signal processing and matching on the complete frame data according to the modulation parameters, IQ amplitude parameters and filtering parameters to generate baseband IQ waveform data. The core implementation code structure of the business logic layer is as follows: class RsWaveformGenerator: def __init__(self): self.params = {...} # Initialize standard R&S parameters; self.prbs_configs = {...}# PRBS configuration; def generate_prbs(self, prbs_type, num_bits): # Generates PRBS sequences that conform to the specified type; def modulate_bits(self, bits, modulation): # Implements mapping for multiple modulation schemes (such as Gray code mapping for QPSK); def apply_filter(self, symbols, filter_type): # Pulse shaping filter (RRC / RC / Gaussian); def generate_waveform(self): # Generates a waveform by integrating sequence generation, modulation, filtering and other steps; The data processing layer is used to convert the generated baseband IQ waveform data into a format that conforms to the file standard required by the signal generator, resulting in a WV format waveform file compatible with the signal generator.

[0046] The display module is embedded in the graphical interface to visually display information such as IQ waveforms and constellation diagrams drawn based on waveform files, and outputs and displays log information during the waveform file generation process.

[0047] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Based on the technical essence of the present invention, any simple modifications, equivalent substitutions, and improvements made to the above embodiments within the spirit and principles of the present invention shall still fall within the protection scope of the present invention.

Claims

1. A method for generating multi-parameter configurable waveforms for a signal generator, characterized in that, Specifically, the following steps are included: S1. Receive configuration parameters input by the user, including modulation parameters, filtering parameters, and frame structure parameters; S2. Receive the user-input custom pseudo-random bit sequence stream, assemble frames according to the custom pseudo-random bit sequence stream and frame structure parameters, and obtain complete frame data; S3. Perform signal processing and matching on the complete frame data according to the modulation parameters and filtering parameters, including modulation, amplitude optimization and filtering, to generate baseband IQ waveform data; S4. Convert the baseband IQ waveform data according to the file standard required by the signal generator to obtain a WV format waveform file compatible with the signal generator.

2. The method for generating multi-parameter configurable waveforms for a signal generator according to claim 1, characterized in that, The frame structure includes a pseudo-random bit sequence stream and optional frame structure configuration parameters, which include optional synchronization sequences, frame counters, and 0 or more of the CRC check bits. During frame assembly, a custom pseudo-random bit sequence stream and user-selected frame structure configuration parameters are embedded into the frame structure to obtain complete frame data.

3. The method for generating multi-parameter configurable waveforms for a signal generator according to claim 1, characterized in that, The specific process for generating baseband IQ waveform data is as follows: S31. According to the modulation type in the modulation parameters, the signal generator's default encoding method is used to modulate and map the complete frame data into the corresponding original IQ signal; S32. Calculate the signal statistical characteristics of the original IQ signal, select the target parameter according to the modulation type, and optimize the amplitude of the original IQ signal according to the signal statistical characteristics and the target parameter to obtain the optimized IQ signal. S33. Based on the filtering parameters, the optimized IQ signal is pulse shaped using the corresponding filter to generate baseband IQ waveform data.

4. The method for generating multi-parameter configurable waveforms for a signal generator according to claim 3, characterized in that, The specific process of modulating and mapping the complete frame data into the corresponding original IQ signal is as follows: A complete frame of data of length n is divided into n / L bit sequences according to a fixed length L; Each bit sequence is mapped to the corresponding IQ symbol to generate an original IQ signal, and finally n / L IQ signals are obtained.

5. A multi-parameter configurable waveform generation method for a signal generator according to claim 3, characterized in that, The specific process of amplitude optimization of the original IQ signal is as follows: The DC offset of the original IQ signal is calculated, including the mean of the DC component of the I signal and the mean of the DC component of the Q signal. The first IQ signal is obtained by subtracting the DC offset from the original IQ signal. The first IQ signal is normalized to obtain the second IQ signal; Adding an IQ offset to the second IQ signal yields the optimized IQ signal.

6. A multi-parameter configurable waveform generation method for a signal generator according to claim 5, characterized in that, The specific process of power normalization is as follows: The total AC power of the first IQ signal is calculated using NumPy vectorization; Calculate the target AC power based on the power level standard of the signal generator; Based on the total AC power and the target AC power, the scaling ratio of the first IQ signal is calculated. The power normalization processing of the first IQ signal is then performed according to the scaling ratio to obtain the second IQ signal.

7. A multi-parameter configurable waveform generation method for a signal generator according to claim 5, characterized in that, The specific process of adding IQ offset to the second IQ signal is as follows: Calculate the level offset gain coefficient based on the set target value of the level offset parameter LEVEL OFS: m=10 (LEVEL OFS / 20) ; A level offset gain coefficient m is added to the second IQ signal. The amplitude of the second IQ signal after adding m is calculated to see if it is within the preset amplitude range. If not, the second IQ signal is amplitude-limited to obtain the optimized IQ signal.

8. A multi-parameter configurable waveform generation method for a signal generator according to claim 1, characterized in that, The specific process for obtaining a WV format waveform file compatible with the signal generator is as follows: The IQ components of the baseband IQ waveform data are sampled separately, and the I and Q signals are arranged alternately. Adjacent I signal values ​​and Q signal values ​​constitute a sampling point and are stored in the IQ-wv file. The IQ-wv file is arranged in little-endian order and divided into blocks according to a preset length to obtain the processed little-endian data; Obtain the standard file of the signal generator, write the processed little-endian data into the data area of ​​the standard file according to the file standard, and obtain the waveform file.

9. A multi-parameter configurable waveform generation method for a signal generator according to claim 1, characterized in that, The filtering parameters include the user-selected filter type, which can be a root-raised cosine filter, a raised cosine filter, or a Gaussian filter.

10. A multi-parameter configurable waveform generation system for a signal generator, characterized in that, include: The user interaction layer provides users with an input-enabled graphical interface. Users input configuration parameters according to the input controls configured in the graphical interface. Configuration parameters include modulation parameters, filtering parameters, frame structure parameters, and custom pseudo-random bit sequence streams. The business logic layer is used to frame data according to a custom pseudo-random bit sequence stream and frame structure parameters, obtain complete frame data, and perform signal processing and matching on the complete frame data according to modulation parameters, IQ amplitude parameters and filtering parameters to generate baseband IQ waveform data. The data processing layer is used to convert the generated baseband IQ waveform data into a format that conforms to the file standard required by the signal generator, resulting in a WV format waveform file compatible with the signal generator.

Citation Information

Patent Citations

  • Method and device for generating quadrature amplitude modulation signals and digital signal generator

    CN103179079A

  • Digital modulation method and device and storage medium

    CN112491766A

  • Bistatic radar communication integrated waveform design method based on LFM

    CN118050686A

  • Baseband radio frequency signal data feedback processing method based on vector modulation

    CN120602293A

  • Waveform generator, waveform generating device, test apparatus, and machine readable medium storing a program threrof

    US20090027134A1