Frequency offset calibration method and apparatus, electronic device, and machine-readable storage medium
By performing downmixing and Fourier transform on the equipment to be calibrated and the signal source, and performing frequency offset calibration based on the amplitude peak of the spectrum, the limitations and high costs of relying on dedicated instruments in the existing technology are solved, and efficient frequency offset calibration is achieved.
Patent Information
- Application Number
- CN202311790302.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing frequency offset calibration schemes rely on dedicated instruments, which are costly and have significant limitations, making them inefficient for frequency offset calibration of wireless communication devices.
The first single carrier emitted by the device to be calibrated and the second single carrier emitted by the signal source are down-mixed to convert them into digital signals and Fourier transform them. Frequency offset calibration is performed based on the amplitude peak value in the spectrum until the calibration completion condition is met.
Frequency offset calibration was achieved without relying on dedicated instruments, reducing costs and limitations.
Smart Images

Figure CN117792844B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication and electronic devices, and more particularly to a frequency offset calibration method, apparatus, electronic device, and machine-readable storage medium. Background Technology
[0002] Wireless communication devices must maintain high frequency accuracy. Excessive frequency deviation between the communicating parties will lead to communication failure. Therefore, most wireless communication devices require frequency offset calibration before leaving the factory. For example, Wi-Fi devices require frequency offset calibration before shipping.
[0003] However, current frequency offset calibration schemes usually require dedicated instruments, which have significant limitations and are too costly. Summary of the Invention
[0004] In view of this, this application provides a frequency offset calibration method, apparatus, electronic device, and machine-readable storage medium.
[0005] Specifically, this application is implemented through the following technical solution:
[0006] According to a first aspect of the embodiments of this application, a frequency offset calibration method is provided, comprising:
[0007] The device to be calibrated emits a first single carrier at the current frequency, and the signal source emits a second single carrier at the target specified frequency. These are then down-mixed to obtain a mixed output signal.
[0008] The mixed output signal is converted into a digital signal, and the obtained digital signal is subjected to a Fourier transform to obtain the corresponding spectrum.
[0009] If the amplitude peak value within the preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, frequency offset calibration is performed on the device to be calibrated until the calibration completion condition is met. The calibration completion condition includes: based on the calibrated frequency of the device to be calibrated, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed, and the amplitude peak value within the preset frequency range in the spectrum obtained indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0010] According to a first aspect of the embodiments of this application, a frequency offset calibration device is provided, comprising:
[0011] The mixing unit is used to perform down-mixing processing on the first single carrier emitted by the device to be calibrated at the current frequency and the second single carrier emitted by the signal source at the specified frequency to obtain a mixed output signal.
[0012] The processing unit is used to convert the mixed output signal into a digital signal and perform a Fourier transform on the obtained digital signal to obtain the corresponding spectrum.
[0013] A calibration unit is configured to perform frequency offset calibration on the device to be calibrated when the amplitude peak value within a preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, until the calibration completion condition is met; wherein the calibration completion condition includes: based on the calibrated frequency of the device to be calibrated, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed, and the amplitude peak value within the preset frequency range in the spectrum obtained indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0014] According to a third aspect of the present application, an electronic device is provided, including a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being configured to execute the machine-executable instructions to implement the method provided in the first aspect.
[0015] According to a fourth aspect of the embodiments of this application, a machine-readable storage medium is provided, wherein machine-executable instructions are stored therein, and when the machine-executable instructions are executed by a processor, the method provided in the first aspect is implemented.
[0016] The technical solution provided in this application can bring at least the following beneficial effects:
[0017] By down-mixing the device to be calibrated with a first single carrier wave emitted at the current frequency and the second single carrier wave emitted at the specified frequency, a mixed output signal is obtained. The mixed output signal is then converted into a digital signal, and a Fourier transform is performed on the obtained digital signal to obtain the corresponding spectrum. If the amplitude peak value within the preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, frequency offset calibration is performed on the device to be calibrated until the calibration completion condition is met. Frequency offset calibration is achieved without the need for dedicated instruments, reducing the limitations of frequency offset calibration and lowering the implementation cost of frequency offset calibration. Attached Figure Description
[0018] Figure 1 This is a schematic flowchart illustrating a frequency offset calibration method according to an exemplary embodiment of this application;
[0019] Figure 2 This is a schematic flowchart illustrating a frequency offset calibration method according to an exemplary embodiment of this application;
[0020] Figure 3AThis is a schematic diagram illustrating the implementation principle architecture of frequency offset calibration according to an exemplary embodiment of this application;
[0021] Figures 3B to 3F This is a schematic diagram of the spectrum shown in an exemplary embodiment of this application;
[0022] Figure 4 This is a schematic diagram illustrating the implementation process of a frequency offset calibration procedure according to an exemplary embodiment of this application;
[0023] Figure 5 This is a schematic diagram illustrating the structure of a frequency offset calibration device according to an exemplary embodiment of this application;
[0024] Figure 6 This is a schematic diagram of the hardware structure of an electronic device illustrated in an exemplary embodiment of this application. Detailed Implementation
[0025] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0026] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0027] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, and to make the above-mentioned objectives, features and advantages of the embodiments of this application more apparent and understandable, the technical solutions in the embodiments of this application will be further described in detail below with reference to the accompanying drawings.
[0028] It should be noted that the sequence number of each step in the embodiments of this application does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0029] Please see Figure 1 This is a flowchart illustrating a frequency offset calibration method provided in an embodiment of this application, as shown below. Figure 1 As shown, the frequency offset calibration may include the following steps:
[0030] Step S100: The device to be calibrated emits a first single carrier at the current frequency, and the signal source emits a second single carrier at a specified frequency. The two carriers are then downmixed to obtain a mixed output signal.
[0031] In this embodiment of the application, in order to achieve frequency offset calibration (which can be simply referred to as frequency offset calibration) for the device to be calibrated, on the one hand, the device to be calibrated can be controlled to send a single carrier (which can be referred to as the first single carrier) at the current frequency (the actual frequency before frequency offset calibration), and the single carrier sent by the device to be calibrated can be acquired; on the other hand, a signal source can be deployed, and the signal source can be controlled to send a single carrier (which can be referred to as the second single carrier) at a specified frequency, and the second single carrier sent by the signal source can be acquired.
[0032] For example, the target frequency refers to the desired frequency of the device to be calibrated, that is, the frequency that needs to be reached to perform frequency offset calibration on the device to be calibrated.
[0033] In this embodiment of the application, the obtained first single carrier and second single carrier can be downmixed to obtain a mixed output signal.
[0034] For example, the first single carrier and the second single carrier can be input into a mixer, and the mixer can be used to down-mix the first single carrier and the second single carrier to obtain a mixed output signal.
[0035] The downmixing process involves processing two input signals (such as the first single carrier and the second single carrier mentioned above) into an output signal whose frequency is the absolute value of the frequency difference between the two input signals.
[0036] The first single carrier and the second single carrier are input into the mixer, and the mixer is used to down-mix the first single carrier and the second single carrier. The resulting mixed output signal is a new single carrier with a frequency that is the absolute value of the difference between the frequency of the first single carrier and the frequency of the second single carrier.
[0037] Step S110: Convert the mixing output signal into a digital signal, and perform a Fourier transform on the obtained digital signal to obtain the corresponding spectrum.
[0038] In this embodiment of the application, after obtaining the mixing output signal in the manner described above, the mixing output signal can be converted into a digital signal.
[0039] For example, the mixed output signal can be sampled and quantized using an ADC (Analog-to-Digital Converter) to obtain the corresponding digital signal.
[0040] The obtained digital signal can be subjected to a Fourier transform to obtain the corresponding spectrum.
[0041] For example, a Fast Fourier Transform (FFT) can be performed on the obtained digital signal to obtain the corresponding spectrum.
[0042] It should be noted that, in the embodiments of this application, in order to avoid the interference of noise signals on frequency offset calibration, the mixing output signal can be filtered before it is converted into a digital signal to filter out noise signals.
[0043] For example, ideally, the frequency of the mixed data signal obtained after downmixing the first single carrier emitted by the device to be calibrated and the second single carrier emitted by the signal source should be the absolute value of the difference between the frequency of the first single carrier and the frequency of the second single carrier, that is, the absolute value of the difference between the actual frequency of the device to be calibrated and the specified frequency. Since the actual frequency of the device to be calibrated is within a known range, this difference usually has a known upper limit. Therefore, the mixed output signal can be filtered by filtering signals with frequencies exceeding this upper limit.
[0044] For example, suppose the current frequency of the device to be calibrated is F+X, and the expected target frequency is F. Given a specified frequency of F, X is the difference between the actual frequency of the device to be calibrated and the target frequency. This difference typically has a known upper limit (let's say B), i.e., |X|≤B, meaning the actual frequency of the device to be calibrated is within the range [FB, F+B]. For the mixed output signal obtained in the above manner, a filter can be used to filter signals with frequencies exceeding B.
[0045] Step S120: If the amplitude peak value within the preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, frequency offset calibration is performed on the device to be calibrated until the calibration completion condition is met; wherein, the calibration completion condition includes: based on the calibrated frequency of the device to be calibrated, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed, and the amplitude peak value within the preset frequency range in the spectrum obtained by Fourier transform processing indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0046] In this embodiment of the application, since there is a known upper limit to the absolute value of the difference between the actual frequency of the device to be calibrated and the specified frequency, in the spectrum obtained in the above manner, the frequency corresponding to the amplitude peak in the frequency range between 0 and the upper limit is consistent with the absolute value of the difference.
[0047] It should be noted that, in the embodiments of this application, the frequency consistency mentioned may include equal frequencies or tolerable errors between frequencies.
[0048] Therefore, after obtaining the spectrum diagram in the above manner, the frequency offset calibration of the device to be calibrated can be performed based on the amplitude peak value within the preset frequency range in the spectrum diagram.
[0049] For example, the preset frequency range can be determined based on the absolute value of the difference between the specified frequency and the actual frequency of the device to be calibrated.
[0050] For example, when a specified frequency (which can be denoted as F0) is in the range of [FB, F+B], the preset frequency range can be [0, 2B], where B is the upper limit of the frequency offset.
[0051] For example, when a spectrum is obtained in the manner described above, the current frequency of the device to be calibrated can be determined to be consistent with the expected target frequency based on the amplitude peak value within a preset frequency range in the spectrum.
[0052] If the amplitude peak value within the preset frequency range in the frequency spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, it can be determined that the current frequency of the device to be calibrated is inconsistent with the expected target frequency. In this case, frequency offset calibration can be performed on the device to be calibrated until the calibration completion condition is met. That is, based on the calibrated frequency of the device to be calibrated, the above downmixing processing, signal conversion processing, and Fourier transform processing are performed. In the resulting spectrum, the amplitude peak value within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0053] It should be noted that, in this embodiment, if the amplitude peak value in the spectrum obtained in the above manner within the preset frequency range indicates that the current frequency of the device to be calibrated is consistent with the expected target frequency, then the current frequency of the device to be calibrated can be considered as the target frequency, and frequency offset calibration is not required; or, the actual frequency of the device to be calibrated can be appropriately adjusted, and the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing can be performed. If the amplitude peak value in the obtained spectrum within the preset frequency range indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, then the actual frequency of the device to be calibrated before adjustment is determined to be the expected target frequency; otherwise, an anomaly can be considered to exist, and an alarm message can be output for manual intervention. The specific implementation is not limited here.
[0054] For example, assuming the specified frequency is F0 = F, the preset frequency range is [0, B]. The amplitude peak in the spectrum within the preset frequency range indicates that the current frequency of the device to be calibrated is consistent with the expected target frequency. This can include: the frequency corresponding to the amplitude peak in the spectrum within the preset frequency range is consistent with 0.
[0055] It can be seen that, in Figure 1In the method flow shown, the device to be calibrated emits a first single carrier at the current frequency, and the signal source emits a second single carrier at a specified frequency. The signal is then down-mixed to obtain a mixed output signal, which is converted into a digital signal. The obtained digital signal is then subjected to a Fourier transform to obtain the corresponding spectrum. If the amplitude peak value within the preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, frequency offset calibration is performed on the device to be calibrated until the calibration completion condition is met. Frequency offset calibration is achieved without the need for dedicated instruments, reducing the limitations of frequency offset calibration and lowering the implementation cost of frequency offset calibration.
[0056] In some embodiments, the specified frequency F0 is in [FB, F+B], where F is the expected target frequency and B is the upper limit of frequency offset; the preset frequency range is [0, 2B].
[0057] The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device matches the expected target frequency, and may include:
[0058] The frequency corresponding to the peak amplitude within the preset frequency range is consistent with the first difference; wherein, the first difference is the absolute value of the difference between the specified frequency and the expected target frequency.
[0059] The above-mentioned frequency offset calibration of the equipment to be calibrated until the calibration completion conditions are met may include:
[0060] Adjust the frequency of the single carrier transmitted by the device to be calibrated according to the first adjustment direction, and perform the above downmixing, signal conversion, and Fourier transform processing to obtain a new spectrum.
[0061] If the frequency corresponding to the amplitude peak in the preset frequency range in the new spectrum approaches the first difference, and the amplitude peak in the preset frequency range in the new spectrum indicates that the frequency of the device to be calibrated after calibration is inconsistent with the expected target frequency, then the first adjustment direction is taken as the target adjustment direction, and the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the first adjustment direction. The above downmixing process, signal conversion process, and Fourier transform process are performed until the amplitude peak in the preset frequency range in the new spectrum indicates that the frequency of the device to be calibrated after calibration is consistent with the expected target frequency.
[0062] If the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum is far from the first difference, then the second adjustment direction is taken as the target adjustment direction, and the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the second adjustment direction. The above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0063] For example, since the frequency corresponding to the amplitude peak in the preset frequency range in the spectrum obtained in the above manner is the absolute value of the difference between the actual frequency of the device to be calibrated and the specified frequency, when the absolute value of the difference between the actual frequency of the device to be calibrated and the expected target frequency decreases, the amplitude peak in the preset frequency range in the spectrum obtained in the above manner will approach the first difference.
[0064] Furthermore, considering that the actual frequency of the device to be calibrated may be greater than or less than the target frequency, increasing (or decreasing) the frequency of the device to be calibrated may result in a larger absolute value of the difference between the frequency of the device to be calibrated and the target frequency, or it may result in a smaller absolute value of the difference between the frequency of the device to be calibrated and the target frequency.
[0065] Accordingly, the frequency of the single carrier transmitted by the device to be calibrated can be adjusted, and the direction of the movement of the amplitude peak within the preset frequency range in the spectrum obtained in the above manner can be used to determine whether the current frequency adjustment direction is the direction that makes the actual frequency of the device to be calibrated closer to the target frequency.
[0066] The direction of the amplitude peak shift can include the corresponding frequency moving closer to or further away from the first difference.
[0067] For example, if the frequency corresponding to the amplitude peak within the preset frequency range in the spectrum is close to the first difference, the frequency adjustment direction can be considered as the direction that makes the actual frequency of the device to be calibrated closer to the target frequency (this adjustment direction can be called the target adjustment direction).
[0068] For example, the frequency of the single carrier transmitted by the device to be calibrated can be adjusted according to the first adjustment direction, and the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing can be performed to obtain a new spectrum.
[0069] If the frequency corresponding to the amplitude peak in the preset frequency range in the new spectrum is close to the first difference, and the amplitude peak in the preset frequency range in the new spectrum indicates that the frequency of the device to be calibrated after calibration is inconsistent with the expected target frequency, then the first adjustment direction is taken as the target adjustment direction, and the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the first adjustment direction. The above downmixing process, signal conversion process, and Fourier transform process are performed until the amplitude peak in the preset frequency range in the new spectrum indicates that the frequency of the device to be calibrated after calibration is consistent with the expected target frequency.
[0070] If the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum is far from the first difference, then the second adjustment direction is taken as the target adjustment direction, and the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the second adjustment direction. The above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0071] For example, when adjusting the frequency of a single carrier transmitted by the device to be calibrated with the second adjustment direction as the target adjustment direction, the frequency of the single carrier transmitted by the device to be calibrated can be adjusted once or multiple times according to the second adjustment direction. Each time the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the second adjustment direction, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing can be performed until the amplitude peak value within the preset frequency range in the obtained new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. The specific processing flowchart can be found in [reference needed]. Figure 2 .
[0072] like Figure 2 As shown, the amplitude peaks within the preset frequency range in the spectrum obtained in step S110 indicate that the current frequency of the device to be calibrated is inconsistent with the expected target frequency.
[0073] 2.1 Adjust the frequency of the single carrier transmitted by the device to be calibrated according to the first adjustment direction, and perform the above downmixing, signal conversion, and Fourier transform processing to obtain a new spectrum.
[0074] 2.2 For the new spectrum obtained, the amplitude peaks within the preset frequency range in the new spectrum can be determined to indicate whether the current frequency of the device to be calibrated is consistent with the expected target frequency.
[0075] If the amplitude peak value within the preset frequency range in the new spectrum indicates that the current frequency of the device to be calibrated is consistent with the expected target frequency, the frequency offset calibration can be determined to be complete; if the amplitude peak value within the preset frequency range in the new spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, proceed to 2.3.
[0076] 2.3 Determine whether the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum graph is close to the first difference (relative to the frequency corresponding to the amplitude peak within the preset frequency range in the previously obtained spectrum graph).
[0077] If the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum graph approaches the first difference, proceed to 2.4; if the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum graph is far from the first difference, proceed to 2.6.
[0078] 2.4 Continue to adjust the frequency of the single carrier transmitted by the device to be calibrated in the first adjustment direction, and perform the above downmixing, signal conversion, and Fourier transform processing to obtain a new spectrum.
[0079] 2.5. Determine whether the peak amplitude within the preset frequency range in the new spectrum indicates whether the current frequency of the device to be calibrated is consistent with the expected target frequency; if consistent, determine that the frequency offset calibration is complete; otherwise, proceed to 2.4.
[0080] 2.6 Adjust the frequency of the single carrier transmitted by the device to be calibrated according to the second adjustment direction, and perform the above downmixing, signal conversion, and Fourier transform processing to obtain a new spectrum.
[0081] 2.7 Determine whether the peak amplitude within the preset frequency range in the new spectrum indicates whether the current frequency of the device to be calibrated is consistent with the expected target frequency; if consistent, determine that the frequency offset calibration is complete; otherwise, proceed to 2.6.
[0082] For example, assuming a specified frequency F0 = F (i.e., the expected target frequency), and a preset frequency range of [0, B], the frequency corresponding to the peak amplitude within the preset frequency range is the absolute value of the difference between the actual frequency of the device to be calibrated and the specified frequency. A schematic diagram can be shown as follows: Figure 3B As shown.
[0083] In this example, if the frequency corresponding to the peak amplitude within the preset frequency range is the same as 0, the frequency offset calibration of the device to be calibrated can be considered complete.
[0084] Accordingly, the accuracy of the frequency adjustment direction can be determined by increasing or decreasing the actual frequency of the device to be calibrated and by determining whether the frequency corresponding to the peak value within the preset frequency range in the new spectrum is close to or far from 0. Then, the frequency of the device to be calibrated can be adjusted according to the accurate frequency adjustment direction (i.e. the target frequency adjustment direction mentioned above) until the frequency corresponding to the peak value within the preset frequency range in the new spectrum is consistent with 0.
[0085] It should be noted that, in the embodiments of this application, if the amplitude peak in the preset frequency range of the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, and if the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the first adjustment direction, and the frequency corresponding to the amplitude peak in the preset frequency range of the new spectrum does not change, it can be considered that there is an anomaly, and an alarm message can be output for manual intervention. The specific implementation is not limited here.
[0086] In one example, the first adjustment direction is to decrease the frequency, and the second adjustment direction is to increase the frequency. That is, the frequency of the single carrier transmitted by the device to be calibrated can be decreased first, and the frequency corresponding to the amplitude peak within the preset frequency range in the spectrum can be used to determine whether the adjustment direction needs to be changed.
[0087] In another example, the first adjustment direction is to increase the frequency, and the second adjustment direction is to decrease the frequency. That is, the frequency of the single carrier transmitted by the device to be calibrated can be increased first, and the frequency corresponding to the amplitude peak within the preset frequency range in the spectrum is determined to be close to or far from the first difference value to determine whether the adjustment direction needs to be changed.
[0088] It should be noted that, in the embodiments of this application, when the frequency diagram is obtained in accordance with the method described in steps S100 to S110, and the amplitude peak in the preset frequency range of the spectrum diagram indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, it is also possible to first determine whether the actual frequency of the device to be calibrated is higher or lower than the expected target frequency by adjusting the frequency of the second single carrier sent by the signal source. Then, the correct adjustment direction of the device to be calibrated can be determined. Then, based on the determined correct adjustment direction, frequency offset calibration is performed on the device to be calibrated. The specific implementation is not described here.
[0089] In some embodiments, the specified frequency F0 is located at (0, FB), where F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (FB-F0, F+B-F0).
[0090] The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device matches the expected target frequency, and may include:
[0091] The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F-F0;
[0092] The above-mentioned frequency offset calibration of the equipment to be calibrated until the calibration completion conditions are met may include:
[0093] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F-F0, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes mentioned above until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0094] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F-F0, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes mentioned above until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0095] For example, when the specified frequency F0 is at (0, FB), that is, F0 < FB, the preset frequency range can be (FB-F0, F+B-F0). The amplitude peak within the preset frequency range indicates that the frequency of the device to be calibrated after calibration is consistent with the expected target frequency. This can include: the frequency corresponding to the amplitude peak within the preset frequency range is consistent with F-F0.
[0096] If the frequency corresponding to the amplitude peak within the preset frequency range in the spectrum is greater than F-F0, it indicates that the current frequency of the device to be calibrated exceeds the expected target frequency. In this case, the frequency of the single carrier transmitted by the device to be calibrated can be reduced, and the aforementioned downmixing, signal conversion, and Fourier transform processes can be performed until a new amplitude peak within the preset frequency range in the spectrum is obtained, indicating that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. A schematic diagram can be shown as follows: Figure 3C As shown.
[0097] If the frequency corresponding to the amplitude peak within the preset frequency range in the spectrum is less than F-F0, it indicates that the current frequency of the device to be calibrated is lower than the expected target frequency. In this case, the frequency of the single carrier transmitted by the device to be calibrated can be increased, and the aforementioned downmixing, signal conversion, and Fourier transform processes can be performed until a new spectrum is obtained. If the amplitude peak within the preset frequency range in the spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, the spectrum diagram can be shown as follows. Figure 3D As shown.
[0098] In some embodiments, the specified frequency F0 is located at (F+B, ∞), where F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (F0-FB, F0-F+B).
[0099] The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device under test is consistent with the expected target frequency, including:
[0100] The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F0-F;
[0101] The above-mentioned frequency offset calibration of the device to be calibrated until the calibration completion conditions are met includes:
[0102] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F0-F, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes mentioned above until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0103] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F0-F, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the aforementioned downmixing, signal conversion, and Fourier transform processing until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. The spectrum diagram can be shown as follows: Figure 3E As shown.
[0104] For example, when the specified frequency F0 is at (F+B, ∞), i.e., F0 > FB, the preset frequency range can be (F0-FB, F0-F+B). The amplitude peak within the preset frequency range indicates that the frequency of the device to be calibrated after calibration is consistent with the expected target frequency. This can include: the frequency corresponding to the amplitude peak within the preset frequency range is consistent with F0-F, and its spectrum diagram can be as follows. Figure 3F As shown.
[0105] To enable those skilled in the art to better understand the technical solutions provided in the embodiments of this application, the technical solutions provided in the embodiments of this application are described below with reference to specific examples.
[0106] Please see Figure 3A This is a schematic diagram illustrating the implementation principle architecture of frequency offset calibration provided in an embodiment of this application. Figure 3A As shown, it may include the device being calibrated (which may be called the DUT), a signal source, a mixer, a filter, an ADC, and a processor. Wherein:
[0107] Assume the actual frequency of the device to be calibrated is F+X. Here, F is the expected target frequency, i.e., the target frequency that frequency offset calibration needs to achieve; X is the frequency offset, which can be positive or negative. When X is positive, it indicates that the actual frequency of the DUT is higher than the target frequency; when X is negative, it indicates that the actual frequency of the DUT is lower than the target frequency. When the DUT has not been calibrated, the value of X is unknown, but |X|≤B (i.e., the upper limit of the offset mentioned above), where B is a known quantity.
[0108] During frequency offset calibration, the DUT first emits a single carrier at frequency F+X (i.e., the first single carrier mentioned above, such as a sine wave), and the signal source emits a single carrier at frequency F (i.e., taking a specified frequency F0 = F as an example) (i.e., the second single carrier mentioned above). A mixer down-mixes the first and second single carriers. The signal output from the mixer is filtered to remove unwanted high-frequency components. The ADC samples and quantizes the filtered signal, converting it into a corresponding digital signal. The processor performs a Fast Fourier Transform on the data output from the ADC, and the result can be plotted as... Figure 3B The spectrum diagram shown is illustrated. The vertical axis represents amplitude, and the horizontal axis represents frequency.
[0109] exist Figure 3B In the spectrum diagram shown, two amplitude peaks can be found within the frequency range of 0 to B. The first peak is fixed at frequency 0, which is the DC component. The second amplitude peak is at frequency |X|. First, assuming X is positive, modify the DUT's frequency offset configuration parameters to decrease the frequency (i.e., the first adjustment direction is to decrease the frequency). Repeat the above steps to obtain a new spectrum diagram. If the second amplitude peak in the spectrum diagram moves to the left, it means the assumption is correct and X is positive. Continue modifying the DUT's frequency offset configuration parameters, continuously decreasing the frequency, until the second amplitude peak is sufficiently close to 0 frequency, and the frequency offset calibration is complete. If, after decreasing the DUT frequency, the second amplitude peak moves to the right, it means X is negative, and the DUT's frequency offset configuration parameters need to be modified to increase the frequency, until the second amplitude peak is sufficiently close to 0 frequency, and the frequency offset calibration is complete.
[0110] It should be noted that the degree to which the second amplitude peak needs to be close to 0 frequency depends on the frequency accuracy requirements of different products. The closer the second amplitude peak is to 0 frequency, the higher the calibration accuracy.
[0111] The implementation process of the frequency offset calibration procedure can be as follows: Figure 4 As shown.
[0112] The method provided in this application has been described above. The apparatus provided in this application is described below:
[0113] Please see Figure 5 This is a schematic diagram of the structure of a frequency offset calibration device provided in an embodiment of this application, as shown below. Figure 5As shown, the frequency offset calibration device may include:
[0114] The mixing unit 510 is used to perform down-mixing processing on the first single carrier emitted by the device to be calibrated at the current frequency and the second single carrier emitted by the signal source at the specified frequency to obtain a mixed output signal.
[0115] The processing unit 520 is used to convert the mixing output signal into a digital signal and perform a Fourier transform on the obtained digital signal to obtain the corresponding spectrum.
[0116] The calibration unit 530 is used to perform frequency offset calibration on the device to be calibrated when the amplitude peak value within a preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, until the calibration completion condition is met; wherein, the calibration completion condition includes: based on the calibrated frequency of the device to be calibrated, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed, and the amplitude peak value within the preset frequency range in the spectrum obtained by the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0117] In some embodiments, the specified frequency F0 is in [FB, F+B], where F is the expected target frequency and B is the upper limit of frequency offset; the preset frequency range is [0, 2B].
[0118] The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including:
[0119] The frequency corresponding to the peak amplitude within the preset frequency range is consistent with the first difference; wherein, the first difference is the absolute value of the difference between the specified frequency and the expected target frequency;
[0120] The calibration unit 530 performs frequency offset calibration on the device to be calibrated until the calibration completion conditions are met, including:
[0121] The frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the first adjustment direction, and the mixing unit and the processing unit are controlled to perform the downmixing process, signal conversion process, and Fourier transform process to obtain a new spectrum.
[0122] If the frequency corresponding to the amplitude peak in the preset frequency range in the new spectrum graph approaches the first difference, and the amplitude peak in the preset frequency range in the new spectrum graph indicates that the frequency of the device to be calibrated after calibration is inconsistent with the expected target frequency, then the first adjustment direction is taken as the target adjustment direction, and the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the first adjustment direction. The above downmixing processing, signal conversion processing, and Fourier transform processing are performed until the amplitude peak in the preset frequency range in the new spectrum graph indicates that the frequency of the device to be calibrated after calibration is consistent with the expected target frequency.
[0123] If the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum is far from the first difference, then the second adjustment direction is taken as the target adjustment direction, and the frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the second adjustment direction. The above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed until the amplitude peak within the preset frequency range in the obtained new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0124] In some embodiments, the first adjustment direction is to decrease the frequency, and the second adjustment direction is to increase the frequency;
[0125] or,
[0126] The first adjustment direction is to increase the frequency, and the second adjustment direction is to decrease the frequency.
[0127] In some embodiments, the specified frequency F0 is located at (0, FB), where F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (FB-F0, F+B-F0).
[0128] The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including:
[0129] The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F-F0;
[0130] The calibration unit 530 performs frequency offset calibration on the device to be calibrated until the calibration completion conditions are met, including:
[0131] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F-F0, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the above downmixing, signal conversion, and Fourier transform processing until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0132] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F-F0, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes described above, until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0133] In some embodiments, the specified frequency F0 is located at (F+B, ∞), where F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (F0-FB, F0-F+B).
[0134] The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including:
[0135] The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F0-F;
[0136] The calibration unit 530 performs frequency offset calibration on the device to be calibrated until the calibration completion conditions are met, including:
[0137] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F0-F, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes mentioned above until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0138] If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F0-F, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the above-mentioned downmixing, signal conversion, and Fourier transform processing until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
[0139] Please see Figure 6 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. The electronic device may include a processor 601 and a memory 602 storing machine-executable instructions. The processor 601 and the memory 602 can communicate via a system bus 603. Furthermore, by reading and executing the machine-executable instructions corresponding to the frequency offset calibration control logic in the memory 602, the processor 601 can execute the frequency offset calibration method described above.
[0140] The memory 602 mentioned in this document can be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, etc. For example, machine-readable storage media can be: RAM (Random Access Memory), volatile memory, non-volatile memory, flash memory, storage drives (such as hard disk drives), solid-state drives, any type of storage disk (such as optical discs, DVDs, etc.), or similar storage media, or combinations thereof.
[0141] In some embodiments, a machine-readable storage medium, such as Figure 6 The memory 602 in the machine-readable storage medium stores machine-executable instructions that, when executed by a processor, implement the frequency offset calibration method described above. For example, the machine-readable storage medium may be ROM, RAM, CD-ROM, magnetic tape, floppy disk, or optical data storage device.
[0142] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0143] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A frequency offset calibration method, characterized in that, include: The device to be calibrated emits a first single carrier at the current frequency, and the signal source emits a second single carrier at a specified frequency. These are then downmixed to obtain a mixed output signal. The mixed output signal is converted into a digital signal, and the obtained digital signal is subjected to a Fourier transform to obtain the corresponding spectrum. If the amplitude peak value within the preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, frequency offset calibration is performed on the device to be calibrated until the calibration completion condition is met. The calibration completion condition includes: based on the calibrated frequency of the device to be calibrated, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed, and the amplitude peak value within the preset frequency range in the spectrum obtained indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. When the specified frequency F0 is within [FB, F+B], where F is the expected target frequency and B is the upper limit of frequency offset; and the preset frequency range is [0, 2B], then... The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including: The frequency corresponding to the peak amplitude within the preset frequency range is consistent with the first difference; wherein, the first difference is the absolute value of the difference between the specified frequency and the expected target frequency; The step of performing frequency offset calibration on the device to be calibrated until the calibration completion conditions are met includes: Adjust the frequency of the single carrier transmitted by the device to be calibrated according to the first adjustment direction, and perform the above-mentioned downmixing, signal conversion, and Fourier transform processing to obtain a new spectrum. If the frequency corresponding to the amplitude peak in the preset frequency range in the new spectrum diagram approaches the first difference, and the amplitude peak in the preset frequency range in the new spectrum diagram indicates that the frequency of the device to be calibrated after calibration is inconsistent with the expected target frequency, then the frequency of the single carrier transmitted by the device to be calibrated is adjusted with the first adjustment direction as the target adjustment direction until the calibration completion condition is met. If the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum is far from the first difference, then the frequency of the single carrier transmitted by the device to be calibrated is adjusted with the second adjustment direction as the target adjustment direction until the calibration completion condition is met.
2. The method according to claim 1, characterized in that, The first adjustment direction is to decrease the frequency, and the second adjustment direction is to increase the frequency; or, The first adjustment direction is to increase the frequency, and the second adjustment direction is to decrease the frequency.
3. The method according to claim 1, characterized in that, The specified frequency F0 is located at (0, FB), where F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (FB-F0, F+B-F0). The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including: The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F-F0; The step of performing frequency offset calibration on the device to be calibrated until the calibration completion conditions are met includes: If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F-F0, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes described above, until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F-F0, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes described above, until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
4. The method according to claim 1, characterized in that, The specified frequency F0 is located at (F+B, ∞), where F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (F0-FB, F0-F+B). The peak amplitude within the preset frequency range This indicates that the frequency of the device to be calibrated after calibration is consistent with the expected target frequency, including: The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F0-F; The step of performing frequency offset calibration on the device to be calibrated until the calibration completion conditions are met includes: If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F0-F, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes mentioned above until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F0-F, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the above-mentioned downmixing, signal conversion, and Fourier transform processing until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
5. A frequency offset calibration device, characterized in that, include: The mixing unit is used to perform down-mixing processing on the first single carrier emitted by the device to be calibrated at the current frequency and the second single carrier emitted by the signal source at the specified frequency to obtain a mixed output signal. The processing unit is used to convert the mixed output signal into a digital signal and perform a Fourier transform on the obtained digital signal to obtain the corresponding spectrum. A calibration unit is configured to perform frequency offset calibration on the device to be calibrated when the amplitude peak value within a preset frequency range in the spectrum indicates that the current frequency of the device to be calibrated is inconsistent with the expected target frequency, until the calibration completion condition is met; wherein, the calibration completion condition includes: based on the calibrated frequency of the device to be calibrated, the above-mentioned downmixing processing, signal conversion processing, and Fourier transform processing are performed, and the amplitude peak value within the preset frequency range in the spectrum obtained by Fourier transform processing indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency; When the specified frequency F0 is within [FB, F+B], where F is the expected target frequency and B is the upper limit of frequency offset; and the preset frequency range is [0, 2B], then... The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including: The frequency corresponding to the peak amplitude within the preset frequency range is consistent with the first difference; wherein, the first difference is the absolute value of the difference between the specified frequency and the expected target frequency; The calibration unit performs frequency offset calibration on the device to be calibrated until the calibration completion conditions are met, including: The frequency of the single carrier transmitted by the device to be calibrated is adjusted according to the first adjustment direction, and the mixing unit and the processing unit are controlled to perform the downmixing process, signal conversion process, and Fourier transform process to obtain a new spectrum. If the frequency corresponding to the amplitude peak in the preset frequency range in the new spectrum diagram approaches the first difference, and the amplitude peak in the preset frequency range in the new spectrum diagram indicates that the frequency of the device to be calibrated after calibration is inconsistent with the expected target frequency, then the frequency of the single carrier transmitted by the device to be calibrated is adjusted with the first adjustment direction as the target adjustment direction until the calibration completion condition is met. If the frequency corresponding to the amplitude peak within the preset frequency range in the new spectrum is far from the first difference, then the frequency of the single carrier transmitted by the device to be calibrated is adjusted with the second adjustment direction as the target adjustment direction until the calibration completion condition is met.
6. The apparatus according to claim 5, characterized in that, The first adjustment direction is to decrease the frequency, and the second adjustment direction is to increase the frequency; or, The first adjustment direction is to increase the frequency, and the second adjustment direction is to decrease the frequency.
7. The apparatus according to claim 5, characterized in that, When the specified frequency F0 is in (0, FB), F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (FB- F0, F+B- F0); The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including: The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F-F0; The calibration unit performs frequency offset calibration on the device to be calibrated until the calibration completion conditions are met, including: If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F-F0, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes described above, until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F-F0, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes described above, until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. or, When the specified frequency F0 is at (F+B, ∞), F is the expected target frequency, B is the upper limit of frequency offset, and the preset frequency range is (F0-FB, F0-F+B); The peak amplitude within the preset frequency range indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency, including: The frequency corresponding to the peak amplitude within the preset frequency range is consistent with F0-F; The calibration unit performs frequency offset calibration on the device to be calibrated until the calibration completion conditions are met, including: If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is greater than F0-F, increase the frequency of the single carrier transmitted by the device to be calibrated, and perform the downmixing, signal conversion, and Fourier transform processes mentioned above until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency. If the frequency corresponding to the amplitude peak within the preset frequency range in the current spectrum is less than F0-F, reduce the frequency of the single carrier transmitted by the device to be calibrated, and perform the above-mentioned downmixing, signal conversion, and Fourier transform processing until the amplitude peak within the preset frequency range in the new spectrum indicates that the calibrated frequency of the device to be calibrated is consistent with the expected target frequency.
8. An electronic device, characterized in that, The method includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the method as described in any one of claims 1-4.
9. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions, which, when executed by a processor, implement the method described in any one of claims 1-4.
Citation Information
Patent Citations
Device and method for quickly calibrating frequency of crystal oscillator for communication equipment
CN114421977A
