Interference signal generation method and device
The dynamic link library file generates comb spectrum interference signals, which solves the problems of large equipment volume and high cost in traditional technology, and achieves flexible signal parameter adjustment and reduces generation costs.
Patent Information
- Application Number
- CN202210800493.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-08
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2042-07-08
AI Technical Summary
Traditional technology generates comb spectrum interference signals to use multiple narrowband interference sources, resulting in increased equipment volume and high generation costs.
By receiving the signal configuration data written by the configuration software, writing it into an m file and compiling it into a dynamic link library file, calling the dynamic link library file to generate a comb spectrum interference data signal, and performing interpolation filtering and upconversion processing to obtain the final comb spectrum interference signal.
There is no need to use multiple narrowband interference sources, reducing equipment volume and generation costs, while flexibly adjusting signal parameters.
Smart Images

Figure CN115296772B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication electronic technology, and in particular to a method and device for generating an interference signal, a storage medium and an electronic device. Background Art
[0002] Radio communication interference is a communication countermeasure technology that uses radio jammers to emit appropriate interfering electromagnetic waves to prevent the normal functioning of radio communications. It is a major research area in modern electronic information technology.
[0003] At present, the realization of radio communication interference usually requires the generation of interference signals, and the comb spectrum interference signal is one of the commonly used interference signals. The traditional technology for generating comb spectrum interference signals requires the use of multiple narrowband interference sources to generate comb spectrum interference signals, which leads to an increase in the amount of equipment for generating comb spectrum interference signals and increases the generation cost of generating comb spectrum interference signals. Summary of the invention
[0004] In view of this, the present invention provides a method and device for generating an interference signal. The present invention can generate a comb spectrum interference signal without using multiple narrowband interference sources, thereby reducing the amount of equipment and lowering the cost of generating the comb spectrum interference signal.
[0005] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0006] A first aspect of the present invention discloses a method for generating an interference signal, comprising:
[0007] Receiving signal configuration data written by configuration software, wherein the signal configuration data includes a plurality of narrowband interference signal generation formulas and a plurality of signal generation parameters;
[0008] Writing the signal configuration data into an m file, and compiling the m file into a dynamic link library file;
[0009] Calling the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal;
[0010] Performing interpolation filtering on the comb spectrum interference data signal to obtain a baseband interference signal;
[0011] Based on the preset comb spectrum interference signal center frequency, the baseband interference signal is up-converted to obtain a final comb spectrum interference signal, and the comb spectrum interference signal is used to suppress the interference of the communication signal to be interfered.
[0012] Optionally, the method described above, writing the signal configuration data into an m file and compiling the m file into a dynamic link library file includes:
[0013] According to each of the signal generation parameters, each of the narrowband interference signal generation formulas is superimposed to obtain a comb spectrum interference signal generation function, wherein each of the signal generation parameters includes the number of subcarriers, the subcarrier spacing, the modulation mode and the subcarrier bandwidth;
[0014] Obtaining a variable rate interpolation extraction matching function, and encapsulating the comb spectrum interference signal generation function and the variable rate difference extraction matching function into an m file;
[0015] The m file is compiled based on a preset library compilation method to generate a dynamic link library file.
[0016] The above method, optionally, calling the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal includes:
[0017] Calling the comb spectrum interference signal generating function to obtain each narrowband interference signal generated by each narrowband interference signal generating formula;
[0018] Accumulate the narrowband interference signals in the time domain according to the signal generation parameters to obtain an accumulated interference signal;
[0019] The variable rate interpolation extraction matching function is called to perform interpolation and extraction processing on the accumulated interference signal to obtain the sampling rate of the m file and the comb spectrum interference data signal.
[0020] In the above method, optionally, the comb spectrum interference data signal is composed of I and Q data, and the length of the comb spectrum interference data signal is between 8000 and 30000.
[0021] In the above method, optionally, the sampling rate of the m file is an integer divisible factor of the sampling rate of the preset digital-to-analog converter.
[0022] In the above method, optionally, the interpolation filtering process is performed on the comb spectrum interference data signal to obtain a baseband interference signal, including:
[0023] The comb spectrum interference data signal is sent to a preset baseband processing board card in a read-write DMA manner through a preset PCIE driver;
[0024] The baseband processing board sends the comb spectrum interference data signal to a preset FPGA processing program, so that the FPGA processing program performs interpolation filtering processing on the comb spectrum interference signal to obtain a baseband interference signal.
[0025] In the above method, optionally, the FPGA processing program performs interpolation filtering on the comb spectrum interference signal to obtain a baseband interference signal, including:
[0026] The FPGA processing program samples the comb spectrum interference data signal based on the sampling rate of the m-file, and uses a preset interpolation factor to perform interpolation filtering on the sampled signal to obtain a signal that matches the sampling rate of the digital-to-analog converter, and determines the signal as a baseband interference signal.
[0027] The above method may optionally further include:
[0028] The baseband processing board stores the comb spectrum interference data signal in a preset memory.
[0029] The above method, optionally, up-converting the baseband interference signal based on a preset comb spectrum interference signal center frequency to obtain a final comb spectrum interference signal includes:
[0030] The preset FPGA is called to control the radio frequency board to up-convert the baseband interference signal to the center frequency of the comb interference signal to obtain the final comb spectrum interference signal.
[0031] A second aspect of the present invention discloses a device for generating an interference signal, comprising:
[0032] A receiving unit, configured to receive signal configuration data written by configuration software, wherein the signal configuration data includes a plurality of narrowband interference signal generation formulas and a plurality of signal generation parameters;
[0033] A first processing unit, used for writing the signal configuration data into an m file, and compiling the m file into a dynamic link library file;
[0034] A generating unit, used for calling the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal;
[0035] A second processing unit is used to perform interpolation filtering on the comb spectrum interference data signal to obtain a baseband interference signal;
[0036] The output unit is used to perform up-conversion processing on the baseband interference signal based on the preset comb spectrum interference signal center frequency to obtain the final comb spectrum interference signal, and use the comb spectrum interference signal to suppress the interference of the communication signal that needs to be interfered.
[0037] In the above device, optionally, the first processing unit includes:
[0038] A superposition subunit, configured to superimpose each of the narrowband interference signal generating formulas according to each of the signal generating parameters to obtain a comb spectrum interference signal generating function, wherein each of the signal generating parameters includes the number of subcarriers, the subcarrier spacing, the modulation mode, and the subcarrier bandwidth;
[0039] An acquisition subunit is used to acquire a variable rate interpolation extraction matching function, and encapsulate the comb spectrum interference signal generation function and the variable rate difference extraction matching function into an m file;
[0040] The compiling subunit is used to compile the m file based on a preset library compilation method to generate a dynamic link library file.
[0041] In the above device, optionally, the generating unit includes:
[0042] A first calling subunit is used to call the comb spectrum interference signal generation function to obtain each narrowband interference signal generated by each narrowband interference signal generation formula;
[0043] An accumulation subunit, configured to perform time domain signal accumulation on each of the narrowband interference signals according to each of the signal generation parameters to obtain an accumulated interference signal;
[0044] The second calling subunit is used to call the variable rate interpolation extraction matching function to perform interpolation and extraction processing on the accumulated interference signal to obtain the sampling rate of the m file and the comb spectrum interference data signal.
[0045] In the above device, optionally, the comb spectrum interference data signal consists of two channels of I and Q data, and the length of the comb spectrum interference data signal is between 8000 and 30000.
[0046] In the above device, optionally, the sampling rate of the m-file is an integer divisible factor of the sampling rate of the preset digital-to-analog converter.
[0047] In the above device, optionally, the second processing unit includes:
[0048] A first sending subunit, used for sending the comb spectrum interference data signal to a preset baseband processing board card in a read-write DMA manner through a preset PCIE driver;
[0049] The second sending subunit is used for the baseband processing board to send the comb spectrum interference data signal to a preset FPGA processing program, so that the FPGA processing program performs interpolation filtering processing on the comb spectrum interference signal to obtain a baseband interference signal.
[0050] In the above device, optionally, the second sending subunit includes:
[0051] A sampling module is used for the FPGA processing program to sample the comb spectrum interference data signal based on the sampling rate of the m file, and use a preset interpolation factor to perform interpolation filtering on the sampled signal to obtain a signal that matches the sampling rate of the digital-to-analog converter, and determine the signal as a baseband interference signal.
[0052] The above device may optionally further include:
[0053] The baseband processing board stores the comb spectrum interference data signal in a preset memory.
[0054] In the above device, optionally, the output unit includes:
[0055] The third calling subunit is used to call the preset FPGA to control the radio frequency board to up-convert the baseband interference signal to the center frequency of the comb interference signal to obtain the final comb spectrum interference signal.
[0056] Compared with the prior art, the present invention has the following advantages:
[0057] The present invention discloses a method and device for generating an interference signal, including: receiving signal configuration data written by configuration software; writing the signal configuration data into an m file, and compiling the m file into a dynamic link library file; calling the dynamic link library file according to a function interface to generate a comb spectrum interference data signal; performing interpolation filtering processing on the comb spectrum interference data signal to obtain a baseband interference signal; based on a preset comb spectrum interference signal center frequency, performing up-conversion processing on the baseband interference signal to obtain a final comb spectrum interference signal, and using the comb spectrum interference signal to suppress interference on a communication signal that needs to be interfered. The present application processes the signal configuration data to obtain a dynamic link library file, and after calling the dynamic link library file, a comb spectrum interference data signal can be generated, and after processing the comb spectrum interference data signal, a comb spectrum interference signal can be obtained, thereby generating a comb spectrum interference signal without using multiple narrowband interference sources, thereby reducing the amount of equipment and reducing the cost of generating a comb spectrum interference signal. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0059] Figure 1 A method flow chart of a method for generating an interference signal provided by an embodiment of the present invention;
[0060] Figure 2 A flow chart of a method for processing signal configuration data to obtain a dynamic link library file provided in an embodiment of the present invention;
[0061] Figure 3A flow chart of a method for calling a dynamic link library file to generate a comb spectrum interference data signal provided by an embodiment of the present invention;
[0062] Figure 4 An example diagram of generating a comb spectrum interference data signal provided by an embodiment of the present invention;
[0063] Figure 5 A schematic diagram of the structure of a device for generating an interference signal provided by an embodiment of the present invention;
[0064] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0065] 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.
[0066] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.
[0067] The present invention can be used in many general or special computing device environments or configurations, such as personal computers, server computers, handheld or portable devices, tablet devices, multi-processor devices, distributed computing environments including any of the above devices or devices, etc.
[0068] Terminology explanation:
[0069] DMA: Direct Memory Access, direct memory access, allows hardware devices of different speeds to communicate without relying on a large interrupt load on the CPU.
[0070] DAC: Digital-to-analog converter, also known as D / A converter, abbreviated as DAC, is a device that converts digital quantities into analog quantities.
[0071] DDR: It is a memory name, which means double data rate synchronous dynamic random access memory, and is one type of memory.
[0072] RAM: Random Access Memory, also called main memory, is internal memory that directly exchanges data with the CPU.
[0073] dll file: dynamic link library file.
[0074] In the prior art, multiple narrowband interference sources are required to generate comb spectrum interference, and the narrowband interference signals generated by multiple narrowband interference sources are synthesized and superimposed to generate comb spectrum interference signals or multiple synthesized narrowband interference data are pre-stored or loaded in a large-capacity memory. The former of the above-mentioned technologies has configurable and adjustable parameters, but requires multiple narrowband interference sources, large equipment quantity and high cost. The latter uses a digital memory to pre-store narrowband interference signals or synthesized interference data, which reduces the equipment quantity, but the parameter configuration is not flexible enough, and it is not possible to flexibly control the bandwidth, subcarrier spacing, number of subcarriers, etc. of the narrowband interference signal.
[0075] The present invention aims to provide a method for generating an interference signal, which can generate a comb spectrum interference signal without using multiple narrowband interference signal sources, thereby reducing the cost of generating the comb spectrum interference signal, and the parameters for generating the comb spectrum interference signal can also be flexibly adjusted, so that the comb spectrum interference signal can be flexibly generated.
[0076] The present invention can be applied to a system for generating a comb spectrum interference signal, referring to Figure 1 , is a method flow chart of a method for generating an interference signal provided by an embodiment of the present invention, and is specifically described as follows:
[0077] S101, receiving signal configuration data written by configuration software.
[0078] When the staff needs to generate a comb spectrum interference signal, they can write signal configuration data through the preset configuration software, thereby inputting the signal configuration data into the system. Preferably, the signal configuration data includes the data required to generate the comb spectrum interference signal. The user can set the signal configuration data in the configuration interface.
[0079] Optionally, the configuration software may be MATLAB.
[0080] The signal configuration data includes a plurality of narrowband interference signal generation formulas and a plurality of signal generation parameters.
[0081] S102, write the signal configuration data into an m file, and compile the m file into a dynamic link library file.
[0082] Optionally, after obtaining the dynamic link library file, you can add a reference to the dll file to the development environment to facilitate subsequent calls.
[0083] Reference Figure 2, which is a flow chart of a method for writing signal configuration data into an m file and compiling the m file into a dynamic link library file provided by an embodiment of the present invention, and is specifically described as follows:
[0084] S201. Superimpose various narrowband interference signal generating equations according to various signal generating parameters to obtain a comb spectrum interference signal generating function.
[0085] Each signal generation parameter includes but is not limited to the number of subcarriers, subcarrier spacing, modulation mode, and subcarrier bandwidth, etc. Preferably, each narrowband interference signal generation formula can generate a signal, and the signals generated by each narrowband interference signal generation formula can be the same or different.
[0086] According to the number of subcarriers, subcarrier spacing and other parameters in each signal generation parameter, each narrowband interference signal generation formula is superimposed to obtain a comb spectrum interference signal generation function; preferably, the comb spectrum interference signal generation function here can also be a comb spectrum interference signal generation program.
[0087] S202, obtaining a variable rate interpolation extraction matching function, and encapsulating a comb spectrum interference signal generation function and a variable rate difference extraction matching function into an m file.
[0088] The obtained variable rate difference extraction matching function and comb spectrum interference signal generation function are converted into a program script, so that the comb spectrum interference signal generation function and the variable rate difference extraction matching function are encapsulated into an m file. Further, the variable rate difference extraction matching function can also be a variable rate difference extraction matching program. Preferably, the m file can also be called an m function.
[0089] S203, compile the m file based on a preset library compilation method to generate a dynamic link library file.
[0090] The application library compilation method is used to compile the m file to generate a dynamic link library file.
[0091] It should be noted that the dll file encapsulates a comb spectrum interference signal generation function that can generate multiple signals. The signal can be generated later by calling the dll file. Therefore, there is no need to configure multiple signal sources, thereby reducing costs.
[0092] S103, calling a dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal.
[0093] The host computer can call the dll file according to a preset function interface, thereby generating a comb spectrum interference data signal according to the dll file. Preferably, the function interface is an interface specifically for calling the dll file.
[0094] Reference Figure 3, which is a flow chart of a method for calling a dynamic link library file to generate a comb spectrum interference data signal provided by an embodiment of the present invention, and is specifically described as follows:
[0095] S301 , calling a comb spectrum interference signal generation function to obtain each narrowband interference signal generated by each narrowband interference signal generation formula.
[0096] The dll file is called through the function interface, and the comb spectrum interference signal generation function in the dll file is called, so that each narrowband interference signal generation formula generates a narrowband interference signal according to the modulation mode and the subcarrier bandwidth. Preferably, the narrowband interference signal generation formula can be a conventional modulation signal waveform formula.
[0097] S302 , performing time domain signal accumulation on each narrowband interference signal according to each signal generation parameter to obtain an accumulated interference signal.
[0098] The various signal generation parameters may be parameters such as subcarrier spacing and the number of subcarriers.
[0099] Preferably, after performing time domain signal accumulation on each narrowband interference signal according to each signal generation parameter, the accumulated interference signal obtained may be an initial comb spectrum interference signal.
[0100] S303, calling the variable rate interpolation extraction matching function to perform interpolation and extraction processing on the accumulated interference signal to obtain the sampling rate of the m file and the comb spectrum interference data signal.
[0101] In order to reduce the complexity of subsequent logic development, the variable rate interpolation and extraction matching function can be called to perform multiple interpolation and extraction processing on the accumulated interference signal, so as to obtain the sampling rate of the comb spectrum interference signal generation function and the comb spectrum interference data signal.
[0102] Optionally, the sampling rate of the m file can be represented by fs. Furthermore, after calling the variable rate interpolation and decimation matching function to perform multiple interpolation and decimation processes on the accumulated interference signal, the integer divisibility factor of the sampling rate fsp of the DAC board preset in the system can be obtained, and the integer divisibility factor of the sampling rate fsp of the DAC board can be used as the sampling rate fs of the .m file.
[0103] Preferably, the comb spectrum interference data signal is composed of I and Q data. To ensure the speed of the comb spectrum interference data signal generated by the dll file, that is, to generate interference in close to real time, the length of the comb spectrum interference data signal is between 8000 and 30000.
[0104] Reference Figure 4, which is an example diagram of generating a comb spectrum interference data signal provided in an embodiment of the present invention. The comb spectrum interference .dll in the figure is the dll file in this solution. After calling the dll file, a comb spectrum interference data signal is generated based on parameters such as the number of subcarriers, subcarrier spacing (frequency spacing) and subcarrier bandwidth (narrowband interference bandwidth).
[0105] In the method provided by the embodiment of the present invention, multiple narrowband interference signals can be generated by calling the comb spectrum interference signal generation function, and each narrowband interference signal is processed by using the signal generation parameter and the variable rate interpolation extraction matching function to obtain the comb spectrum interference data signal. Furthermore, the present invention flexibly sets the signal configuration data, thereby flexibly controlling the bandwidth, subcarrier spacing, and number of subcarriers of the generated narrowband interference signal, and can meet the needs of various scenarios.
[0106] S104 , performing interpolation filtering processing on the comb spectrum interference data signal to obtain a baseband interference signal.
[0107] The host computer sends the comb spectrum interference data signal to the preset baseband processing board in the system in a read-write DMA manner through the PCIE driver, and the baseband processing board sends the comb spectrum interference data signal to the FPGA processing program, so that the FPGA processing program performs interpolation filtering on the comb spectrum interference data signal. Preferably, the baseband processing board stores the comb spectrum interference data signal in a preset memory, which may be a DDR RAM or other memory for storing data.
[0108] Preferably, the FPGA processing program samples the comb spectrum interference data signal based on the sampling rate of the m file, and uses a preset interpolation factor to perform interpolation filtering on the sampled signal to obtain a signal that matches the sampling rate of the preset digital analog converter, and determines the signal as a baseband interference signal. Preferably, the digital analog converter here is a DAC board in the system. Preferably, by matching the sampling rate of the DAC board, the timing relationship of the signal is ensured to be correct. Further, when a signal matching the sampling rate of the preset digital analog converter is obtained, the sampling rate of the m file can be multiplied by the preset interpolation factor, so that the sampling rate of the digital analog converter can be obtained, and then the signal corresponding to the sampling rate of the digital analog converter can be matched from the baseband interference signal. Optionally, the interpolation factor is fsp / fs.
[0109] S105. Based on the preset comb spectrum interference signal center frequency, up-convert the baseband interference signal to obtain a final comb spectrum interference signal, and use the comb spectrum interference signal to suppress the interference of the communication signal to be interfered.
[0110] Based on the comb spectrum interference signal center frequency pre-configured by the host computer, the preset FPGA control radio frequency board is configured to the comb spectrum interference signal center frequency, and the configured FPGA control radio frequency board is used to perform spectrum shifting on the baseband interference signal, that is, the configured FPGA control radio frequency board up-converts the baseband interference signal to the comb interference signal center frequency, thereby obtaining the final comb spectrum interference signal; preferably, the final comb spectrum interference signal can be used to suppress the interference of the communication signal that needs to be interfered. The communication signal here can be configured according to actual needs.
[0111] In the method provided by the embodiment of the present invention, signal configuration data written by the configuration software is received; the signal configuration data is written into an m file, and the m file is compiled into a dynamic link library file; the dynamic link library file is called according to the function interface to generate a comb spectrum interference data signal; the comb spectrum interference data signal is subjected to interpolation filtering to obtain a baseband interference signal; based on the preset comb spectrum interference signal center frequency, the baseband interference signal is subjected to up-conversion processing to obtain a final comb spectrum interference signal, and the comb spectrum interference signal is used to suppress interference to the communication signal that needs to be interfered. The present application processes the signal configuration data to obtain a dynamic link library file, and after calling the dynamic link library file, a comb spectrum interference data signal can be generated, and after processing the comb spectrum interference data signal, a comb spectrum interference signal can be obtained, thereby generating a comb spectrum interference signal without using multiple narrowband interference sources, thereby reducing the amount of equipment and the cost of generating a comb spectrum interference signal.
[0112] The present invention writes a .m file on MATLAB software, so as to superimpose the generating formulas of multiple narrowband interference signals according to the number of subcarriers, the subcarrier interval and other parameters, so as to obtain a comb spectrum interference generating program. Furthermore, the comb spectrum interference generating program and the variable rate interpolation extraction matching program are both in the .m file, and the .m file is encapsulated into a dynamic link library dll file. A host computer calls the dll file according to a function interface, uses the comb spectrum interference generating program to generate an interference signal, and uses the variable rate interpolation extraction matching program to interpolate the interference signal to a uniform sampling rate, so as to generate a comb spectrum interference data signal (also baseband I and Q two-way data) of the comb spectrum interference signal. In order to ensure that the time delay of the host computer calling the dll to generate the comb spectrum interference data signal is small, it is necessary to control the length of the comb spectrum interference data signal generated by the dll; the comb spectrum interference data signal generated by calling the dll is sent to a DDR RAM of a baseband processing board card in a read-write DMA mode for storage, and is sent to an FPGA processing program for interpolation filtering; and up-conversion processing is performed after matching a DAC rate, so as to obtain a final comb spectrum interference signal. Compared with the existing solutions, this solution saves equipment costs and has more flexible parameters for generating comb spectrum signals.
[0113] Compared with the existing comb spectrum interference source generation scheme, the interference signal generation scheme proposed in the present invention does not require multiple narrowband interference sources, reduces the amount of equipment, reduces costs, and has flexible parameter configuration. The bandwidth, subcarrier spacing, and number of subcarriers of the narrowband interference signal can be controlled by the host computer configuration, and the interference signal style is more diversified.
[0114] and Figure 1 Corresponding to the method shown in the figure, the present invention provides a device for generating an interference signal, which is used to support Figure 1 The method shown is implemented in real life, and the device is arranged in a system for interfering signals.
[0115] Reference Figure 5 , is a schematic diagram of the structure of a device for generating an interference signal provided by an embodiment of the present invention, and is specifically described as follows:
[0116] The receiving unit 501 is used to receive signal configuration data written by the configuration software, wherein the signal configuration data includes a plurality of narrowband interference signal generation formulas and a plurality of signal generation parameters;
[0117] The first processing unit 502 is used to write the signal configuration data into an m file and compile the m file into a dynamic link library file;
[0118] A generating unit 503 is used to call the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal;
[0119] The second processing unit 504 is used to perform interpolation filtering on the comb spectrum interference data signal to obtain a baseband interference signal;
[0120] The output unit 505 is used to perform up-conversion processing on the baseband interference signal based on the preset comb spectrum interference signal center frequency to obtain a final comb spectrum interference signal, and use the comb spectrum interference signal to suppress interference on the communication signal to be interfered.
[0121] In the device provided by the embodiment of the present invention, signal configuration data written by the configuration software is received; the signal configuration data is written into an m file, and the m file is compiled into a dynamic link library file; the dynamic link library file is called according to the function interface to generate a comb spectrum interference data signal; the comb spectrum interference data signal is interpolated and filtered to obtain a baseband interference signal; based on the preset comb spectrum interference signal center frequency, the baseband interference signal is up-converted to obtain a final comb spectrum interference signal, and the comb spectrum interference signal is used to suppress the interference of the communication signal that needs to be interfered. The present application processes the signal configuration data to obtain a dynamic link library file, and after calling the dynamic link library file, a comb spectrum interference data signal can be generated, and after processing the comb spectrum interference data signal, a comb spectrum interference signal can be obtained. Thus, there is no need to use multiple narrowband interference sources to generate a comb spectrum interference signal, thereby reducing the amount of equipment and the cost of generating a comb spectrum interference signal.
[0122] In another embodiment provided by the present invention, the first processing unit of the device includes:
[0123] A superposition subunit, configured to superimpose each of the narrowband interference signal generating formulas according to each of the signal generating parameters to obtain a comb spectrum interference signal generating function, wherein each of the signal generating parameters includes the number of subcarriers, the subcarrier spacing, the modulation mode, and the subcarrier bandwidth;
[0124] An acquisition subunit is used to acquire a variable rate interpolation extraction matching function, and encapsulate the comb spectrum interference signal generation function and the variable rate difference extraction matching function into an m file;
[0125] The compiling subunit is used to compile the m file based on a preset library compilation method to generate a dynamic link library file.
[0126] In another embodiment provided by the present invention, the generating unit of the device includes:
[0127] A first calling subunit is used to call the comb spectrum interference signal generation function to obtain each narrowband interference signal generated by each narrowband interference signal generation formula;
[0128] An accumulation subunit, configured to perform time domain signal accumulation on each of the narrowband interference signals according to each of the signal generation parameters to obtain an accumulated interference signal;
[0129] The second calling subunit is used to call the variable rate interpolation extraction matching function to perform interpolation and extraction processing on the accumulated interference signal to obtain the sampling rate of the m file and the comb spectrum interference data signal.
[0130] In another embodiment provided by the present invention, the comb spectrum interference data signal of the device is composed of two channels of data, I and Q, and the length of the comb spectrum interference data signal is between 8000 and 30000.
[0131] In another embodiment provided by the present invention, the sampling rate of the m-file of the device is an integer divisible factor of the sampling rate of the preset digital-to-analog converter.
[0132] In another embodiment provided by the present invention, the second processing unit of the device includes:
[0133] A first sending subunit, used for sending the comb spectrum interference data signal to a preset baseband processing board card in a read-write DMA manner through a preset PCIE driver;
[0134] The second sending subunit is used for the baseband processing board to send the comb spectrum interference data signal to a preset FPGA processing program, so that the FPGA processing program performs interpolation filtering processing on the comb spectrum interference signal to obtain a baseband interference signal.
[0135] In another embodiment provided by the present invention, the second sending subunit of the device includes:
[0136] A sampling module is used for the FPGA processing program to sample the comb spectrum interference data signal based on the sampling rate of the m file, and use a preset interpolation factor to perform interpolation filtering on the sampled signal to obtain a signal that matches the sampling rate of the digital-to-analog converter, and determine the signal as a baseband interference signal.
[0137] In another embodiment provided by the present invention, the device further comprises: a baseband processing board card stores the comb spectrum interference data signal in a preset memory.
[0138] In another embodiment provided by the present invention, the output unit of the device includes:
[0139] The third calling subunit is used to call the preset FPGA to control the radio frequency board to up-convert the baseband interference signal to the center frequency of the comb interference signal to obtain the final comb spectrum interference signal.
[0140] An embodiment of the present invention further provides a storage medium, which includes stored instructions, wherein when the instructions are executed, the device where the storage medium is located is controlled to execute the above-mentioned method for generating an interference signal.
[0141] The embodiment of the present invention further provides an electronic device, the structural diagram of which is shown in FIG. Figure 6As shown, it specifically includes a memory 601 and one or more instructions 602, wherein the one or more instructions 602 are stored in the memory 601 and are configured to be executed by one or more processors 603 to execute the one or more instructions 602 to perform the above-mentioned interference signal generation method.
[0142] The specific implementation processes and derivative methods of the above-mentioned embodiments are all within the protection scope of the present invention.
[0143] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0144] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0145] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for generating an interference signal, characterized in that: include: Receiving signal configuration data written by configuration software, wherein the signal configuration data includes a plurality of narrowband interference signal generation formulas and a plurality of signal generation parameters; Writing the signal configuration data into an m file, and compiling the m file into a dynamic link library file; Calling the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal; Performing interpolation filtering on the comb spectrum interference data signal to obtain a baseband interference signal; Based on the preset comb spectrum interference signal center frequency, the baseband interference signal is up-converted to obtain a final comb spectrum interference signal, and the comb spectrum interference signal is used to suppress the interference of the communication signal to be interfered; The step of writing the signal configuration data into an m file and compiling the m file into a dynamic link library file includes: According to each of the signal generation parameters, each of the narrowband interference signal generation formulas is superimposed to obtain a comb spectrum interference signal generation function, wherein each of the signal generation parameters includes the number of subcarriers, the subcarrier spacing, the modulation mode and the subcarrier bandwidth; Obtaining a variable rate interpolation extraction matching function, and encapsulating the comb spectrum interference signal generation function and the variable rate interpolation extraction matching function into an m file; The m file is compiled based on a preset library compilation method to generate a dynamic link library file.
2. The method according to claim 1, characterized in that The step of calling the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal includes: Calling the comb spectrum interference signal generating function to obtain each narrowband interference signal generated by each narrowband interference signal generating formula; Accumulate the narrowband interference signals in the time domain according to the signal generation parameters to obtain an accumulated interference signal; The variable rate interpolation extraction matching function is called to perform interpolation and extraction processing on the accumulated interference signal to obtain the sampling rate of the m file and the comb spectrum interference data signal.
3. The method according to claim 1, characterized in that The comb spectrum interference data signal is composed of I and Q data, and the length of the comb spectrum interference data signal is between 8000 and 30000.
4. The method according to claim 2, characterized in that: The sampling rate of the m file is an integer divisible factor of the preset sampling rate of the digital-to-analog converter.
5. The method according to claim 4, characterized in that The interpolation filtering process is performed on the comb spectrum interference data signal to obtain a baseband interference signal, including: The comb spectrum interference data signal is sent to a preset baseband processing board card in a read-write DMA manner through a preset PCIE driver; The baseband processing board sends the comb spectrum interference data signal to a preset FPGA processing program, so that the FPGA processing program performs interpolation filtering processing on the comb spectrum interference signal to obtain a baseband interference signal.
6. The method according to claim 5, characterized in that The FPGA processing program performs interpolation filtering on the comb spectrum interference signal to obtain a baseband interference signal, including: The FPGA processing program samples the comb spectrum interference data signal based on the sampling rate of the m-file, and uses a preset interpolation factor to perform interpolation filtering on the sampled signal to obtain a signal that matches the sampling rate of the digital-to-analog converter, and determines the signal as a baseband interference signal.
7. The method according to claim 5, characterized in that Also includes: The baseband processing board stores the comb spectrum interference data signal in a preset memory.
8. The method according to claim 1, characterized in that The up-conversion processing is performed on the baseband interference signal based on the preset comb spectrum interference signal center frequency to obtain the final comb spectrum interference signal, including: The preset FPGA is called to control the radio frequency board to up-convert the baseband interference signal to the center frequency of the comb spectrum interference signal to obtain the final comb spectrum interference signal.
9. A device for generating an interference signal, characterized in that: include: A receiving unit, configured to receive signal configuration data written by configuration software, wherein the signal configuration data includes a plurality of narrowband interference signal generation formulas and a plurality of signal generation parameters; A first processing unit, used for writing the signal configuration data into an m file, and compiling the m file into a dynamic link library file; A generating unit, configured to call the dynamic link library file according to a preset function interface to generate a comb spectrum interference data signal; A second processing unit is used to perform interpolation filtering on the comb spectrum interference data signal to obtain a baseband interference signal; An output unit is used to perform up-conversion processing on the baseband interference signal based on a preset comb spectrum interference signal center frequency to obtain a final comb spectrum interference signal, and use the comb spectrum interference signal to suppress interference on the communication signal to be interfered; Wherein, the first processing unit includes: A superposition subunit, configured to superimpose each of the narrowband interference signal generating formulas according to each of the signal generating parameters to obtain a comb spectrum interference signal generating function, wherein each of the signal generating parameters includes the number of subcarriers, the subcarrier spacing, the modulation mode, and the subcarrier bandwidth; An acquisition subunit is used to acquire a variable rate interpolation extraction matching function, and encapsulate the comb spectrum interference signal generation function and the variable rate interpolation extraction matching function into an m file; The compiling subunit is used to compile the m file based on a preset library compilation method to generate a dynamic link library file.
Citation Information
Patent Citations
Method for acquiring compilation process of detected software packet by code analysis tool
CN101937389A
Interference signal generation device and method
CN112583518A