Signal processing methods, devices, equipment and storage media

By establishing a correspondence between the frequency spectrum range and the clock frequency and software control frequency, the problem of low signal scanning and detection accuracy caused by second harmonic distortion in the RF direct sampling scheme is solved, and higher precision signal analysis is achieved.

CN120801817BActive Publication Date: 2025-12-02NANJING PEGO MEASUREMENT&CONTROL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511301634.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-12
Publication Date
2025-12-02
Estimated Expiration
2045-09-12

AI Technical Summary

Technical Problem

The second harmonic distortion problem caused by the direct RF sampling solution results in low signal scanning and detection accuracy.

Method used

By establishing a correspondence between the frequency spectrum range and the clock frequency and software control frequency, the clock frequency and software control frequency are preset to control the signal frequency range below the second harmonic, thereby eliminating the influence of the second harmonic on signal analysis.

Benefits of technology

It improves the accuracy of signal scanning and detection, eliminates the influence of second harmonics on signal analysis, and enhances signal purity and measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120801817B_ABST
    Figure CN120801817B_ABST
Patent Text Reader

Abstract

This invention relates to the field of signal analysis technology, disclosing signal processing methods, apparatus, devices, and storage media. Based on the spectral range of the input radio frequency signal, this invention determines the clock frequency and software control frequency, wherein there is a correspondence between the spectral range, the clock frequency, and the software control frequency. Based on the radio frequency signal, the clock frequency, and the software control frequency, a digital signal is generated and acquired. Spectral analysis is performed on the digital signal to obtain a spectrum diagram. By establishing the correspondence between the spectral range, the clock frequency, and the software control frequency, and by pre-setting the clock frequency and software control frequency for each spectral range, the frequency range of the signal is controlled below the second harmonic during signal generation and mixing, thereby eliminating the influence of the second harmonic on signal analysis and improving the accuracy of signal scanning and detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal analysis technology, and more specifically to signal processing methods, apparatus, devices, and storage media. Background Technology

[0002] In the fields of radio frequency (RF), communications, or signal analysis, it is often necessary to scan and measure low-frequency signals. This process typically employs a direct RF acquisition solution, using a high-speed analog-to-digital converter to directly convert the RF signal into a digital signal for subsequent processing and analysis. However, the direct RF acquisition solution cannot avoid second harmonic distortion, resulting in low accuracy in signal scanning and detection. Summary of the Invention

[0003] In view of this, the present invention provides a signal processing method, apparatus, device and storage medium to solve the problem of low accuracy in signal scanning and detection caused by second harmonic distortion in direct radio frequency sampling.

[0004] In a first aspect, the present invention provides a signal processing method, the method comprising:

[0005] Based on the frequency spectrum range of the input radio frequency signal, the clock frequency and software control frequency are determined, where there is a corresponding relationship between the frequency spectrum range, the clock frequency, and the software control frequency.

[0006] Digital signals are generated and acquired based on radio frequency signals, clock frequency, and software control frequency.

[0007] Perform spectral analysis on the digital signal to obtain the spectrum diagram.

[0008] In one alternative implementation, the correspondence between the frequency spectrum range, the clock frequency, and the software control frequency is determined as follows:

[0009] Construct the input signal spectrum models corresponding to the first and second sampling regions respectively;

[0010] Based on the set clock frequency and input signal bandwidth, the input signal spectrum model is solved to obtain the first set of spectrum intervals;

[0011] Based on the frequency shift design of each frequency interval in the first frequency interval set, the software control frequency corresponding to each frequency interval in the first frequency interval set is obtained.

[0012] In one optional implementation, the input signal spectrum models corresponding to the first sampling region and the second sampling region are constructed respectively, including:

[0013] Construct the input signal spectrum range and second harmonic spectrum range corresponding to the first sampling region and the second sampling region, respectively;

[0014] Based on the boundary relationship between the input signal spectrum range and the second harmonic spectrum range, the input signal spectrum model corresponding to the first sampling region and the second sampling region is constructed.

[0015] In one optional implementation, based on the frequency shift design of each frequency interval in the first frequency interval set, the software control frequency corresponding to each frequency interval in the first frequency interval set is obtained, including:

[0016] Based on the clock frequency and signal decimation rate, determine the spectrum analysis bandwidth corresponding to the first set of spectrum intervals;

[0017] Based on the bandwidth and spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set, the number of spectrum analyses for each spectrum interval in the first spectrum interval set is determined respectively.

[0018] Based on the lower limit frequency, number of spectrum analyses, and spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set, the software control frequency corresponding to each spectrum interval in the first spectrum interval set is determined.

[0019] In one optional implementation, after solving the input signal spectrum model based on a set first clock frequency and input signal bandwidth to obtain a first set of spectrum intervals, the method further includes:

[0020] Based on the spectrum intervals not covered by the first spectrum interval set, a second spectrum interval set is obtained;

[0021] Based on the frequency shift design of each frequency interval in the second frequency interval set, the software control frequency corresponding to each frequency interval in the second frequency interval set is obtained.

[0022] In one optional implementation, based on the frequency shift design of each frequency interval in the second frequency interval set, the software control frequency corresponding to each frequency interval in the second frequency interval set is obtained, including:

[0023] Based on the frequency band center point of each frequency interval in the second frequency interval set, the software control frequency corresponding to each frequency interval in the second frequency interval set is determined.

[0024] In one optional implementation, spectral analysis is performed on the digital signal to obtain a spectrum, including:

[0025] Performing a Fast Fourier Transform on a digital signal yields its complex spectrum;

[0026] Based on the clock frequency and signal decimation rate, the frequencies in the complex spectrum are processed to obtain the frequency axis;

[0027] The power axis is obtained by converting the voltage amplitude in the complex spectrum;

[0028] A spectrum diagram is generated based on the frequency axis and the power axis.

[0029] In a second aspect, the present invention provides a signal processing apparatus, the apparatus comprising:

[0030] The frequency determination module is used to determine the clock frequency and the software control frequency based on the frequency spectrum range of the input radio frequency signal. There is a corresponding relationship between the frequency spectrum range, the clock frequency, and the software control frequency.

[0031] The signal acquisition module is used to generate and acquire digital signals based on radio frequency signals, clock frequency, and software control frequency;

[0032] The spectrum analysis module is used to perform spectrum analysis on digital signals and obtain a spectrum diagram.

[0033] Thirdly, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the signal processing method described in the first aspect or any corresponding embodiment thereof.

[0034] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the signal processing method described in the first aspect or any corresponding embodiment thereof.

[0035] Fifthly, the present invention provides a computer program product, including computer instructions for causing a computer to execute the signal processing method described in the first aspect or any corresponding embodiment thereof.

[0036] The signal processing method provided in this invention establishes a correspondence between the frequency spectrum range, the clock frequency, and the software control frequency. For each frequency spectrum range, the clock frequency and the software control frequency are preset, thereby controlling the frequency range of the signal below the second harmonic during signal generation and mixing. This eliminates the influence of the second harmonic on signal analysis and improves the accuracy of signal scanning and detection. Attached Figure Description

[0037] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0038] Figure 1This diagram illustrates an application of a signal processing method provided by an embodiment of the present invention.

[0039] Figure 2 This is a schematic flowchart of a signal processing method provided in an embodiment of the present invention;

[0040] Figure 3 This is a flowchart illustrating the process of determining the correspondence between a frequency spectrum range, a clock frequency, and a software control frequency in a signal processing method provided in an embodiment of the present invention.

[0041] Figure 4 This is a structural block diagram of a signal processing device provided in an embodiment of the present invention;

[0042] Figure 5 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation

[0043] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0044] In the fields of radio frequency (RF), communications, and signal analysis, frequency scanning and measurement of low-frequency signals are often required. This process typically employs a direct RF acquisition solution, using a high-speed analog-to-digital converter (ADC) to directly convert the RF signal into a digital signal for subsequent processing and analysis. However, direct RF acquisition cannot avoid second harmonic distortion (HHD), introducing a harmonic component twice the original signal frequency, resulting in distorted output signal waveforms and affecting signal purity. Furthermore, in spectrum analysis, HHD appears at twice the target signal frequency, potentially interfering with other frequency band signals or misinterpreting them as genuine signals. Simultaneously, HHD increases system noise, reduces the signal-to-noise ratio, affects measurement accuracy, and limits the system's dynamic range, decreasing its ability to detect small signals. These multiple issues lead to low accuracy in signal scanning and detection due to the presence of HHD.

[0045] Based on this, the present invention provides a signal processing method, which includes: determining a clock frequency and a software control frequency based on the spectral range of the input radio frequency signal, wherein there is a correspondence between the spectral range, the clock frequency, and the software control frequency; generating and acquiring a digital signal based on the radio frequency signal, the clock frequency, and the software control frequency; and performing spectral analysis on the digital signal to obtain a spectrum diagram. By establishing a correspondence between the spectral range, the clock frequency, and the software control frequency, and by pre-setting the clock frequency and the software control frequency for each spectral range, the frequency range of the signal is controlled below the second harmonic during signal generation and mixing, thereby eliminating the influence of the second harmonic on signal analysis and improving the accuracy of signal scanning and detection.

[0046] Figure 1 This diagram illustrates an application of a signal processing method provided by an embodiment of the present invention. The signal processing method provided by this embodiment can be applied to, for example... Figure 1 In the system shown, the host computer interacts with the FPGA (Field-Programmable Gate Array), and the FPGA interacts with the clock chip. Radio frequency (RF) signals are input to the FPGA as external signals; these RF signals can be single-tone signals or modulated signals, etc., without specific limitations. The host computer transmits the clock chip's configuration, including clock frequency and other information, to the FPGA. The FPGA transmits the sampled digital signals to the host computer for spectrum analysis. Based on the clock chip configuration transmitted by the host computer, the FPGA configures the clock chip so that it outputs clock signals to the FPGA according to the configuration.

[0047] According to an embodiment of the present invention, a signal processing method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0048] This embodiment provides a signal processing method that can be used in the above-mentioned... Figure 1 In the system shown, Figure 2 This is a flowchart illustrating a signal processing method provided in an embodiment of the present invention, as shown below. Figure 2 As shown, the process includes the following steps:

[0049] Step S201: Determine the clock frequency and software control frequency based on the frequency spectrum range of the input radio frequency signal.

[0050] In this embodiment of the invention, there is a correspondence between the frequency spectrum range, the clock frequency, and the software control frequency. The clock frequency is the frequency of the clock signal output by the clock chip in the system, representing the system's sampling frequency. The software control frequency is the NCO (Numerically Controlled Oscillator) frequency, which is used during frequency shifting. This correspondence is pre-configured within the system. In this correspondence, the clock frequency and software control frequency corresponding to the frequency spectrum range of the RF signal can limit the signal's frequency range below the second harmonic during frequency sweeping, avoiding the occurrence of the second harmonic and thus eliminating its impact on signal processing and analysis.

[0051] In this embodiment of the invention, based on the correspondence between the spectrum range, clock frequency, and software control frequency, the spectrum range of the input radio frequency signal is searched to obtain the corresponding clock frequency and software control frequency.

[0052] Step S202: Based on the radio frequency signal, clock frequency, and software control frequency, generate and acquire digital signals.

[0053] In this embodiment of the invention, on the one hand, the input radio frequency signal is sampled based on the clock frequency to convert the analog radio frequency signal into a digital signal; on the other hand, a digital carrier signal is generated based on the input radio frequency signal and the software control frequency, and the digital signal obtained by converting the radio frequency signal is digitally mixed with the digital carrier signal to obtain the final digital signal.

[0054] Step S203: Perform spectral analysis on the digital signal to obtain a spectrum diagram.

[0055] In this embodiment of the invention, the digital signal acquired in step S202 is a time-domain signal. Therefore, the digital signal is converted from the time domain to the frequency domain, and spectrum analysis and plotting are performed in the frequency domain to obtain a spectrum diagram, thus completing the detection and analysis of the radio frequency signal.

[0056] In one optional implementation, when performing spectral analysis on a digital signal, a Fast Fourier Transform (FFT) is first performed on the digital signal to obtain a complex spectrum, completing the conversion from the time domain to the frequency domain. The complex spectrum can represent the frequency-voltage amplitude distribution of the digital signal. Then, based on the clock frequency and the signal decimation rate, the frequencies in the complex spectrum are processed, and the frequency corresponding to each sampling point is calculated to obtain the frequency axis, thereby generating the x-axis in the spectrum. The voltage amplitude in the complex spectrum is converted into power to obtain the power axis, thereby generating the y-axis in the spectrum. Finally, a spectrum diagram is generated based on the frequency axis and the power axis.

[0057] In one alternative implementation, the digital signal can be windowed before performing a Fast Fourier Transform to reduce spectral leakage. In a specific embodiment, the window type used for the windowing operation is a Hanning window; it should be noted that the window used for the windowing operation can also be a Hamming window, a rectangular window, a Black window, etc., and no specific limitation is made here.

[0058] The signal processing method provided in this invention establishes a correspondence between the frequency spectrum range, the clock frequency, and the software control frequency. For each frequency spectrum range, the clock frequency and the software control frequency are preset, thereby controlling the frequency range of the signal below the second harmonic during signal generation and mixing. This eliminates the influence of the second harmonic on signal analysis and improves the accuracy of signal scanning and detection.

[0059] In one alternative implementation, Figure 3 This is a flowchart illustrating the process of determining the correspondence between a frequency spectrum range, a clock frequency, and a software control frequency in a signal processing method provided by an embodiment of the present invention. Figure 3 As shown, the correspondence between the frequency range, clock frequency, and software control frequency used in step S201 above can be determined in the following way:

[0060] Step S301: Construct the input signal spectrum models corresponding to the first sampling region and the second sampling region, respectively.

[0061] In this embodiment of the invention, the first sampling region refers to the first Nyquist sampling region, and the second sampling region refers to the second Nyquist sampling region. The first sampling region and the second sampling region are two frequency ranges obtained by dividing based on the Nyquist frequency. The signal with the frequency located in the first Nyquist sampling region has no image interference in its spectrum and does not require additional processing of the image frequency. The signal with the frequency located in the second Nyquist sampling region will form an image frequency in the first Nyquist sampling region after sampling.

[0062] In this embodiment of the invention, to avoid signal interference caused by the second harmonic, the overlap between the input signal and its mirror image spectrum should be avoided. Specifically, the input signal spectrum range and the second harmonic spectrum range corresponding to the first sampling region and the second sampling region are constructed respectively; based on the boundary relationship between the input signal spectrum range and the second harmonic spectrum range, the input signal spectrum model corresponding to the first sampling region and the second sampling region is constructed.

[0063] Wherein, the input signal spectrum range corresponding to the first sampling region is The second harmonic spectrum range corresponding to the first sampling region is: .

[0064] The input signal spectrum range corresponding to the second sampling region exists in both the first and second sampling regions. Specifically, the spectrum range of this spectrum region in the first sampling region is... In the second sampling region, not only are there frequency domain regions, but also mirror frequencies of the first sampling region. After frequency folding calculation, the resulting spectrum range is: The second harmonic spectrum range corresponding to the second sampling region exists in both the first and second sampling regions. Specifically, the spectrum range of this region in the first sampling region is... In the second sampling region, not only are there frequency domain regions, but also mirror frequencies of the first sampling region. After frequency folding calculation, the resulting spectrum range is: Furthermore, the third sampling region has a mirror frequency in the first sampling region, and the resulting spectrum range after frequency folding calculation is: The fourth sampling region has a mirror frequency in the first sampling region, and the resulting spectrum range after frequency folding is: .

[0065] in, The frequency of the input signal, The input signal bandwidth, This is the clock frequency.

[0066] In one optional embodiment, to avoid second harmonics, the input signal spectrum range and the second harmonic spectrum range corresponding to the first sampling region should not overlap, and the input signal spectrum range and the second harmonic spectrum range corresponding to the second sampling region should also not overlap. Therefore, based on the boundary relationship between the input signal spectrum range and the second harmonic spectrum range, the input signal spectrum models corresponding to the first and second sampling regions are constructed as follows:

[0067] For the input signal spectrum range and second harmonic spectrum range corresponding to the first sampling region, the following must be satisfied: , ,Right now ;

[0068] as well as, , ,Right now ;

[0069] For the input signal spectrum range and second harmonic spectrum range corresponding to the second sampling region, the following must be satisfied: , ,Right now ;

[0070] as well as, , ,Right now .

[0071] Step S302: Based on the set clock frequency and input signal bandwidth, solve the input signal spectrum model to obtain the first spectrum interval set.

[0072] In this embodiment of the invention, the set clock frequency and input signal bandwidth are substituted into the input signal spectrum model determined in step S301 above for solution to obtain a first set of spectrum intervals. The first set of spectrum intervals includes multiple spectrum intervals, each spectrum interval corresponding to a range of the input signal spectrum model determined in step S301 above.

[0073] In an optional implementation, when the set clock frequency and input signal bandwidth are substituted into the input signal spectrum model determined in step S301 above for solving, the lower limit of the calculated frequency range is rounded up, and the upper limit of the calculated frequency range is rounded down.

[0074] For example, taking [10MHz, 4600MHz] as an example, frequency bands are divided, the clock frequency is set to 5GHz, and the input signal bandwidth is 80MHz. Substituting these into the input signal spectrum model determined in step S301, four spectrum intervals are obtained, which are respectively , , , Among them, due to The upper frequency of this interval exceeds the maximum value, so the final range for this interval is: .

[0075] Step S303: Based on the frequency shift design of each frequency interval in the first frequency interval set, obtain the software control frequency corresponding to each frequency interval in the first frequency interval set.

[0076] In this embodiment of the invention, for each frequency range in the first set of frequency ranges, a set clock frequency and signal decimation rate are used to design a frequency shift operation through NCO frequency shifting, and the software control frequency corresponding to the NCO frequency shift is obtained, so as to perform sampling analysis on different frequency bands.

[0077] Specifically, firstly, based on the clock frequency and signal decimation rate, the spectrum analysis bandwidth corresponding to the first spectrum interval set is determined. Specifically, the spectrum analysis bandwidth is obtained by dividing the clock frequency and the signal decimation rate. For example, if the clock frequency is set to 5 GHz and the signal decimation rate is 8 GHz, then the spectrum analysis bandwidth is 625 MHz.

[0078] Then, based on the bandwidth and spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set, the number of spectrum analyses for each spectrum interval in the first spectrum interval set is determined. Specifically, the number of spectrum analyses for each spectrum interval is obtained by dividing the bandwidth of each spectrum interval by the spectrum analysis bandwidth and rounding up. Continuing with the example above... The bandwidth is 1506MHz, and the number of spectrum analyses is 3. The bandwidth is 714MHz, and the number of spectrum analyses is 2. The bandwidth is 713MHz, and the number of spectrum analyses is 2. The bandwidth is 1506MHz, and the number of spectrum analyses is 3.

[0079] Finally, based on the lower limit frequency, number of spectrum analyses, and spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set, the software control frequency corresponding to each spectrum interval in the first spectrum interval set is determined. Specifically, using the lower limit frequency of the spectrum interval as a benchmark, the center bandwidth value of one spectrum analysis bandwidth is superimposed each time, and its negative value is taken, until the superposition quantity reaches the number of spectrum analyses, thus obtaining the software control frequency corresponding to that spectrum interval. Continuing with the above example... The three software control frequencies are as follows:

[0080] -(120Mhz+625Mhz / 2)=-432.5Mhz;

[0081] -(120Mhz+625Mhz*2 / 2)=-745Mhz;

[0082] -(120Mhz+625Mhz*3 / 2)=-1057.5Mhz.

[0083] In an optional implementation, the first set of spectrum intervals obtained in step S302 above cannot completely cover all spectrum intervals in the frequency band. Therefore, for these uncovered spectrum intervals, the software control frequency corresponding to each spectrum interval is further determined. Specifically, a second set of spectrum intervals is obtained based on the spectrum intervals not covered by the first set of spectrum intervals; based on the frequency shift design of each spectrum interval in the second set of spectrum intervals, the software control frequency corresponding to each spectrum interval in the second set of spectrum intervals is obtained; wherein, based on the center point of each spectrum interval in the second set of spectrum intervals, the software control frequency corresponding to each spectrum interval in the second set of spectrum intervals is determined respectively, that is, the negative value of the center point of the frequency band of the spectrum interval is taken as the software control frequency corresponding to the spectrum interval.

[0084] This embodiment also provides a signal processing apparatus for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0085] This embodiment provides a signal processing device, such as... Figure 4 As shown, it includes:

[0086] The frequency determination module 401 is used to determine the clock frequency and the software control frequency based on the frequency spectrum range of the input radio frequency signal, wherein there is a corresponding relationship between the frequency spectrum range, the clock frequency, and the software control frequency.

[0087] The signal acquisition module 402 is used to generate and acquire digital signals based on radio frequency signals, clock frequency and software control frequency;

[0088] The spectrum analysis module 403 is used to perform spectrum analysis on digital signals to obtain a spectrum diagram.

[0089] In one alternative embodiment, the device further includes:

[0090] The model building module is used to build the input signal spectrum models corresponding to the first and second sampling regions, respectively.

[0091] The model solving module is used to solve the input signal spectrum model based on the set clock frequency and input signal bandwidth to obtain the first set of spectrum intervals;

[0092] The frequency shift design module is used to obtain the software control frequency corresponding to each frequency interval in the first frequency interval set based on the frequency shift design of each frequency interval in the first frequency interval set.

[0093] In one alternative implementation, the model building module includes:

[0094] The spectrum range determination unit is used to construct the input signal spectrum range and the second harmonic spectrum range corresponding to the first sampling region and the second sampling region, respectively.

[0095] The model building unit is used to construct the input signal spectrum model corresponding to the first sampling region and the second sampling region based on the boundary relationship between the input signal spectrum range and the second harmonic spectrum range.

[0096] In one alternative implementation, the frequency shift design module includes:

[0097] The bandwidth determination unit is used to determine the spectrum analysis bandwidth corresponding to the first spectrum interval set based on the clock frequency and signal decimation rate.

[0098] The analysis number determination unit is used to determine the number of spectrum analyses for each spectrum interval in the first spectrum interval set based on the bandwidth and spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set.

[0099] The control parameter determination unit is used to determine the software control frequency corresponding to each spectrum interval in the first spectrum interval set based on the lower limit frequency, the number of spectrum analyses, and the spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set.

[0100] In one alternative embodiment, the device further includes:

[0101] The second spectrum set determination module is used to obtain the second spectrum interval set based on the spectrum intervals not covered by the first spectrum interval set;

[0102] The second frequency shift design module is used to obtain the software control frequency corresponding to each frequency interval in the second frequency interval set based on the frequency shift design of each frequency interval in the second frequency interval set.

[0103] In one alternative implementation, the second frequency shift design module is used for:

[0104] Based on the frequency band center point of each frequency interval in the second frequency interval set, the software control frequency corresponding to each frequency interval in the second frequency interval set is determined.

[0105] In one alternative implementation, the spectrum analysis module 403 includes:

[0106] The Fourier transform unit is used to perform fast Fourier transform on digital signals to obtain complex spectra.

[0107] The frequency axis determination unit is used to process the frequencies in the complex spectrum based on the clock frequency and the signal decimation rate to obtain the frequency axis;

[0108] The power axis determination unit is used to convert the voltage amplitude in the complex spectrum to obtain the power axis;

[0109] The spectrum generation unit is used to generate spectrum diagrams based on the frequency axis and the power axis.

[0110] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.

[0111] In this embodiment, the signal processing device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.

[0112] This invention also provides a computer device having the above-described features. Figure 4 The signal processing device shown.

[0113] Please see Figure 5 , Figure 5 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 5 As shown, the computer device includes one or more processors 10, memory 20, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 5 Take a processor 10 as an example.

[0114] Processor 10 may be a central processing unit, a network processor, or a combination thereof. Processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.

[0115] The memory 20 stores instructions executable by at least one processor 10 to cause the at least one processor 10 to perform the method shown in the above embodiments.

[0116] The memory 20 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 20 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally include memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0117] The memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0118] The computer device also includes a communication interface 30 for communicating with other devices or communication networks.

[0119] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.

[0120] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.

[0121] Although embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the present invention.

Claims

1. A signal processing method, characterized in that, The method includes: Based on the frequency spectrum range of the input radio frequency signal, the clock frequency and software control frequency are determined, where there is a corresponding relationship between the frequency spectrum range, the clock frequency, and the software control frequency. Based on the radio frequency signal, the clock frequency, and the software control frequency, a digital signal is generated and acquired; wherein, based on the clock frequency, the radio frequency signal is sampled and converted into a digital signal; based on the radio frequency signal and the software control frequency, a digital carrier signal is generated; and the digital signal obtained from the conversion of the radio frequency signal is digitally mixed with the digital carrier signal to obtain the final digital signal. Perform spectral analysis on the final digital signal to obtain a spectrum diagram; The correspondence between the frequency spectrum range, clock frequency, and software control frequency is determined as follows: The input signal spectrum models corresponding to the first sampling region and the second sampling region are constructed respectively. The first sampling region refers to the first Nyquist sampling region, and the second sampling region refers to the second Nyquist sampling region. The first sampling region and the second sampling region are two frequency ranges obtained by dividing based on the Nyquist frequency. The construction of the input signal spectrum models corresponding to the first sampling region and the second sampling region includes: constructing the input signal spectrum range and the second harmonic spectrum range corresponding to the first sampling region and the second sampling region respectively; and constructing the input signal spectrum models corresponding to the first sampling region and the second sampling region based on the boundary relationship between the input signal spectrum range and the second harmonic spectrum range. Based on the set clock frequency and input signal bandwidth, the input signal spectrum model is solved to obtain the first set of spectrum intervals; Based on the frequency shift design of each frequency interval in the first set of frequency intervals, the software control frequency corresponding to each frequency interval in the first set of frequency intervals is obtained.

