The content of the invention
In view of this, the present invention provides a kind of quick method for producing Multiple Target Signals and effectively utilizing hardware resource.
For achieving the above object, the technical solution adopted in the present invention is:A kind of fast multi-target signal synthesis side
Method comprises the following steps:
1) user produces parameter inputting interface setting signal parameter and the 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
Into the envelope relation between signal;
3) handled by composite signal intrapulse information and intra-pulse modulation information is added to composite signal, form multiple target waveform text
Part;
4) AWG 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
PRI, signal intra-pulse modulation mode and signal intra-pulse modulation parameter are spaced again.
Preferably, the formula that the signal parameter is converted to discrete time signal parameter by continued time domain signal parameter is:
τ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, fsAdopted for system
Sample rate, NgranFor the accessible signal granularity of system, τpointsAnd PRIpointsFor by 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 idiographic flow is:
The first step, the memory space RAM set according to user, calculate virtual memory space virt_ram;
Second step, according to user's arrange parameter information, current signal segment beginning flag position is determined, and determine current letter
Starting timing position, signal number, free memory and the signal segment sequence number of each signal in number fragment;
3rd step, determines signal end mark position, and count in current signal segment the number of repetition of each signal,
The space that the timing information and current signal segment of each signal need to take;
4th step, repeat step one to step 3, it is finished until memory space RAM is occupied.
Preferably, the virtual memory space computational methods are:
Virt_ram=RAM/ (signal number of samples/(signal number of samples+idle number of samples));
Wherein, the signal number of samples is pulse width part sampling point number in signal, and the idle number of samples is a pulse
Remaining part sampling point number after removing pulsewidth in cycle.
Preferably, the composite signal intrapulse information processing idiographic flow is:
The first step, pass through the letter that envelope information handles the total segments of signal after synthesis is calculated, every section of fragment includes
Number umber of pulse;
Second step, data sizes of defining arrays are that every section of fragment is counted;
3rd step, read the envelope information preserved after envelope information processing;
4th step, by overall pulse number in resultant signal number and fragment, it is superimposed each letter in chronological order in array data
Number amplitude information;
5th step, after the completion of each segment signal superposition, the signal segment synthesized in array data is saved in multiple target letter
In number file, and empty array and circulated next time.
Preferably, the AWG generates analog signal using the method for digital-to-analogue conversion.
The invention has the advantages that:In the inventive solutions, because in signal envelope information processing and
In composite signal intrapulse information processing procedure, 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 effectively also save storage time using hardware resource.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, belongs to the scope of protection of the 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
Sign, individual signals are divided into signal sampling point (pulse width part) and an idle sampling point (pulse period interior remainder after removing pulsewidth
Part) two parts.Secondly, storage signal sampling point generates Multiple Target Signals file, while generate signal and match somebody with somebody in ram space
Put file.Then, AWG (AWG) reads Multiple Target Signals file generated Multiple Target Signals, and is matched somebody with somebody according to signal
Put file and read signal sampling point and idle sampling point, generate complete signal sampling point, and download in internal memory, then pass through digital-to-analogue
The method output multi-target simulation signal of conversion.The AWG is for special AWG or with any ripple
The signal generator of shape generating 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 hop count of signal sampling point and the number of each segment signal sampling point
Mesh, another part are total hop count 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, is then deposited 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
Breath, Article 2 free time sampling point information then is stored in the latter position of the second bars sampling point information, until full detail stores
Complete.
Further, the Multiple Target Signals composition principle is:First, each pulse signal is inputted 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 of the method processing of the present invention is all discrete time-domain signal, therefore continuous time signal need to be joined
Number is converted to discrete-time signal parameter.The relation of continuous time signal and discrete-time signal is:
τ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, fsAdopted for system
Sample rate, NgranFor the accessible signal granularity of system, τpointsAnd PRIpointsFor by 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 time domain.As shown in Fig. 2 signal S1 (t) and signal S2 (t) is carried out
Synthesis is handled, generation composite signal S (t).Within the period that only pulse occur in individual signals, retain original signal envelope, close
The pulse 2 in signal S1 (t) is only remained into the signal segment 2 in signal S (t), signal S2 (t) no pulses within the period
Produce.Within the period that multiple signals pulse occur simultaneously, signal envelope superposition is carried out, the signal patch in composite signal S (t)
Section 1 and signal segment 3 are then signal envelope overlapping portion, i.e., within the period, signal S1 (t) and signal S2 (t) pulse
Signal produces simultaneously or pulse signal part produces simultaneously.Then signal segment number in statistics composite signal S (t), and
Count the pulse sequence information in sampling number and signal segment that each segment signal fragment includes.Finally in composite signal S (t)
In signal segment in processing intra-pulse modulation information, formed signal waveform file simultaneously multiple target is generated by AWG
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 the composition principle of the present invention, the signal type synthesized is not limited to a type of signal, is available for
The signal type of selection is various.Included according to pulse repetition classification of type:Conventional, irregular, shake and sliding change, according to intrapulse information
Classification includes:Single-frequency, diversity, LFM, NLFM, biphase coding and four phases coding.
Further, as shown in figure 3, fast multi-target signal synthesis idiographic flow is:First, signal produces software
Parameter inputting interface is provided, the signal produces the preferred W2261BP softwares of software in the present embodiment, and user is defeated in inputting 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 free space RAM.Then, free memory is judged
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, intrapulse information processing is directly entered.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 adjust signal PRI nor calculate signal space utilization rate, save
The signal generation time.The signal envelope information processing is used to calculate the envelope information after Multiple Target Signals synthesis, and single
Envelope relation 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, form final composite signal.
The signal envelope information processing idiographic flow is:The physical memory space RAM specified according to user, calculate virtual
Memory headroom virt_ram, because this method only stores signal sampling point, do not store idle sampling point, therefore virtual memory space computational methods
For:
Virt_ram=RAM/ (signal number of samples/(signal number of samples+idle number of samples));
Then, composite signal is subjected to sequential arrangement.The information such as sequential, pulsewidth and pulse period according to each signal,
Determine the beginning flag position and current clip end mark position of current signal segment.It is determined that during fragment original 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 sequence number.It is determined that, it is necessary to count in current signal segment the number of repetition of each signal, every during signal end mark
The space that the timing information and current signal segment of individual signal need to take.Fragment of signal sampling point is total after being synthesized with this
Pulse sequence information in the number and each fragment of several, each fragment signal sampling point.During pulse in each fragment
Sequence information includes each pulse signal number included in a certain synthesis fragment, and each pulse signal is in synthesis fragment
Timing position.When it is a certain synthesis fragment in and do not include pulse signal, then be arranged to 0.Pulse sequence in each fragment
Information is for the processing of follow-up intrapulse information.
As shown in figure 4, a certain synthesis fragment specifically refers to comprising each pulse signal number, each signal is read in the letter
The pulse signal number of generation in number fragment, the signal segment are to " fragment terminates " mark by " fragment starting " mark
Terminate.Signal S3 (t) pulse-free signals in signal segment shown in Fig. 4, therefore its number is arranged to 0, signal in the signal segment
S4 (t) pulse signals number is 3, and signal S5 (t) pulse signals number is 1 in the signal segment.
The signal intrapulse information handles idiographic flow:The information obtained according to signal envelope information processing, will be each
The intrapulse information of individual signal is synthesized, and forms multiple target wave file.As shown in figure 5, first, the total fragment of signal after synthesis
Number, the function rearrange_mult_sig in being handled by envelope information are 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 used to deposit data sample, and its space size is the sampling point number of each segment signal fragment.With
Afterwards, the parameter for each signal that user interface of software inputs is produced 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, after the completion of each segment signal superposition, the signal segment synthesized in array data is saved in Multiple Target Signals file
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, AWG reads file according to the signal number of samples of signal segment, while according to letter
Interval points addition free time between number fragment, complete pulse signal sampling point is generated, and download in internal memory.Most
Afterwards, the multi-target simulation signal needed for user is produced by the method for digital-to-analogue conversion.
The Multiple Target Signals synthetic method of the present invention, during the entire process of Multiple Target Signals synthesis, uncomfortable whole pulse letter
Number PRI generates polytype echo signal in a short time without the method for calculating signal space utilization rate.Simultaneously in life
During into Multiple Target Signals file, the method that does not store idle sampling point by only storing signal sampling point, not only effectively provided using hardware
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 essences in the present invention
God any modification, equivalent substitution and improvements made etc., should be included in the scope of the protection with principle.