A signal phase alignment method in digital domain

By calculating the optimal phase continuity length of the signal file in the digital domain, the problem of phase jumps at the beginning and end of the signal file is solved, the improvement of signal quality and the universality of phase alignment are achieved, and it is suitable for arbitrary waveform generator systems.

CN117762190BActive Publication Date: 2024-09-03成都玖锦科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311763964.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2024-09-03
Estimated Expiration
2043-12-21

AI Technical Summary

Technical Problem

The existing technology cannot effectively solve the problem of signal phase continuity, causing phase jumps at the beginning and end of the signal file, affecting signal quality, and the phase alignment method for different signals is not universal.

Method used

By calculating the optimal phase continuity length of the signal file in the digital domain, using iterative parameter initialization and error rate calculation, the signal file length is adjusted to ensure the alignment of the tail phase and the initial phase of the signal file under any initial phase condition, which is suitable for Analog modulated and digitally modulated signals.

Benefits of technology

It achieves the alignment of the tail phase of the signal file with the initial phase under any initial phase condition, improves the signal quality, is universal, and is suitable for various types of modulated signals. The method has a simple structure, a small amount of calculation, and is easy to be embedded in the signal generation algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117762190B
    Figure CN117762190B
Patent Text Reader

Abstract

The present invention relates to the field of signal simulation and communication, and refers to a signal phase alignment method in a digital domain. The present invention solves the problem that the phase continuity solution in the prior art cannot cover all signals. The present invention is applicable to an arbitrary waveform generator with a DUC mode and its system, and calculates the optimal signal file length that makes the phase of the signal file continuous during the generation of an analog modulation signal file or a digital modulation signal file. The present invention has simple steps and a small amount of calculation, and can well achieve the alignment of the tail phase and the initial phase of the signal file under any initial phase; and discloses a parameter configuration method for analog modulation and digital modulation, so that the present invention has universal applicability to various types of modulated signals, and by correcting the signal file length, the alignment of the tail phase and the initial phase of the signal file is achieved under the condition of using any initial phase; the overall structure of the method is simple, the flexibility is high, and it is easy to embed into various signal generation algorithms.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the fields of signal simulation and communication, and in particular to a signal phase alignment method in a digital domain. Background Art

[0002] Arbitrary waveform generators have the advantages of large bandwidth and flexible use. They are gradually being used in conventional testing, signal simulation, multi-channel coherent testing and other fields. Their application range is wide, and specific applications include: playback of recorded broadband signals, design verification of MIMO systems, simulation of complex electromagnetic signals, etc.; therefore, they are widely used in laboratory research and development, field tests, production lines, and technical support. As a signal source, the arbitrary waveform generator can output signals generated in the signal library or user-defined signals to stimulate the test object.

[0003] Since the arbitrary waveform generator signal playback mode is:

[0004] DUC mode: Generate baseband signal files using the system's internal computer or other computers, store them in DDR4, then read the signal files from DDR4 to the field programmable gate array FPGA through the control module, perform digital domain processing and complete the first-level upsampling, connect to the high-speed digital-to-analog converter DAC through the high-speed interface, upsample the final sampling rate in the high-speed digital-to-analog converter DAC, perform IQ modulation and output the corresponding signal waveform; in the analog processing part, perform direct or amplification processing and adjust the output power;

[0005] DAC mode: Generate RF signal files using the system's internal computer or other computers, store them in DDR4, then read the signal files from DDR4 to the field programmable gate array FPGA through the control module, perform digital domain processing and complete the first-level upsampling, connect to the high-speed digital-to-analog converter DAC through the high-speed interface, upsample the final sampling rate in the high-speed digital-to-analog converter DAC, and directly output the corresponding signal waveform; in the analog processing part, perform direct pass or amplification processing and adjust the output power;

[0006] The above processes all require repeated playback of a unified signal file, so the phase continuity of the signal file will greatly affect the signal quality. During the signal generation process, the phase of the head and tail of the signal file needs to be strictly controlled, otherwise the phase jump will cause serious spurious problems.

