[go: up one dir, main page]

CN115902390A - Frequency measuring method, frequency measuring device, electronic device, and storage medium - Google Patents

Frequency measuring method, frequency measuring device, electronic device, and storage medium Download PDF

Info

Publication number
CN115902390A
CN115902390A CN202211160703.1A CN202211160703A CN115902390A CN 115902390 A CN115902390 A CN 115902390A CN 202211160703 A CN202211160703 A CN 202211160703A CN 115902390 A CN115902390 A CN 115902390A
Authority
CN
China
Prior art keywords
frequency
signal
mixing
target
spectrum data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211160703.1A
Other languages
Chinese (zh)
Inventor
王晓峰
孔飞
孔玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongguang Technology Beijing Co ltd
Original Assignee
Tongguang Technology Beijing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongguang Technology Beijing Co ltd filed Critical Tongguang Technology Beijing Co ltd
Priority to CN202211160703.1A priority Critical patent/CN115902390A/en
Publication of CN115902390A publication Critical patent/CN115902390A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

The application relates to the technical field of radio, and provides a frequency measurement method, a frequency measurement device, electronic equipment and a storage medium. The method comprises the following steps: carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal; determining initial spectral data based on the mixed signal; performing interpolation operation based on the initial spectrum data to obtain target spectrum data; determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data. According to the method and the device, a plurality of spectrum data can be obtained by mixing the sampling signals, the spectrum data obtained based on the mixing is interpolated to obtain the target spectrum data, and the measurement frequency of the sampling signals is accurately determined through the target frequency in the target spectrum data and the signal receiving frequency of the sampling signals, so that the frequency measurement precision of the sampling signals is improved on the basis of not increasing the FFT length, and the frequency measurement efficiency of radio signals can be improved.

Description

