[go: up one dir, main page]

CN117849509B - Method for determining frequency consistency level between channels of frequency converter and related equipment - Google Patents

Method for determining frequency consistency level between channels of frequency converter and related equipment Download PDF

Info

Publication number
CN117849509B
CN117849509B CN202410034131.5A CN202410034131A CN117849509B CN 117849509 B CN117849509 B CN 117849509B CN 202410034131 A CN202410034131 A CN 202410034131A CN 117849509 B CN117849509 B CN 117849509B
Authority
CN
China
Prior art keywords
signal
target
frequency
length
input
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.)
Active
Application number
CN202410034131.5A
Other languages
Chinese (zh)
Other versions
CN117849509A (en
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.)
Beijing Yuantek Technology Co ltd
Original Assignee
Beijing Yuantek Technology 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 Beijing Yuantek Technology Co ltd filed Critical Beijing Yuantek Technology Co ltd
Priority to CN202410034131.5A priority Critical patent/CN117849509B/en
Publication of CN117849509A publication Critical patent/CN117849509A/en
Application granted granted Critical
Publication of CN117849509B publication Critical patent/CN117849509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

The disclosure provides a method for determining a frequency consistency level between channels of a frequency converter and related equipment, comprising the following steps: for each input signal and corresponding output signal of the acquired target frequency converter: determining a first signal length corresponding to an input signal and a second signal length corresponding to an output signal; calculating a plurality of cross-correlation coefficients according to the first signal length and the second signal length; selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting and obtaining a target signal from an output signal according to the target cross-correlation coefficient; calculating a frequency offset value of an input signal and a target signal, and taking the frequency offset value as a first frequency offset value corresponding to the input signal; and carrying out difference on the first frequency offset values corresponding to any two input signals to obtain the frequency deviation between channels of the frequency converters corresponding to the two input signals, and determining the frequency consistency grade between channels of the target frequency converter according to the frequency deviation. The method and the device realize accurate determination of the consistency level of the frequency among the channels of the frequency converter.

Description