[0007] The traditional method is to change the initial phase of the signal during the signal generation process in order to obtain the same phase at the end of the signal file. However, this method has two disadvantages. First, this method cannot obtain the required initial phase under some configurations, which will sacrifice part of the signal quality to complete the signal generation; second, this method is not universal for different signals to obtain the required initial phase. The implementation methods of various signals are very different, and it is impossible to unify the methods.

[0008] Patent No. CN201610431946.2 discloses a method for AWG to generate digital modulation signal waveform data, which selects the total sampling time, sampling rate and fine-tuned waveform center frequency parameters through cyclic search to optimize the design of parameters, and obtains a signal waveform file with complete waveform file information data and connected waveform files from beginning to end, for its continuity and integrity, and no phase jump will occur during the cyclic reading process. However, its existence can only solve digital modulation signals, and due to improper selection of cyclic search parameters, it is impossible to efficiently select the optimal signal waveform.

[0009] There is an urgent need for a new phase alignment method that can solve the above problems. Summary of the invention

[0010] The present invention proposes a signal phase alignment method in a digital domain, which solves the problem that the phase continuity solution method in the prior art cannot cover all signals.

[0011] The technical solution of the present invention is implemented as follows: a signal phase alignment method in a digital domain, which is applicable to an arbitrary waveform generator with a DUC mode and a system thereof, is used for generating a computer of a baseband signal file, and after storing it in DDR4, a control module reads the signal file from DDR4 to a field programmable gate array FPGA for digital domain processing, and completes a first-level upsampling, and is connected to a high-speed digital-to-analog converter DAC through a high-speed interface, and the final sampling rate is upsampled in the high-speed digital-to-analog converter DAC, and IQ modulation is performed to output a corresponding signal waveform; in the analog processing part, direct pass or amplification processing is performed, and the output power is adjusted;

[0012] After the RF signal file is upsampled to the final sampling rate in the high-speed digital-to-analog converter DAC, the corresponding signal waveform is directly output;

[0013] In the process of generating an analog modulation signal file or a digital modulation signal file, an optimal signal file length that makes the phase of the signal file continuous is calculated.

[0014] Furthermore, in the process of generating the analog modulation signal file, calculating the optimal signal file length that makes the signal file phase continuous includes the following steps:

[0015] The known analog modulation signal file configuration parameters are signal type sig_type, granularity, sampling rate fsample, signal modulation frequency amodu_freq, and signal modulation frequency shift amodu_fshift;

[0016] Step A1: Initialization:

[0017] Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the following table and the signal file configuration parameters;

[0018]

[0019] Step A2: Iteration parameter initialization:

[0020] Using signal configuration parameters and initialization signals, iterative parameter initialization is performed according to the following calculation method: base fs =fsample

[0021] fsymbol=final fsymbol

[0022] fsymbol vec =fsymbol

[0023] stp pt = granulatity

[0024] max fs =fsample

[0025] delt fs = ceil(max fs *0.01*0.1)*10

[0026] fsample=max fs -delt fs

[0027] min fs =max fs -delt fs *2

[0028] fsymbol min =fsymbol vec

[0029]

[0030]

[0031] ram vec =ram min

[0032] err thr =1e-8

[0033] fc 2 =max fs ;

[0034] Step A3: Calculation of error rate:

[0035] Calculate the error rate based on the obtained iteration parameters;

[0036] First, assign the current sampling rate;

[0037] fs=ram min

[0038] The current symbol rate is then calculated according to the following formula:

[0039]

[0040] cyc symbolint =round(cyc symbol )

[0041]

[0042] Calculate the current subcarrier according to the following formula:

[0043]

[0044]

[0045]

[0046] Then the error rate is calculated according to the following formula;

[0047]

[0048] Step A4: Determine the error rate:

[0049] Determine whether it meets the requirements and set the threshold to err thr ;

[0050] If the error rate is less than the threshold, proceed to step 5;

[0051] If the error rate is greater than or equal to the threshold, the iteration parameters are updated according to the following formula;

[0052] min temp =err2 array

[0053]

[0054]

[0055]

[0056]

[0057]

[0058]

[0059]

[0060] Then repeat step 3 again and calculate the error rate again;

[0061] Step A5: Calculation of signal file length:

[0062] After obtaining the error rate that meets the requirements, the signal file length needs to be calculated according to the following formula;