Frequency measuring method, frequency measuring device, electronic device, and storage medium
Technical Field
The present application relates to the field of radio technologies, and in particular, to a frequency measurement method and apparatus, an electronic device, and a storage medium.
Background
In the field of radio measurement, the accuracy of frequency measurement is related to the accuracy of all the following measurements, and a conventional frequency measurement method uses Fast Fourier Transform (FFT) for calculation, and if the accuracy needs to be improved, the length of the FFT is increased, but the calculation amount is increased, which is difficult to implement in a resource-limited scenario, thereby resulting in low frequency measurement efficiency of a current radio signal.
Disclosure of Invention
The embodiment of the application provides a frequency measurement method, a frequency measurement device, an electronic device and a storage medium, which are used for solving the problem of low frequency measurement efficiency of a current radio signal.
In a first aspect, an embodiment of the present application provides a frequency measurement method, including:
carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
determining initial spectral data based on the mixed signal;
performing interpolation operation based on the initial spectrum data to obtain target spectrum data;
determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data.
In one embodiment, the mixing the sampling signal to obtain a mixed signal includes:
determining a frequency offset step based on the data length and the sampling frequency of the sampling signal;
determining a plurality of frequency offset values based on the frequency offset step, the initial frequency offset and a mixing threshold;
and respectively carrying out frequency mixing operation on the sampling signals based on the frequency offset values to obtain frequency mixing signals, wherein the frequency mixing signals comprise frequency mixing results corresponding to the frequency offset values.
In one embodiment, the determining a frequency offset step based on the data length and the sampling frequency of the sampling signal comprises:
carrying out ratio operation on the sampling frequency and the data length of the sampling signal to obtain an operation result;
and determining frequency offset stepping based on the operation result and a frequency offset threshold.
In one embodiment, the determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data comprises:
determining a target frequency from the target spectrum data; the target frequency is a frequency value with the largest value in the target frequency spectrum data;
and adding the target frequency and the signal receiving frequency of the sampling signal to obtain the measuring frequency of the sampling signal.
In one embodiment, the determining initial spectral data based on the mixed signal comprises:
performing fast Fourier transform on the mixing signal to obtain mixing frequency spectrum data;
initial spectral data is determined from the mixed spectral data.
In one embodiment, before performing fast fourier transform based on the mixed signal, further comprising:
and performing windowing processing on the mixing signal.
In an embodiment, before the mixing the sampling signal to obtain the mixed signal, the method further includes:
acquiring a radio frequency signal;
carrying out down-conversion on the radio frequency signal to obtain an initial signal;
performing analog-to-digital conversion on the initial signal to obtain a target signal;
a sample signal is determined from the target signal.
In a second aspect, an embodiment of the present application provides a frequency measurement apparatus, including:
the frequency mixing module is used for carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
a first determining module for determining initial spectrum data based on the mixing signal;
the interpolation module is used for carrying out interpolation operation based on the initial spectrum data to obtain target spectrum data;
a second determination module to determine a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory storing a computer program, where the processor implements the steps of the frequency measurement method according to the first aspect or the second aspect when executing the program.
In a fourth aspect, the present application provides a storage medium, which is a computer-readable storage medium and includes a computer program, which when executed by a processor implements the steps of the frequency measurement method according to the first aspect or the second aspect.
According to the frequency measurement method, the frequency measurement device, the electronic equipment and the storage medium, a plurality of spectrum data can be obtained by mixing the sampling signals, the spectrum data obtained based on the mixing is interpolated to obtain the target spectrum data, and the measurement frequency of the sampling signals is accurately determined through the target frequency in the target spectrum data and the signal receiving frequency of the sampling signals, so that the frequency measurement precision of the sampling signals is improved on the basis of not increasing the FFT length, and the frequency measurement efficiency of radio signals can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or prior art, the drawings used in the embodiments or the description of the prior art are briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a frequency measurement method provided in an embodiment of the present application;
fig. 2 is a second schematic flowchart of a frequency measurement method according to an embodiment of the present application;
fig. 3 is a third schematic flowchart of a frequency measurement method according to an embodiment of the present application;
fig. 4 is a fourth schematic flowchart of a frequency measurement method according to an embodiment of the present application;
fig. 5 is a fifth flowchart illustrating a frequency measurement method according to an embodiment of the present disclosure;
FIG. 6 is a functional block diagram of an embodiment of a frequency measurement apparatus according to the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In a scenario of measuring a continuous wave carrier frequency, an FFT is used for frequency analysis, and the prior art analysis method is as follows:
1. intercepting sampling rate data of a time domain N, wherein the sampling frequency of a digital signal is fs;
2. windowing data to reduce frequency leakage;
3. performing FFT of N points;
4. and selecting the frequency corresponding to the maximum value of the FFT data power as the maximum value.
Based on the above technology, the frequency analysis precision is:
Figure BDA0003859772640000041
if the precision needs to be improved, the method needs to be completed by increasing the FFT length, namely increasing the N value in the formula, and increasing the FFT length needs to consume larger calculation amount.
The following describes the frequency measurement method, apparatus, electronic device and storage medium provided by the present invention in detail with reference to the embodiments.
Fig. 1 is a schematic flow chart of a frequency measurement method according to an embodiment of the present disclosure. Referring to fig. 1, an embodiment of the present application provides a frequency measurement method, which may include:
step S100, carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
it should be noted that the execution subject of the frequency measurement method provided in the embodiments of the present application may be a computer device or a software radio receiver, such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a Personal Digital Assistant (PDA).
In this embodiment, the sampling signal is a signal obtained by processing a radio frequency signal, and the radio frequency signal is a modulated electric wave having a certain transmission frequency.
Mixing refers to a process of mixing two electrical signals with different frequencies by using a non-linear element, such as a diode, and obtaining a signal with a third frequency through a frequency-selective loop.
In this embodiment, the sampling signal may be subjected to a frequency mixing operation through one or more frequency offset values; in addition, if there are a plurality of frequency offset values, the plurality of frequency offset values are different from each other.
The mixed signal in this embodiment may include a mixed result after mixing based on one or more frequency offset values.
Step S200, determining initial spectrum data based on the mixing signal;
in this embodiment, the initial spectrum signal is a spectrum signal obtained by windowing and FFT of each mixing result in the mixing signal.
It should be noted that, in order to obtain a causal linear phase FIR filter with length M, all values except hd (n) need to be 0, which is windowing. The window function may include a rectangular window, a triangular window, a hanning window, a hamming window, and the like.
FFT, fast Fourier transform, is a generic term for an efficient and fast calculation method for calculating Discrete Fourier Transform (DFT) using a computer. The fast fourier transform was proposed in 1965 by j.w. kuri and t.w. graph base. The multiplication times required by a computer for calculating the discrete Fourier transform can be greatly reduced by adopting the algorithm, and particularly, the more the number N of the transformed sampling points is, the more remarkable the calculation amount of the FFT algorithm is saved.
Step S300, performing interpolation operation based on the initial spectrum data to obtain target spectrum data;
interpolation is the complementary interpolation of a continuous function on the basis of discrete data, such that the continuous curve passes through all given discrete data points.
Interpolation is an important method for approximation of discrete functions, and the approximate values of functions at other points can be estimated by utilizing the value conditions of the functions at a limited number of points through interpolation.
The target spectrum data is one spectrum data formed by interpolating a plurality of spectrum data in the initial spectrum data.
In this embodiment, the frequency values of each spectrum data in the initial spectrum data may be interpolated to obtain the final spectrum data as the target spectrum data, which may be written as:
X 0,0 ,X 1,0 ,X 2,0 ,X 3,0 ,X 4,0 ,X 5,0 ,X 6,0 ,X 7,0 ,X 0,1 ,......,X 7,2998 ,X 0,2999 ,X 1,2999 ,X 3,2999 ,X 4,2999 ,X 5,2999 ,X 6,2999 ,X 7,2999
step S400, determining a measurement frequency of the sampling signal based on the signal reception frequency of the sampling signal and a target frequency determined from the target spectrum data.
The signal receiving frequency of the sampling signal may be a frequency at which the receiving chain receives the signal, and further may be a frequency at which a radio frequency signal is received.
The target frequency is a frequency value with the largest value in each data of the target spectrum data.
The measurement frequency of the sampling signal may be a result of an operation performed on the signal reception frequency and the target frequency.
By performing frequency compensation in combination with the target frequency on the basis of the signal receiving frequency, a more accurate measurement frequency of the sampling signal can be obtained.
According to the frequency measurement method provided by the embodiment of the application, a plurality of spectrum data can be obtained by mixing the sampling signals, the spectrum data obtained based on the mixing is interpolated to obtain the target spectrum data, and the measurement frequency of the sampling signals is accurately determined through the target frequency in the target spectrum data and the signal receiving frequency of the sampling signals, so that the frequency measurement precision of the sampling signals is improved on the basis of not increasing the FFT length, and the frequency measurement efficiency of the radio signals can be improved.
By using the scheme of the application to carry out frequency measurement, the frequency measurement precision is determined by the frequency analysis precision under the condition of the same resource occupation
Figure BDA0003859772640000071
Become->
Figure BDA0003859772640000072
For example, M =8, n =4096, the accuracy can be improved by a factor of 8.
Fig. 2 is a second schematic flowchart of a frequency measurement method according to an embodiment of the present application. Referring to fig. 2, in one embodiment, mixing the sampling signal to obtain a mixed signal includes:
step S101, determining frequency offset stepping based on the data length and sampling frequency of a sampling signal;
the present embodiment may include a buffer module, where the buffer module is configured to store a sampled signal after analog-to-digital sampling, where a data length of the sampled signal is N, where N may be 2048, 4096, 8192, and the like, and 4096 may be used in the present embodiment.
The sampling frequency is the sampling frequency of the digital signal and can be defined as f s The value can be 10MHz, 100MHz and the like.
Therefore, the data length and the sampling frequency of the sampling signal can be obtained and processed through the data length and the sampling frequency, so that the frequency offset step is determined.
The frequency offset step is used for representing the step value of the current frequency offset value and the last frequency offset value.
Step S102, determining a plurality of frequency offset values based on frequency offset stepping, initial frequency offset and a mixing threshold;
after the frequency offset stepping is obtained, an initial frequency offset and a frequency mixing threshold value can be obtained, the frequency offset stepping is compensated on the basis of the initial frequency offset, a next frequency offset value is obtained until the frequency mixing threshold value is reached, and therefore a plurality of frequency offset values are obtained.
It should be noted that the initial frequency offset in this embodiment may be 0.
The mixing threshold in this embodiment may be shown by the following formula:
Figure BDA0003859772640000073
vf is a frequency offset step, M is a frequency offset threshold, and M in this embodiment may be, but is not limited to, 8.
Step S103, performing a frequency mixing operation on the sampling signals based on the frequency offset values, respectively, to obtain a frequency mixing signal, where the frequency mixing signal includes a frequency mixing result corresponding to each frequency offset value.
After obtaining each frequency offset value, the embodiment may perform, starting from the initial frequency offset, a frequency mixing operation on the sampled signal by using a mixer in combination with each frequency offset value, to obtain a frequency mixing result corresponding to each frequency offset value. And forms a mixing signal from the mixing results.
Further, determining a frequency offset step based on the data length and the sampling frequency of the sampling signal comprises:
step S1011, carrying out ratio operation on the sampling frequency and the data length of the sampling signal to obtain an operation result;
after the sampling frequency and the data length of the sampling signal are obtained, the embodiment may perform ratio operation on the sampling frequency and the data length to obtain an operation result of the ratio operation. Specifically, the operation may be performed by using the sampling frequency as a divisor and the data length as a dividend.
Step S1012, determining a frequency offset step based on the operation result and the frequency offset threshold.
In this embodiment, a ratio operation is further performed on the operation result and the frequency offset threshold, and the result of the ratio operation is determined as the frequency offset step. Specifically, the operation may be performed by using the operation result of the ratio operation between the sampling frequency and the data length as a divisor and the frequency offset threshold as a dividend.
In the embodiment, the frequency mixing signal is obtained by determining the plurality of frequency offset values and performing frequency mixing operation on the sampling signal through the plurality of frequency offset values, so that high-precision frequency spectrum data can be obtained subsequently based on the frequency mixing signal, and the measurement frequency of the sampling signal is further determined based on the frequency spectrum data, which is beneficial to improving the frequency measurement precision of the sampling signal and further can improve the frequency measurement efficiency of the radio signal.
Fig. 3 is a third schematic flowchart of a frequency measurement method according to an embodiment of the present application. Referring to fig. 3, in one embodiment, determining initial spectral data based on the mixed signal includes:
step S201, performing fast Fourier transform based on the mixing signal to obtain mixing frequency spectrum data;
in this embodiment, after obtaining the mixing frequency signal and windowing the mixing frequency signal, fast fourier transform may be performed on the windowed mixing frequency signal, and specifically, fast fourier transform may be performed on each of the windowed mixing results to obtain mixing frequency spectrum data composed of each transform result.
In some embodiments, the present application may process the mixed signal using a 4096-point FFT and output the mixed spectral data.
Further, before performing fast fourier transform based on the mixed signal, the method further includes:
and step A, performing windowing processing on the mixing frequency signal.
It should be noted that, in this embodiment, before performing the fast fourier transform based on the mixed signal, the mixed signal needs to be subjected to a windowing process, so as to reduce the spectral leakage. The window function used when windowing the mixing signal may be a hanning window.
In particular, each mixing result in the mixing signal may be windowed by a hanning window distribution.
In step S202, initial spectrum data is determined from the mixed spectrum data.
After the mixed frequency spectrum data is obtained, the present embodiment may determine "effective" spectrum data of each conversion result from each conversion result of the mixed frequency spectrum data, and form initial spectrum data by each "effective" spectrum data. It should be noted that "valid" spectrum data may be a certain amount of data in the center of the spectrum of the variation result.
In some embodiments, the present application may determine 3000 points of data at the center of the spectrum among the variation results as "valid" spectrum data. For example, it can be written as: x 0,0 ,X 0,1 ,......,X 0,2999
In the embodiment, the initial spectrum data is determined through the mixing signal, so that high-precision spectrum data can be obtained, the measurement frequency of the sampling signal can be further determined based on the initial spectrum data, the frequency measurement precision of the sampling signal can be improved, and the frequency measurement efficiency of the radio signal can be improved.
Fig. 4 is a fourth flowchart of a frequency measurement method according to an embodiment of the present application. Referring to fig. 4, in one embodiment, determining a measurement frequency of a sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from target spectrum data includes:
step S401, determining a target frequency from target spectrum data; the target frequency is the frequency value with the largest value in the target frequency spectrum data;
in this embodiment, the frequency value with the largest value may be determined as the target frequency from the frequency values of the target spectrum data.
Specifically, since the interpolation of the frequency values of all the spectrum data is completed and the plurality of spectrum data are integrated into one final spectrum data, the frequency value with the largest value can be determined intuitively from the target spectrum data, that is, the peak value of the frequency can be determined quickly from the target spectrum data and used as the target frequency.
Step S402, adding the target frequency and the signal receiving frequency of the sampling signal to obtain the measuring frequency of the sampling signal.
And after the target frequency is obtained, adding the target frequency and the signal receiving frequency of the sampling signal, and after the operation is finished, obtaining the measuring frequency of the sampling signal. The method can be specifically realized by the following formula:
F=F rf +f m
wherein F is the measurement frequency, F rf For sampling the signal receiving frequency of the signal, f m Is the target frequency.
It should be noted that, the present embodiment may further include a parameter configuration and image display module, which may be used to display the target spectrum data and the measurement frequency of the sampling signal.
After the target frequency is obtained, the target frequency and the signal receiving frequency of the sampling signal are added, and the frequency compensation is carried out on the signal receiving frequency of the sampling signal, so that the measuring frequency of the obtained sampling signal is more accurate, and the frequency measuring efficiency of the radio signal can be improved.
In one embodiment, before performing a mixing operation on the sampled signal to obtain a mixed signal, the method further includes:
step B1, acquiring a radio frequency signal;
b2, performing down-conversion on the radio frequency signal to obtain an initial signal;
b3, performing analog-to-digital conversion on the initial signal to obtain a target signal;
and B4, determining a sampling signal from the target signal.
The present embodiment may include a down-conversion module and a digital intermediate frequency board, wherein the digital intermediate frequency board may include an analog-to-digital sampling module and a frequency analysis module.
Therefore, in this embodiment, the radio frequency signal transmitted by the antenna may be obtained, and the down-conversion module performs down-conversion processing on the received radio frequency signal to obtain an intermediate frequency signal as an initial signal.
In the receiver, if the intermediate frequency signal obtained after mixing is lower than the original signal, the mixing is called down-conversion. The purpose of down-conversion is to reduce the carrier frequency of the signal or to directly remove the carrier frequency to obtain a baseband signal.
Further, the initial signal is subjected to analog-to-digital conversion through the analog-to-digital conversion module, conversion between the analog signal and the digital signal of the initial signal is completed, and the converted signal is determined as a target signal.
Furthermore, data interception is carried out on the target signal, the intercepted data is determined to be a sampling signal and is stored in the cache module, and the frequency analysis module determines the measurement frequency of the sampling signal. The length of the intercepted data in this embodiment may be N, and N may be 4096.
In this embodiment, the down-conversion module and the analog-to-digital sampling module in the digital intermediate frequency board may perform down-conversion and analog-to-digital conversion processing on the received radio frequency signal, so that the measurement frequency of the sampling signal may be accurately determined subsequently according to the processed sampling signal, and the frequency measurement efficiency of the radio signal may be improved.
In some embodiments, referring to fig. 5, fig. 5 is a fifth flowchart illustrating a frequency measurement method according to an embodiment of the present disclosure. In fig. 5, the radio frequency signal may be collected and processed by hardware, data may be intercepted from the processed radio frequency signal, and the intercepted data may be buffered to the buffer module as a sampling signal.
Further, the sampling signals are subjected to frequency mixing, windowing and FFT operations, and useful frequency spectrum data after FFT are stored.
And further, judging whether the interpolation of one interval is finished, if not, adding frequency offset stepping and carrying out operations of frequency mixing, windowing, FFT (fast Fourier transform) and the like based on a new frequency offset value until the interpolation of one interval is judged to be finished.
And if the interpolation of one interval is determined to be completed, determining a frequency peak value from the final frequency spectrum data after the interpolation, and calculating the measurement frequency of the sampling signal according to the frequency peak value and the signal receiving frequency of the sampling signal.
Further, this application still provides a frequency measurement device.
Referring to fig. 6, fig. 6 is a functional block diagram of an embodiment of the frequency measurement apparatus of the present application.
The frequency measurement device includes:
a frequency mixing module 100, configured to perform frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
a first determining module 200, configured to determine initial spectrum data based on the mixing signal;
an interpolation module 300, configured to perform interpolation operation based on the initial spectrum data to obtain target spectrum data;
a second determining module 400, configured to determine a measurement frequency of the sampled signal based on a signal receiving frequency of the sampled signal and a target frequency determined from the target spectrum data.
The frequency measurement device provided by the embodiment of the application can obtain a plurality of spectrum data by mixing the sampling signals, interpolate the spectrum data obtained based on the mixing to obtain the target spectrum data, and accurately determine the measurement frequency of the sampling signals through the target frequency in the target spectrum data and the signal receiving frequency of the sampling signals, so that the frequency measurement precision of the sampling signals is improved on the basis of not increasing the FFT length, and the frequency measurement efficiency of the radio signals can be improved.
In one embodiment, the mixing module 100 is specifically configured to:
determining frequency offset stepping based on the data length and the sampling frequency of the sampling signal;
determining a plurality of frequency offset values based on the frequency offset step, the initial frequency offset and a mixing threshold;
and respectively carrying out frequency mixing operation on the sampling signals based on the frequency offset values to obtain frequency mixing signals, wherein the frequency mixing signals comprise frequency mixing results corresponding to the frequency offset values.
In one embodiment, the mixing module 100 further comprises an arithmetic unit for:
carrying out ratio operation on the sampling frequency and the data length of the sampling signal to obtain an operation result;
and determining frequency offset stepping based on the operation result and a frequency offset threshold.
In one embodiment, the mixing module 100 is further configured to:
acquiring a radio frequency signal;
carrying out down-conversion on the radio frequency signal to obtain an initial signal;
performing analog-to-digital conversion on the initial signal to obtain a target signal;
a sample signal is determined from the target signal.
In one embodiment, the first determining module 200 is specifically configured to:
performing fast Fourier transform on the mixing signal to obtain mixing frequency spectrum data;
initial spectral data is determined from the mixed spectral data.
In one embodiment, the first determination module 200 further comprises a windowing unit for:
and performing windowing processing on the mixing signal.
In one embodiment, the second determining module 400 is specifically configured to:
determining a target frequency from the target spectrum data; the target frequency is a frequency value with the largest value in the target frequency spectrum data;
and adding the target frequency and the signal receiving frequency of the sampling signal to obtain the measuring frequency of the sampling signal.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the electronic device may include: a processor (processor) 710, a Communication Interface (Communication Interface) 720, a memory (memory) 730 and a Communication bus 740, wherein the processor 710, the Communication Interface 720 and the memory 730 communicate with each other via the Communication bus 740. Processor 710 may invoke a computer program in memory 730 to perform the steps of the frequency measurement method, including, for example:
carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
determining initial spectral data based on the mixed signal;
performing interpolation operation based on the initial spectrum data to obtain target spectrum data;
determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data.
In addition, the logic instructions in the memory 730 can be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
On the other hand, an embodiment of the present application further provides a storage medium, where the storage medium is a computer-readable storage medium, and the computer-readable storage medium stores a computer program, where the computer program is configured to cause a processor to execute the steps of the method provided in each of the above-mentioned embodiments, and the method includes, for example:
carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
determining initial spectral data based on the mixed signal;
performing interpolation operation based on the initial spectrum data to obtain target spectrum data;
determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data.
The computer readable storage medium can be any available media or data storage device that can be accessed by a processor, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), solid State Disks (SSDs)), etc.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. Based on the understanding, the above technical solutions substantially or otherwise contributing to the prior art may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the various embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A method of frequency measurement, comprising:
carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
determining initial spectral data based on the mixed signal;
performing interpolation operation based on the initial spectrum data to obtain target spectrum data;
determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data.
2. The method according to claim 1, wherein the step of performing a mixing operation on the sampled signal to obtain a mixed signal comprises:
determining a frequency offset step based on the data length and the sampling frequency of the sampling signal;
determining a plurality of frequency offset values based on the frequency offset step, the initial frequency offset and a mixing threshold;
and respectively carrying out frequency mixing operation on the sampling signals based on the frequency offset values to obtain frequency mixing signals, wherein the frequency mixing signals comprise frequency mixing results corresponding to the frequency offset values.
3. The method of claim 2, wherein the determining the frequency offset step based on the data length and the sampling frequency of the sampling signal comprises:
carrying out ratio operation on the sampling frequency and the data length of the sampling signal to obtain an operation result;
and determining frequency offset stepping based on the operation result and a frequency offset threshold.
4. The method of frequency measurement according to claim 1, wherein the determining a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data comprises:
determining a target frequency from the target spectrum data; the target frequency is a frequency value with the largest value in the target frequency spectrum data;
and adding the target frequency and the signal receiving frequency of the sampling signal to obtain the measuring frequency of the sampling signal.
5. The method of claim 1, wherein the determining initial spectral data based on the mixed signal comprises:
performing fast Fourier transform on the mixing signal to obtain mixing frequency spectrum data;
initial spectral data is determined from the mixed spectral data.
6. The method of claim 5, further comprising, prior to performing a fast Fourier transform based on the mixed signal:
and performing windowing processing on the mixing signal.
7. The method of claim 1, wherein the mixing the sampled signal to obtain the mixed signal further comprises:
acquiring a radio frequency signal;
carrying out down-conversion on the radio frequency signal to obtain an initial signal;
performing analog-to-digital conversion on the initial signal to obtain a target signal;
a sample signal is determined from the target signal.
8. A frequency measurement device, comprising:
the frequency mixing module is used for carrying out frequency mixing operation on the sampling signal to obtain a frequency mixing signal;
a first determining module for determining initial spectrum data based on the mixing signal;
the interpolation module is used for carrying out interpolation operation based on the initial spectrum data to obtain target spectrum data;
a second determination module to determine a measurement frequency of the sampled signal based on a signal reception frequency of the sampled signal and a target frequency determined from the target spectrum data.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that the steps of the frequency measurement method according to any of claims 1 to 7 are implemented when the processor executes the computer program.
10. A storage medium, which is a computer-readable storage medium, comprising a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the frequency measurement method of any of the claims 1 to 7.
CN202211160703.1A 2022-09-22 2022-09-22 Frequency measuring method, frequency measuring device, electronic device, and storage medium Pending CN115902390A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211160703.1A CN115902390A (en) 2022-09-22 2022-09-22 Frequency measuring method, frequency measuring device, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211160703.1A CN115902390A (en) 2022-09-22 2022-09-22 Frequency measuring method, frequency measuring device, electronic device, and storage medium

