Search

US-12621062-B2 - Method and apparatus for calibrating signal, communication device and storage medium

US12621062B2US 12621062 B2US12621062 B2US 12621062B2US-12621062-B2

Abstract

In a method for calibrating a signal, a calibration parameter corresponding to a signal having a preset bandwidth is obtained and a calibrated signal is obtained by calibrating, based on a frequency of a signal to be calibrated and the calibration parameter, the signal to be calibrated.

Inventors

  • Fan Yin
  • Wen Qiao
  • Yiwei Hong
  • Yu Dong

Assignees

  • Beijing X-Ring Technology Co., Ltd.

Dates

Publication Date
20260505
Application Date
20240131
Priority Date
20230703

Claims (14)

  1. 1 . A method for calibrating a signal, comprising: obtaining a calibration parameter corresponding to a signal having a preset bandwidth; determining a first frequency corresponding to the signal having the preset bandwidth, wherein the first frequency is used in performing a frequency conversion on the signal having the preset bandwidth; determining a first sampling rate corresponding to the signal having the preset bandwidth, wherein the first sampling rate is used for sampling a frequency-converted signal obtained by performing the frequency conversion on the signal having the preset bandwidth; and obtaining a calibrated signal by calibrating, using the calibration parameter, a frequency deviation between the first frequency and a frequency of a signal to be calibrated, the first sampling rate, and a second sampling rate, the signal to be calibrated, wherein the second sampling rate corresponds to the signal to be calibrated; wherein obtaining a calibrated signal by calibrating, using the calibration parameter, a frequency deviation between the first frequency and a frequency of a signal to be calibrated, the first sampling rate, and a second sampling rate, the signal to be calibrate comprises: obtaining an intermediate calibration parameter by adjusting, based on the frequency deviation and the first sampling rate, the calibration parameter; obtaining a target calibration parameter by adjusting, using the frequency deviation and the second sampling rate, the intermediate calibration parameter; and obtaining the calibrated signal by calibrating, using the target calibration parameter, the signal to be calibrated.
  2. 2 . The method of claim 1 , wherein the obtaining the calibration parameter corresponding to the signal having the preset bandwidth comprises: determining a first signal by performing a frequency conversion on the signal having the preset bandwidth; obtaining a first digital signal by sampling the first signal; and determining the calibration parameter based on the first digital signal and the signal having the preset bandwidth.
  3. 3 . The method of claim 2 , wherein the determining the first signal by performing the frequency conversion on the signal having the preset bandwidth comprises: obtaining a first sub-signal by performing the frequency conversion on the signal having the preset bandwidth; and obtaining the first signal by performing a frequency mixing operation on the first sub-signal.
  4. 4 . The method of claim 2 , wherein the performing the frequency conversion on the signal having the preset bandwidth comprises one of: performing, with the first frequency, an up conversion on the signal having the preset bandwidth, in response to the signal having the preset bandwidth being a transmitting signal; or performing, with the first frequency, a down conversion on the signal having the preset bandwidth, in response to the signal having the preset bandwidth being a receiving signal.
  5. 5 . The method of claim 1 , further comprising: obtaining a second signal, and obtaining a second sub-signal by performing a frequency conversion on the second signal; obtaining a second processed signal by performing a frequency mixing operation on the second sub-signal; and obtaining the signal to be calibrated by sampling the second processed signal at the second sampling rate, wherein the second signal has a bandwidth less than or equal to the preset bandwidth.
  6. 6 . The method of claim 5 , wherein the second signal satisfies a following condition: f 0 - BW cal / 2 ≤ f 1 ± BW / 2 ≤ f 0 + BW cal / 2 , wherein f1 denotes a frequency of the frequency conversion performed on the second signal, BW denotes a bandwidth of the second signal, f0 denotes a frequency of the frequency conversion performed on the signal having the preset bandwidth, and BW cal denotes the preset bandwidth.
  7. 7 . The method of claim 1 , wherein the preset bandwidth satisfies one of: the preset bandwidth comprising 400 Mhz; the preset bandwidth comprising 200 Mhz; the preset bandwidth being greater than or equal to 200 Mhz and less than or equal to 400 Mhz; or the preset bandwidth occupying an entire used frequency band.
  8. 8 . An electronic device, comprising a processor and a memory having instructions stored thereon, wherein when the instructions are executed by the processor, the processor is configured to: obtain a calibration parameter corresponding to a signal having a preset bandwidth; determine a first frequency corresponding to the signal having the preset bandwidth, wherein the first frequency is used in performing a frequency conversion on the signal having the preset bandwidth; determine a first sampling rate corresponding to the signal having the preset bandwidth, wherein the first sampling rate is used for sampling a frequency-converted signal obtained by performing the frequency conversion on the signal having the preset bandwidth; and obtain a calibrated signal by calibrating, using the calibration parameter, a frequency deviation between the first frequency and a frequency of the signal to be calibrated, the first sampling rate, and a second sampling rate, the signal to be calibrated; wherein the second sampling rate corresponds to the signal to be calibrated; and obtain an intermediate calibration parameter by adjusting, based on the frequency deviation and the first sampling rate, the calibration parameter; obtain a target calibration parameter by adjusting, using the frequency deviation and the second sampling rate, the intermediate calibration parameter; and obtain the calibrated signal by calibrating, using the target calibration parameter, the signal to be calibrated.
  9. 9 . The electronic device of claim 8 , wherein the processor is configured to: determine a first signal by performing a frequency conversion on the signal having the preset bandwidth; obtain a first digital signal by sampling the first signal; and determine the calibration parameter based on the first digital signal and the signal having the preset bandwidth.
  10. 10 . The electronic device of claim 9 , wherein the processor is configured to: obtain a first sub-signal by performing the frequency conversion on the signal having the preset bandwidth; and obtain the first signal by performing a frequency mixing operation on the first sub-signal.
  11. 11 . The electronic device of claim 9 , wherein the processor is configured to perform one of: performing, with the first frequency, an up conversion on the signal having the preset bandwidth, in response to the signal having the preset bandwidth being a transmitting signal; or performing, with the first frequency, a down conversion on the signal having the preset bandwidth, in response to the signal having the preset bandwidth being a receiving signal.
  12. 12 . The electronic device of claim 8 , wherein the processor is further configured to: obtain a second signal, and obtain a second sub-signal by performing a frequency conversion on the second signal; obtain a second processed signal by performing a frequency mixing operation on the second sub-signal; and obtain the signal to be calibrated by sampling the second processed signal at the second sampling rate, wherein the second signal has a bandwidth less than or equal to the preset bandwidth.
  13. 13 . The electronic device of claim 12 , wherein the second signal satisfies a following condition: f 0 - BW cal / 2 ≤ f 1 ± BW / 2 ≤ f 0 + BW cal / 2 , wherein f1 denotes a frequency of the frequency conversion performed on the second signal, BW denotes a bandwidth of the second signal, f0 denotes a frequency of the frequency conversion performed on the signal having the preset bandwidth, and BW cal denotes the preset bandwidth.
  14. 14 . A non-transitory computer-readable storage medium, having computer instructions stored thereon, wherein the computer instructions are configured to cause a computer to perform a method for calibrating a signal, wherein the method comprises: obtaining a calibration parameter corresponding to a signal having a preset bandwidth; and determining a first frequency corresponding to the signal having the preset bandwidth, wherein the first frequency is used in performing a frequency conversion on the signal having the preset bandwidth; determining a first sampling rate corresponding to the signal having the preset bandwidth, wherein the first sampling rate is used for sampling a frequency-converted signal obtained by performing the frequency conversion on the signal having the preset bandwidth; and obtaining a calibrated signal by calibrating, using the calibration parameter, a frequency deviation between the first frequency and a frequency of the signal to be calibrated, the first sampling rate, and a second sampling rate, the signal to be calibrated wherein the second sampling rate corresponds to the signal to be calibrated; wherein obtaining a calibrated signal by calibrating, using the calibration parameter, a frequency deviation between the first frequency and a frequency of the signal to be calibrated, the first sampling rate, and a second sampling rate, the signal to be calibrate comprises: obtaining an intermediate calibration parameter by adjusting, based on the frequency deviation and the first sampling rate, the calibration parameter; obtaining a target calibration parameter by adjusting, using the frequency deviation and the second sampling rate, the intermediate calibration parameter; and obtaining the calibrated signal by calibrating, using the target calibration parameter, the signal to be calibrated.

Description

CROSS REFERENCE TO RELATED APPLICATIONS This application claims priority and benefits to Chinese Application No. 202310809718.4, filed on Jul. 3, 2023, the entire content of which is incorporated herein by reference. TECHNICAL FIELD The disclosure relates to a wireless communication field, in particular to a method for calibrating a signal, an apparatus for calibrating a signal, a communication device, a storage medium, and a chip. BACKGROUND Transmission of a wideband signal in a radio frequency (RF) communication circuit may create an edge roll-off effect. When high-frequency components of a signal are attenuated, envelope broadening of the signal may lead to Inter Symbol Interference (ISI). There are many factors that may cause the ISI of signal, and the main factor is channel multipath effect. SUMMARY In a first aspect, embodiments of the disclosure provide a method for calibrating a signal. The method includes: generating a calibration parameter corresponding to a signal having a preset bandwidth; and obtaining a calibrated signal by calibrating, based on a frequency of the signal to be calibrated and the calibration parameter, a signal to be calibrated. In a second aspect, embodiments of the disclosure provide an electronic device. The electronic device includes a processor and a memory having instructions stored thereon. When the instructions are executed by the processor, the method of the embodiments of the first aspect is performed. In a third aspect, embodiments of the disclosure provide a non-transitory computer-readable storage medium, having computer instructions stored thereon. The computer instructions are configured to cause a computer to perform the method of the embodiments of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and, together with the description, serve to explain the principles of the disclosure and do not constitute an undue limit of this disclosure. FIG. 1 is a schematic diagram illustrating an equalization architecture according an embodiment of the disclosure. FIG. 2 is a flowchart illustrating a method for calibrating a signal according to an embodiment of the disclosure. FIG. 3 is a flowchart illustrating a method for calibrating a signal according to an embodiment of the disclosure. FIG. 4 is a schematic diagram illustrating an equalizer architecture according to an embodiment of the disclosure. FIG. 5 is a flowchart illustrating a method for calibrating a signal according to an embodiment of the disclosure. FIG. 6 is a flowchart illustrating a method for calibrating a signal according to an embodiment of the disclosure. FIG. 7 is a flowchart illustrating a method for calibrating a signal according to an embodiment of the disclosure. FIG. 8 is a flowchart illustrating a method for calibrating a signal according to an embodiment of the disclosure. FIG. 9 is a diagram illustrating a structure for performing a method for calibrating a signal according to an embodiment of the disclosure. FIG. 10 is a frequency domain diagram of an example of a method for calibrating a signal according to an embodiment of the disclosure. FIG. 11 is a block diagram illustrating an apparatus for calibrating a signal according to an embodiment of the disclosure. FIG. 12 is a schematic diagram illustrating an electronic device according to an embodiment of the disclosure. FIG. 13 is a schematic diagram illustrating a chip according to an embodiment of the disclosure. DETAILED DESCRIPTION Embodiments of the disclosure are described in detail below, examples of which are shown in the accompanying drawings, in which the same or similar numbers represent the same or similar elements or elements with the same or similar functions. Embodiments described below with reference to the drawings are intended to explain the disclosure, and should not be construed as limiting the disclosure. Embodiments of the disclosure are non-exhaustive, and are only illustrations of some embodiments, and do not serve as a specific limitation on the protection scope of the disclosure. Without contradiction, each step in a certain embodiment can be implemented as an independent embodiment, and the steps can be combined with each other arbitrarily. For example, the solution after removing some of the steps in a certain embodiment may also be implemented as an independent embodiment, and the order of steps in a certain embodiment may be exchanged arbitrarily. Moreover, the implementations in a certain embodiment may be combined arbitrarily. In addition, embodiments may be arbitrarily combined with each other. For example, some or all of the steps of different embodiments may be arbitrarily combined, and a certain embodiment may be arbitrarily combined with implementations of other embodiments. In each of embodiments of the disclosure, the terms and/or descriptions in embo