[0063]

[0064] symbol numtemp =round(symbol num )

[0065] symbol numint =symbol numtemp

[0066]

[0067] Determine symbol numint Is it greater than loc_cyc_thr? Is it greater than ram_max*0.75?

[0068] If not, perform the following calculation:

[0069]

[0070]

[0071] Final iteration completed This is the optimal signal file length for continuous signal phase.

[0072] Furthermore, in the process of generating the digital modulation signal file, calculating the optimal signal file length that makes the signal file phase continuous includes the following steps:

[0073] The known digital modulation signal file configuration parameters are signal type sig_type, granularity granularity, sampling rate fsample, signal modulation code rate sig_fsymb, signal modulation frequency deviation amodu_fshift;

[0074] Step B1: Initialization:

[0075] Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the following table and the signal file configuration parameters;

[0076]

[0077]

[0078]

[0079] Where, a=1.4426950408889634;

[0080] Step B2: Iteration parameter initialization:

[0081] Using signal configuration parameters and initialization signals, iterative parameter initialization is performed according to the following calculation method:

[0082] base fs =fsample

[0083] fsymbol=final fsymbol

[0084] fsymbol vec =fsymbol

[0085] stp pt = granulatity

[0086] max fs =fsample

[0087] delt fs = ceil(max fs *0.01*0.1)*10

[0088] fsample=max fs -delt fs

[0089] min fs =max fs -delt fs *2

[0090] fsymbol min =fsymbol vec

[0091]

[0092]

[0093] ramvec =ram min

[0094] err thr =1e-8

[0095] fc 2 =max fs ;

[0096] Step B3: Calculation of error rate:

[0097] Calculate the error rate based on the obtained iteration parameters;

[0098] First, assign the current sampling rate;

[0099] fs=ram min

[0100] The current symbol rate is then calculated according to the following formula:

[0101]

[0102]

[0103]

[0104] Calculate the current subcarrier according to the following formula:

[0105]

[0106]

[0107]

[0108] Then the error rate is calculated according to the following formula;

[0109]

[0110] Step B4: Determine whether the error rate meets the requirements and set the threshold to err thr ;

[0111] If the error rate is less than the threshold, proceed to step 5; if the error rate is greater than or equal to the threshold, update the iteration parameter according to the following formula;

[0112] min temp =err2 array

[0113]

[0114]

[0115]

[0116]

[0117]

[0118]

[0119]

[0120] Then repeat step 3 again and calculate the error rate again;

[0121] Step B5: After obtaining the error rate that meets the requirements, the signal file length needs to be calculated according to the following formula;

[0122]

[0123] symbol numtemp =round(symbol num )

[0124] symbol numint =symbol numtemp

[0125]

[0126] Need to judge symbol numint Is it greater than loc_cyc_thr? Is it greater than ram_max*0.75?

[0127] If not, perform the following calculation:

[0128]

[0129]

[0130] The final iteration of the dis ramfs , which is the optimal signal file length for continuous signal phase.

[0131] Furthermore, during the iterative parameter initialization process, during the iterative parameter initialization process, that is, step A2 or B2 when ram min The calculation needs to be judged. If the calculated value is less than 1920, it needs to be corrected:

[0132]

[0133] Among them, fc 2 When the modulation type is FM or PM, the value of fshift needs to be assigned.

[0134] Preferably, in the signal file length calculation process of the DAC mode, the following correction is performed. Specifically, in the error rate calculation process, carrier period verification is added, that is, fc and fc_curr are introduced to correct the error rate, and the error rate calculation formula is corrected to:

[0135]

[0136] The present invention discloses a signal phase alignment method in a digital domain, which has simple steps and small calculation amount, and can well realize the alignment of the tail phase and the initial phase of a signal file under the condition of any initial phase; and discloses a parameter configuration method for analog modulation and digital modulation, so that the present invention has universal applicability to various types of modulated signals, and can realize the alignment of the tail phase and the initial phase of the signal file under the condition of using any initial phase by correcting the signal file length when an arbitrary waveform generator and its related system generate a signal file; the method has a simple overall structure, high flexibility, and is easy to be embedded in various signal generation algorithms. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0138] Figure 1 It is a schematic diagram of the principle flow of the method for calculating the optimal signal file length in the technical solution of the present invention;