Publications (1)

Publication Number Publication Date
CN115902390A true CN115902390A (en) 2023-04-04

Family

ID=86475109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211160703.1A Pending CN115902390A (en) 2022-09-22 2022-09-22 Frequency measuring method, frequency measuring device, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN115902390A (en)

Similar Documents

Publication Publication Date Title
WO2018188228A1 (en) High-precision frequency measuring system and method
CN109085630B (en) Signal capturing method and device
EP2938034B1 (en) Method and system for updating predistortion coefficient
JP2017227655A (en) Dominant signal detection method and apparatus
WO2020238349A1 (en) Group delay ripple calibration method, storage medium and electronic apparatus
CN115902390A (en) Frequency measuring method, frequency measuring device, electronic device, and storage medium
CN110441599A (en) A kind of demodulation method and device, readable storage medium storing program for executing for frequency spectrograph
CN113676274B (en) Signal time delay estimation method, device, equipment and storage medium
CN107181708A (en) Frequency estimating methods and location receiver
CN110875784B (en) Antenna calibration method and device
JP6592912B2 (en) Communication system, receiving device, server, signal processing method, wave source position calculating method, and program
CN109815877B (en) Method and device for noise reduction processing of satellite signals
CN114826846B (en) Method, device, equipment and medium for generating frequency offset cancellation sequence
CN112152677A (en) Space-based Opportunistic Signal Doppler Frequency Estimation Method, Apparatus, Equipment and Medium
CN102789376B (en) Floating-point number adder circuit and implementation method thereof
CN106357355B (en) Single tone jamming detection method and device
CN111651716B (en) Signal processing method, device, equipment and storage medium
CN118803501B (en) A noise suppression method and system for headphones
CN111245490A (en) Broadband signal extraction method and device and electronic equipment
CN114866099B (en) Filtering method and device and electronic equipment
CN114978822B (en) Signal processing method, device, chip and storage medium
CN118399959B (en) Data processing method of system function, electronic equipment and storage medium
CN118734606B (en) Method, device and medium for inverting lunar soil thickness based on relative microwave bright temperature difference
CN118368170B (en) Channel estimation method, device and equipment
CN114780912B (en) Data processing device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination