METHOD AND APPARATUS FOR GENERATING NON-LINEAR FREQUENCY MODULATION SIGNAL IN REAL TIME AND COMPUTER STORAGE MEDIUM

Information

  • Patent Application
  • 20210003666
  • Publication Number
    20210003666
  • Date Filed
    March 16, 2020
    4 years ago
  • Date Published
    January 07, 2021
    3 years ago
Abstract
A method and apparatus for generating a NLFM signal in real time, and a computer storage medium are disclosed, including: determining a signal parameter of a signal according to a system parameter, the signal parameter includes: a signal bandwidth, a signal pulse width and a PSLR; determining a power spectrum density function according to PSLR; calculating the power spectrum density function to obtain a group delay vector; calculating a frequency axial vector according to a system sampling rate; calculating a time axial vector according to the signal pulse width; performing linear interpolation calculation on the group delay vector to obtain an instantaneous frequency vector; integrating the instantaneous frequency vector to obtain a phase vector; determining a signal time domain discrete vector; and generating a digital signal according to the signal time domain discrete vector, and performing digital-to-analog conversion on the digital signal to obtain the NLFM signal.
Description
CROSS-REFERENCE TO RELATED APPLICATION

The present application claims benefit of Chinese Patent Application No. 201910045019.0, filed on Jan. 17, 2019, the contents of which are hereby incorporated by reference in their entirety.


TECHNICAL FIELD

The disclosure relates to the technical field of signal processing, and in particular to a method and an apparatus for generating a Non-Linear Frequency Modulation (NLFM) signal in real time, and a computer storage medium.


BACKGROUND

A Synthetic Aperture Radar (SAR) can observe the earth in all day-and-night, all weathers and all over the globe, and is applied widely. At present, a Linear Frequency Modulation (LFM) signal have a transmitting waveform that is most commonly used in an SAR system. For a response function generated by such a waveform via matched filtering, a Peak Side Lobe Ratio (PSLR) after normalization is −13 decibels (dBs). In order to suppress a height of a side lobe, a weighted window function, an adaptive filtering algorithm and an optimization algorithm are often used. However, these methods will make a matched filter unmatched and reduce the Signal to Noise Ratio (SNR) of the output.


Compared with the LFM signal, a very small PSLR may be obtained by a pulse compression of an NLFM signal, and the SNR of the output is not reduced in this process. From relevant experiments, the NLFM signal may reduce a loss of the SNR by 1-2 dB, which means that 25% of transmitted power of an antenna is saved. For the energy starved radar system, the system performance may be improved by using the NLFM signal as the transmitting waveform.


Presently, a common technical method for producing the NLFM signal includes the following operations: a discrete value of the signal is obtained by a calculation process at ground, and then stored in a Read-Only Memory (ROM) of a Field-Programmable Gate Array (FPGA). In use, discrete data stored in the ROM is read, and subjected to digital-to-analog conversion to generate the NLFM signal. For such a method, the signal needs to be collected and stored first and then invoked and converted to generate the NLFM signal. The method is restricted by a limited storage space of the ROM. Due to the storage mode, the NLFM signal can only be used in a scientific experiment, and cannot be promoted in engineering.


Therefore, how to decrease time for generating the NLFM signal so as to generate the NLFM signal in real-time is a problem to be solved urgently at present.


SUMMARY

The embodiments of the disclosure provide a method and an apparatus for generating an NLFM signal in real time.


The embodiments of the disclosure provide a method for generating an NLFM signal in real time, which includes the following operations.


A signal parameter of a signal is determined according to a system parameter, the signal parameter at least includes: a signal bandwidth, a signal pulse width and a PSLR.


A power spectrum density function is determined according to the PSLR.


The power spectrum density function is calculated to obtain a group delay vector.


A frequency axial vector is calculated according to a system sampling rate.


A time axial vector is calculated according to the signal pulse width.


Linear interpolation calculation is performed on the group delay vector by using the frequency axial vector and the time axial vector, to obtain an instantaneous frequency vector.


The instantaneous frequency vector is integrated to obtain a phase vector.


A signal time domain discrete vector is determined according to the phase vector.


A digital signal is generated according to the signal time domain discrete vector, and digital-to-analog conversion is performed on the digital signal to obtain the NLFM signal.


In the above-mentioned solutions, the operation that a power spectrum density function is determined according to the PSLR includes the following operation.


A window function corresponding to the PSLR is obtained according to the PSLR, and the power spectrum density function is determined according to the window function.


In the above-mentioned solutions, the operation that the power spectrum density function is calculated to obtain a group delay vector includes the following operation.


Discrete integration is performed on the power spectrum density function to obtain the group delay vector.


In the above-mentioned solutions, the operation that linear interpolation calculation is performed on the group delay vector by using the frequency axial vector and the time axial vector to obtain an instantaneous frequency vector includes the following operations.


The group delay vector is divided into n group delay subvectors, n is a positive integer greater than 1.


The linear interpolation calculation is performed on the n group delay subvectors respectively by using the frequency axial vector and the time axial vector to obtain n instantaneous frequency vectors.


The operation that the instantaneous frequency vector is integrated to obtain a phase vector includes the following operation.


The n instantaneous frequency vectors are respectively integrated, and integrated results are spliced to obtain the phase vector.