Method for determining frequency consistency level between channels of frequency converter and related equipment
Technical Field
The disclosure relates to the field of frequency converter evaluation, and in particular relates to a method for determining a frequency consistency level between channels of a frequency converter and related equipment.
Background
The multichannel digital down converter is a frequency converter which can perform down conversion processing on a plurality of input AD signals to obtain zero intermediate frequency complex signals corresponding to a plurality of different carrier frequencies. In some scenarios, it is desirable to combine the different channel signals output by the multi-channel digital down-converter. When the frequency converter is used for processing, the problem that the error of the processing result is larger due to the fact that the consistency of the frequencies among the channels of the frequency converter is poor often occurs.
In view of this, how to accurately determine the consistency level of the frequencies between the channels of the frequency converter becomes an important solution.
Disclosure of Invention
Accordingly, an objective of the present disclosure is to provide a method and related apparatus for determining a level of inter-channel frequency uniformity of a frequency converter, which are used for solving or partially solving the above-mentioned problems.
In view of the above object, a first aspect of the present disclosure provides a method for determining a level of inter-channel frequency consistency of a frequency converter, the method comprising:
acquiring a plurality of input signals of a target frequency converter and output signals corresponding to each input signal;
for each input signal and corresponding output signal:
determining a first signal length corresponding to the input signal and a second signal length corresponding to the output signal;
Calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal;
selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal;
calculating a frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal;
And performing difference processing on the first frequency offset value corresponding to any two input signals to obtain frequency deviation corresponding to the channels of the frequency converters corresponding to the two input signals, and determining the frequency consistency level between the channels of the target frequency converter according to the frequency deviation.
Based on the same inventive concept, a second aspect of the present disclosure provides a device for determining a level of inter-channel frequency consistency of a frequency converter, including:
A signal acquisition module configured to acquire a plurality of input signals of a target frequency converter and an output signal corresponding to each of the input signals;
a frequency offset value calculation module configured to, for each input signal and corresponding output signal:
determining a first signal length corresponding to the input signal and a second signal length corresponding to the output signal;
Calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal;
selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal;
calculating a frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal;
The grade determining module is configured to perform difference processing on first frequency offset values corresponding to any two input signals to obtain frequency deviation corresponding to channels of the frequency converters corresponding to the two input signals, and determine the grade of frequency consistency among the channels of the target frequency converter according to the frequency deviation.
Based on the same inventive concept, a third aspect of the present disclosure proposes an electronic device comprising a memory, a processor and a computer program stored on the memory and executable by the processor, the processor implementing a method of determining an inter-channel frequency uniformity level of a frequency converter as described above when executing the computer program.
Based on the same inventive concept, a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform a method of determining an inter-channel frequency uniformity level of a frequency converter as described above.
As can be seen from the foregoing, the present disclosure provides a method for determining a level of inter-channel frequency consistency of a frequency converter and related equipment, which acquire a plurality of input signals of a target frequency converter and output signals corresponding to each of the input signals, and determine, for each input signal and output signal corresponding to the input signal, a first signal length corresponding to the input signal and a second signal length corresponding to the output signal; and calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal. And selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient for subsequent determination of a target signal according to the target cross-correlation coefficient. Intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal; and calculating the frequency offset value of the input signal and the target signal to be used as a first frequency offset value corresponding to the input signal. And performing difference processing on the first frequency offset value corresponding to any two input signals to obtain frequency deviation corresponding to the target frequency converter, and determining the inter-channel frequency consistency grade of the target frequency converter according to the frequency deviation. The input signals are input signals of different channels of the target frequency converter, and the first frequency offset value corresponding to each input signal is also the first frequency offset value of different channels of the target frequency converter. And performing difference calculation according to the first frequency offset values of the different channels to obtain frequency deviation corresponding to the target frequency converter, and accurately determining the inter-channel frequency consistency grade of the target frequency converter according to the frequency deviation so as to determine whether the target frequency converter is actually applied to work according to the inter-channel frequency consistency grade.
Drawings
In order to more clearly illustrate the technical solutions of the present disclosure or related art, the drawings required for the embodiments or related art description will be briefly described below, and it is apparent that the drawings in the following description are only embodiments of the present disclosure, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
FIG. 1 is a flow chart of a method for determining a level of inter-channel frequency uniformity of a frequency converter according to an embodiment of the disclosure;
FIG. 2 is a block diagram of a device for determining a level of inter-channel frequency uniformity of a frequency converter according to an embodiment of the present disclosure;
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purposes of promoting an understanding of the principles and advantages of the disclosure, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same.
It should be noted that unless otherwise defined, technical or scientific terms used in the embodiments of the present disclosure should be given the ordinary meaning as understood by one of ordinary skill in the art to which the present disclosure pertains. The terms "first," "second," and the like, as used in embodiments of the present disclosure, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items. The terms "connected" or "connected," and the like, are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", etc. are used merely to indicate relative positional relationships, which may also be changed when the absolute position of the object to be described is changed.
The terms referred to in this disclosure are explained as follows:
MCDDC: the Multi-channel digital down converter (Multi-CHANNEL DIGITAL Downconverter, MCDDC) is a frequency converter that can perform down conversion processing on a plurality of input AD signals to obtain zero intermediate frequency complex signals corresponding to a plurality of different carrier frequencies.
Hz: hertz, which is a unit of frequency in the international system of units, is a measure of the number of repetitions of the periodic variation per second.
DB: decibels, the unit of sound size.
Ms: millisecond is a relatively small unit of time.
Based on the above description, this embodiment proposes a method for determining a level of inter-channel frequency consistency of a frequency converter, as shown in fig. 1, where the method includes:
step 101, obtaining a plurality of input signals of a target frequency converter and output signals corresponding to each input signal.
In particular embodiments, the target frequency converter is a multi-channel digital down converter having a plurality of channels for input and output of signals. And acquiring a plurality of input signals of the target frequency converter and output signals corresponding to each input signal, wherein the input signals are input signals through different channels, and the output signals corresponding to each input signal are output signals obtained after being processed by the target frequency converter.
Step 102, for each input signal and corresponding output signal:
step 1021, determining a first signal length corresponding to the input signal and a second signal length corresponding to the output signal;
step 1022, calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal;
Step 1023, selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal;
Step 1024, calculating a frequency offset value of the input signal and the target signal, as a first frequency offset value corresponding to the input signal.
In a specific implementation, for each input signal and an output signal corresponding to the input signal, a signal length of the input signal is obtained as a first signal length, and a signal length of the output signal is obtained as a second signal length. And calculating cross-correlation coefficients between the input signal and the output signal according to the first signal length and the second signal length, wherein the number of the cross-correlation coefficients is a plurality of.
And determining the maximum value of the cross-correlation coefficient, and taking the cross-correlation coefficient corresponding to the maximum value as a target cross-correlation coefficient. The method for determining the maximum value of the cross-correlation coefficient specifically comprises the following steps: and sorting all the calculated cross-correlation coefficients, for example, sorting the calculated cross-correlation coefficients in order from large to small or from small to large, so as to obtain the maximum value of the cross-correlation coefficients.
Intercepting the output signal by utilizing the determined target cross-correlation coefficient to obtain a target signal, and calculating a frequency offset value between the input signal and the target signal, wherein the frequency offset value is a first frequency offset value corresponding to the input signal.
Step 103, performing difference processing on the first frequency offset value corresponding to any two input signals to obtain frequency deviation corresponding to the channels of the frequency converters corresponding to the two input signals, and determining the frequency consistency level between the channels of the target frequency converter according to the frequency deviation.
In implementation, any two input signals are selected from the plurality of input signals, and a first frequency offset value corresponding to the input signals is obtained. And performing difference processing on the first frequency offset values corresponding to the two input signals, wherein the obtained difference value is the frequency deviation between the two channels of the frequency converter corresponding to the two input signals. And calculating to obtain frequency deviation among all channels of the frequency converter, and determining the frequency consistency grade among the channels of the target frequency converter according to the frequency deviation.
The inter-channel frequency consistency grade of the target frequency converter is determined according to the frequency deviation, and the specific method comprises the following steps:
And acquiring a preset deviation threshold, comparing each calculated frequency deviation with the deviation threshold, and acquiring the number of the frequency deviations larger than the deviation threshold as a first number. The number of all frequency deviations is obtained as a second number. And calculating the ratio of the first quantity to the second quantity, and determining the inter-channel frequency consistency grade of the target frequency converter according to the ratio.
The determining the inter-channel frequency consistency level of the target frequency converter according to the ratio specifically comprises the following steps:
Determining that the ratio is smaller than a first preset threshold, wherein the inter-channel frequency consistency grade of the target frequency converter is a first grade; determining that the ratio is greater than or equal to a first preset threshold and smaller than a second preset threshold, wherein the inter-channel frequency consistency level of the target frequency converter is a second level; determining that the ratio is greater than or equal to a second preset threshold and smaller than a third preset threshold, wherein the inter-channel frequency consistency level of the target frequency converter is a third level; and determining that the ratio is greater than or equal to a third preset threshold, wherein the inter-channel frequency consistency grade of the target frequency converter is a fourth grade. The method for dividing the frequency consistency level between channels of the target frequency converter is only used as an example, and the specific number of the divided levels and the size of the preset threshold are not limited.
For example, the deviation threshold is 0.5, the frequency converter has three channels, and the calculated frequency deviation between the channels of the frequency converter is 0.4 and 0.5 respectively. 0.8. The number of frequency deviations above the deviation threshold is determined to be 1, i.e. the first number is 1, and the number of all frequency deviations is 3, i.e. the second number is 3. The ratio of the first number to the second number was calculated to be 0.67 (two bits after the decimal point). If the first preset threshold is 0.2, the second preset threshold is 0.35, and the third preset threshold is 0.5, the inter-channel frequency consistency level of the target frequency converter is a fourth level.
According to the scheme, a plurality of input signals of the target frequency converter and output signals corresponding to the input signals are obtained, and for each input signal and the output signal corresponding to the input signal, a first signal length corresponding to the input signal and a second signal length corresponding to the output signal are determined; and calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal. And selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient for subsequent determination of a target signal according to the target cross-correlation coefficient. Intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal; and calculating the frequency offset value of the input signal and the target signal to be used as a first frequency offset value corresponding to the input signal. And performing difference processing on the first frequency offset value corresponding to any two input signals to obtain frequency deviation corresponding to the target frequency converter, and determining the inter-channel frequency consistency grade of the target frequency converter according to the frequency deviation. The input signals are input signals of different channels of the target frequency converter, and the first frequency offset value corresponding to each input signal is also the first frequency offset value of different channels of the target frequency converter. And performing difference calculation according to the first frequency offset values of the different channels to obtain frequency deviation corresponding to the target frequency converter, and accurately determining the inter-channel frequency consistency grade of the target frequency converter according to the frequency deviation so as to determine whether the target frequency converter is actually applied to work according to the inter-channel frequency consistency grade.
In some embodiments, step 1024 specifically includes, for each input signal and the output signal corresponding to the input signal:
And step 10241, performing dot product processing on the input signal and the target signal to obtain a first initial signal.
In specific implementation, a conjugate signal of the input signal is obtained, dot product processing is carried out on the conjugate signal of the input signal and the target signal, and a first initial signal is obtained, wherein the first initial signal is expressed as follows by using a formula:
sd,i=s′i⊙s*
Where i is the i output signal of the frequency converter, s d,i is the first initial signal, s' i is the target signal, and s * is the conjugate signal of the input signal.
And step 10241, windowing the first initial signal according to a preset window type to obtain a second initial signal.
In a specific implementation, the windowing process is performed on the first initial signal according to a preset window type, that is, performing a time domain windowing operation, where in this embodiment, the preset window type is preferably a hamming window or a hanning window. After the first initial signal is subjected to windowing processing, a second initial signal is obtained, wherein the second initial signal is expressed as follows by using a formula:
sw,i=sd,i⊙w
Wherein s w,i is a second initial signal, and w is a coefficient of a window function corresponding to a preset window type.
And step 10241, performing fast Fourier transform on the second initial signal to obtain a plurality of frequency points.
And step 10241, carrying out logarithmic processing on each frequency point to obtain a plurality of logarithmic values.
In specific implementation, performing fast fourier transform on the second initial signal to obtain a plurality of frequency points, and performing team number calculation on each frequency point to obtain a plurality of logarithmic values, wherein the logarithmic values are expressed as follows by using a formula:
sF,i=FFT(sw,i)
sL,i=log10(|sF,i|)
Where s F,i is the frequency point and s L,i is the logarithmic value.
And step 10241, determining a target logarithmic value and a target sequence number value corresponding to the target logarithmic value from a plurality of logarithmic values.
And step 10241, calculating to obtain a first frequency offset value corresponding to the input signal according to the target sequence number value and the first signal length.
In the implementation, a target logarithmic value and a target sequence number value corresponding to the target logarithmic value are determined in the logarithmic values, and calculation is performed based on the acquired first signal length and the target sequence number value to obtain a first frequency offset value corresponding to the input signal. The first frequency offset value is expressed as:
Wherein K is the first signal length, Δf i is the first frequency offset value, p max,i is the target sequence number value, and f s is the sampling rate of the frequency converter.
In some embodiments, step 10241 specifically includes:
and step 102411, selecting the maximum value of the logarithmic values and two adjacent logarithmic values adjacent to the maximum value, and taking the maximum value and the adjacent logarithmic values as initial target logarithmic values.
And 102412, obtaining an initial sequence number value corresponding to the initial target logarithmic value, and performing quadratic term fitting on the initial target logarithmic value and the initial sequence number value to obtain an objective function.
In specific implementation, the plurality of logarithmic values are sorted, and the maximum value of the plurality of logarithmic values is determined. And simultaneously acquiring two adjacent logarithmic values adjacent to the maximum value, and taking the maximum value and the adjacent logarithmic values as initial target logarithmic values. And acquiring the serial number value corresponding to the maximum value and the adjacent logarithmic value, namely the initial serial number value corresponding to the initial target logarithmic value. And performing quadratic term fitting on the initial target logarithmic value and the initial sequence number value to obtain an objective function. Illustratively, the objective function approximates a parabolic function.
And step 102413, determining the peak value of the objective function, and taking the peak value as a target logarithmic value.
And step 102414, obtaining a target sequence number value corresponding to the target logarithmic value according to the target logarithmic value and the target function.
In specific implementation, a peak value of an objective function is obtained, the peak value is used as an objective logarithmic value, and the objective logarithmic value is substituted into the objective function to obtain an objective serial number value corresponding to the objective logarithmic value.
In some embodiments, step 1021 specifically includes:
Step 10211, obtaining input signal parameter information of the input signal and signal-to-noise ratio information of the output signal.
Step 10211, obtaining a preset error precision, and calculating to obtain a first signal length corresponding to the input signal according to the preset error precision, the input signal parameter information and the signal-to-noise ratio information.
In specific implementation, input signal parameter information of an input signal is obtained, the input signal parameter information comprises bandwidth of the input signal, signal-to-noise ratio information of an output signal and preset error precision are obtained, and a first signal length corresponding to the input signal is calculated according to the preset error precision, the bandwidth of the input signal and the signal-to-noise ratio information. The first signal length is expressed as:
Wherein σ Δf is the preset error precision, B s is the bandwidth of the input signal, T s is the first signal length, and SNR s is the signal-to-noise ratio of the output signal.
For example, the bandwidth of the input signal is 1MHz, the preset precision error is 5.5×10 -4 Hz, the signal-to-noise ratio of the output signal is 30dB, and the length of the first signal is 100ms according to the formula of the length of the first signal.
Through the scheme, the user can determine the error precision according to the self requirement, and then the first signal length corresponding to the input signal is obtained through calculation according to the error precision, so that the first signal length meets the precision requirement of the user.
In some embodiments, step 1022 specifically includes:
Step 10221, obtaining a sampling rate of the frequency converter and a preset frequency offset threshold, and determining the number of target sampling points according to the sampling rate and the preset frequency offset threshold.
In the implementation, considering that frequency offset exists between the DDC output signal s DDC,i and the test signal s, no obvious cross correlation peak value is obtained, and the signal length for cross correlation calculation is not suitable to be too large. S (1:N) is obtained by intercepting the first N sampling points from the test signal s.
Acquiring a preset frequency offset threshold value, acquiring the sampling rate of a frequency converter, and determining the number of target sampling points according to the sampling rate and the preset frequency offset threshold value. The number of the sampling points is expressed as follows by a formula:
Wherein N is the number of sampling points, f s is the sampling rate of the frequency converter, and Δf max is a preset frequency offset threshold.
Step 10222, calculating a plurality of cross-correlation coefficients corresponding to the input signal and the output signal according to the number of the target sampling points, the first signal length and the second signal length.
In the implementation, according to the number of the determined target sampling points, the first signal length and the second signal length are calculated to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal. The cross-correlation coefficient is expressed as:
Wherein, C i (m) is a cross correlation coefficient, m is a length ratio, a value is a ratio of the length of the second signal to the length of the first signal, the length of the output signal includes m input signals, n is the nth sampling point, the sign indicates a conjugate operation, abs () indicates an absolute value, and s DDC,i is the ith output signal.
In some embodiments, step 1023 specifically includes:
step 10231, determining a target sampling point corresponding to the target cross-correlation coefficient.
Step 10232, taking the target sampling point as a starting point, and intercepting a signal with the same length as the first signal length from the output signal as a target signal.
In specific implementation, determining a target sampling point corresponding to a target cross-correlation coefficient, taking the target sampling point as a starting point, and intercepting a signal with the same length as the first signal length from the output signal to serve as a target signal.
The specific method for intercepting the target signal is expressed as follows by using a formula:
s′i=sDDC,i(iMax:K+iMax-1)
Where s' i is the target signal and i Max is the target sampling point.
In some embodiments, step 101 specifically includes:
step 1011, obtaining a preset pseudo-random sequence, and modulating a digital signal by using the pseudo-random sequence to obtain a test signal.
Step 1012, obtaining a center frequency of digital down conversion corresponding to the target frequency converter, and performing frequency conversion on the test signal according to the center frequency to obtain an input signal.
In specific implementation, a preset pseudo-random sequence is obtained, and the pseudo-random sequence is used as a modulation symbol to carry out digital signal modulation, so that a test signal is obtained. And acquiring the center frequency of digital down-conversion corresponding to the target frequency converter, performing frequency conversion on the test signal according to the center frequency, and converting the frequency of the test signal into the center frequency of digital down-conversion to obtain an input signal. The frequency conversion is expressed as:
Where s M (t) is the input signal, s (t) is the test signal, f M is the center frequency of the digital down-conversion, and real () represents the real part of the complex number.
For example, steps 1011 to 1012 described above may be performed by the test apparatus.
After the input signal is obtained, the input signal can be input into the splitter, a plurality of input signals are obtained through the processing of the splitter, and the plurality of input signals obtained through the splitter are identical to the input signals input into the splitter.
It should be noted that the method of the embodiments of the present disclosure may be performed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene, and is completed by mutually matching a plurality of devices. In the case of such a distributed scenario, one of the devices may perform only one or more steps of the methods of embodiments of the present disclosure, the devices interacting with each other to accomplish the methods.
It should be noted that the foregoing describes some embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Based on the same inventive concept, the present disclosure also provides a device for determining a frequency consistency level between channels of a frequency converter, corresponding to the method of any embodiment.
Referring to fig. 2, fig. 2 is a device for determining a level of inter-channel frequency uniformity of a frequency converter according to an embodiment, including:
a signal acquisition module 201 configured to acquire a plurality of input signals of a target frequency converter and an output signal corresponding to each of the input signals;
the frequency offset value calculation module 202 is configured to, for each input signal and corresponding output signal:
determining a first signal length corresponding to the input signal and a second signal length corresponding to the output signal;
Calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal;
selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal;
calculating a frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal;
The level determining module 203 is configured to perform a difference processing on the first frequency offset values corresponding to any two input signals, so as to obtain a frequency deviation corresponding to the frequency channels of the frequency converter corresponding to the two input signals, and determine a level of frequency consistency between the frequency channels of the target frequency converter according to the frequency deviation.
In some embodiments, the frequency offset value calculation module 202 includes a first frequency offset value determining unit specifically configured to:
Performing dot product processing on the input signal and the target signal to obtain a first initial signal;
Windowing the first initial signal according to a preset window type to obtain a second initial signal;
Performing fast Fourier transform on the second initial signal to obtain a plurality of frequency points;
carrying out logarithmic processing on each frequency point to obtain a plurality of logarithmic values;
determining a target logarithmic value and a target sequence number value corresponding to the target logarithmic value from a plurality of logarithmic values;
And calculating a first frequency offset value corresponding to the input signal according to the target sequence number value and the first signal length.
In some embodiments, the determining a target logarithmic value from a plurality of logarithmic values, and a target sequence number value corresponding to the target logarithmic value, includes:
Selecting a maximum value of the logarithmic values and two adjacent logarithmic values adjacent to the maximum value, and taking the maximum value and the adjacent logarithmic values as initial target logarithmic values;
obtaining an initial sequence number value corresponding to the initial target logarithmic value, and performing quadratic term fitting on the initial target logarithmic value and the initial sequence number value to obtain an objective function;
Determining a peak value of the objective function, and taking the peak value as a target logarithmic value;
And obtaining a target sequence number value corresponding to the target logarithmic value according to the target logarithmic value and the target function.
In some embodiments, the frequency offset value calculation module 202 includes a signal length calculation unit specifically configured to:
acquiring bandwidth of an input signal and signal-to-noise ratio information of an output signal;
Acquiring preset error precision, and calculating to obtain a first signal length corresponding to the input signal according to the preset error precision, the bandwidth of the input signal and the signal-to-noise ratio information, wherein the first signal length is expressed as follows by using a formula:
Wherein σ Δf is the preset error precision, B s is the bandwidth of the input signal, T s is the first signal length, and SNR s is the signal-to-noise ratio of the output signal.
In some embodiments, the frequency offset value calculating module 202 includes a cross-correlation coefficient calculating unit, where the cross-correlation coefficient calculating unit specifically includes:
Acquiring the sampling rate and a preset frequency offset threshold of a frequency converter, and determining the number of target sampling points according to the sampling rate and the preset frequency offset threshold;
Calculating a plurality of cross-correlation coefficients corresponding to the input signal and the output signal according to the number of the target sampling points, the first signal length and the second signal length, wherein the cross-correlation coefficients are expressed as follows:
Wherein, C i (m) is a cross correlation coefficient, m is a length ratio, the value is a ratio of the length of the second signal to the length of the first signal, the length of the output signal includes the length of m input signals, n is the nth sampling point, and s DDC,i is the ith output signal.
In some embodiments, the frequency offset value calculation module 202 includes a target signal determination unit specifically configured to:
determining a target sampling point corresponding to the target cross-correlation coefficient;
and taking the target sampling point as a starting point, and intercepting a signal with the same length as the first signal length from the output signal to serve as a target signal.
In some embodiments, the signal acquisition module 201 is specifically configured to:
Acquiring a preset pseudo-random sequence, and modulating a digital signal by using the pseudo-random sequence to obtain a test signal;
and acquiring the center frequency of digital down-conversion corresponding to the target frequency converter, and performing frequency conversion on the test signal according to the center frequency to obtain an input signal.
For convenience of description, the above devices are described as being functionally divided into various modules, respectively. Of course, the functions of the various modules may be implemented in the same one or more pieces of software and/or hardware when implementing the present disclosure.
The device of the foregoing embodiment is configured to implement the method for determining the inter-channel frequency consistency level of the corresponding frequency converter in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein again.
Based on the same inventive concept, the present disclosure also provides an electronic device corresponding to the method of any embodiment, including a memory, a processor, and a computer program stored on the memory and capable of running on the processor, where the processor implements the method for determining the inter-channel frequency consistency level of the frequency converter according to any embodiment when executing the program.
Fig. 3 shows a more specific hardware architecture of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 implement communication connections therebetween within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit ), a microprocessor, an Application SPECIFIC INTEGRATED Circuit (ASIC), or one or more integrated circuits, etc. for executing related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory ), static storage, dynamic storage, etc. Memory 1020 may store an operating system and other application programs, and when the embodiments of the present specification are implemented in software or firmware, the associated program code is stored in memory 1020 and executed by processor 1010.
The input/output interface 1030 is used to connect with an input/output module for inputting and outputting information. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
Communication interface 1040 is used to connect communication modules (not shown) to enable communication interactions of the present device with other devices. The communication module may implement communication through a wired manner (such as USB, network cable, etc.), or may implement communication through a wireless manner (such as mobile network, WIFI, bluetooth, etc.).
Bus 1050 includes a path for transferring information between components of the device (e.g., processor 1010, memory 1020, input/output interface 1030, and communication interface 1040).
It should be noted that although the above-described device only shows processor 1010, memory 1020, input/output interface 1030, communication interface 1040, and bus 1050, in an implementation, the device may include other components necessary to achieve proper operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary to implement the embodiments of the present description, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the method for determining the inter-channel frequency consistency level of the corresponding frequency converter in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, corresponding to any of the above embodiments of the method, the present disclosure further provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method for determining the inter-channel frequency consistency level of the frequency converter according to any of the above embodiments.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiments stores computer instructions for causing the computer to execute the method for determining the inter-channel frequency consistency level of the frequency converter according to any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which are not described herein.
It will be appreciated that before using the technical solutions of the various embodiments in the disclosure, the user may be informed of the type of personal information involved, the range of use, the use scenario, etc. in an appropriate manner, and obtain the authorization of the user.
For example, in response to receiving an active request from a user, a prompt is sent to the user to explicitly prompt the user that the operation it is requesting to perform will require personal information to be obtained and used with the user. Therefore, the user can select whether to provide personal information to the software or hardware such as the electronic equipment, the application program, the server or the storage medium for executing the operation of the technical scheme according to the prompt information.
As an alternative but non-limiting implementation, in response to receiving an active request from a user, the manner in which the prompt information is sent to the user may be, for example, a popup, in which the prompt information may be presented in a text manner. In addition, a selection control for the user to select to provide personal information to the electronic device in a 'consent' or 'disagreement' manner can be carried in the popup window.
It will be appreciated that the above-described notification and user authorization process is merely illustrative, and not limiting of the implementations of the present disclosure, and that other ways of satisfying relevant legal regulations may be applied to the implementations of the present disclosure.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the disclosure, including the claims, is limited to these examples; the technical features of the above embodiments or in the different embodiments may also be combined under the idea of the present disclosure, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in details for the sake of brevity.
Additionally, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure the embodiments of the present disclosure. Furthermore, the devices may be shown in block diagram form in order to avoid obscuring the embodiments of the present disclosure, and this also accounts for the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform on which the embodiments of the present disclosure are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The disclosed embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Accordingly, any omissions, modifications, equivalents, improvements, and the like, which are within the spirit and principles of the embodiments of the disclosure, are intended to be included within the scope of the disclosure.

Claims (8)

1. A method for determining a level of inter-channel frequency uniformity of a frequency converter, comprising:
Acquiring a plurality of input signals of a target frequency converter and output signals corresponding to each input signal, wherein the input signals are input signals input through different channels;
for each input signal and corresponding output signal:
determining a first signal length corresponding to the input signal and a second signal length corresponding to the output signal;
Calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal;
selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal;
calculating a frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal;
Performing difference processing on first frequency offset values corresponding to any two input signals to obtain frequency deviation corresponding to channels of frequency converters corresponding to the two input signals, and determining a frequency consistency level between the channels of the target frequency converter according to the frequency deviation;
for each input signal, and for the output signal corresponding to the input signal:
The calculating the frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal includes:
Performing dot product processing on the input signal and the target signal to obtain a first initial signal;
Windowing the first initial signal according to a preset window type to obtain a second initial signal;
Performing fast Fourier transform on the second initial signal to obtain a plurality of frequency points;
carrying out logarithmic processing on each frequency point to obtain a plurality of logarithmic values;
determining a target logarithmic value and a target sequence number value corresponding to the target logarithmic value from a plurality of logarithmic values;
calculating a first frequency offset value corresponding to the input signal according to the target sequence number value and the first signal length, wherein the first frequency offset value is expressed as follows by using a formula:
Wherein K is the first signal length, deltaf i is the first frequency offset value, p max,i is the target sequence number value, and f s is the sampling rate of the frequency converter;
The calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal includes:
Acquiring the sampling rate and a preset frequency offset threshold of a frequency converter, and determining the number of target sampling points according to the sampling rate and the preset frequency offset threshold;
Calculating a plurality of cross-correlation coefficients corresponding to the input signal and the output signal according to the number of the target sampling points, the first signal length and the second signal length, wherein the cross-correlation coefficients are expressed as follows:
Wherein, C i (m) is a cross-correlation coefficient, m is a length ratio, a value is a ratio of the length of the second signal to the length of the first signal, the length of the output signal includes m input signals, N is an nth sampling point, s DDC,i is an ith output signal, N is the number of sampling points, s (N) is a test signal corresponding to the nth sampling point, and s DDC,i (m+n) is an (m+n) th corresponding output signal in the ith output signal.
2. The method of claim 1, wherein said determining a target logarithmic value from a plurality of said logarithmic values, and a target sequence number value corresponding to said target logarithmic value, comprises:
Selecting a maximum value of the logarithmic values and two adjacent logarithmic values adjacent to the maximum value, and taking the maximum value and the adjacent logarithmic values as initial target logarithmic values;
obtaining an initial sequence number value corresponding to the initial target logarithmic value, and performing quadratic term fitting on the initial target logarithmic value and the initial sequence number value to obtain an objective function;
Determining a peak value of the objective function, and taking the peak value as a target logarithmic value;
And obtaining a target sequence number value corresponding to the target logarithmic value according to the target logarithmic value and the target function.
3. The method of claim 1, wherein, for each input signal and the corresponding output signal of the input signal,
The determining the first signal length corresponding to the input signal includes:
acquiring bandwidth of an input signal and signal-to-noise ratio information of an output signal;
Acquiring preset error precision, and calculating to obtain a first signal length corresponding to the input signal according to the preset error precision, the bandwidth of the input signal and the signal-to-noise ratio information, wherein the first signal length is expressed as follows by using a formula:
Wherein σ Δf is the preset error precision, B s is the bandwidth of the input signal, T s is the first signal length, and SNR s is the signal-to-noise ratio of the output signal.
4. The method of claim 1, wherein said extracting from said output signal based on said target cross-correlation coefficient to obtain a target signal comprises:
determining a target sampling point corresponding to the target cross-correlation coefficient;
and taking the target sampling point as a starting point, and intercepting a signal with the same length as the first signal length from the output signal to serve as a target signal.
5. The method of claim 1, wherein the acquiring a plurality of input signals comprises:
Acquiring a preset pseudo-random sequence, and modulating a digital signal by using the pseudo-random sequence to obtain a test signal;
and acquiring the center frequency of digital down-conversion corresponding to the target frequency converter, and performing frequency conversion on the test signal according to the center frequency to obtain an input signal.
6. A device for determining a level of inter-channel frequency uniformity of a frequency converter, comprising:
the signal acquisition module is configured to acquire a plurality of input signals of a target frequency converter and output signals corresponding to each input signal, wherein the input signals are input signals input through different channels;
a frequency offset value calculation module configured to, for each input signal and corresponding output signal:
determining a first signal length corresponding to the input signal and a second signal length corresponding to the output signal;
Calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal;
selecting the maximum value of the cross-correlation coefficients as a target cross-correlation coefficient, and intercepting the output signal according to the target cross-correlation coefficient to obtain a target signal;
calculating a frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal;
The grade determining module is configured to perform difference processing on first frequency offset values corresponding to any two input signals to obtain frequency deviation corresponding to channels of frequency converters corresponding to the two input signals, and determine the grade of frequency consistency among the channels of the target frequency converter according to the frequency deviation;
for each input signal, and for the output signal corresponding to the input signal:
The calculating the frequency offset value of the input signal and the target signal as a first frequency offset value corresponding to the input signal includes:
Performing dot product processing on the input signal and the target signal to obtain a first initial signal;
Windowing the first initial signal according to a preset window type to obtain a second initial signal;
Performing fast Fourier transform on the second initial signal to obtain a plurality of frequency points;
carrying out logarithmic processing on each frequency point to obtain a plurality of logarithmic values;
determining a target logarithmic value and a target sequence number value corresponding to the target logarithmic value from a plurality of logarithmic values;
calculating a first frequency offset value corresponding to the input signal according to the target sequence number value and the first signal length, wherein the first frequency offset value is expressed as follows by using a formula:
Wherein K is the first signal length, deltaf i is the first frequency offset value, p max,i is the target sequence number value, and f s is the sampling rate of the frequency converter;
The calculating according to the first signal length and the second signal length to obtain a plurality of cross-correlation coefficients corresponding to the input signal and the output signal includes:
Acquiring the sampling rate and a preset frequency offset threshold of a frequency converter, and determining the number of target sampling points according to the sampling rate and the preset frequency offset threshold;
Calculating a plurality of cross-correlation coefficients corresponding to the input signal and the output signal according to the number of the target sampling points, the first signal length and the second signal length, wherein the cross-correlation coefficients are expressed as follows:
Wherein, C i (m) is a cross-correlation coefficient, m is a length ratio, a value is a ratio of the length of the second signal to the length of the first signal, the length of the output signal includes m input signals, N is an nth sampling point, s DDC,i is an ith output signal, N is the number of sampling points, s (N) is a test signal corresponding to the nth sampling point, and s DDC,i (m+n) is an (m+n) th corresponding output signal in the ith output signal.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of determining an inter-channel frequency uniformity level of a frequency converter according to any one of claims 1to 5 when the program is executed.
8. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of determining the level of inter-channel frequency uniformity of a frequency converter according to any one of claims 1 to 5.
CN202410034131.5A 2024-01-09 2024-01-09 Method for determining frequency consistency level between channels of frequency converter and related equipment Active CN117849509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410034131.5A CN117849509B (en) 2024-01-09 2024-01-09 Method for determining frequency consistency level between channels of frequency converter and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410034131.5A CN117849509B (en) 2024-01-09 2024-01-09 Method for determining frequency consistency level between channels of frequency converter and related equipment