2. The method according to claim 1, characterized in that, The step of obtaining the software control frequency corresponding to each spectrum interval in the first spectrum interval set based on the frequency shift design of each spectrum interval in the first spectrum interval set includes: Based on the clock frequency and signal decimation rate, determine the spectrum analysis bandwidth corresponding to the first set of spectrum intervals; Based on the bandwidth of each spectrum interval in the first spectrum interval set and the spectrum analysis bandwidth, the number of spectrum analyses for each spectrum interval in the first spectrum interval set is determined respectively. Based on the lower limit frequency, number of spectrum analyses, and spectrum analysis bandwidth of each spectrum interval in the first spectrum interval set, the software control frequency corresponding to each spectrum interval in the first spectrum interval set is determined.

3. The method according to claim 1, characterized in that, After solving the input signal spectrum model based on the set clock frequency and input signal bandwidth to obtain the first set of spectrum intervals, the method further includes: A second set of spectrum intervals is obtained based on the spectrum intervals not covered by the first set of spectrum intervals; Based on the frequency shift design of each frequency interval in the second set of frequency intervals, the software control frequency corresponding to each frequency interval in the second set of frequency intervals is obtained.

4. The method according to claim 3, characterized in that, The step of obtaining the software control frequency corresponding to each spectrum interval in the second spectrum interval set based on the frequency shift design of each spectrum interval in the second spectrum interval set includes: Based on the frequency band center point of each frequency interval in the second set of frequency intervals, the software control frequency corresponding to each frequency interval in the second set of frequency intervals is determined.

5. The method according to claim 1, characterized in that, The step of performing spectral analysis on the final digital signal to obtain a spectrum diagram includes: Perform a Fast Fourier Transform on the final digital signal to obtain a complex spectrum; Based on the clock frequency and signal decimation rate, the frequencies in the complex spectrum are processed to obtain the frequency axis; The voltage amplitude in the complex spectrum is converted to obtain the power axis; The spectrum diagram is generated based on the frequency axis and power axis.

6. A signal processing apparatus, characterized in that, The device includes: The frequency determination module is used to determine the clock frequency and the software control frequency based on the frequency spectrum range of the input radio frequency signal. There is a corresponding relationship between the frequency spectrum range, the clock frequency, and the software control frequency. The signal acquisition module is used to generate and acquire digital signals based on the radio frequency signal, the clock frequency, and the software control frequency; wherein, based on the clock frequency, the radio frequency signal is sampled and converted into a digital signal; a digital carrier signal is generated based on the radio frequency signal and the software control frequency; and the digital signal obtained from the conversion of the radio frequency signal is digitally mixed with the digital carrier signal to obtain the final digital signal. The spectrum analysis module is used to perform spectrum analysis on the final digital signal to obtain a spectrum diagram; The correspondence between the frequency spectrum range, clock frequency, and software control frequency is determined as follows: The input signal spectrum models corresponding to the first sampling region and the second sampling region are constructed respectively. The first sampling region refers to the first Nyquist sampling region, and the second sampling region refers to the second Nyquist sampling region. The first sampling region and the second sampling region are two frequency ranges obtained by dividing based on the Nyquist frequency. The construction of the input signal spectrum models corresponding to the first sampling region and the second sampling region includes: constructing the input signal spectrum range and the second harmonic spectrum range corresponding to the first sampling region and the second sampling region respectively; and constructing the input signal spectrum models corresponding to the first sampling region and the second sampling region based on the boundary relationship between the input signal spectrum range and the second harmonic spectrum range. Based on the set clock frequency and input signal bandwidth, the input signal spectrum model is solved to obtain the first set of spectrum intervals; Based on the frequency shift design of each frequency interval in the first set of frequency intervals, the software control frequency corresponding to each frequency interval in the first set of frequency intervals is obtained.

7. A computer device, characterized in that, include: A memory and a processor are communicatively connected, the memory stores computer instructions, and the processor executes the signal processing method of any one of claims 1 to 5 by executing the computer instructions.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the signal processing method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Accelerator low-level control system digitization method based on radio frequency direct acquisition chip

    CN116149223A

  • Laser radar chip, laser radar and data processing method of laser radar chip

    CN119224775A