The embodiments of the disclosure provide an apparatus for generating an NLFM signal in real time, which includes: a processor; a memory for storing instructions; and a digital to analog converter, wherein the processor is configured to execute the instructions to: determine a signal parameter of a signal according to a system parameter, the signal parameter at least includes: a signal bandwidth, a signal pulse width and a PSLR; determine a power spectrum density function according to the PSLR; calculate the power spectrum density function to obtain a group delay vector; calculate a frequency axial vector according to a system sampling rate; calculate a time axial vector according to the signal pulse width; perform linear interpolation calculation on the group delay vector by using the frequency axial vector and the time axial vector to obtain an instantaneous frequency vector; integrate the instantaneous frequency vector to obtain a phase vector; determine a signal time domain discrete vector according to the phase vector; and generate a digital signal according to the signal time domain discrete vector, and perform digital-to-analog conversion on the digital signal to obtain the NLFM signal via the digital to analog converter.


In the above-mentioned solutions, the processor is further configured to execute the instructions to: obtain a window function corresponding to the PSLR according to the PSLR, and determine the power spectrum density function according to the window function.


In the above-mentioned solutions, the processor is further configured to execute the instructions to: perform discrete integration on the power spectrum density function to obtain the group delay vector.


In the above-mentioned solutions, the processor is further configured to execute the instructions to divide the group delay vector into n group delay subvectors, n is a positive integer greater than 1; and perform, by using the frequency axial vector and the time axial vector, the linear interpolation calculation on the n group delay subvectors respectively, to obtain n instantaneous frequency vectors.


The processor is further configured to execute the instructions to integrate the n instantaneous frequency vectors respectively, and splice integrated results to obtain the phase vector.


The embodiments of the disclosure provide a computer readable storage medium having computer programs stored thereon; and the computer programs implement, when being executed by a processor, any operation of the method for generating the NLFM signal in real time in the above-mentioned solutions.





BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings generally show the embodiments discussed in the specification in an illustrative manner rather than a restrictive manner.



FIG. 1 schematically illustrates a flowchart of a method for generating an NLFM signal in real time according to an embodiment of the disclosure.



FIG. 2 schematically illustrates a structural diagram of an apparatus for generating an NLFM signal in real time according to an embodiment of the disclosure.



FIG. 3 schematically illustrates a flowchart of a method for generating a time domain signal according to an embodiment of the disclosure.



FIG. 4 schematically illustrates a plane effect of a linear interpolation algorithm according to an embodiment of the disclosure.



FIG. 5 schematically illustrates a structural diagram of an apparatus implemented based on FPGA hardware according to an embodiment of the disclosure.



FIG. 6 schematically illustrates a time sequence for generating an NLFM signal based on an SAR system according to an embodiment of the disclosure.



FIG. 7 is an image of a real part of a time domain signal of an analog signal result collected by an oscilloscope according to an embodiment of the disclosure.



FIG. 8 is an image of a real part of a time domain signal after pulse compression according to an embodiment of the disclosure.





DETAILED DESCRIPTION

In order to understand the characteristics and technical contents in the embodiments of the disclosure more specifically, the implementation for each embodiment of the disclosure will be described below in detail in combination with the accompanying drawings. The accompanying drawings are merely for reference, rather than a limit for the embodiments of the disclosure.


The embodiments of the disclosure provide a method for generating an NLFM signal in real time. As shown in FIG. 1, the method includes the following operations.


At Operation 101: a signal parameter of a signal is determined according to a system parameter, the signal parameter at least includes: a signal bandwidth, a signal pulse width and a PSLR. The system is a radar system, and the signal is a signal transmitted by the system.


In some embodiments, the parameter of the radar system is a parameter of an SAR system.


In some embodiments, the signal is a radar transmitting signal.


Specifically, the system parameter refers to a parameter related to the signal in the SAR system, the system parameter may include an SNR and a range resolution. The SNR is an SNR output by the radar system, and is used for determining a pulse width of the signal, that is, determining the signal pulse width. The range resolution refers to a minimum space for distinguishing two targets at different distances, and is used for determining the signal bandwidth.


In the embodiments of the present disclosure, the B denotes the signal bandwidth, and the Tp denotes the signal pulse width.


At Operation 102: a power spectrum density function is determined according to the PSLR.


In some embodiments, the operation 102 includes the following operations: a window function corresponding to the PSLR is obtained according to the PSLR, and the power spectrum density function is determined according to the window function.


Herein, the window function corresponding to the PSLR is obtained according to the PSLR based on correspondence between PSLRs and window functions, which is set in advance.


In some embodiments, the correspondence between PSLRs and window functions may be set in a correspondence table. When there is a need to obtain a window function, a required PSLR is used as an index, and a window function corresponding to a PSLR having a value same as the required PSLR is found in the correspondence table.


The window function may include: a Hamming window, a Kaiser window and a Taylor window.


At Operation 103: the power spectrum density function is calculated to obtain a group delay vector.


In some embodiments, the operation 103 includes an operation that discrete integration is performed on the power spectrum density function to obtain the group delay vector.


Specifically, the group delay may be calculated according to the power spectrum density function by a formula (1):










G


(
f
)


=



0
f





P


(
f
)


C


d

f






(
1
)







Where, the f denotes a frequency, the P(f) denotes a power spectrum density function with the frequency as a dependent variable, and the C is an inverse proportional coefficient, and may be denoted by a formula (2):









C
=


1

T
p







B
/
2



-
B

/
2





P


(
f
)



d

f







(
2
)







During hardware implementation, discrete integration may be used and the group delay may be denoted as a group delay vector {right arrow over (g)}, where, the {right arrow over (g)} may be denoted by a formula (3):






{right arrow over (g)}=(g0,g1, . . . ,gi)  (3)


Where, 0≤i≤N−1, the gi denotes a discrete value of G(f) and the N is the number of sampling points; and N=└FsTp┘, where the └⋅┘ denotes to round down.


In some embodiments, a Taylor window function may be selected as the power spectrum density function, and a corresponding group delay function G(f) may be denoted by a formula (4):










G


(
f
)


=




T
p

B


f

+




m
=
1



m
_

-
1







F
m



T
p



π

m




sin


(



2

π

m

B


f

)









(
4
)







Where, the Fm is a Taylor window coefficient, the m is the number of side lobes having a same height, and the m is a calculation process quantity.


At Operation 104: a frequency axial vector is calculated according to a system sampling rate.


The frequency axial vector {right arrow over (f)} is calculated according to the system sampling rate Fs, wherein the {right arrow over (f)} may be denoted by a formula (5):






{right arrow over (f)}[f0,f1, . . . ,fi]  (5)

    • Where







0

i


N
-
1


,


f
i

=


-


F
s

2


+

i
×



F
s

N

.








The system sampling rate Fs is a default value set when the system is designed. In some embodiments, the system sampling rate Fs may be determined based on the system parameter.


At Operation 105: a time axial vector is calculated according to the signal pulse width.


The time axial vector {right arrow over (t)} may be denoted by a formula (6):






{right arrow over (t)}=[t0,t1, . . . ,ti]  (6)

    • Where,







0

i


N
-
1


,


t
i

=


-


T
p

2


+

i
×


1

F
s


.








At Operation 106: linear interpolation calculation is performed on the group delay vector by using the frequency axial vector and the time axial vector to obtain an instantaneous frequency vector.


Linear interpolation is performed on the group delay vector {right arrow over (g)} according to the frequency axial vector {right arrow over (f)}, the time axial vector {right arrow over (t)}, to calculate the instantaneous frequency vector {right arrow over (F)}, wherein the {right arrow over (F)} may be denoted by a formula (7):






{right arrow over (F)}=(ft0,ft1, . . . ,fti)=interp1[{right arrow over (g)},{right arrow over (f)},{right arrow over (t)}]  (7)


Where, the interp1 function is a one-dimensional linear interpolation function; and a correspondence between horizontal and vertical coordinates is determined based on ({right arrow over (f)},{right arrow over (g)}) within a two-dimensional coordinate plane, a vertical coordinate corresponding to a horizontal coordinate {right arrow over (t)} calculated via linear interpolation is:






{right arrow over (F)}=interp1[{right arrow over (g)},{right arrow over (f)},{right arrow over (t)}]


Further, the vertical coordinate fti corresponding to the horizontal coordinate ti may be denoted by a formula (8):










f

t
i


=




g
p

-

g
q




f
p

-

f
q



×

t
i






(
8
)







The ti falls into an interval [gp, gp], 0≤q≤i≤p≤N−1, and the fp and the fq are vertical coordinates corresponding to horizontal coordinate gp and gq, respectively.


At Operation 107: the instantaneous frequency vector is integrated to obtain a phase vector.


The signal phase vector {right arrow over (ϕ)} is obtained by integrating according to the instantaneous frequency vector, and the {right arrow over (ϕ)} may be denoted by a formula (9):





{right arrow over (ϕ)}=[ϕ01, . . . ,ϕi]  (9)

    • Where, when i=0, ϕ0=0.
    • When 1≤i≤N−1,







φ
i

=



π


(


f

t
i


+

f

t

i
-
1




)


×

1

F
s



+


φ

i
-
1


.






In some embodiments, the operation 106 includes the following operations.


The group delay vector {right arrow over (g)} is divided into n group delay subvectors, the n is a positive integer greater than 1.


The linear interpolation calculation is respectively performed on the n group delay subvectors by using the frequency axial vector {right arrow over (f)} and the time axial vector {right arrow over (t)} to obtain n instantaneous frequency vectors.


The operation 107 includes the following operation.


The n instantaneous frequency vectors are respectively integrated, and integrated results are spliced to obtain the phase vector {right arrow over (ϕ)}.


In some embodiments, with n=2 as an example: the signal phase vectors, i.e. {right arrow over (ϕ)}1=[ϕ0, ϕ1, . . . , ϕh] and {right arrow over (ϕ)}2=[ϕh+1, ϕh+2, . . . , ϕi] are calculated by using two instantaneous frequency vectors obtained in the operation 106, where 0≤h≤i≤N−1. Supposing that ϕ0=0 and ϕh+1=0 are set in advance, the {right arrow over (ϕ)}1 and the {right arrow over (ϕ)}2 may be respectively calculated as per the operation 107. At last, a final value of the {right arrow over (ϕ)}1 serves as an initialized value {right arrow over (ϕ)}2=[ϕh+1, ϕh+2, . . . , ϕi]+ϕh of the {right arrow over (ϕ)}2; and as a consequence, the {right arrow over (ϕ)}1 and the {right arrow over (ϕ)}2 are directly spliced into an integral phase vector {right arrow over (ϕ)}.


At Operation 108: a signal time domain discrete vector is determined according to the phase vector.


Specifically, the signal time domain discrete vector {right arrow over (s)} may be denoted by a formula (9):






s=[s0,s1, . . . ,si]  (10)

    • Where, 0≤i≤N−1, Si=exp(j2πϕi).


At Operation 109: a digital signal is generated according to the signal time domain discrete vector, and digital-to-analog conversion is performed on the digital signal to obtain the NLFM signal.


The digital-to-analog conversion means that a discrete digital quantity is converted into an analog quantity that is changed continuously. In some embodiments, the digital-to-analog conversion may be performed via a Digital to Analog Converter (DAC).


Generating in real-time means generating within a limited time, and the range of the limited time is determined according to an actual demand. In this embodiment of the disclosure, for the real-time generation of the NLFM signal, the limited time range is determined with a computer processing speed and a communication transmitting speed of the radar system as a standard, and generally reaches to a microsecond.


The embodiments of the disclosure provide an apparatus for generating an NLFM signal in real time. As shown in FIG. 2, the apparatus includes: an initialization module 301, a power spectrum density function determination module 302, a group delay vector calculation module 303, a frequency axial vector calculation module 304, a time axial vector calculation module 305, an instantaneous frequency vector calculation module 306, a phase vector calculation module 307, a discrete vector calculation module 308, and a conversion module 309.


The initialization module 301 is configured to determine a signal parameter of a signal according to a system parameter, the signal parameter at least includes: a signal bandwidth, a signal pulse width and a PSLR.


In the embodiments of the disclosure, the B denotes the signal bandwidth, and the Tp denotes the signal pulse width.


The power spectrum density function determination module 302 is configured to determine a power spectrum density function according to the PSLR.


In some embodiments, the power spectrum density function determination module 302 is specifically configured to: obtain a window function corresponding to the PSLR according to the PSLR, and determine the power spectrum density function according to the window function.


Herein, the window function corresponding to the PSLR may be obtained according to the PSLR based on correspondence between PSLRs and window functions, which is set in advance.


In some embodiments, the correspondence between PSLRs and window functions may be set in a correspondence table. When there is a need to obtain the window function, a required PSLR is used as an index, and the window function corresponding to the PSLR having a value same as the required PSLR is found in the corresponding table.


The window function may include: a Hamming window, a Kaiser window and a Taylor window.


The group delay vector calculation module 303 is configured to calculate the power spectrum density function to obtain a group delay vector.


In some embodiments, the group delay vector calculation module 303 is specifically configured to: perform discrete integration on the power spectrum density function to obtain the group delay vector.


Specifically, the group delay may be calculated according to the power spectrum density function as per a formula (1).


During hardware implementation, discrete integration may be used and the group delay may be denoted as a group delay vector {right arrow over (g)}, where, the {right arrow over (g)} may be denoted by a formula (3).


In some embodiments, a Taylor window function may be selected as the power spectrum density function, and a corresponding group delay function G(f) may be denoted by a formula (4).


The frequency axial vector calculation module 304 is configured to calculate a frequency axial vector according to a system sampling rate.


In some embodiments, the frequency axial vector calculation module 304 is specifically configured to: calculate the frequency axial vector {right arrow over (f)} according to the system sampling rate Fs, wherein the {right arrow over (f)} may be denoted by a formula (5).


The time axial vector calculation module 305 is configured to calculate a time axial vector according to the signal pulse width.


In some embodiments, the time axial vector {right arrow over (t)} may be denoted by a formula (6).


The instantaneous frequency vector calculation module 306 is configured to perform linear interpolation calculation on the group delay vector by using the frequency axial vector and the time axial vector to obtain an instantaneous frequency vector.


In some embodiments, the instantaneous frequency vector calculation module 306 is specifically configured to: perform linear interpolation to the group delay vector {right arrow over (g)} according to the frequency axial vector {right arrow over (f)}, the time axial vector {right arrow over (t)}, to calculate the instantaneous frequency vector {right arrow over (F)}, wherein the instantaneous frequency vector may be denoted by a formula (7).


The interp1 function is a one-dimensional linear interpolation function; and a correspondence between horizontal and vertical coordinates is determined based on ({right arrow over (g)},{right arrow over (f)}) within a two-dimensional coordinate plane, a vertical coordinate corresponding to a horizontal coordinate {right arrow over (t)} is calculated via linear interpolation as {right arrow over (F)}=interp1[{right arrow over (g)}, {right arrow over (f)}, {right arrow over (t)}]


Further, the corresponding vertical coordinate fti corresponding to the horizontal coordinate ti may be denoted by a formula (8).


The phase vector calculation module 307 is configured to integrate the instantaneous frequency vector to obtain a phase vector.


In some embodiments, the phase vector calculation module 307 is specifically configured to: perform integrating according to the instantaneous frequency vector to obtain the signal phase vector {right arrow over (ϕ)}, and the {right arrow over (ϕ)} may be denoted by a formula (9).


In some embodiments, the instantaneous frequency vector calculation module 306 is further configured to: divide the group delay vector {right arrow over (g)} into n group delay subvectors, n is a positive integer greater than 1; and respectively perform the linear interpolation calculation on the n group delay subvectors by using the frequency axial vector {right arrow over (f)} and the time axial vector {right arrow over (t)} to obtain n instantaneous frequency vectors.


The phase vector calculation module 307 is further configured to: integrate the n instantaneous frequency vectors respectively, and splice integrated results to obtain the phase vector {right arrow over (ϕ)}.


The discrete vector calculation module 308 is configured to determine a signal time domain discrete vector according to the phase vector. Specifically, the signal time domain discrete vector {right arrow over (s)} may be denoted by a formula (9).


The conversion module 309 is configured to generate a digital signal according to the signal time domain discrete vector, and perform digital-to-analog conversion on the digital signal to obtain the NLFM signal.


The embodiments of the disclosure provide a method for generating a time domain signal, which may be applied to hardware implementation. As shown in FIG. 3, the method includes the following operations.


At Operation 401: a signal parameter is initialized as required.