[0139] Figure 2 It is a system block diagram of an arbitrary waveform generator and its related system applicable to the technical solution of the present invention;

[0140] Figure 3 It is the relationship between the error rate and the signal file length change in the signal generation solution provided by the present invention;

[0141] Figure 4 It is a diagram of a repeated iterative process. DETAILED DESCRIPTION

[0142] 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.

[0143] The present invention discloses a signal phase alignment method in a digital domain, which is applicable to an arbitrary waveform generator with a DUC mode and a system thereof, and is used for generating a computer of a baseband signal file, storing the computer in a DDR4, reading the signal file from the DDR4 to a field programmable gate array FPGA through a control module for digital domain processing, and completing a first-level upsampling, connecting the computer to a high-speed digital-to-analog converter DAC through a high-speed interface, upsampling the final sampling rate in the high-speed digital-to-analog converter DAC, and performing IQ modulation to output a corresponding signal waveform; in the analog processing part, performing direct or amplification processing, and adjusting the output power;

[0144] After the RF signal file is upsampled to the final sampling rate in the high-speed digital-to-analog converter DAC, the corresponding signal waveform is directly output;

[0145] In the process of generating an analog modulation signal file or a digital modulation signal file, an optimal signal file length that makes the phase of the signal file continuous is calculated.

[0146] Furthermore, in the process of generating the analog modulation signal file, calculating the optimal signal file length that makes the signal file phase continuous includes the following steps:

[0147] The known analog modulation signal file configuration parameters are signal type sig_type, granularity, sampling rate fsample, signal modulation frequency amodu_freq, and signal modulation frequency shift amodu_fshift;

[0148] Step A1: Initialization:

[0149] Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the following table and the signal file configuration parameters;

[0150]

[0151] Step A2: Iteration parameter initialization:

[0152] Using signal configuration parameters and initialization signals, iterative parameter initialization is performed according to the following calculation method: base fs =fsample

[0153] fsymbol=final fsymbol

[0154] fsymbol vec =fsymbol

[0155] stp pt = granulatity

[0156] max fs =fsample

[0157] delt fs = ceil(max fs *0.01*0.1)*10

[0158] fsample=max fs -delt fs

[0159] min fs =max fs -delt fs *2

[0160] fsymbol min =fsymbol vec

[0161]

[0162]

[0163] ram vec =ram min

[0164] err thr =1e-8

[0165] fc 2 =max fs ;

[0166] Step A3: Calculation of error rate:

[0167] Calculate the error rate based on the obtained iteration parameters;

[0168] First, assign the current sampling rate;

[0169] fs=ram min

[0170] The current symbol rate is then calculated according to the following formula:

[0171]

[0172]

[0173]

[0174] Calculate the current subcarrier according to the following formula:

[0175]

[0176]

[0177]

[0178] Then the error rate is calculated according to the following formula;

[0179]

[0180] Step A4: Determine the error rate:

[0181] Determine whether it meets the requirements and set the threshold to err thr ;

[0182] If the error rate is less than the threshold, proceed to step 5;

[0183] If the error rate is greater than or equal to the threshold, the iteration parameters are updated according to the following formula;

[0184] min temp =err2 array

[0185]

[0186]

[0187]

[0188]

[0189]

[0190]

[0191]

[0192] Then repeat step 3 again and calculate the error rate again;

[0193] Step A5: Calculation of signal file length:

[0194] After obtaining the error rate that meets the requirements, the signal file length needs to be calculated according to the following formula;

[0195]

[0196] symbol numtemp =round(symbol num )

[0197] symbol numint =symbol numtemp

[0198]

[0199] Determine symbol numint Is it greater than loc_cyc_thr? Is it greater than ram_max*0.75?

[0200] If not, perform the following calculation:

[0201]

[0202]

[0203] Final iteration completed This is the optimal signal file length for continuous signal phase.

[0204] Furthermore, in the process of generating the digital modulation signal file, calculating the optimal signal file length that makes the signal file phase continuous includes the following steps:

[0205] The known digital modulation signal file configuration parameters are signal type sig_type, granularity granularity, sampling rate fsample, signal modulation code rate sig_fsymb, signal modulation frequency deviation amodu_fshift;

[0206] Step B1: Initialization:

[0207] Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the following table and the signal file configuration parameters;

[0208]

[0209]

[0210]

[0211] Where, a=1.4426950408889634;

[0212] Step B2: Iteration parameter initialization:

[0213] Using signal configuration parameters and initialization signals, iterative parameter initialization is performed according to the following calculation method: base fs =fsample

[0214] fsymbol=final fsymbol

[0215] fsymbol vec=fsymbol

[0216] stp pt = granulatity

[0217] max fs =fsample

[0218] delt fs = ceil(max fs *0.01*0.1)*10

[0219] fsample=max fs -delt fs

[0220] min fs =max fs -delt fs *2

[0221] fsymbol min =fsymbol vec

[0222]

[0223]

[0224] ram vec =ram min

[0225] err thr =1e-8

[0226] fc 2 =max fs ;

[0227] Step B3: Calculation of error rate:

[0228] Calculate the error rate based on the obtained iteration parameters;

[0229] First, assign the current sampling rate;

[0230] fs=ram min

[0231] The current symbol rate is then calculated according to the following formula:

[0232]

[0233]

[0234]

[0235] Calculate the current subcarrier according to the following formula:

[0236]

[0237]

[0238]

[0239] Then the error rate is calculated according to the following formula;

[0240]

[0241] Step B4: Determine whether the error rate meets the requirements and set the threshold to err thr ;

[0242] If the error rate is less than the threshold, proceed to step 5; if the error rate is greater than or equal to the threshold, update the iteration parameter according to the following formula;

[0243] min temp =err2 array

[0244]

[0245]

[0246]

[0247]

[0248]

[0249]

[0250]

[0251] Then repeat step 3 again and calculate the error rate again;

[0252] Step B5: After obtaining the error rate that meets the requirements, the signal file length needs to be calculated according to the following formula;

[0253]

[0254] symbol numtemp =round(symbol num )

[0255] symbol numint =symbol numtemp

[0256]

[0257] Need to judge symbol numint Is it greater than loc_cyc_thr? Is it greater than ram_max*0.75?

[0258] If not, perform the following calculation:

[0259]

[0260]

[0261] Final iteration completed This is the optimal signal file length for continuous signal phase.

[0262] Furthermore, during the iterative parameter initialization process, during the iterative parameter initialization process, that is, step A2 or B2 when ram min The calculation needs to be judged. If the calculated value is less than 1920, it needs to be corrected:

[0263]

[0264] Among them, fc 2 When the modulation type is FM or PM, the value of fshift needs to be assigned.

[0265] Preferably, in the signal file length calculation process of the DAC mode, the following correction is performed. Specifically, in the error rate calculation process, carrier period verification is added, that is, fc and fc_curr are introduced to correct the error rate, and the error rate calculation formula is corrected to:

[0266]

[0267] Specific implementation method 1: Generate a signal file for AM modulation in DUC mode

[0268] Given the signal configuration, the signal modulation mode is AM modulation, the waveform generator mode is DUC mode, the signal file sampling rate is 2.5Gsps, the granularity is 32, and the modulation frequency is 1.93MHz.

[0269] Step A1: Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the table in the invention content;

[0270] That is, loc_sig_bw=100*1.93e6=1.93e8; final_fsymbol=1.93e6; loc_cyc_thr=4;

[0271] Step A2: Using the signal configuration parameters and initialization signal, perform iterative parameter initialization according to the following calculation method:

[0272] base_fs = 2.5e9;

[0273] fsymbol = 1.93e6;

[0274] fsymbol_vec = 1.93e6;

[0275] stp_pt = 32;

[0276] max_fs=2.5e9;

[0277] delt_fs=2.5e7;

[0278] fsample=2.475e9;

[0279] min_fs = 2.45e9;

[0280] fsymbol_min = 1.93e6;

[0281] R = 1.2824e4;

[0282] ram_min = 3200;

[0283] len_ram_vec=23437401;

[0284] ram_vec = 3200;

[0285] err_thr = 1e-8;

[0286] Step A3: Calculate the error rate according to the obtained iteration parameters;