Publications (2)

Publication Number Publication Date
CN117849509A CN117849509A (en) 2024-04-09
CN117849509B true CN117849509B (en) 2024-06-07

Family

ID=90528446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410034131.5A Active CN117849509B (en) 2024-01-09 2024-01-09 Method for determining frequency consistency level between channels of frequency converter and related equipment

Country Status (1)

Country Link
CN (1) CN117849509B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102928852A (en) * 2012-11-19 2013-02-13 中国人民解放军国防科学技术大学 Satellite navigation signal analog multi-channel consistency test method and device
CN104734788A (en) * 2015-03-27 2015-06-24 北京理工大学 Frequency offset correction device and correction method used for multi-channel amplitude and phase test system
CN106411494A (en) * 2016-08-31 2017-02-15 重庆大学 Frequency offset compensation method and system
WO2021204084A1 (en) * 2020-04-07 2021-10-14 中兴通讯股份有限公司 Frequency offset estimation method and apparatus, electronic device, and computer-readable medium
CN116074164A (en) * 2023-01-03 2023-05-05 北京奕斯伟计算技术股份有限公司 Frequency offset estimation device, method, equipment, storage medium and program product
CN117294365A (en) * 2023-09-20 2023-12-26 北京中捷时代航空科技有限公司 Down-conversion channel phase consistency adjustment method, system, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102928852A (en) * 2012-11-19 2013-02-13 中国人民解放军国防科学技术大学 Satellite navigation signal analog multi-channel consistency test method and device
CN104734788A (en) * 2015-03-27 2015-06-24 北京理工大学 Frequency offset correction device and correction method used for multi-channel amplitude and phase test system
CN106411494A (en) * 2016-08-31 2017-02-15 重庆大学 Frequency offset compensation method and system
WO2021204084A1 (en) * 2020-04-07 2021-10-14 中兴通讯股份有限公司 Frequency offset estimation method and apparatus, electronic device, and computer-readable medium
CN116074164A (en) * 2023-01-03 2023-05-05 北京奕斯伟计算技术股份有限公司 Frequency offset estimation device, method, equipment, storage medium and program product
CN117294365A (en) * 2023-09-20 2023-12-26 北京中捷时代航空科技有限公司 Down-conversion channel phase consistency adjustment method, system, terminal and storage medium