In this embodiment of the disclosure, the operation 401 that a signal parameter is initialized as required includes an operation that a required signal parameter is determined according to a system parameter such as an SNR and a range resolution, the signal parameter includes a signal bandwidth B, a signal pulse width Tp and a PSLR; and a power spectrum density function is determined according to the PSLR.


At Operation 402: a group delay vector is calculated according to a power spectrum density function.


Specifically, the group delay may be calculated according to the power spectrum density function determined in the operation 401 as per a following formula.







G


(
f
)


=



0
f





P


(
f
)


C


d

f






Where, the P(f) denotes a power spectrum density function. In some embodiments, a window function (for example, a Hamming window, a Kaiser window, a Taylor window etc.) may be used as the power spectrum density function. The C is an inverse proportional coefficient,







C
=


1

T
p







B
/
2



-
B

/
2





P


(
f
)



d

f




.




In some embodiments, during hardware implementation, discrete integration may be used and the group delay may be denoted as a group delay vector {right arrow over (g)}=(g0, g1, . . . , gi), where, 0≤i≤N−1, the gi denotes a discrete value of G(f) and the N is the number of sampling points; and N=└FsTp┘, where the └⋅┘ denotes to round down.


In some embodiments, a Taylor window function may be selected as the power spectrum density function, and a corresponding group delay function may be denoted as







G


(
f
)


=




T
p

B


f

+




m
=
1



m
_

-
1







F
m



T
p



π

m





sin


(



2

π

m

B


f

)


.








Where, the Fm is a Taylor window coefficient, the m is the number of side lobes having a same height, and the m is a calculation process quantity.


At Operation 403: linear interpolation is performed according to the group delay vector to determine an instantaneous frequency vector.


Specifically, a frequency axial vector {right arrow over (f)} calculated according to the signal pulse width, the signal bandwidth and the system sampling rate Fs is






{right arrow over (f)}=[f0,f1, . . . ,fi]

    • Where, 0≤i≤N−1,








f
i

=


-


F
s

2


+

i
×


F
s

N




.




A time axial vector {right arrow over (t)} is






{right arrow over (t)}=[t0,t1, . . . ,ti]

    • Where, 0≤i≤N−1,








t
i

=


-


T
p

2


+

i
×

1

F
s





.




The linear interpolation is performed on the group delay vector {right arrow over (g)} according to the frequency axial vector {right arrow over (f)}, the time axial vector {right arrow over (t)}, to calculate the instantaneous frequency vector {right arrow over (F)} as






{right arrow over (F)}=(ft0,ft1, . . . ,fti)=interp1[{right arrow over (g)},{right arrow over (f)},{right arrow over (t)}]


The interp1[{right arrow over (g)}, {right arrow over (f)}, {right arrow over (t)}] denotes a one-dimensional linear interpolation operator. Particularly, according to correspondence between horizontal and vertical coordinates is determined according to ({right arrow over (g)}, {right arrow over (f)}) within a two-dimensional coordinate plane, a vertical coordinate, corresponding to a horizontal coordinate {right arrow over (t)}, calculated via linear interpolation is {right arrow over (F)}=interp1[{right arrow over (g)}, {right arrow over (f)}, {right arrow over (t)}]


Further, the vertical coordinate fti corresponding to the horizontal coordinate ti is







f

t
i


=




g
p

-

g
q




f
p

-

f
q



×


t
i

.






The ti falls into an interval [gp, gq], 0≤q≤i≤p≤N−1, and the fp is a vertical coordinate corresponding to horizontal coordinates gp and the fq is a vertical coordinate corresponding to horizontal coordinates gq. The correspondence is as shown in FIG. 4, a curve of a discrete value of the G(f) is within a coordinate system, and the fti is determined according to the ti.


Particularly, piecewise interpolation may be performed to implement concurrent processing.


At Operation 404: a signal phase vector {right arrow over (ϕ)}=[ϕ0, ϕ1, . . . , ϕi] is obtained by integrating according to the instantaneous frequency vector, which specifically includes the following operations.







When






i
=
0


,


φ
0

=
0.









When





i

=
1

,


φ
1

=




π


(


f

t
1


+

f

t
0



)


×

1

F
s



+



φ
0

.




When






i


=
2


,


φ
2

=



π


(


f

t
2


+

f

t
1



)


×

1

F
s



+


φ
1

.
















When





1


i


N
-
1


,


φ
i

=



π


(


f

t
i


+

f

t

i
-
1




)


×

1

F
s



+


φ

i
-
1


.







Particularly, it may be appropriate to block for concurrent calculation herein. Instantaneous frequency vectors calculated by blocking in the step 403 are used to calculate the signal phase vector. For example, two blocks are provided to calculate {right arrow over (ϕ1)}=[ϕ0, ϕ1, . . . , ϕh] and {right arrow over (ϕ2)}=[ϕh+1, ϕh+2, . . . , ϕi], where 0≤h≤i≤N−1. In a case where ϕ0=0 and ϕh+1=0 are set first, the {right arrow over (ϕ)}1 and the {right arrow over (ϕ)}2 are calculated by blocking according to an integration process in the step 404; then, a final value of the {right arrow over (ϕ)}1 serves as an initialized value of the {right arrow over (ϕ)}2 to obtain {right arrow over (ϕ2)}=[ϕh+1, ϕh+2, . . . , ϕi]+ϕh; and at last, the {right arrow over (ϕ)}1 and the {right arrow over (ϕ)}2 are directly spliced into an integral phase vector {right arrow over (ϕ)}.


At Operation 405: an NLFM signal is obtained according to the signal phase vector.


In some embodiments, the operation 405 includes an operation that a signal time domain discrete vector is determined according to a signal phase.


In some embodiments, the signal time domain discrete vector {right arrow over (s)} may be denoted as {right arrow over (s)}=[s0, s1, . . . , si], where, 0≤i≤N−1 and Si=exp(j2πϕi).


The embodiments of the disclosure provide an apparatus implemented based on FPGA hardware. As shown in FIG. 5, the apparatus includes: an initialization module 51, a group delay vector calculation module 52, an instantaneous frequency vector calculation module 53, an integration module 54, and a conversion module 55.


The initialization module 51 is configured to initialize a signal parameter as required.


For example, the initialization module 51 is configured to determine a required signal parameter according to a system parameter such as an SNR and a range resolution, the signal parameter includes a signal bandwidth B, a signal pulse width p and a PSLR; and determine a power spectrum density function according to the PSLR. In practice, the signal parameter can be determined according to an instruction parameter sent by a serial port of an upper computer.


The group delay vector calculation module 52 is configured to calculate a group delay vector according to the power spectrum density function.


Specifically, the group delay may be calculated according to the power spectrum density function as per a following formula.







G


(
f
)


=



0
f





P


(
f
)


C


d

f






Where, the f denotes a frequency, and the P(f) denotes a power spectrum density function with the frequency as a dependent variable. In some embodiments, a window function (for example, a Hamming window, a Kaiser window and a Taylor window) may be used as the power spectrum density function. The C is an inverse proportional coefficient,







C
=


1

T
p







B
/
2



-
B

/
2





P


(
f
)



d

f




.




In some embodiments, during hardware implementation, discrete integration may be used and the group delay is denoted as a group delay vector {right arrow over (g)}=(g0, g1, . . . , gi), where, 0≤i≤N−1, the gi denotes a discrete value of G(f) and the N is the number of sampling points; and N=└FsTp┘, where the └⋅┘ denotes to round down.


In some embodiments, a Taylor window function may be selected as the power spectrum density function, and a corresponding group delay function may be denoted as








G


(
f
)


=




T
p

B


f

+




m
=
1



m
_

-
1







F
m



T
p



π

m




sin


(



2

π

m

B


f

)






.




Where, the Fm is a Taylor window coefficient, the m is the number of side lobes having a same height, and the m is a calculation process quantity.


The instantaneous frequency vector calculation module 53 is configured to perform linear interpolation according to the group delay vector to determine an instantaneous frequency vector. In some embodiments, the instantaneous frequency vector calculation module 53 may include multiple blocks.


Specifically, according to signal pulse width, signal bandwidth and system sampling rate Fs, a frequency axial vector {right arrow over (f)} is calculated as






{right arrow over (f)}=[f0,f1, . . . ,fi]

    • Where, 0≤i≤N−1,








f
i

=


-


F
s

2


+

i
×


F
s

N




.




A time axial vector {right arrow over (t)} is






{right arrow over (t)}=[t0,t1, . . . ,ti]

    • Where, 0≤i≤N−1







t
i

=


-


T
p

2


+

i
×


1

F
s


.







The linear interpolation is performed on the group delay vector according to the frequency axial vector {right arrow over (f)}, the time axial vector {right arrow over (t)}, to calculate the instantaneous frequency vector {right arrow over (F)} as






{right arrow over (F)}=(ft0,ft1, . . . ,fti)=interp1[{right arrow over (g)},{right arrow over (f)},{right arrow over (t)}]


The inter1[{right arrow over (g)},{right arrow over (f)},{right arrow over (t)}] denotes a one-dimensional linear interpolation operator, particularly, correspondence between horizontal and vertical coordinates can be determined according to ({right arrow over (g)},{right arrow over (f)}) within a two-dimensional coordinate plane, a vertical coordinate corresponding to a horizontal coordinate {right arrow over (t)} calculated via linear interpolation is






{right arrow over (F)}=interp1[{right arrow over (g)},{right arrow over (f)},{right arrow over (t)}]


Further, the vertical coordinate fti corresponding to the horizontal coordinate ti is







f

t
i


=




g
p

-

g
q




f
p

-

f
q



×


t
i

.






The ti falls into an interval [gp, gq], 0≤q≤i≤p≤N−1, and the fp is vertical coordinates corresponding to horizontal coordinates gp and the fq is vertical coordinates corresponding to horizontal coordinates gq.


The instantaneous frequency vector 53 is configured to perform integrating according to the instantaneous frequency vector to obtain a signal phase vector








φ
->

=

[


φ
0

,

φ
1

,





,

φ
i


]


,
specifically
,






when





i

=
0

,


φ
0

=
0.









when





i

=
1

,


φ
1

=




π


(


f

t
1


+

f

t
0



)


×

1

F
s



+



φ
0

.




When






i


=
2


,


φ
2

=



π


(


f

t
2


+

f

t
1



)


×

1

F
s



+


φ
1

.
















When





1


i


N
-
1


,


φ
i

=



π


(


f

t
i


+

f

t

i
-
1




)


×

1

F
s



+


φ

i
-
1


.







Particularly, it may be appropriate to block to calculate the signal phase vector concurrently herein. For example, two blocks are provided to calculate {right arrow over (ϕ)}1=[ϕ0, ϕ1, . . . , ϕh] and {right arrow over (ϕ)}2=[ϕh+1, ϕh+2, . . . , ϕi], where 0≤h≤i≤N−1. In a case where ϕ0=0 and ϕh+1=0 are set first, the {right arrow over (ϕ)}1 and the {right arrow over (ϕ)}2 are calculated by blocking according to an integration process in the step 404; then, a final value of the {right arrow over (ϕ)}1 serves as an initialized value of the {right arrow over (ϕ)}2 to obtain {right arrow over (ϕ)}2=[ϕh+1, ϕh+2, . . . , ϕi]+ϕh; and at last, the {right arrow over (ϕ)}1 and the {right arrow over (ϕ)}2 are directly spliced into an integral phase vector {right arrow over (ϕ)}.


The integration module 54 is configured to determine a signal time domain discrete vector according to the phase vector. In some embodiments, the integration module 54 may include multiple integration blocks for integral calculation.


In some embodiments, the signal time domain discrete vector {right arrow over (s)} may be denoted as {right arrow over (s)}=[s0, s1, . . . , si], where, 0≤i≤N−1 and Si=exp(j2πϕi). The signal time domain discrete vector {right arrow over (s)} is a digital signal obtained by FPGA calculation.


The conversion module 55 is configured to generate a discrete signal of the signal into a series digital signal, and perform digital-to-analog conversion on the series digital signal to obtain the NLFM signal.


Specifically, the conversion module 55 converts the digital signal generated by the discrete value of the signal into an analog signal, to form a corresponding satisfied NLFM signal. In this embodiment, the conversion module 55 may be implemented via a DAC and convert the digital signal into the analog signal.


The embodiments of the disclosure provide a time sequence structure for generating an NLFM signal based on an SAR system. The time sequence structure is as shown in FIG. 6, and specifically includes the following operations.


Upon the reception of a serial port instruction transmitted by an upper computer at some moment, a signal parameter is initialized first before the beginning of next Pulse Repetition Time (PRT). The calculation process is started at the end moment of a signal transmitting window for the next PRT, such that radar waveform data, which is stored in an RAM of an FPGA and will be transmitted in the next PRT, may not be covered; a signal is calculated, and upon the completion of the calculation of the corresponding NLFM signal, an output is waited; and the analog NLFM signal is outputted at a signal transmitting window for a further next PRT.


According to a calculation time sequence and an FPGA hardware architecture, an initialization parameter is selected as: 80 Mhz of signal bandwidth, and 20 us of signal pulse width. A −40 dB Taylor window function is selected as a power spectrum density function for initialization, and a system sampling rate is 90 MHz. An oscilloscope is used to collect a corresponding output analog signal result, with a real part of a time domain signal as shown in FIG. 7, and a pulse compression result as shown in FIG. 8. A comparison result between a measured value and a theoretical value for a performance index of the output NLFM signal is as shown in table 1.











TABLE 1





Index parameter
Theoretical value
Measured value

















PSLR (dB)
−39.2
−39.1


3-dB main lobe width (sampling point)
1.23
1.23


Integral side lobe ratio (dB)
−29.9
−29.1









As can be seen from the above table, the measured value is close to the theoretical value, which indicates that the precision of the NLFM signal generated by the disclosure in actual applications is close to a theoretical value, and a high-precision technical effect is achieved.


The embodiments of the disclosure further provide a computer readable storage medium, which is configured to store a calculation program provided in the above embodiment, to implement the operations of the foregoing method. The computer readable storage medium may be a volatile memory or a nonvolatile memory, and may also include both the volatile memory and the nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Ferromagnetic Random Access Memory (FRAM), a flash memory, a magnetic surface memory, an optical disc or a Compact Disc Read-Only Memory (CD-ROM); and the magnetic surface memory may be a tape memory or a disk memory. The volatile memory may be a Random Access Memory (RAM), and serves as an external high-speed cache. Through illustrative but not restrictive description, many forms of RAMs may be available, for example, a Static Random Access Memory (SRAM), a Synchronous Static Random Access Memory (SSRAM), a Dynamic Random Access Memory (DRAM), a Synchronous Dynamic Random Access Memory (SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), an Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), a SyncLink Dynamic Random Access Memory (SLDRAM), and a Direct Rambus Random Access Memory (DRRAM). The computer readable storage medium described in this embodiment of the disclosure is intended to include but not limited to these and any other suitable types of memories, and may also be various devices including any one or any combination of the above memories, such as a mobile phone, a computer, an intelligent household electrical appliance, and a server.


Each module provided in the embodiments of the application may be implemented in form of a computer program. The computer program may run in a processor. The program module formed by the computer program may be stored in a memory of a terminal. The computer programs are executed by the processor to implement the actions of the methods described in the embodiments of the application.


According to the method for generating the NLFM signal in real time and the apparatus implemented based on the FPGA provided by the embodiments of the disclosure, a signal parameter is initialized as required; a group delay vector is calculated according to a set power spectrum density function; linear interpolation is performed according to the group delay vector to determine an instantaneous frequency vector; a signal phase is obtained by integrating according to the instantaneous frequency vector; and a discrete value of a time domain signal is determined according to the signal phase. Therefore, the complexity of signal design is greatly reduced, and the NLFM signal suitable for an FPGA to generate in real time is achieved; and further, compared with an LFM signal, a transmitting power can be saved, an SNR loss is reduced, and thus the system performance is improved.


The method implements a technical effect that the NLFM signal is directly generated by means of calculation and digital-to-analog conversion; and by directly converting a calculation result into the NLFM signal, the method optimizes operations of storing, invoking and converting the calculation result, improves a speed for generating the NLFM signal, and implements a technical effect that the NLFM signal is generated in real time.


The above descriptions are only simplified embodiments of the disclosure and are not intended to limit the disclosure. For the person skilled in the art, the disclosure may have various modifications and changes. Any modification, equivalent replacement, improvement and the like made within a spirit and a principle of the disclosure should be included in a protection scope of the disclosure.

Claims
  • 1. A method for generating a Non-Linear Frequency Modulation (NLFM) signal in real time, comprising: determining a signal parameter of a signal according to a system parameter, wherein the signal parameter at least comprises: a signal bandwidth, a signal pulse width and a Peak Side Lobe Ratio (PSLR);determining a power spectrum density function according to the PSLR;calculating the power spectrum density function to obtain a group delay vector;calculating a frequency axial vector according to a system sampling rate;calculating a time axial vector according to the signal pulse width;performing linear interpolation calculation on the group delay vector by using the frequency axial vector and the time axial vector, to obtain an instantaneous frequency vector;integrating the instantaneous frequency vector to obtain a phase vector;determining a signal time domain discrete vector according to the phase vector; andgenerating a digital signal according to the signal time domain discrete vector, and performing digital-to-analog conversion on the digital signal to obtain the NLFM signal.
  • 2. The method of claim 1, wherein the determining the power spectrum density function according to the PSLR comprises: obtaining a window function corresponding to the PSLR according to the PSLR, and determining the power spectrum density function according to the window function.
  • 3. The method of claim 1, wherein the calculating the power spectrum density function to obtain the group delay vector comprises: performing discrete integration on the power spectrum density function to obtain the group delay vector.
  • 4. The method of claim 3, wherein the performing linear interpolation calculation on the group delay vector by using the frequency axial vector and the time axial vector to obtain an instantaneous frequency vector comprises:dividing the group delay vector into n group delay subvectors, n being a positive integer greater than 1; andperforming, by using the frequency axial vector and the time axial vector, the linear interpolation calculation on the n group delay subvectors respectively, to obtain n instantaneous frequency vectors; andthe integrating the instantaneous frequency vector to obtain a phase vector comprises:integrating the n instantaneous frequency vectors respectively, and splicing integrated results to obtain the phase vector.
  • 5. An apparatus for generating a Non-Linear Frequency Modulation (NLFM) signal in real time, comprising: a processor;a memory for storing instructions; anda digital to analog converter,wherein the processor is configured to execute the instructions to perform the following operations:determining a signal parameter of a signal according to a system parameter, the signal parameter at least comprising: a signal bandwidth, a signal pulse width and a Peak Side Lobe Ratio (PSLR);determining a power spectrum density function according to the PSLR;calculating the power spectrum density function to obtain a group delay vector;calculating a frequency axial vector according to a system sampling rate;calculating a time axial vector according to the signal pulse width;performing linear interpolation calculation on the group delay vector by using the frequency axial vector and the time axial vector to obtain an instantaneous frequency vector;integrating the instantaneous frequency vector to obtain a phase vector;determining a signal time domain discrete vector according to the phase vector; andgenerating a digital signal according to the signal time domain discrete vector, and performing digital-to-analog conversion on the digital signal to obtain the NLFM signal via the digital to analog converter.
  • 6. The apparatus of claim 5, wherein the processor is further configured to execute the instructions to: obtain a window function corresponding to the PSLR according to the PSLR, and determine the power spectrum density function according to the window function.
  • 7. The apparatus of claim 5, wherein the processor is further configured to execute the instructions to: perform discrete integration on the power spectrum density function to obtain the group delay vector.
  • 8. The apparatus of claim 7, wherein the processor is further configured to execute the instructions to: divide the group delay vector into n group delay subvectors, n is a positive integer greater than 1; perform, by using the frequency axial vector and the time axial vector, the linear interpolation calculation on the n group delay subvectors respectively, to obtain n instantaneous frequency vectors; and integrate the n instantaneous frequency vectors respectively, and splice integrated results to obtain the phase vector.
  • 9. A non-transitory computer readable storage medium having computer programs stored thereon, wherein the computer programs, when being executed by a processor, cause the processor to execute the following operations: determining a signal parameter of a signal according to a system parameter, wherein the signal parameter at least comprises: a signal bandwidth, a signal pulse width and a Peak Side Lobe Ratio (PSLR);determining a power spectrum density function according to the PSLR;calculating the power spectrum density function to obtain a group delay vector;calculating a frequency axial vector according to a system sampling rate;calculating a time axial vector according to the signal pulse width;performing linear interpolation calculation on the group delay vector by using the frequency axial vector and the time axial vector to, obtain an instantaneous frequency vector;integrating the instantaneous frequency vector to obtain a phase vector;determining a signal time domain discrete vector according to the phase vector; and
  • 10. The non-transitory computer readable storage medium according to claim 9, wherein the computer programs, when being executed by a processor, cause the processor to obtain a window function corresponding to the PSLR according to the PSLR, and determine the power spectrum density function according to the window function.
  • 11. The non-transitory computer readable storage medium according to claim 9, wherein the computer programs, when being executed by a processor, cause the processor to perform discrete integration on the power spectrum density function to obtain the group delay vector.
  • 12. The non-transitory computer readable storage medium according to claim 11, wherein the computer programs, when being executed by a processor, cause the processor to: divide the group delay vector into n group delay subvectors, n is a positive integer greater than 1; perform, by using the frequency axial vector and the time axial vector, the linear interpolation calculation on the n group delay subvectors respectively, to obtain n instantaneous frequency vectors; and integrate the n instantaneous frequency vectors respectively, and splice integrated results to obtain the phase vector.
Priority Claims (1)
Number Date Country Kind
201910045019.0 Jan 2019 CN national