[0287] err2_array=0.1346

[0288] Step A4: If the error rate does not meet the requirements, increase the signal file length, recalculate, and repeat the iteration process. The specific iteration process is as follows: Figure 3 As shown;

[0289] Step A5: After obtaining the error rate that meets the requirements, the calculation of the signal file length is completed;

[0290] dis_ram_fs=500000

[0291] Finally, under the above configuration, it is only necessary to generate a signal file with a length of 500,000 to achieve the first phase alignment of the file at any initial phase.

[0292] Specific implementation method 2: Generate a signal file of QPSK modulation in DUC mode

[0293] Given the known signal configuration, the signal modulation mode is QPSK modulation, the waveform generator mode is DUC mode, the signal file sampling rate is 78.125Msps, the granularity is 1, and the modulation frequency is 1Msps.

[0294] Step B1: Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the table in the invention content;

[0295] That is, loc_sig_bw = 3.2*1e6 = 3.2e6; final_fsymbol = 1e6; loc_cyc_thr = 4096;

[0296] Step B2: Using the signal configuration parameters and the initialization signal, perform iterative parameter initialization according to the following calculation method:

[0297] base_fs=78.125e6

[0298] fsymbol=1e6

[0299] fsymbol_vec=1e6

[0300] stp_pt=1

[0301] max_fs=78.125e6

[0302] delt_fs=781250

[0303] fsample=77343750

[0304] min_fs=76562500

[0305] fsymbol_min=1e6

[0306] R=77.34375

[0307] ram_min=78

[0308] ram_vec=78

[0309] err_thr=1e-8

[0310] fc_2 = 78.125e6

[0311] Step B3: Calculate the error rate based on the obtained iteration parameters:

[0312] err2_array=0.011767

[0313] Step B4: If the error rate does not meet the requirements, increase the signal file length, recalculate, and repeat the iteration process. The specific iteration process is as follows: Figure 4 As shown;

[0314] Step B5: After obtaining the error rate that meets the requirements, the calculation of the signal file length is completed;

[0315] dis_ram_fs=160000

[0316] Finally, under the above configuration, it is only necessary to generate a signal file with a length of 160,000 to achieve the first phase alignment of the file at any initial phase.

[0317] The present invention discloses a signal phase alignment method in a digital domain, which has simple steps and small calculation amount, and can well realize the alignment of the tail phase and the initial phase of a signal file under the condition of any initial phase; and discloses a parameter configuration method for analog modulation and digital modulation, so that the present invention has universal applicability to various types of modulated signals, and can realize the alignment of the tail phase and the initial phase of the signal file under the condition of using any initial phase by correcting the signal file length when an arbitrary waveform generator and its related system generate a signal file; the method has a simple overall structure, high flexibility, and is easy to be embedded in various signal generation algorithms.

[0318] Of course, without departing from the spirit and essence of the invention, technicians familiar with the field should be able to make various corresponding changes and modifications based on the invention, but these corresponding changes and modifications should all fall within the scope of protection of the claims attached to the invention.

Claims

1. A signal phase alignment method in digital domain, applicable to an arbitrary waveform generator with DUC mode and its system, characterized in that: The following steps are involved: A computer used to generate a baseband signal file, after storing it in DDR4, reads the signal file from DDR4 to the field programmable gate array FPGA through a control module for digital domain processing, completes a first-level upsampling, connects to a high-speed digital-to-analog converter DAC through a high-speed interface, upsamples the final sampling rate in the high-speed digital-to-analog converter DAC, performs IQ modulation to output the corresponding signal waveform; in the analog processing part, performs direct pass or amplification processing and adjusts the output power; After the RF signal file is upsampled to the final sampling rate in the high-speed digital-to-analog converter DAC, the corresponding signal waveform is directly output; In the process of generating an analog modulation signal file or a digital modulation signal file, calculating an optimal signal file length that makes the signal file phase continuous; Calculating the optimal signal file length that makes the signal file phase continuous includes the following steps: The known analog modulation signal file configuration parameters are signal type sig_type, granularity, sampling rate fsample, signal modulation frequency amodu_freq, and signal modulation frequency shift amodu_fshift; Step A1: Initialization: Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the following table and the signal file configuration parameters; Step A2: Iteration parameter initialization: Using signal configuration parameters and initialization signals, iterative parameter initialization is performed according to the following calculation method: base fs =fsample; fsymbol=final fsymbol ; fsymbol vec =fsymbol; stp pt =granulatity; max fs =fsample; delt fs =ceil(max fs *0.01*0.1)*10; fsample=max fs -delt fs ; my fs =max fs -shared fs *2; fsymbol min =fsymbol vec ; ram vec =ram min ; err thr =1e ;8 ; fc2=max fs ; Step A3: Calculation of error rate: According to the obtained iteration parameters, the error rate is calculated; first, the current sampling rate is assigned; fs=ram min ; The current symbol rate is then calculated according to the following formula: Calculate the current subcarrier according to the following formula: Then the error rate is calculated according to the following formula; Step A4: Determine the error rate: Determine whether it meets the requirements and set the threshold to err thr ; If the error rate is less than the threshold, proceed to step A5; If the error rate is greater than or equal to the threshold, the iteration parameters are updated according to the following formula; my temp =err2 array Then repeat step A3 again and calculate the error rate again; Step A5: Calculation of signal file length: After obtaining the error rate that meets the requirements, the signal file length needs to be calculated according to the following formula; symbol numtemp =round(symbol num ) symbol numint =symbol numtemp Determine symbol numint Is it greater than loc_cyc_thr? Is it greater than ram_max*0.75? If not, perform the following calculation: Final iteration completed This is the optimal signal file length for continuous signal phase.

2. The signal phase alignment method in the digital domain according to claim 1, characterized in that: In the process of generating a digital modulation signal file, calculating the optimal signal file length that makes the signal file phase continuous includes the following steps: The known digital modulation signal file configuration parameters are signal type sig_type, granularity granularity, sampling rate fsample, signal modulation code rate sig_fsymb, signal modulation frequency deviation amodu_fshift; Step B1: Initialization: Initialize the signal bandwidth parameter loc_sig_bw, the final symbol rate parameter final_fsymbol and the cyclic block size loc_cyc_thr according to the following table and the signal file configuration parameters; Where, a=1.4426950408889634; Step B2: Iteration parameter initialization: Using signal configuration parameters and initialization signals, iterative parameter initialization is performed according to the following calculation method: base fs =fsample fsymbol=final fsymbol fsymbol vec =fsymbol stp pt =granulatity max fs =fsample delt fs =ceil(max fs *0.01*0.1)*10 fsample=max fs -delt fs my fs =max fs -shared fs *2 fsymbol min =fsymbol vec ram vec =ram min err thr =1e-8 fc2=max fs ; Step B3: Calculation of error rate: Calculate the error rate based on the obtained iteration parameters; First, assign the current sampling rate; fs=ram min The current symbol rate is then calculated according to the following formula: Calculate the current subcarrier according to the following formula: Then the error rate is calculated according to the following formula; Step B4: Determine whether the error rate meets the requirements and set the threshold to err thr ; If the error rate is less than the threshold, proceed to step B5; if the error rate is greater than or equal to the threshold, update the iteration parameter according to the following formula; my temp =err2 array Then repeat step B3 again and calculate the error rate again; Step B5: After obtaining the error rate that meets the requirements, the signal file length needs to be calculated according to the following formula; symbol numtemp =round(symbol num ) symbol numint =symbol numtemp Need to judge symbol numint Is it greater than loc_cyc_thr? Is it greater than ram_max*0.75? If not, perform the following calculation: Final iteration completed This is the optimal signal file length for continuous signal phase.

3. The signal phase alignment method in the digital domain according to claim 2, characterized in that: During the iteration parameter initialization process, if ram min The calculated value is less than 1920 and needs to be corrected: Among them, when the modulation type is FM or PM, the calculation of fc2 needs to be assigned the value of fshift.

4. The signal phase alignment method in the digital domain according to claim 3, characterized in that: In the signal file length calculation process of DAC mode, the following corrections are made. Specifically, in the error rate calculation process, carrier period verification is added, that is, fc and fc_curr are introduced to correct the error rate. The error rate calculation formula is corrected to: