Spectrum analysis method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202511246718.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-02
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2045-09-02
AI Technical Summary
Existing spectrum analyzers struggle to strike a balance between high probability of intercept and high resolution. Traditional solutions result in high noise floor and long delay, which cannot meet the requirements of 5G/6G millimeter wave communications and electronic warfare systems.
By adopting multi-level FFT technology and dynamic collaborative controller, through a multi-channel spectrum analysis system, and utilizing a combination of different sampling rates and truncation lengths, preliminary and fine frequency domain positioning of RF signals is achieved, and sub-band analysis results are integrated to obtain full-band spectrum analysis.
It achieves nanosecond-level detection, a frequency error of less than 5kHz, high resource utilization, and strong multi-target collaborative analysis capabilities, making it suitable for 5G base station testers and electronic warfare systems.
Smart Images

Figure CN120785355A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of signal analysis, and in particular to a spectrum analysis method and device, electronic equipment and a storage medium. BACKGROUND
[0002] With the development of 5G / 6G millimeter wave communication, ultra-wideband radar and electronic warfare systems, spectrum analysis is facing core contradictions. On the one hand, a high probability of interception is required, and a spectrum analyzer is required to have a large instantaneous bandwidth (greater than 2GHz) to capture transient signals (such as 20μs burst signals). On the other hand, it is also required to have high resolution, which requires fine resolution (less than 1Hz) to analyze signal characteristics. The physical limitations of the single ADC (Analog-to-Digital Converter, analog-to-digital converter) architecture are that the ENOB (Effective Number of Bits, effective number of bits) is less than 10 bits when the sampling rate is greater than 5GS / s, and the resource waste rate of the multi-ADC scheme is greater than 60%. The traditional scheme cannot have both high probability of interception and high resolution. High probability of interception leads to high noise floor, and high resolution leads to long delay, resulting in a "bandwidth-resolution-efficiency" impossible triangle.
[0003] The information disclosed in this BACKGROUND section is only intended to enhance the understanding of the general background of the application, and should not be construed as recognition or implication that this information forms the prior art known to those skilled in the art. SUMMARY
[0004] In view of the problems existing in the prior art, the present application provides a spectrum analysis method and device, electronic equipment and a storage medium.
[0005] The spectrum analysis method provided by the technical scheme of the present application comprises: sampling a radio frequency signal at a first sampling rate to obtain a first sampled signal; truncating the first sampled signal according to a first truncation length, then windowing through a first window function, and then performing Fourier transform processing to realize preliminary frequency domain positioning of the radio frequency signal and obtain a plurality of center frequencies of the radio frequency signal and corresponding bandwidths; obtaining a plurality of sub-radio frequency signals based on the radio frequency signal; generating a corresponding set of second sampling rates, second truncation lengths and second window functions based on each center frequency and the corresponding bandwidth; for each center frequency, obtaining a sub-radio frequency signal, sampling the sub-radio frequency signal at the corresponding second sampling rate to obtain a second sampled signal; digitally mixing the second sampled signal to form a baseband signal; truncating the baseband signal according to the corresponding second truncation length, then windowing through the corresponding second window function, and then performing Fourier transform processing to obtain a sub-band analysis result for each center frequency; and fusing all sub-band analysis results to obtain a full-band spectrum analysis of the radio frequency signal.
[0006] Optionally, the first sampling signal is truncated according to a first truncation length, and then windowed by a first window function, and then Fourier transform processing is performed to achieve frequency domain positioning of the radio frequency signal and obtain several center frequencies and corresponding bandwidths of the radio frequency signal. It also includes: simultaneously truncating the first sampling signal according to a third truncation length, and then windowing by a first window function, and then Fourier transform processing to achieve fine frequency domain positioning of the radio frequency signal; verifying the preliminary frequency domain positioning result through the fine frequency domain positioning result; wherein, the third truncation length is greater than the second truncation length.
[0007] Optionally, the method also includes: performing frequency domain positioning according to multiple truncation lengths at the same time, and the frequency domain positioning result of the longer truncation length is used to verify the frequency domain positioning result of the shorter truncation length; if the frequency domain positioning of the shorter truncation length fails to find a valid signal, then the valid signal is found through the frequency domain positioning of the longer truncation length; if the frequency domain positioning of the preset maximum truncation length fails to find a valid signal, then it is determined that no valid signal is detected in the time domain.
[0008] Optionally, the method also includes: if the frequency domain positioning result of the longer truncation length and the frequency domain positioning result of the shorter truncation length are not sufficiently consistent after evaluation, then based on the frequency domain positioning result of the longer truncation length, a corresponding set of second sampling rates, second truncation lengths and second window functions are regenerated.
[0009] Optionally, before truncating the baseband signal according to the corresponding second truncation length, the method further includes: performing phase compensation on the baseband signal to overcome physical delay of the baseband signal in the previous processing process.
[0010] Optionally, the first sampling rate is more than ten times the second sampling rate.
[0011] The technical solution of the present invention also provides a spectrum analysis device, which includes: a POI (Probability of Instantaneous Intercept) extension channel, which samples the radio frequency signal at a first sampling rate to obtain a first sampling signal, truncates the first sampling signal according to a first truncation length, and then adds a window through a first window function, and then performs Fourier transform processing to achieve preliminary frequency domain positioning of the radio frequency signal, and obtain several center frequencies and corresponding bandwidths of the radio frequency signal; a power divider, which obtains several sub-radio frequency signals based on the radio frequency signal; a dynamic collaborative controller, which generates a corresponding set of second sampling rates, second truncation lengths and second window functions based on each center frequency and corresponding bandwidth; multiple RBW (Resolution Bandwidth) channels. The RBW channel acquires a sub-RF signal for each center frequency, samples the sub-RF signal at a corresponding second sampling rate to obtain a second sampled signal, performs digital mixing on the second sampled signal to form a baseband signal, truncates the baseband signal according to a corresponding second truncation length, adds a window through a corresponding second window function, and then performs Fourier transform processing to obtain a sub-band analysis result for each center frequency; the joint analysis module integrates all sub-band analysis results to obtain a full-band spectrum analysis of the RF signal.
[0012] Optionally, the spectrum analysis device further includes an antenna capable of capturing ultra-wideband signals, with a first sampling rate of 5 GS / s and a second sampling rate of 100 MS / s, thereby achieving both detection of transient signals and high-precision spectrum analysis.
[0013] The technical solution of the present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps of any of the above-mentioned spectrum analysis methods are implemented.
[0014] The technical solution of the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of any of the above-mentioned spectrum analysis methods are implemented.
[0015] Additional aspects and advantages of the present invention will be set forth in part in the description which follows and, in part, will be obvious from the description which follows, or may be learned by practice of the present invention.
[0016] The beneficial effects of the present invention are: providing a spectrum analysis method with both high intercept probability and high resolution. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor.
[0018] Figure 1 A flowchart of a spectrum analysis method provided by the technical solution of the present application.
[0019] Figure 2 A structural diagram of a multi-channel spectrum analysis system provided by the embodiment of the present application.
[0020] Figure 3 A working flowchart of a multi-channel spectrum analysis system provided by the embodiment of the present application.
[0021] Figure 4 A time sequence diagram of a detection event node of a multi-channel spectrum analysis system provided by the embodiment of the present application.
[0022] Figure 5 A schematic diagram of a parallel multi-stage FFT provided by the embodiment of the present application.
[0023] Figure 6 A comparison diagram of technical advantages of a multi-stage FFT provided by the embodiment of the present application.
[0024] Figure 7 An implementation diagram of effects of the algorithm of the present application compared with a traditional method in multiple indexes provided by the embodiment of the present application.
[0025] Figure 8 A structural diagram of a spectrum analysis device provided by the technical solution of the present application.
[0026] Figure 9 A structural diagram of an electronic device provided by the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be described clearly and completely in combination with the drawings in the present application. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor belong to the protection scope of the present application.
[0028] The spectrum analysis method provided by the embodiments of the present application will be described in detail in combination with the drawings and specific embodiments and application scenarios.
[0029] Figure 1 A flow chart of a spectrum analysis method provided by the technical solution of the present invention is as follows: Figure 1 As shown, the technical solution of the present invention provides a spectrum analysis method, which includes: S110 sampling a radio frequency signal at a first sampling rate to obtain a first sampled signal; S120 truncating the first sampled signal according to a first truncation length, then windowing it with a first window function, and then performing Fourier transform processing to achieve preliminary frequency domain positioning of the radio frequency signal and obtain several center frequencies and corresponding bandwidths of the radio frequency signal; S130 obtaining several sub-radio frequency signals based on the radio frequency signal; S140 generating a corresponding set of second sampling rates, second truncation lengths, and second window functions based on each center frequency and corresponding bandwidth; S150 obtaining a sub-radio frequency signal for each center frequency, sampling the sub-radio frequency signal at a corresponding second sampling rate to obtain a second sampled signal; S160 digitally mixing the second sampled signal to form a baseband signal; S170 truncating the baseband signal according to a corresponding second truncation length, then windowing it with a corresponding second window function, and then performing Fourier transform processing to obtain a sub-band analysis result for each center frequency; S180 fusing all sub-band analysis results to obtain a full-band spectrum analysis of the radio frequency signal. This embodiment provides a spectrum analysis method with both high intercept probability and high resolution.
[0030] Optionally, the first sampling signal is truncated according to a first truncation length, and then windowed by a first window function, and then Fourier transform processing is performed to achieve frequency domain positioning of the radio frequency signal and obtain several center frequencies and corresponding bandwidths of the radio frequency signal. It also includes: simultaneously truncating the first sampling signal according to a third truncation length, and then windowing by a first window function, and then Fourier transform processing to achieve fine frequency domain positioning of the radio frequency signal; verifying the preliminary frequency domain positioning result through the fine frequency domain positioning result; wherein, the third truncation length is greater than the second truncation length.
[0031] Optionally, the method also includes: performing frequency domain positioning according to multiple truncation lengths at the same time, and the frequency domain positioning result of the longer truncation length is used to verify the frequency domain positioning result of the shorter truncation length; if the frequency domain positioning of the shorter truncation length fails to find a valid signal, then the valid signal is found through the frequency domain positioning of the longer truncation length; if the frequency domain positioning of the preset maximum truncation length fails to find a valid signal, then it is determined that no valid signal is detected in the time domain.
[0032] Optionally, the method also includes: if the frequency domain positioning result of the longer truncation length and the frequency domain positioning result of the shorter truncation length are not sufficiently consistent after evaluation, then based on the frequency domain positioning result of the longer truncation length, a corresponding set of second sampling rates, second truncation lengths and second window functions are regenerated.
[0033] Optionally, before truncating the baseband signal according to the corresponding second truncation length, the baseband signal is phase compensated to overcome physical time delay of the baseband signal in the previous processing.
[0034] Optionally, the first sampling rate is more than ten times of the second sampling rate.
[0035] In one embodiment, Figure 2 A structural schematic diagram of a multi-channel spectrum analysis system provided by an embodiment of the present application is shown in FIG. 1. Figure 2 As shown in FIG. 1, the multi-channel spectrum analysis system provided by an embodiment of the present application includes a POI expansion channel configured with a high-speed ADC (5GS / s sampling rate) for wideband scanning and fast detection of transient signals, multiple RBW optimization channels configured with high-resolution channels for performing high-precision analysis on specific frequency points, and a dynamic cooperative controller for realizing intelligent linkage of the POI expansion channel and the multiple RBW channels.
[0036] Figure 3 A workflow diagram of a multi-channel spectrum analysis system provided by an embodiment of the present application is shown in FIG. 2. Figure 3 As shown in FIG. 2, the system workflow includes that the POI expansion channel quickly detects signals and preliminarily locates frequency points through parallel multi-resolution FFT (Fast Fourier Transform) technology (64 points to 4096 points, it is to be noted that 64 points here refer to 64 sampling points before truncation, i.e., the truncation length is 64 sampling points); once a signal is detected, one or more RBW channels are triggered; the RBW channels automatically configure parameters (center frequency, bandwidth, FFT point number, etc.) according to the frequency point information provided by the POI to perform fine measurement; the multiple RBW channels can analyze signals of different frequency points in parallel; and the results are fused and output.
[0037] The technical solution of the present application can realize local frequency domain fast positioning, and multi-resolution FFT (64 points, 128 points, …, 4096 points) is run in parallel in the POI expansion channel; once a signal is detected by a lower point number FFT (such as 64 points), the center frequency and bandwidth of the sudden signal are accurately calculated through a three-point interpolation method; the estimated value is sent to the RBW channel to determine the local oscillator and filter parameters of the RBW channel, and the sudden signal is started to be accurately collected; after the result of the subsequent high point number FFT is obtained, the result is evaluated through an algorithm to determine whether the center frequency and bandwidth of the RBW channel need to be changed. In one embodiment, the technical solution of the present application automatically allocates RBW channel resources according to the number of detected frequency points.
[0038] Figure 4 A time sequence diagram of a detection event node of a multi-channel spectrum analysis system provided by an embodiment of the present application is shown in FIG. 3. Figure 4As shown, the detection is completed in no more than 25 ns.
[0039] In one embodiment, Figure 5 A schematic diagram of a parallel multi-level FFT provided for an embodiment of the application is shown in FIG. 1. Figure 5 As shown, multi-level FFT processing of different point numbers (64 points to 4096 points) is started simultaneously, and when the low-level FFT is completed and the signal is detected, the RBW channel is triggered for preliminary processing; when the high-level FFT is completed, if the signal has been detected, the RBW channel parameters are optimized, if no signal is detected but there is a narrowband signal, narrowband analysis is continued; the highest level FFT result is used for final calibration.
[0040] A pseudo code is further provided below for a more detailed flow description.
[0041] def multi_level_fft_processing():
[0042] # Parallel start 7-level FFT
[0043] fft64 = start_fft(64)
[0044] fft128 = start_fft(128)
[0045] fft256 = start_fft(256)
[0046] fft512 = start_fft(512)
[0047] fft1024 = start_fft(1024)
[0048] fft2048 = start_fft(2048)
[0049] fft4096 = start_fft(4096)
[0050] # Create result queue
[0051] results = ConcurrentResultQueue()
[0052] # First response mechanism
[0053] while True:
[0054] completed_fft = wait_any_completed([fft64,fft128,……,fft4096])
[0055] if completed_fft.points == 64:
[0056] if detect_signal(fft64.result):
[0057] # immediate trigger RBW channel
[0058] trigger_rbw(fft64.f0_estimate)
[0059] else:
[0060] # narrowband signal might not be found
[0061] continue
[0062] elif completed_fft.points == 128:
[0063] if not rbw_triggered and detect_signal(fft128.result):
[0064] trigger_rbw(fft128.f0_estimate)
[0065] elif rbw_triggered:
[0066] # optimize RBW parameters
[0067] optimize_rbw_params(fft128.f0_precise, fft128.bw_estimate)
[0068] # other levels processing logic similar
[0069] ...
[0070] # 4096 points FFT final optimization
[0071] elif completed_fft.points == 4096:
[0072] if rbw_triggered:
[0073] final_optimize(fft4096.high_res_result)
[0074] (* parameter optimization engine *)
[0075] OptimizeParams[f0_, B0_] := Module[
[0076] FsOpt = Min[0.4*f0, Max[10*B0, 100e6]],
[0077] Nfft = Clip[FsOpt / Max[0.1, B0 / 1000], {2^16, 2^24}],
[0078] Window = Which[
[0079] f0 < 1e9, "Blackman",
[0080] B0 > 100e6, "FlatTop",
[0081] True, "Kaiser(β=38)" ] ]
[0084] Figure 6 The technical advantage comparison chart of the multi-stage FFT provided by the embodiment of the application is shown in FIG. 1, in which the 64-point FFT level has the fastest response speed, but poor narrowband signal detection capability, which is compensated by higher FFT levels. Figure 6
[0085] In one embodiment, the hardware configuration in Table 1 is adopted.
[0086] Table 1
[0087] Module Parameter Function POI extension channel ADC 14bit@5GS / s Transient signal detection RBW channel x N ADC 14bit@100MS / s High-precision analysis Power divider 50Ω N-way equal power division Low-loss signal distribution Dynamic cooperative controller Xilinx Versal ACAP VC1902 Real-time cooperative control
[0088] Based on the hardware configuration, the performance breakthrough is shown in Table 2.
[0089] Table 2
[0090] Index Traditional scheme The present patent Lift multiple Test standard Detection delay 20μs 18ns 1111× MIL-STD-461G RBW resolution 625Hz 0.1Hz 6250× 3GPP 38.141 Dynamic range 70dB 116dB 46dB IEEE 181 Multi-target processing Single target N targets in parallel N× JEDEC JESD207
[0091] Figure 7 The effect implementation chart of the algorithm of the application compared with the traditional method in multiple indexes is shown in FIG. 2, in which the algorithm of the application is far ahead of the traditional method in frequency positioning error, power measurement error, analysis time delay and resource consumption. Figure 7
[0092] The embodiment of the application realizes nanosecond-level detection, completes transient signal capture within 18 ns, millimeter-level positioning, frequency error less than 5 kHz@28 GHz, resource dynamic optimization, processor utilization rate greater than 95%, and multi-target cooperation, 8 discrete frequency points parallel analysis.
[0093] The scheme has been implemented on an Xilinx Versal ACAP platform, successfully applied to a 5G base station tester and an electronic warfare system, and the capture rate of a 100 ns burst signal reaches 99.97%, and the power consumption is less than 15 W.
[0094] The spectrum analysis device provided by the present application is described below, and the spectrum analysis device described below can be mutually corresponding to the spectrum analysis method described above. It should be noted that the device described herein includes a virtual device on a computer, a processor and the like program running device.
[0095] Figure 8 A structural diagram of a spectrum analysis device provided by the technical scheme of the present application is shown in Figure 8 As shown, the spectrum analysis device provided by the technical scheme of the present application includes: a POI expansion channel, which samples a radio frequency signal at a first sampling rate to obtain a first sampling signal, truncates the first sampling signal according to a first truncation length, then windows through a first window function, and then performs Fourier transform processing to realize preliminary frequency domain positioning of the radio frequency signal and obtain a plurality of center frequencies of the radio frequency signal and corresponding bandwidths; a power divider, which obtains a plurality of sub-radio frequency signals based on the radio frequency signal; a dynamic cooperative controller, which generates a corresponding set of second sampling rates, second truncation lengths and second window functions based on each center frequency and the corresponding bandwidth; a plurality of RBW channels, which, for each center frequency, obtain a sub-radio frequency signal, sample the sub-radio frequency signal at the corresponding second sampling rate to obtain a second sampling signal, perform digital mixing on the second sampling signal to form a baseband signal, truncate the baseband signal according to the corresponding second truncation length, then window through the corresponding second window function, and then perform Fourier transform processing to obtain a sub-band analysis result for each center frequency; and a joint analysis module, which fuses all sub-band analysis results to obtain a full-band spectrum analysis of the radio frequency signal.
[0096] In an optional embodiment, the power divider divides the radio frequency signal into a predetermined number of sub-radio frequency signals, and the POI expansion channel determines the number of RBW channels to be enabled after preliminary frequency domain positioning, thereby determining how many sub-radio frequency signals to analyze. Further, a specific example is provided, and the numbers in the example are only for illustration. The power divider divides the radio frequency signal into 10 sub-radio frequency signals, and when analyzing a certain radio frequency signal, 4 center frequencies are determined by the POI expansion channel, so that 4 RBW channels are enabled to analyze the corresponding 4 sub-radio frequency signals, and the remaining 6 sub-radio frequency signals are idle and not analyzed.
[0097] Optionally, the spectrum analysis device further comprises an antenna capable of capturing ultra-wideband signals, the first sampling rate is 5GS / s, and the second sampling rate is 100MS / s, so that the detection of transient signals and high-precision spectrum analysis are realized.
[0098] The embodiment provides a spectrum analysis device with high probability of interception and high resolution.
[0099] Figure 9 An electronic device provided by the embodiment has the structure as shown in the figure. Figure 9 As shown in the figure, the electronic device can include a processor 810, a communications interface 820, a memory 830 and a communications bus 840, wherein the processor 810, the communications interface 820 and the memory 830 complete mutual communication through the communications bus 840. The processor 810 can invoke a logical instruction in the memory 830 to execute a spectrum analysis method, and the method includes: sampling a radio frequency signal at a first sampling rate to obtain a first sampling signal; truncating the first sampling signal according to a first truncation length, then windowing through a first window function, and then performing Fourier transform processing to realize preliminary frequency domain positioning of the radio frequency signal and obtain a plurality of center frequencies and corresponding bandwidths of the radio frequency signal; obtaining a plurality of sub-radio frequency signals based on the radio frequency signal; generating a corresponding set of a second sampling rate, a second truncation length and a second window function based on each center frequency and the corresponding bandwidth; for each center frequency, obtaining a sub-radio frequency signal, sampling the sub-radio frequency signal at the corresponding second sampling rate to obtain a second sampling signal; digitally mixing the second sampling signal to form a baseband signal; truncating the baseband signal according to the corresponding second truncation length, then windowing through the corresponding second window function, and then performing Fourier transform processing to obtain a sub-frequency band analysis result for each center frequency; and fusing all the sub-frequency band analysis results to obtain full-frequency band spectrum analysis of the radio frequency signal.
[0100] Moreover, the logic instructions in the memory 830 described above can be implemented in the form of software functional units and sold or used as independent products, and can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that contribute to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0101] In another aspect, the present application also provides a computer program product, which comprises a computer program stored on a non-transitory computer readable storage medium, and the computer program comprises program instructions, when the program instructions are executed by a computer, the computer can execute the spectrum analysis method provided by the above-mentioned methods, and the method comprises: sampling a radio frequency signal at a first sampling rate to obtain a first sampling signal; truncating the first sampling signal according to a first truncation length, then windowing through a first window function, and then performing Fourier transform processing to realize preliminary frequency domain positioning of the radio frequency signal, and obtain a plurality of center frequencies and corresponding bandwidths of the radio frequency signal; obtaining a plurality of sub-radio frequency signals based on the radio frequency signal; generating a corresponding set of second sampling rate, second truncation length and second window function based on each center frequency and corresponding bandwidth; for each center frequency, obtain a sub-radio frequency signal, sample the sub-radio frequency signal at the corresponding second sampling rate to obtain a second sampling signal; digitally mix the second sampling signal to form a baseband signal; truncate the baseband signal according to the corresponding second truncation length, then window through the corresponding second window function, and then perform Fourier transform processing to obtain a sub-band analysis result for each center frequency; and fuse all the sub-band analysis results to obtain a full-band spectrum analysis of the radio frequency signal.
[0102] In yet another aspect, the present application also provides a non-transitory computer readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the above-mentioned spectrum analysis method, and the method comprises: sampling a radio frequency signal at a first sampling rate to obtain a first sampled signal; truncating the first sampled signal according to a first truncation length, and then windowing through a first window function, and then performing Fourier transform processing to realize preliminary frequency domain positioning of the radio frequency signal, and obtain a plurality of center frequencies and corresponding bandwidths of the radio frequency signal; obtaining a plurality of sub-radio frequency signals based on the radio frequency signal; generating a corresponding set of a second sampling rate, a second truncation length and a second window function based on each of the center frequencies and the corresponding bandwidths; for each of the center frequencies, obtaining one of the sub-radio frequency signals, sampling the sub-radio frequency signal at the corresponding second sampling rate to obtain a second sampled signal; digitally mixing the second sampled signal to form a baseband signal; truncating the baseband signal according to the corresponding second truncation length, and then windowing through the corresponding second window function, and then performing Fourier transform processing to obtain a sub-band analysis result for each of the center frequencies; and fusing all the sub-band analysis results to obtain a full-band spectrum analysis result of the radio frequency signal.
[0103] The apparatus embodiments described above are merely illustrative, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Part or all of the modules can be selected to achieve the purpose of the embodiment according to actual needs. Those skilled in the art can understand and implement without creative labor.
[0104] From the above description of the embodiments, those skilled in the art can clearly understand that the embodiments can be realized by means of software and necessary universal hardware platforms, and of course can also be realized by hardware. Based on such understanding, the above technical solutions can be embodied in the form of software products, which can be stored in a computer readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and include a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in each embodiment or some parts of the embodiments.
[0105] It should be pointed out finally that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit the same; and although the present application has been described in detail with reference to the foregoing embodiments, it should be appreciated by those skilled in the art that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features thereof can be replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A spectrum analysis method, characterized in that: The method comprises: Sampling the radio frequency signal at a first sampling rate to obtain a first sampled signal; Truncating the first sampling signal according to a first truncation length, windowing the signal using a first window function, and then performing Fourier transform processing to achieve preliminary frequency domain positioning of the radio frequency signal and obtain a plurality of center frequencies and corresponding bandwidths of the radio frequency signal; Based on the radio frequency signal, obtaining a plurality of sub-radio frequency signals; Based on each of the center frequencies and the corresponding bandwidth, generating a corresponding set of second sampling rates, second truncation lengths, and second window functions; For each of the center frequencies, obtain one of the sub-RF signals, and sample the sub-RF signal at the corresponding second sampling rate to obtain a second sampled signal; performing digital mixing on the second sampling signal to form a baseband signal; Truncating the baseband signal according to the corresponding second truncation length, windowing the signal using the corresponding second window function, and then performing Fourier transform processing to obtain a sub-band analysis result for each of the center frequencies; All sub-band analysis results are combined to obtain a full-band spectrum analysis of the radio frequency signal.
2. The spectrum analysis method according to claim 1, wherein: The method further includes: truncating the first sampling signal according to a first truncation length, windowing the signal using a first window function, and then performing Fourier transform processing to achieve frequency domain positioning of the radio frequency signal and obtain multiple center frequencies and corresponding bandwidths of the radio frequency signal. Simultaneously, truncating the first sampling signal according to a third truncation length, windowing the signal through the first window function, and then performing Fourier transform processing to achieve fine frequency domain positioning of the radio frequency signal; Verifying the preliminary frequency domain positioning result by using the fine frequency domain positioning result; The third truncation length is greater than the second truncation length.
3. The spectrum analysis method according to claim 2, characterized in that: The method further comprises: Frequency domain positioning is performed according to multiple truncation lengths at the same time. The frequency domain positioning result of the longer truncation length is used to verify the frequency domain positioning result of the shorter truncation length. If the frequency domain positioning of the shorter truncation length fails to find a valid signal, the frequency domain positioning of the longer truncation length is used to find a valid signal. If the frequency domain positioning of the preset maximum truncation length fails to find a valid signal, it is determined that no valid signal is detected in the time domain.
4. The spectrum analysis method according to claim 3, wherein: The method further comprises: If the frequency domain positioning result of the longer truncation length and the frequency domain positioning result of the shorter truncation length are not consistent enough after evaluation, a corresponding set of second sampling rate, second truncation length and second window function is regenerated based on the frequency domain positioning result of the longer truncation length.
5. The spectrum analysis method according to claim 1, wherein: Before truncating the baseband signal according to the corresponding second truncation length, the method further includes: Phase compensation is performed on the baseband signal to overcome the physical delay of the baseband signal in the previous processing process.
6. The spectrum analysis method according to claim 1, wherein: The first sampling rate is more than ten times the second sampling rate.
7. A spectrum analysis device, characterized in that: The device comprises: a POI extension channel, wherein the POI extension channel samples the radio frequency signal at a first sampling rate to obtain a first sampled signal, truncates the first sampled signal according to a first truncation length, windowes the first sampled signal using a first window function, and then performs Fourier transform processing to achieve preliminary frequency domain positioning of the radio frequency signal and obtain a plurality of center frequencies and corresponding bandwidths of the radio frequency signal; a power splitter, wherein the power splitter obtains a plurality of sub-RF signals based on the RF signal; a dynamic collaborative controller, wherein the dynamic collaborative controller generates a corresponding set of second sampling rates, second truncation lengths, and second window functions based on each of the center frequencies and the corresponding bandwidths; multiple RBW channels, wherein the RBW channel obtains one sub-RF signal for each center frequency, samples the sub-RF signal at the corresponding second sampling rate to obtain a second sampled signal, digitally mixes the second sampled signal to form a baseband signal, truncates the baseband signal according to the corresponding second truncation length, windowes the baseband signal using the corresponding second window function, and then performs Fourier transform processing to obtain a sub-frequency band analysis result for each center frequency; A joint analysis module is provided, wherein the joint analysis module fuses all the sub-band analysis results to obtain a full-band spectrum analysis of the radio frequency signal.
8. The spectrum analysis device according to claim 7, wherein: The spectrum analysis device also includes an antenna capable of capturing ultra-wideband signals. The first sampling rate is 5 GS / s and the second sampling rate is 100 MS / s, thereby achieving both detection of transient signals and high-precision spectrum analysis.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the steps of the spectrum analysis method according to any one of claims 1 to 6 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the spectrum analysis method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and device for suppressing narrowband interference
CN108551351A
Signal analysis method and device based on refined Fourier transform
CN108982964A
Analysis bandwidth processing method in spectral analysis based on fast Fourier transform
CN116908541A