Summary of the invention
In view of this, the present invention provides a kind of method for quickly generating Multiple Target Signals and efficiently using hardware resource.
For achieving the above object, the technical scheme adopted by the invention is that: a kind of fast multi-target signal synthesis side
Method the following steps are included:
1) user generates the parameter input interface setting signal parameter and memory space RAM that software provides by signal;
2) envelope information after Multiple Target Signals synthesis and individual signals and conjunction are obtained by signal envelope information processing
At the envelope relationship between signal;
3) intra-pulse modulation information is added to composite signal by the processing of composite signal intrapulse information, forms multiple target waveform text
Part;
4) arbitrary waveform generator generates complete multi-target simulation signal according to multiple target wave file.
Preferably, the signal parameter includes signal number, the delay Delay of signal, signal pulsewidth τ, signal pulse weight
It is spaced PRI, signal intra-pulse modulation mode and signal intra-pulse modulation parameter again.
Preferably, the signal parameter is converted to the formula of discrete time signal parameter by continued time domain signal parameter are as follows:
τpoints=round ((τ * fs)/Ngran)*Ngran;
PRIpoints=round ((PRI*fs)/Ngran)*Ngran;
Delaypoints=round ((Delay*fs)/Ngran)*Ngran;
Wherein, τ is signal pulsewidth, and PRI is signal pulse recurrence interval, and Delay is signal initial time delay, fsIt is adopted for system
Sample rate, NgranFor the accessible signal granularity of system, τpointsAnd PRIpointsFor after digitizing and adjusting Relationship Between Size
Signal pulsewidth and signal pulse recurrence interval, DelaypointsFor the discrete points of delay.
Preferably, the signal envelope information processing detailed process are as follows:
The first step calculates virtual memory space virt_ram according to the memory space RAM of user setting;
Second step determines current signal segment beginning flag position according to user setting parameter information, and determines current letter
Starting timing position, signal number, free memory and the signal segment serial number of each signal in number segment;
Third step, determines signal end mark position, and count in current signal segment the number of repetition of each signal,
The timing information and current signal segment of each signal need the space occupied;
4th step repeats step 1 to step 3, is finished until memory space RAM is occupied.
Preferably, the virtual memory space calculation method are as follows:
Virt_ram=RAM/ (signal number of samples/(signal number of samples+free time number of samples));
Wherein, the signal number of samples is pulse width part sampling point number in signal, and the free time number of samples is a pulse
Remaining part sampling point number after removing pulsewidth in period.
Preferably, the composite signal intrapulse information handles detailed process are as follows:
The first step passes through the letter that envelope information handles the total segments of signal after synthesis is calculated, every section of segment includes
Number umber of pulse;
Second step, data size of defining arrays are every section of segment points;
Third step reads the envelope information saved after envelope information processing;
4th step is superimposed each letter by overall pulse number in resultant signal number and segment in chronological order in array data
Number amplitude information;
The signal segment synthesized in array data after the completion of each segment signal superposition, is saved in multiple target letter by the 5th step
In number file, and empties array and recycled next time.
Preferably, the arbitrary waveform generator generates analog signal using the method for digital-to-analogue conversion.
The invention has the following advantages: in the inventive solutions because in signal envelope information processing and
In composite signal intrapulse information treatment process, uncomfortable whole pulse signal PRI saves signal without signal space utilization rate is calculated
The time is generated, reaches and quickly generates Multiple Target Signals purpose.Simultaneously when generating Multiple Target Signals file, by only storing signal
The method that sampling point does not store idle sampling point not only efficiently uses hardware resource and also saves storage time.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
A kind of fast multi-target signal synthesis method comprises the concrete steps that: as shown in Figure 1, first according to the spy of individual signals
Individual signals are divided into signal sampling point (pulse width part) and an idle sampling point (pulse period interior remainder after removing pulsewidth by sign
Part) two parts.Secondly, storage signal sampling point generates Multiple Target Signals file, while generating signal and matching in ram space
Set file.Then, arbitrary waveform generator (AWG) reads Multiple Target Signals file generated Multiple Target Signals, and is matched according to signal
It sets file and reads signal sampling point and idle sampling point, generate complete signal sampling point, and download in memory, then pass through digital-to-analogue
The method of conversion exports multi-target simulation signal.The arbitrary waveform generator is for dedicated arbitrary waveform generator or with any wave
The signal generator of shape generation function.
Multiple Target Signals file only stores signal sampling point, is to save memory space to idle sampling point without storage.
The signal configuration file includes two parts content, and a part is total number of segment of signal sampling point and the number of each segment signal sampling point
Mesh, another part are total number of segment of idle sampling point and the number of each section of idle sampling point;The signal sampling point and idle sampling point
Signal alternately stores, i.e., first stores the first bars sampling point information, then deposits in the first latter position of bars sampling point information
First idle sampling point information is stored up, then stores the second bars sampling point letter the described first idle latter position of sampling point information
Then breath stores Article 2 free time sampling point information in the latter position of the second bars sampling point information, until all information stores
It completes.
Further, the Multiple Target Signals composition principle are as follows: firstly, inputting each pulse signal by user interface
Delay Delay, signal pulsewidth τ, signal pulse recurrence interval PRI, in signal amplitude signal intra-pulse modulation mode and signal arteries and veins
The informations parameter such as modulation parameter.
Then, because the signal that method of the invention is handled all is discrete time-domain signal, therefore continuous time signal need to be joined
Number is converted to discrete-time signal parameter.The relationship of continuous time signal and discrete-time signal are as follows:
τpoints=round ((τ * fs)/Ngran)*Ngran;
PRIpoints=round ((PRI*fs)/Ngran)*Ngran;
Delaypoints=round ((Delay*fs)/Ngran)*Ngran;
Wherein, τ is signal pulsewidth, and PRI is signal pulse recurrence interval, and Delay is signal initial time delay, fsIt is adopted for system
Sample rate, NgranFor the accessible signal granularity of system, τpointsAnd PRIpointsFor after digitizing and adjusting Relationship Between Size
Signal pulsewidth and signal pulse recurrence interval, DelaypointsFor the discrete points of delay.
Then, multiple signals are synthesized in the time domain.As shown in Fig. 2, being carried out to signal S1 (t) and signal S2 (t)
Synthesis processing, generates composite signal S (t).Within the period that only pulse occur in individual signals, retain original signal envelope, closes
The pulse 2 in signal S1 (t) is only remained at the signal segment 2 in signal S (t), during this period of time signal S2 (t) no pulse
It generates.Within the period that multiple signals pulse occur simultaneously, signal envelope superposition, the signal patch in composite signal S (t) are carried out
Section 1 and signal segment 3 are then signal envelope overlapping portion, i.e., during this period of time, the pulse of signal S1 (t) and signal S2 (t)
Signal generates simultaneously or pulse signal part generates simultaneously.Then signal segment number in statistics composite signal S (t), and
Count the pulse sequence information in the sampling number and signal segment that each segment signal segment includes.Finally in composite signal S (t)
In signal segment in handle intra-pulse modulation information, formed signal waveform file simultaneously multiple target is generated by arbitrary waveform generator
Signal.The processing mode of the composite signal S (t) and intra-pulse modulation information was calculated according to time and systematic sampling rate
Signal sampling point, the signal waveform file are signal configuration file, and the signal segment is Multiple Target Signals file.
In composition principle of the invention, the signal type synthesized is not limited to a type of signal, for
The signal type multiplicity of selection.It include: conventional, irregular, shake and sliding change according to pulse repetition classification of type, according to intrapulse information
Classification includes: single-frequency, diversity, LFM, NLFM, biphase coding and four phases coding.
Further, as shown in figure 3, the fast multi-target signal synthesizes detailed process are as follows: firstly, signal generates software
Parameter input interface is provided, the signal generates the preferred W2261BP software of software in the present embodiment, and user is defeated in input interface
Enter signal number, the delay Delay of signal, signal pulsewidth τ, signal pulse recurrence interval PRI, signal intra-pulse modulation mode and letter
Feel the pulse internal modulation parameter, and setting signal playing duration or specified signal available space RAM.Then, judge free memory
Whether there is space, when current memory space has space, circular treatment is carried out to signal envelope information always, until currently stored sky
Between it is insufficient when, that is, when current memory space does not have space, circulation terminates to carry out intrapulse information processing.Current memory space does not have
When having space, it is directly entered intrapulse information processing.The signal sampling point of each signal segment is all stored in after intrapulse information processing
In wave file.
When carrying out the synthesis of fast multi-target signal, neither adjustment signal PRI nor signal space utilization rate is calculated, saved
Signal generation time.The signal envelope information processing is used to calculate the envelope information after Multiple Target Signals synthesis, and single
Envelope relationship between signal and composite signal.The composite signal intrapulse information processing effect is that arteries and veins is added into composite signal
Internal modulation information forms final composite signal.
The signal envelope information processing detailed process are as follows: the physical memory space RAM specified according to user is calculated virtual
Memory headroom virt_ram does not store idle sampling point because this method only stores signal sampling point, therefore virtual memory space calculation method
Are as follows:
Virt_ram=RAM/ (signal number of samples/(signal number of samples+free time number of samples));
Then, composite signal is subjected to timing arrangement.The information such as timing, pulsewidth and pulse period according to each signal,
Determine the beginning flag position and current clip end mark position of current signal segment.When determining segment initial position, need
Determine starting timing position, signal number, free memory and the signal segment of each signal in current signal segment
The parameters such as serial number.When determining signal end mark, the number of repetition of each signal, every is needed to count in current signal segment
The timing information and current signal segment of a signal need the space occupied.Segment of signal sampling point is total after being synthesized with this
The number and the pulse sequence information in each segment of several, each fragment signal sampling point.When pulse in each segment
Sequence information includes each pulse signal number for including and each pulse signal in a certain synthesis segment in synthesis segment
Timing position.When in a certain synthesis segment and do not include pulse signal, then be set as 0.Pulse sequence in each segment
Information is for the processing of subsequent intrapulse information.
As shown in figure 4, a certain synthesis segment includes that each pulse signal number specifically refers to, each signal is read in the letter
The pulse signal number generated in number segment, the signal segment are by " segment starting " mark to " segment terminates " mark
It terminates.Signal S3 (t) pulse-free signal in signal segment shown in Fig. 4, therefore its number is set as 0, signal in the signal segment
S4 (t) pulse signal number is 3, and signal S5 (t) pulse signal number is 1 in the signal segment.
The signal intrapulse information handles detailed process are as follows:, will be each according to the information that signal envelope information processing obtains
The intrapulse information of a signal is synthesized, and multiple target wave file is formed.As shown in figure 5, firstly, synthesis after the total segment of signal
Number, by envelope information handle in function rearrange_mult_sig be calculated, the function rearrange_mult_
Sig table shows multi signal time domain rearrangement, i.e., pulse signal is chronologically arranged in virtual memory space virt_ram, and handles synthesis
The timing information of signal, while gain calculating is carried out to composite signal, composite signal amplitude peak is normalized to 1.
Secondly, array data is the sampling point number of each segment signal segment for storing data sample, space size.With
Afterwards, the parameter that each signal of user interface of software input is generated according to signal, signal message is synthesized in signal segment,
Resultant signal number and overall pulse number are handled in array data, are superimposed the amplitude letter of each signal in chronological order
Breath.Finally, the signal segment synthesized in array data is saved in Multiple Target Signals file after the completion of each segment signal superposition
In, then carry out the processing of next signal segment.
Further, after the synthesis of fast multi-target signal, the signal sampling point of each signal segment is all stored in more
In target waveform file.Then, arbitrary waveform generator reads file according to the signal number of samples of signal segment, while according to letter
Interval points addition free time between number segment, complete pulse signal sampling point is generated, and download in memory.Most
Afterwards, multi-target simulation signal needed for producing user by the method for digital-to-analogue conversion.
Multiple Target Signals synthetic method of the invention, during the entire process of Multiple Target Signals synthesis, uncomfortable whole pulse letter
Number PRI generates a plurality of types of echo signals without the method for calculating signal space utilization rate in a short time.Simultaneously in life
When at Multiple Target Signals file, the method for not storing idle sampling point by only storing signal sampling point not only efficiently uses hardware money
Source also saves storage time.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.