Spectrum signal processing method, spectrum analyzer, medium and program product
By determining and using two local oscillator points for signal processing in the spectrum meter, the suppression of spectrum mirroring is achieved, and the problems of high cost, complex design and difficult debugging in the prior art are solved, reducing the difficulty and cost of implementation, and improving data quality.
Patent Information
- Application Number
- CN202411971091.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-08
AI Technical Summary
When implementing mirror suppression, existing spectrum meters are expensive, complex in design, and complex in the implementation of adaptive filtering solutions, which increases the difficulty of debugging and maintenance of the system.
By obtaining measurement parameters, the first local oscillator frequency point and the second local oscillator frequency point are determined, and the input signal is mixed with these frequency points by point and digital intermediate frequency processing to obtain the original trace data and frequency shift trace data, and then the spectral line reconstruction is carried out to obtain the target trace data to achieve suppression of spectrum mirroring.
Mirror suppression can be achieved without using front-end preselected filters, reducing the difficulty and cost of spectrum signal processing and improving data quality.
Smart Images

Figure CN119780523A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of spectrum analysis, and in particular to a spectrum signal processing method, a spectrum analyzer, a medium and a program product. Background Art
[0002] As a receiver that performs spectrum analysis on the measured signal, the spectrum analyzer can be used to measure the frequency, amplitude, distortion and other related parameters of the unknown signal, and is widely used in various fields. For example, in the field of wireless communications, the spectrum analyzer can be used to monitor and analyze the spectrum characteristics of the signal to ensure the quality of communication. In a complex electronic environment, the signals that need to be analyzed by the spectrum analyzer are often accompanied by various interferences, including image interference. Image interference often affects the accuracy of the signal, reduces the accuracy of spectrum analysis, and affects the stability and reliability of signal transmission in different fields. Therefore, spectrum analyzers with image suppression function have gradually become mainstream.
[0003] In current spectrum analyzers, image suppression is often achieved by setting hardware changes to pre-selection filters, or by using adaptive filtering with feedback control loops and adaptive algorithms. However, the cost of using pre-selection filters is high, especially in wideband and high-frequency applications. The filter design is complex and needs to be optimized for different frequency ranges, while fixed filters have poor flexibility and cannot adapt to multi-band requirements. In the process of implementing the adaptive filtering solution, it is necessary to adjust the filter parameters in real time according to the characteristics of the input signal to achieve the image signal suppression effect. The implementation is complex, which increases the difficulty of debugging and maintaining the system, and it is difficult to meet the production and use requirements of the spectrum analyzer. Summary of the invention
[0004] The present invention provides a spectrum signal processing method, a spectrum analyzer, a medium and a program product, which reduce the difficulty of implementing spectrum signal processing, improve the ability to suppress spectrum images, reduce the production and application cost of the spectrum analyzer, and improve the quality of spectrum signal data obtained by processing.
[0005] In a first aspect, an embodiment of the present invention provides a spectrum signal processing method, including:
[0006] Acquire measurement parameters, and determine a first local oscillation frequency point and a second local oscillation frequency point according to the measurement parameters;
[0007] The input signal is mixed with the first local oscillator frequency point by point and digital intermediate frequency processing is performed to determine the original trace data;
[0008] The input signal is mixed with the second local oscillator frequency point by point and digital intermediate frequency processing is performed to determine the frequency shift trace data;
[0009] The original trace data and the frequency shifted trace data are reconstructed to obtain the target trace data.
[0010] In a second aspect, an embodiment of the present invention further provides a spectrum analyzer, comprising: a frequency mixing module, a digital intermediate frequency module and a spectrum reconstruction module; wherein the frequency mixing module does not include a preselector or a low-pass filter;
[0011] A frequency mixing module, used to determine a first local oscillation frequency point and a second local oscillation frequency point based on the acquired measurement parameters, and to perform point-by-point mixing of the input signal with the first local oscillation frequency point and the second local oscillation frequency point, respectively, to determine first mixing data and second mixing data;
[0012] A digital intermediate frequency module, used for performing digital intermediate frequency processing on the first mixed frequency data and the second mixed frequency data to determine original trace data and frequency shift trace data;
[0013] The spectrum reconstruction module is used to reconstruct the spectrum lines of the original trace data and the frequency shift trace data to determine the target trace data.
[0014] In a third aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, and the computer executable instructions are used to execute the spectrum signal processing method of any embodiment of the present invention when executed by a computer processor.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, it is used to execute the spectrum signal processing method of any embodiment of the present invention.
[0016] The embodiment of the present invention provides a spectrum signal processing method, spectrum analyzer, medium and program product, which obtains measurement parameters and determines the first local oscillator frequency point and the second local oscillator frequency point according to the measurement parameters; mixes the input signal with the first local oscillator frequency point point by point and performs digital intermediate frequency processing to determine the original trace data; mixes the input signal with the second local oscillator frequency point point by point and performs digital intermediate frequency processing to determine the frequency shift trace data; reconstructs the spectrum line of the original trace data and the frequency shift trace data to determine the target trace data. By adopting the above technical scheme, based on the local oscillator frequency shift theory, two different local oscillator frequencies based on the measurement parameters are constructed, and the input signal is mixed point by point and digital intermediate frequency processed by the two local oscillator frequencies to obtain the original trace data and the frequency shift trace data. Since only the response spectrum line that needs to be displayed in the input signal will not change position in the original trace data and the frequency shift trace data, the spectrum line can be directly reconstructed based on the original trace data and the frequency shift trace data after the original trace data and the frequency shift trace data are obtained, so as to obtain the target trace data that needs to be displayed. This makes it possible to suppress spectrum images without using a front-end pre-selection filter, and the spectrum line reconstruction is calculated in the digital domain, which reduces the difficulty of calculation, reduces the difficulty of implementing spectrum signal processing, reduces the production and application costs of the spectrum analyzer, and improves the quality of the processed spectrum signal data.
[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A flowchart of a spectrum signal processing method provided in Embodiment 1 of the present invention;
[0020] Figure 2 A flowchart of a spectrum signal processing method provided in Embodiment 2 of the present invention;
[0021] Figure 3 An example diagram of a response spectrum of Formula 1 provided in Embodiment 2 of the present invention;
[0022] Figure 4 An example diagram of a trace response corresponding to Formula 2 provided in Embodiment 2 of the present invention;
[0023] Figure 5 A schematic diagram of the structure of a spectrum analyzer provided in Embodiment 3 of the present invention;
[0024] Figure 6 This is a structural example diagram of a spectrum analyzer provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] Embodiment 1
[0028] Figure 1 This is a flowchart of a spectrum signal processing method provided in Embodiment 1 of the present invention. The embodiment of the present invention can be applied to the case of suppressing spectrum images in received signals. The spectrum signal processing method can be executed by a spectrum analyzer, which is not limited by the embodiment of the present invention.
[0029] like Figure 1 As shown, a spectrum signal processing method provided by an embodiment of the present invention specifically includes the following steps:
[0030] S101. Acquire measurement parameters, and determine a first local oscillation frequency point and a second local oscillation frequency point according to the measurement parameters.
[0031] In this embodiment, the measurement parameters can be specifically understood as parameters set in the spectrum analyzer for adjusting the spectrum analyzer's ability to process spectrum signals. Exemplarily, the measurement parameters may include scanning bandwidth, number of local oscillator switching times, frequency resolution, and intermediate frequency, etc., which are not limited in the embodiment of the present invention. The first local oscillator frequency point can be specifically understood as a frequency point obtained by injecting a conventional local oscillator determined in the spectrum analyzer based on the scanning bandwidth, number of local oscillator switching times, and frequency resolution. The second local oscillator frequency point can be specifically understood as a frequency point obtained by frequency shifting the first local oscillator frequency point based on the intermediate frequency, and is used for secondary mixing of the input signal.
[0032] Specifically, before the input signal needs to be processed, measurement parameters related to the work of the spectrum analyzer for determining the spectrum signal processing capability are first obtained, and the frequency information of the local oscillator signal that can be injected into the spectrum analyzer is determined based on the measurement parameters, as well as the parameter information required for frequency shifting the local oscillator signal in the embodiment of the present invention. Based on the above information, the frequency point corresponding to the local oscillator signal that has not been frequency shifted in the spectrum analyzer can be determined as the first local oscillator frequency point, and the frequency point corresponding to the local oscillator signal that has been frequency shifted in the spectrum analyzer can be determined as the second local oscillator frequency point.
[0033] S102 , mixing the input signal with the first local oscillation frequency point by point and performing digital intermediate frequency processing to determine original trace data.
[0034] In this embodiment, mixing can be specifically understood as the process of transforming RF signals and local oscillator signals of different frequencies into a new signal related to both. Digital intermediate frequency processing (DIF) can be specifically understood as an intermediate frequency processing technology used in the field of digital signals to convert analog signals into digital signals and process them in the digital domain. Exemplarily, digital intermediate frequency processing may include digital intermediate frequency filtering, video filtering, and digital detection, etc., which are not limited in this embodiment of the present invention. The original trace data can be specifically understood as the data obtained by mixing and digital intermediate frequency processing the input signal based on the first local oscillator frequency point without frequency shift, which is used to indicate the relationship between the frequency and amplitude of the processed signal.
[0035] Specifically, the input signal input to the spectrum analyzer is attenuated, and after point-by-point mixing with the first local oscillation frequency point, the obtained intermediate frequency signal is subjected to digital intermediate frequency processing to obtain original trace data.
[0036] S103 , mixing the input signal with the second local oscillation frequency point by point and performing digital intermediate frequency processing to determine frequency shift trace data.
[0037] In this embodiment, the frequency shift trace data can be specifically understood as data obtained after mixing and digital intermediate frequency processing of the input signal based on the frequency-shifted second local oscillator frequency point, and used to indicate the relationship between the frequency and amplitude of the processed signal.
[0038] Specifically, the input signal input to the spectrum analyzer is attenuated, and after point-by-point mixing with the second local oscillation frequency point, the obtained intermediate frequency signal is subjected to digital intermediate frequency processing to obtain frequency shift trace data.
[0039] S104, reconstructing the spectrum of the original trace data and the frequency-shifted trace data to determine the target trace data.
[0040] Specifically, based on the characteristics that in the original trace data and the frequency-shifted trace data, only the response spectral lines that need to be displayed in the input signal will not change their positions, the data belonging to the same position in the original trace data and the frequency-shifted trace data are compared, and the changed response spectral lines are suppressed to achieve spectral line reconstruction, so as to obtain the target trace data that the spectrum analyzer needs to display externally.
[0041] The technical solution of this embodiment is to obtain the measurement parameters, and determine the first local oscillator frequency point and the second local oscillator frequency point according to the measurement parameters; mix the input signal with the first local oscillator frequency point point by point and perform digital intermediate frequency processing to determine the original trace data; mix the input signal with the second local oscillator frequency point point by point and perform digital intermediate frequency processing to determine the frequency shift trace data; reconstruct the spectrum of the original trace data and the frequency shift trace data to determine the target trace data. By adopting the above technical solution, based on the local oscillator frequency shift theory, two different local oscillator frequencies based on the measurement parameters are constructed, and the input signal is mixed point by point and digital intermediate frequency processed by the two local oscillator frequencies to obtain the original trace data and the frequency shift trace data. Since only the response spectrum line that needs to be displayed in the input signal will not change position in the original trace data and the frequency shift trace data, the spectrum line can be directly reconstructed based on the original trace data and the frequency shift trace data after the original trace data and the frequency shift trace data are obtained, and the target trace data that needs to be displayed can be obtained. This makes it possible to suppress spectrum images without using a front-end pre-selection filter, and the spectrum line reconstruction is calculated in the digital domain, which reduces the difficulty of calculation, reduces the difficulty of implementing spectrum signal processing, reduces the production and application costs of the spectrum analyzer, and improves the quality of the processed spectrum signal data.
[0042] Embodiment 2
[0043] Figure 2 A flowchart of a spectrum signal processing method provided in the second embodiment of the present invention is further optimized on the basis of the above-mentioned optional technical solutions. The first local oscillator frequency point and the second local oscillator frequency point are determined according to the scanning bandwidth, the number of local oscillator switching times and the intermediate frequency in the acquired measurement parameters. Based on the different mixing methods, the direction of the frequency shift of the second local oscillator frequency point relative to the first local oscillator frequency point and the number of intermediate frequencies required for frequency shift are respectively given in the case of low-side mixing and high-side mixing. When the first local oscillator frequency point and the second local oscillator frequency point obtained after the frequency shift are processed for the input signal, the low-side mixing response curve and the high-side mixing response curve corresponding to the input signal will overlap and display after two mixings and digital intermediate frequency processing, providing a theoretical basis for reconstructing the spectrum line of the original trace data and the frequency-shifted trace data. By taking the minimum value of each data pair belonging to the same position in the original trace data and the frequency-shifted trace data, the response spectral lines that move in the original trace data and the frequency-shifted trace data are suppressed, and only the response spectral lines of the input signal that overlap and display in the original trace data and the frequency-shifted trace data are retained. At the same time, the suppression of spectrum images is achieved, the difficulty of calculation is reduced, the difficulty of implementing spectrum signal processing is reduced, the production and application cost of the spectrum analyzer is reduced, and the quality of the processed spectrum signal data is improved.
[0044] like Figure 2 As shown, a spectrum signal processing method provided by an embodiment of the present invention specifically includes the following steps:
[0045] S201, obtaining scanning bandwidth, local oscillator switching times and intermediate frequency.
[0046] In this embodiment, the scanning bandwidth can be specifically understood as the frequency band range that can be used to scan the input signal, that is, the frequency bandwidth that can be covered by the spectrum analyzer in one measurement. The number of local oscillator switching times can be specifically understood as the number of times the spectrum analyzer switches the local oscillator frequency when performing frequency scanning or measurement. The intermediate frequency can be specifically understood as the intermediate frequency set in the spectrum analyzer.
[0047] S202: Determine the local oscillator switching step according to the scanning bandwidth and the number of local oscillator switching times.
[0048] Specifically, the spectrum analyzer needs to scan the signal within the scanning bandwidth through the local oscillator signal. After the number of local oscillator switching times is determined, the ratio of the scanning bandwidth to the number of local oscillator switching times can be determined as the local oscillator switching step, that is, the frequency difference of each switching of the local oscillator signal.
[0049] S203: Determine a first local oscillator frequency point according to the scanning bandwidth and the local oscillator switching step.
[0050] Specifically, the maximum frequency value and the minimum frequency value that the spectrum analyzer needs to scan can be determined based on the scanning bandwidth, and they can be used as the end point and the starting point of the frequency point corresponding to the local oscillator signal respectively, and the frequency point is taken between the above starting point and the end point with the local oscillator switching step as the interval, and the taken frequency point and the above starting point and end point are used together as the first local oscillator frequency point for scanning and mixing the input signal within the scanning bandwidth.
[0051] S204: Perform frequency shift processing on the first local oscillation frequency point according to the intermediate frequency to determine the second local oscillation frequency point.
[0052] Specifically, based on the local oscillator frequency shift theory, when the local oscillator frequency interval between two scans is two intermediate frequencies, the response spectrum line corresponding to the low-side mixing will coincide with the response spectrum line corresponding to the high-side mixing. Therefore, at this time, each frequency point in the first local oscillator frequency point can be subjected to a frequency shift processing of two intermediate frequencies, and the frequency point obtained after processing can be determined as the second local oscillator frequency point.
[0053] Optionally, when the mixing is low-side mixing, the second local oscillator frequency point is the frequency point obtained by shifting the first local oscillator frequency point to the right by two intermediate frequencies; when the mixing is high-side mixing, the second local oscillator frequency point is the frequency point obtained by shifting the first local oscillator frequency point to the left by two intermediate frequencies.
[0054] Here, the principle of obtaining the second local oscillator frequency by frequency shifting the first local oscillator frequency point according to the intermediate frequency is explained. Taking the superheterodyne mixer architecture spectrum analyzer as an example, its local oscillator scans within a certain frequency range. For a given input signal f INWhen the local oscillator signal satisfies formula 1, the output of the mixer can pass the anti-aliasing filter of the intermediate frequency, be recognized by the digital intermediate frequency link at the back end, and then correctly display the amplitude as the spectrum analysis result. Formula 1 is as follows: Figure 3 This is an example diagram of a response spectrum of Formula 1 provided in Embodiment 2 of the present invention.
[0055]
[0056] in, is the local oscillator frequency that can be recognized by the back-end intermediate frequency link, the subscript x represents different harmonic orders, and the superscript ± is the same as the One-to-one correspondence, f IN is the RF input frequency, f IF is the intermediate frequency, n x is the harmonic order of the local oscillator.
[0057] based on Figure 3 It can be seen that corresponding to the input signal f IN , each subharmonic has two local oscillator frequencies Formula 1 is satisfied, and then there is a corresponding response in the solved spectrum line. The frequency response description in the solved spectrum line is shown in Formula 2. Among them, Formula 2 is as follows, Figure 4 This is an example diagram of a trace response corresponding to Formula 2 provided in Embodiment 2 of the present invention.
[0058]
[0059] in, Indicates that when specifying n N The frequency response value is calculated at the harmonic order, ± corresponds to the high-side and low-side response respectively; n N To specify a harmonic order; To specify the local oscillator frequency, the ± superscripts correspond to high-side and low-side mixing.
[0060] It can be understood that the main function of the preselection filter set at the front end of the traditional spectrum analyzer is to ensure that the local oscillator with a fixed harmonic order can respond in the spectrum line, and each mixing is a unique definite mode of + or -, that is, to ensure that the determined single mixing result has a correct response in the spectrum line. The specific response expression is shown in Formula 3:
[0061] f OUTN =n N ·f LOx -f IF Formula 3
[0062] Since the pre-selection filter is desired to be removed in the embodiment of the present invention, the response result of the spectrum line under this architecture can be derived by substituting Formula 1 into Formula 2, and the specific expression is shown in Formula 4 below:
[0063]
[0064] It contains a pair of Figure 4 The pair of spectral lines shown in are mirror images of each other. Correspondingly, the frequency difference of the pair of spectral lines that are mirror images of each other can be shown in the following formula 5:
[0065]
[0066] If n x =n N , then:
[0067]
[0068] Based on the above formula 6 and formula 7, it can be seen that when using the low-side mixing mode, if the local oscillator frequency is shifted right by 2f IF , then n x =n N The spectrum corresponding to the “+” mode in the response spectrum will move to the position corresponding to the “-” mode spectrum, and the final spectrum display effect is the same as f IN The corresponding spectral line has not moved, while the remaining n x ≠n N Similarly, when using the high-side mixing mode, the local oscillator frequency is shifted to the left by 2f IF Based on this, it can be determined that in the embodiment of the present invention, when the first local oscillator frequency point is frequency shifted based on the intermediate frequency, each first local oscillator frequency point needs to be frequency shifted by twice the intermediate frequency, and the frequency shift direction is determined by the mode adopted by the mixing.
[0069] S205 , mixing the input signal with the first local oscillation frequency point by point and performing digital intermediate frequency processing to determine original trace data.
[0070] S206 , mixing the input signal with the second local oscillation frequency point by point and performing digital intermediate frequency processing to determine frequency shift trace data.
[0071] S207 , determining data pairs located at the same position in the original trace data and the frequency shift trace data.
[0072] Specifically, since the number of response points contained in the original trace data and the frequency shifted trace data is the same, the correspondence between the original trace data and the frequency shifted trace data can be constructed based on the point position. At this time, the data located at the same position in the original trace data and the frequency shifted trace data can be determined as a data pair, which includes the response data before and after the frequency shift.
[0073] S208, taking the minimum value of each data pair to determine the target trace data.
[0074] Specifically, two data in each data pair are compared and the minimum value thereof is retained, and a trace formed by the retained data is determined as target trace data.
[0075] Optionally, after determining the target trace data, it also includes:
[0076] Display target trace data.
[0077] The technical solution of this embodiment determines the first local oscillator frequency point and the second local oscillator frequency point based on the scan bandwidth, the number of local oscillator switching times and the intermediate frequency in the acquired measurement parameters, and gives the direction of the frequency shift of the second local oscillator frequency point relative to the first local oscillator frequency point in the case of low-side mixing and high-side mixing, and the number of intermediate frequencies required for frequency shifting, respectively, based on different mixing methods. When the first local oscillator frequency point and the second local oscillator frequency point obtained after the frequency shift process the input signal, the low-side mixing response curve and the high-side mixing response curve corresponding to the input signal will overlap and display after two mixings and digital intermediate frequency processing, providing a theoretical basis for reconstructing the spectrum of the original trace data and the frequency-shifted trace data. By taking the minimum value of each data pair belonging to the same position in the original trace data and the frequency-shifted trace data, the response spectral lines that move in the original trace data and the frequency-shifted trace data are suppressed, and only the response spectral lines of the input signal that overlap and display in the original trace data and the frequency-shifted trace data are retained. At the same time, the suppression of spectrum images is achieved, the difficulty of calculation is reduced, the difficulty of implementing spectrum signal processing is reduced, the production and application cost of the spectrum analyzer is reduced, and the quality of the processed spectrum signal data is improved.
[0078] Embodiment 3
[0079] Figure 5 A schematic diagram of the structure of a spectrum analyzer provided in the third embodiment of the present invention is shown in FIG. Figure 5 As shown, the spectrum analyzer 3 includes a frequency mixing module 31 , a digital intermediate frequency module 32 and a spectrum reconstruction module 33 ; wherein the frequency mixing module 31 does not include a preselector or a low-pass filter.
[0080] Among them, the mixing module 31 is used to determine the first local oscillator frequency point and the second local oscillator frequency point based on the acquired measurement parameters, and mix the input signal with the first local oscillator frequency point and the second local oscillator frequency point point by point to determine the first mixing data and the second mixing data; the digital intermediate frequency module 32 is used to perform digital intermediate frequency processing on the first mixing data and the second mixing data to determine the original trace data and the frequency shifted trace data; the spectrum reconstruction module 33 is used to reconstruct the spectrum lines of the original trace data and the frequency shifted trace data to determine the target trace data.
[0081] Optionally, when the mixing is low-side mixing, the second local oscillator frequency point is the frequency point obtained by shifting the first local oscillator frequency point to the right by two intermediate frequencies; when the mixing is high-side mixing, the second local oscillator frequency point is the frequency point obtained by shifting the first local oscillator frequency point to the left by two intermediate frequencies.
[0082] Optionally, the spectrum reconstruction module 33 is specifically used for:
[0083] Determine the data pairs located at the same position in the original trace data and the frequency shift trace data; take the minimum value of each data pair to determine the target trace data.
[0084] In the embodiment of the present invention, since the mixing module does not include a preselector or a low-pass filter, the application of complex design filters in the spectrum analyzer is avoided, thereby reducing the cost of the spectrum analyzer. By adding a spectrum reconstruction module to process the original trace data and frequency-shifted trace data in the digital domain, the difficulty of spectrum signal processing is reduced, the ability to suppress spectrum images is improved, the production and application cost of the spectrum analyzer is reduced, and the quality of the processed spectrum signal data is improved.
[0085] For example, Figure 6 A structural example diagram of a spectrum analyzer provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the frequency mixing module 31 may include an attenuator 311, a mixer 312, an oscillator 313 and an anti-aliasing filter 314. The digital intermediate frequency module 32 may include an analog-to-digital converter (ADC) 321, a digital intermediate frequency filter (DDC) 322, a video filter (VBW) 323 and a digital detection unit (DCT) 324. Among them, the oscillator 313 is used to generate a local oscillator signal (LO), and in the embodiment of the present invention, it is used to determine the first local oscillator frequency point and the second local oscillator frequency point based on the acquired measurement parameters.
[0086] Specifically, to achieve spectrum signal processing, the spectrum analyzer 3 performs two local oscillator scans on the radio frequency (RF) signal as the input signal. In the first scanning process, the RF signal is input to the spectrum analyzer 3, and will first be input to the attenuator 311 of the mixing module 31. The output of the attenuator 311 and the local oscillator signal corresponding to the first local oscillator frequency point output by the oscillator 313 will be input to the mixer 312 to achieve point-by-point mixing of the RF signal and the first local oscillator frequency point. The obtained intermediate frequency is input to the aliasing filter 314 and then output to obtain the first mixed data. The first mixed data will be input to the analog-to-digital converter 321 in the digital intermediate frequency module 32 for analog-to-digital conversion, and then processed in the digital domain by the digital intermediate frequency filter 322, the video filter 323 and the digital detection unit 324 to obtain the original trace data. During the second scan, the overall processing method is basically the same as the first scan, except that the output of the oscillator 313 is converted to the second local oscillation frequency point, and the second mixed frequency data is obtained after processing by the aliasing filter 314, and the frequency shift trace data is obtained after processing by the digital intermediate frequency module 32. Finally, the original trace data and the frequency shift trace data are input to the spectrum reconstruction module 33 for spectrum reconstruction processing, and the target trace data that needs to be displayed by the spectrum analyzer can be obtained. That is, the target trace data can be input into Figure 6 In the plotting module (plot) 34 of the spectrum analyzer shown, the display of the target trace data is completed.
[0087] The spectrum analyzer provided in the embodiment of the present invention can execute the spectrum signal processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0088] In some embodiments, the spectrum signal processing method can be implemented as a programmable program, which is tangibly contained in a computer-readable storage medium, such as a storage unit. In some embodiments, part or all of the programmable program can be loaded and / or installed on the spectrum analyzer via a ROM and / or a communication unit. When the programmable program is loaded into the RAM and executed by the processor, one or more steps of the spectrum signal processing method described above can be performed. Alternatively, in other embodiments, the processor can be configured to perform the spectrum signal processing method in any other appropriate manner (for example, by means of firmware).
[0089] Optionally, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the spectrum signal processing method provided by any embodiment of the present invention.
[0090] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more programmable programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0091] Programmable programs for implementing the method of the present invention may be written in any combination of one or more programming languages. These programmable programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the programmable program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The programmable program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0092] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a programmable program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0093] To provide interaction with a user, the systems and techniques described herein may be implemented on a spectral signal processing device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball), through which the user can provide input to the spectral signal processing device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0094] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0095] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by programmable programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0097] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A spectrum signal processing method, characterized in that: include: Acquire measurement parameters, and determine a first local oscillation frequency point and a second local oscillation frequency point according to the measurement parameters; The input signal is mixed with the first local oscillator frequency point by point and digital intermediate frequency processing is performed to determine the original trace data; Mixing the input signal with the second local oscillator frequency point by point and performing digital intermediate frequency processing to determine frequency shift trace data; The original trace data and the frequency shifted trace data are subjected to spectrum reconstruction to determine target trace data.
2. The spectrum signal processing method according to claim 1, characterized in that: The obtaining of the measurement parameters and determining the first local oscillation frequency point and the second local oscillation frequency point according to the measurement parameters includes: Get scanning bandwidth, number of local oscillator switching times and intermediate frequency; Determining a local oscillator switching step according to the scanning bandwidth and the number of local oscillator switching times; Determine a first local oscillator frequency point according to the scanning bandwidth and the local oscillator switching step; The first local oscillation frequency point is subjected to frequency shift processing according to the intermediate frequency to determine a second local oscillation frequency point.
3. The spectrum signal processing method according to claim 2, characterized in that: In the case where the frequency mixing is low-side frequency mixing, the second local oscillation frequency point is a frequency point obtained by performing a frequency shift process of two intermediate frequencies to the right on the first local oscillation frequency point; In the case where the frequency mixing is high-side frequency mixing, the second local oscillation frequency point is a frequency point obtained by performing a frequency shift process of two intermediate frequencies to the left on the first local oscillation frequency point.
4. The spectrum signal processing method according to claim 1, characterized in that: The reconstructing the original trace data and the frequency shifted trace data to determine the target trace data includes: Determine a data pair located at the same position in the original trace data and the frequency shift trace data; The minimum value of each data pair is taken to determine the target trace data.
5. The spectrum signal processing method according to claim 1, characterized in that: After determining the target trace data, the method further includes: The target trace data is displayed.
6. A spectrum analyzer, characterized in that: include: A frequency mixing module, a digital intermediate frequency module and a spectrum reconstruction module; wherein the frequency mixing module does not include a preselector or a low-pass filter; The mixing module is used to determine a first local oscillation frequency point and a second local oscillation frequency point based on the acquired measurement parameters, and perform point-by-point mixing of an input signal with the first local oscillation frequency point and the second local oscillation frequency point, respectively, to determine first mixing data and second mixing data; The digital intermediate frequency module is used to perform digital intermediate frequency processing on the first mixed frequency data and the second mixed frequency data to determine original trace data and frequency shifted trace data; The spectrum reconstruction module is used to reconstruct the spectrum lines of the original trace data and the frequency-shifted trace data to determine the target trace data.
7. The spectrum analyzer according to claim 6, characterized in that: In the case where the frequency mixing is low-side frequency mixing, the second local oscillation frequency point is a frequency point obtained by performing a frequency shift process of two intermediate frequencies to the right on the first local oscillation frequency point; In the case where the frequency mixing is high-side frequency mixing, the second local oscillation frequency point is a frequency point obtained by performing a frequency shift process of two intermediate frequencies to the left on the first local oscillation frequency point.
8. The spectrum analyzer according to claim 6, characterized in that: The spectrum reconstruction module is specifically used to: determine the data pairs located at the same position in the original trace data and the frequency shift trace data; and take the minimum value of each data pair to determine the target trace data.
9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to perform the spectrum signal processing method according to any one of claims 1 to 5 when executed by a computer processor.
10. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program is used to execute the spectrum signal processing method according to any one of claims 1 to 5.