Also Published As

Publication number Publication date
CN117849509A (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN108880931B (en) Method and apparatus for outputting information
CN110070884B (en) Audio starting point detection method and device
CN109085630A (en) A kind of signal acquisition methods and device
CN117849509B (en) Method for determining frequency consistency level between channels of frequency converter and related equipment
CN110070885B (en) Audio starting point detection method and device
CN112992190A (en) Audio signal processing method and device, electronic equipment and storage medium
CN112562633A (en) Singing synthesis method and device, electronic equipment and storage medium
US8706657B2 (en) Vector smoothing of complex-valued cross spectra to estimate power spectral density of a noise signal
CN113179354B (en) Sound signal processing method and device and electronic equipment
CN117176265B (en) A scene channel simulation playback method, system and equipment
CN110085214A (en) Audio originates point detecting method and device
JP6592912B2 (en) Communication system, receiving device, server, signal processing method, wave source position calculating method, and program
CN109378012B (en) Noise reduction method and system for single-channel voice device recording audio
CN115078617B (en) Identification method, identification system, identification terminal device and identification storage medium for chromatographic peak retention time
CN111596324B (en) Non-homologous relative zero value calibration method of navigation signal source, electronic equipment and medium
US20230007488A1 (en) Signal spoof detection at base stations
CN110441746B (en) Time domain gate transformation method and device
CN108962268B (en) Method and apparatus for determining monophonic audio
CN115201769A (en) Radar signal pulse repetition interval generation method, apparatus, device and medium
CN109085492B (en) Method and apparatus for determining phase difference of integrated circuit signal, medium, and electronic device
CN118400026B (en) VSAT TDMA signal superframe segmentation method based on channel power and related equipment
US20240172143A1 (en) Automatic gain control systems
CN116318455A (en) Method and device for testing multipath transceiver, electronic equipment and storage medium
CN112946576A (en) Sound source positioning method and device and electronic equipment
CN113609659B (en) Method, device and equipment for determining evaporation loss determination test conditions

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
GR01 Patent grant