CN116015247A - Bandwidth calibration method and related device - Google Patents

Bandwidth calibration method and related device Download PDF

Info

Publication number
CN116015247A
CN116015247A CN202211730535.5A CN202211730535A CN116015247A CN 116015247 A CN116015247 A CN 116015247A CN 202211730535 A CN202211730535 A CN 202211730535A CN 116015247 A CN116015247 A CN 116015247A
Authority
CN
China
Prior art keywords
frequency
preset
calibrated
digital signal
analog signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211730535.5A
Other languages
Chinese (zh)
Inventor
聂礼通
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui Lingsi Intelligent Technology Co ltd
Original Assignee
Anhui Lingsi Intelligent 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 Anhui Lingsi Intelligent Technology Co ltd filed Critical Anhui Lingsi Intelligent Technology Co ltd
Priority to CN202211730535.5A priority Critical patent/CN116015247A/en
Publication of CN116015247A publication Critical patent/CN116015247A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Networks Using Active Elements (AREA)

Abstract

The application provides a bandwidth calibration method and a related device, wherein the method is applied to an active analog baseband filter, and comprises the following steps: reading a standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; obtaining corresponding reference data based on a digital signal corresponding to a preset first frequency; reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency; obtaining corresponding data to be calibrated based on a digital signal corresponding to a preset second frequency; obtaining a deviation result based on the reference data and the data to be calibrated; based on the deviation result, the bandwidth of the filter to be calibrated is calibrated. The method can directly multiplex the existing circuit of the communication channel, does not need to additionally design and add a new circuit, greatly reduces the complexity of the circuit and saves the area of the circuit.

Description

Bandwidth calibration method and related device
Technical Field
The present disclosure relates to the field of filter technologies, and in particular, to a bandwidth calibration method and a related device.
Background
The analog baseband filter is a device for filtering out-of-band spurious and anti-interference aliases in a communication system, and the performance of the analog baseband filter directly determines the signal quality of the communication system. Bandwidth is a major indicator affecting the performance of analog baseband filters, and it is therefore important to design analog baseband filters with high precision bandwidth. However, in the production and processing process, the capacitance and the resistance in the analog baseband filter are affected by factors such as the manufacturing process, the power supply voltage, the ambient temperature and the like, so that the resistance value and the capacitance value deviate from ideal values, the bandwidth of the analog baseband filter is affected, the performance of the analog baseband filter is affected, and the analog baseband filter cannot work normally. It is therefore necessary to calibrate the resistance and capacitance values and thus the analog baseband filter bandwidth.
In the prior art, two bandwidth calibration modes of a common analog baseband filter are included, one is to construct a resistor-capacitor array with the same size or proportion so as to construct a ring oscillator, and bandwidth calibration is realized through the mapping relation between the ring oscillator and the resistor-capacitor array of the actual analog baseband filter; the other is based on a phase-locked loop structure, and the bandwidth calibration is realized by comparing two paths of output signals of in-phase (I) and quadrature (Q) and adjusting and iterating a capacitor array or a resistor array according to the comparison result.
Current bandwidth calibration schemes for analog baseband filters all require additional hardware for calibration.
Disclosure of Invention
Based on the above problems, the present application provides a bandwidth calibration method and related device. The bandwidth calibration of the analog baseband filter can be achieved without the need for additional circuitry.
The embodiment of the application discloses the following technical scheme:
in a first aspect, the present application provides a bandwidth calibration method, which is characterized in that the method includes:
reading a standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; the standard value is a preset binary value;
obtaining corresponding reference data based on the digital signal corresponding to the preset first frequency;
reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency;
obtaining corresponding data to be calibrated based on the digital signal corresponding to the preset second frequency;
obtaining a deviation result based on the reference data and the data to be calibrated;
based on the deviation result, the bandwidth of the filter to be calibrated is calibrated.
Optionally, the obtaining the corresponding reference data based on the digital signal corresponding to the preset first frequency includes:
converting the digital signal corresponding to the preset first frequency into a corresponding first current analog signal;
converting the first current analog signal into a corresponding first voltage analog signal;
amplifying the first voltage analog signal by a preset multiple to obtain an amplified first voltage analog signal;
converting the amplified voltage analog signal into a first digital signal corresponding to the amplified first voltage analog signal;
and measuring the first digital signal to obtain corresponding reference data.
Optionally, the reference data includes: the power of the first digital signal or the energy of the second digital signal.
Optionally, the obtaining the corresponding data to be calibrated based on the digital signal corresponding to the preset second frequency includes:
converting the digital signal corresponding to the preset second frequency into a corresponding second current analog signal;
converting the second current analog signal into a corresponding second voltage analog signal;
amplifying the second voltage analog signal by a preset multiple to obtain an amplified second voltage analog signal;
converting the amplified second voltage analog signal into a second digital signal corresponding to the amplified second voltage analog signal;
and measuring the second digital signal to obtain corresponding data to be calibrated.
Optionally, the data to be calibrated includes: the power of the second digital signal or the energy of the second digital signal.
Optionally, the calibrating the bandwidth of the filter to be calibrated includes:
and adjusting the capacitance array of the filter to be calibrated to calibrate the bandwidth of the filter to be calibrated.
Optionally, the preset second frequency includes: the cut-off frequency of the filter to be calibrated;
the obtaining a deviation result based on the reference data and the data to be calibrated comprises:
and comparing half of the reference data with the data to be calibrated to obtain a deviation result.
In a second aspect, an embodiment of the present application provides a bandwidth calibration apparatus, where the apparatus includes:
the first frequency module is used for reading the standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; the standard value is a preset binary value;
the reference data module is used for obtaining corresponding reference data based on the digital signal corresponding to the preset first frequency;
the second frequency module is used for reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency;
the data module to be calibrated is used for obtaining corresponding data to be calibrated based on the digital signal corresponding to the preset second frequency;
the deviation result module is used for obtaining a deviation result based on the reference data and the data to be calibrated;
and the bandwidth calibration module is used for calibrating the bandwidth of the filter to be calibrated based on the deviation result.
Optionally, the reference data module is specifically configured to:
converting the digital signal corresponding to the preset first frequency into a corresponding first current analog signal;
converting the first current analog signal into a corresponding first voltage analog signal;
amplifying the first voltage analog signal by a preset multiple to obtain an amplified first voltage analog signal;
converting the amplified first voltage analog signal into a first digital signal corresponding to the amplified first voltage analog signal;
and measuring the first digital signal to obtain corresponding reference data.
Optionally, the data module to be calibrated is specifically configured to:
converting the digital signal corresponding to the preset second frequency into a corresponding second current analog signal;
converting the second current analog signal into a corresponding second voltage analog signal;
amplifying the second voltage analog signal by a preset multiple to obtain an amplified second voltage analog signal;
converting the amplified second voltage analog signal into a second digital signal corresponding to the amplified second voltage analog signal;
and measuring the second digital signal to obtain corresponding data to be calibrated. Optionally, the bandwidth calibration module is specifically configured to: and according to the deviation result, adjusting a capacitance array of the filter to be calibrated by using a dichotomy to calibrate the bandwidth of the filter to be calibrated.
Compared with the prior art, the application has the following beneficial effects: the bandwidth calibration of the analog baseband filter can be realized without additional design and adding new circuits by directly multiplexing the existing circuits of the communication channel, and the bandwidth calibration is directly performed based on the actual analog baseband filter, so that the accuracy of the bandwidth calibration is high. Therefore, the accuracy of bandwidth calibration is high, and meanwhile, no additional circuit is required to be added, so that the complexity of the circuit is greatly reduced, and the circuit area is saved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1A is a schematic frequency response diagram of a low-pass filter according to an embodiment of the present application;
fig. 1B is a schematic diagram of a frequency response of a band-pass filter according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an existing circuit of a current communication channel according to an embodiment of the present application;
fig. 3A is a flow chart of a bandwidth calibration method according to an embodiment of the present application;
FIG. 3B is a flowchart of a method for obtaining reference data according to an embodiment of the present disclosure;
FIG. 3C is a flowchart of a method for obtaining data to be calibrated according to an embodiment of the present application;
fig. 4 is a schematic diagram of a bandwidth calibration device according to an embodiment of the present application.
Detailed Description
As described above, the calibration modes of the analog baseband filter commonly used at present include two modes, the first mode is to build a ring oscillator by using a resistor-capacitor array with the same size or proportion, adjust the capacitor or the resistor array to make the power of the ring oscillator reach a set value, and then adjust the resistor-capacitor array of the analog baseband filter according to the mapping relation between the capacitor-resistor array and the analog baseband filter array in the ring oscillator, thereby realizing the bandwidth calibration of the analog baseband filter. According to the method, the resistor-capacitor array of the analog baseband filter is larger, so that the ring oscillator is constructed according to part of the resistor-capacitor array of the analog baseband filter to be calibrated, and the resistor-capacitor array of the analog baseband filter is adjusted in a mapping mode to realize bandwidth calibration. The premise of the method is that the deviation of the resistor-capacitor array of the analog baseband filter and the deviation of the ring oscillator are assumed to be consistent, but the deviation of the capacitor-resistor array of the analog baseband filter and the deviation of the ring oscillator are inconsistent due to irregular manufacturing errors caused by processing technology and other problems in the manufacturing process, so that the accuracy of bandwidth calibration is low.
The other is that waveforms with different clocks and different amplitudes are generated by a phase-locked loop and sent to the input end of an IQ module of the filter, and then the bandwidth adjustment is realized by adjusting a capacitor array or a resistor array of an analog baseband filter to enable the signal amplitudes of the two paths of output signals to be minimum through errors after the iteration of a comparator. According to the method, the clock circuit and the comparator are additionally added, so that the cost of the calibration mode is high, the accuracy of the comparator further influences the accuracy of bandwidth calibration of the analog baseband filter, and the larger the accuracy of the comparator is, the larger the space occupied by the comparator is, and therefore the comparator with higher accuracy cannot meet the requirement of saving the circuit area in practical situations.
The application provides a bandwidth calibration method, which comprises the following steps: reading a standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; obtaining corresponding reference data based on a digital signal corresponding to a preset first frequency; reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency; obtaining corresponding data to be calibrated based on a digital signal corresponding to a preset second frequency; obtaining a deviation result based on the reference data and the data to be calibrated; based on the deviation result, the bandwidth of the filter to be calibrated is calibrated. The method can directly multiplex the existing circuit of the communication channel, can realize the bandwidth calibration of the analog baseband filter without additional design and adding new circuits, and is directly based on the bandwidth calibration of the actual analog baseband filter, so the accuracy of the bandwidth calibration is high. Therefore, the bandwidth calibration method provided by the embodiment of the application does not need to add an extra circuit while ensuring high accuracy of bandwidth calibration, greatly reduces the complexity of the circuit and saves the circuit area.
In order to make the present application solution better understood by those skilled in the art, the following description will clearly and completely describe the technical solution in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
For convenience of description, the concept of the analog baseband filter according to the embodiments of the present application is described below:
the low pass filter will be described in detail below in conjunction with the frequency response diagram of the low pass filter shown in fig. 1A.
A Low-pass Filter (LPF) is a signal filtering device that is defined such that signals below a set threshold frequency pass normally, while signals above the set threshold frequency are blocked and attenuated. Only signals below a certain frequency are allowed to pass through the low-pass filter unattenuated, the frequency at the boundary of which is called the cut-off frequency (f c )。
Wherein the cut-off frequency f of the low-pass filter c The (cut-off frequency) in the low-pass filter means that when the amplitude of the input signal is kept unchanged, the frequency is changed so that the output signal is reduced to 0.707 times of the maximum value, and the frequency corresponding to the reduction of the output signal to the 3dB point is expressed by the frequency response characteristic, namely the cut-off frequency. It is a special frequency for explaining the frequency characteristic index, and a simple point refers to a frequency point corresponding to the case that the output frequency response amplitude of the filter is reduced by 3 dB.
The bandpass filter is described in detail below in conjunction with the frequency response diagram of the bandpass filter shown in fig. 1B.
A Band-pass Filter (BPF) is also a signal filtering device that allows waves of a specific frequency Band to pass while shielding other frequency bands. Signals between the lower and upper frequencies are allowed to pass through the band-pass filter unattenuated.
Wherein the lower limit frequency (f L ) Can be regarded as the cut-off frequency of the high pass filter, the upper limit frequency (f U ) Can be seen as the cut-off frequency of the low pass filter. The difference between the upper and lower frequencies is the bandwidth of the band-pass filter.
In the embodiment of the application, the bandwidth of the low-pass filter/band-pass filter is calibrated according to the frequency response curve of the low-pass filter/band-pass filter.
A bandwidth calibration method provided in the embodiments of the present application is described in detail below with reference to fig. 2-3C.
First, the existing circuit composition of the current communication channel will be described with reference to fig. 2, and the embodiment of the present application is based on the existing circuit of the current communication channel.
Wherein the digital storage unit 101 (Digital Memory Cell): a memory unit for pre-storing digital data, and can read the stored digital data per se according to a prescribed clock cycle. In the embodiment of the application, the pre-stored digital data can be configured through software.
Specifically, the digital storage unit 101 reads the digital data stored in itself according to a preset clock period, thereby generating a digital signal of a corresponding frequency.
Wherein the Direct Current Offset Cancellation (DCOC) module 102: the digital signal is converted into a current analog signal through the current array.
Further, the dc offset cancellation module 102 is configured to cancel the dc offset in the communication channel, and since the output of the mixer has a larger dc offset in the communication channel, the dynamic range of the circuit is seriously affected, and the device/circuit receiving the output of the mixer may not work properly, so that the dc offset needs to be cancelled.
Wherein, TIA module 103: for converting the received current analog signal into a voltage analog signal.
A transimpedance amplifier (TIA) is one of the amplifier types, which is determined by the type of input and output signals.
In the embodiment of the present application, the input is a current analog signal, i.e. the type of the input signal is a current, and the output is a voltage analog signal, i.e. the type of the output signal is a voltage.
Further, the TIA module has a specific bandwidth limitation, so the TIA module has a certain effect of filtering out-of-band noise, and the accuracy of the bandwidth calibration of the subsequent analog baseband filter is higher.
The filter 104 to be calibrated is an analog baseband filter (low-pass filter/band-pass filter) requiring bandwidth calibration in the embodiment of the present application.
Specifically, the filter 104 to be calibrated is configured to amplify the input voltage analog signal by a corresponding gain according to a preset gain, so as to improve the accuracy of the subsequent digital-to-analog converter 105 in detecting the power of the voltage analog signal.
Wherein an analog-to-digital converter (ADC) 105 is used to convert the received voltage analog signal into a digital signal in order to measure the power of the digital signal.
digital-to-Analog converters (ADCs) are a type of device for converting a continuous signal in Analog form into a discrete signal in digital form, which can be provided for measurement.
Based on the bandwidth calibration performed by the circuit shown in fig. 2, a bandwidth calibration method provided in the embodiment of the present application is described in detail below with reference to fig. 3A to 3C.
S310, the calibration device reads the standard value in a period corresponding to the preset first frequency to obtain a digital signal corresponding to the preset first frequency.
The standard value is a preset binary value and is set for generating a corresponding digital signal.
Specifically, corresponding standard values are set in corresponding positions within one period (T) according to the quantized waveform of the digital signal generated by the target. For example, selecting 4 cycle points in one cycle includes: 0. t/4, T/2, 3T/4 cycle points.
It is to be noted that,in the embodiment of the present application, 4 points in one period may be selected, or 8 points in one period may be selected, so long as 2 points in one period are selected N The number of points (N is an integer of 2 or more) is not particularly limited in the present application.
Wherein the standard value is determined based on the resolution or full scale of the dc offset cancellation module (DCOC module). In the embodiment of the present application, the DCOC module may be regarded as a digital-to-analog converter (DAC), so the resolution of the DCOC module is the resolution of the DAC.
Where the resolution or full scale number of bits of the DCOC module (DAC) depends on the number of binary bits that are allowed to input the maximum digital quantity signal. For ease of understanding, the following description will be given by taking the full scale of the DCOC module as an example, for example: the maximum digital signal that a certain DCOC module allows to input is 7 bits, then the full scale bit number of the DCOC module is 7 bits.
Specifically, the standard value is determined according to the resolution or full scale number of bits of the DCOC module, for example: the resolution or full scale bit number of a certain DCOC module is 7 bits (may also be referred to as 7 bits), then the standard value of the 0-cycle point may be preset to 0000000, where the value 0 of the 6 th bit (0 bit to 6 bit) represents positive and negative signs, and in this embodiment, the value 0 of the 6 th bit represents positive signs; the standard value of the 1/4 cycle point is 0111111; the standard value of the 1/2 cycle point is 1000000; the standard value for the 3/4 cycle point is 1111111.
Wherein the first frequency is determined according to the performance of the baseband analog filter to be calibrated.
Specifically, the first frequency is far smaller than the cut-off frequency, so that the signal with the first frequency is guaranteed not to be attenuated or filtered by the analog baseband filter to be calibrated, and is necessarily the frequency signal allowed to pass by the filter to be calibrated.
Specifically, the digital signal corresponding to the preset first frequency is obtained by periodically reading the standard value through the system clock.
Wherein the period corresponding to the preset first frequency is obtained according to the formula T (period) =1/f (frequency).
S320, the calibration device obtains corresponding reference data based on the digital signal corresponding to the preset first frequency.
For ease of understanding, step 320 is described in detail below in conjunction with FIG. 3B.
S321, the calibration device converts a digital signal corresponding to a preset first frequency into a corresponding first current analog signal.
Specifically, the dc offset cancellation module 102 converts the input digital signal into a corresponding first current analog signal through the current array of the dc offset cancellation module 102.
S322, the calibration device converts the first current analog signal into a corresponding first voltage analog signal.
Specifically, the TIA module 103 obtains a corresponding first voltage analog signal according to the input first current analog signal and a preset resistance value (a preset resistance value of the transimpedance amplifier) of the TIA module.
S323, amplifying the first voltage analog signal by a preset multiple by the calibration device to obtain an amplified first voltage analog signal.
Specifically, the filter 104 to be calibrated amplifies the first voltage analog signal according to a preset fixed gain according to the input first voltage analog signal, so as to obtain a first voltage analog signal corresponding to a preset amplification multiple.
The preset fixed gain of the filter 104 to be calibrated and the preset resistance of the TIA module 103 are determined according to the full scale of the analog-to-digital converter 105 and the full scale of the dc offset cancellation module 102.
Specifically, according to the fact that the full scale of the analog-to-digital converter 105 is the target size of the voltage analog signal, since the full scale of the analog-to-digital converter 105 represents the largest analog signal that can be converted by the analog-to-digital converter 105, the full scale of the analog-to-digital converter 105 is used as the target size of the voltage analog signal, so that it is ensured that the voltage analog signal output by the filter 104 to be verified can be processed by the analog-to-digital converter 105 no matter how the bandwidth of the filter 104 to be verified is affected by the manufacturing process, the power supply voltage and the ambient temperature.
S324, the calibration device converts the amplified first voltage analog signal into a first digital signal corresponding to the amplified first voltage analog signal.
Specifically, the analog-to-digital converter 105 converts the input amplified first voltage analog signal into a corresponding first digital signal according to the input amplified first voltage analog signal.
S325, the calibration device measures the corresponding first digital signal to obtain reference data.
Specifically, the calibration device measures the power of the corresponding first digital signal, and uses the power of the first digital signal as the reference data.
In the embodiment of the present application, the power of the first digital signal is taken as the reference data as an example, but the waveform energy of the first digital signal may be taken as the reference data, and the present application is not limited thereto.
S330, the calibration device reads the standard value in a period corresponding to the preset second frequency to obtain a digital signal corresponding to the preset second frequency.
Specifically, the preset second frequency is the cut-off frequency of the filter to be calibrated 104, that is, the frequency corresponding to the output signal of the filter to be calibrated 104 reduced to the 3dB point is the cut-off frequency.
It should be noted that the preset second frequency may be a cut-off frequency of the filter to be calibrated, or may be a frequency corresponding to other bandwidths, which may be determined according to an actual situation, and the application is not limited specifically.
And S340, the calibration device obtains data to be calibrated based on the digital signal corresponding to the preset second frequency.
Specifically, step 340 is described in detail in conjunction with FIG. 3C.
For ease of understanding, step 320 is described in detail below in conjunction with FIG. 3B.
S341, the calibration device converts the digital signal corresponding to the preset second frequency into a corresponding second current analog signal.
S342, the calibration device converts the second current analog signal into a corresponding second voltage analog signal.
S343, the calibration device amplifies the second voltage analog signal by a preset multiple to obtain an amplified second voltage analog signal.
S344, the calibration device converts the amplified second voltage analog signal into a second digital signal corresponding to the amplified second voltage analog signal.
S345, the calibration device measures the corresponding second digital signal to obtain data to be calibrated.
Specifically, the calibration device measures the power of the corresponding second digital signal, and uses the power of the second digital signal as the data to be calibrated.
In the embodiment of the present application, the power of the second digital signal is taken as the data to be calibrated as an example, and in addition, the waveform energy of the second digital signal may be taken as the data to be calibrated, which is not specifically limited in the present application.
S350, the calibration device obtains a deviation result based on the reference data and the data to be calibrated.
For ease of understanding, step 350 is described taking the preset second frequency as the cut-off frequency of the filter to be calibrated (which may also be referred to as the 3dB bandwidth frequency of the filter to be calibrated).
From the principle of the analog baseband filter described above, 3 db=10×log 10 (reference data/data to be calibrated), namely, when the obtained data to be calibrated is reduced by half relative to the reference data, the corresponding filter to be calibrated is positioned at a position with 3dB bandwidth. The change of the bandwidth of the filter to be calibrated is characterized by the reduction of power (energy), thereby achieving the purpose of calibration.
Specifically, the data to be calibrated is compared with half of the reference data, so that a comparison result of the data to be calibrated and half of the reference data is obtained, and the comparison result is a deviation result. If the deviation result is 0, it indicates that the data to be calibrated is half of the reference data (also can be said that the reference data is twice of the data to be calibrated), and it is determined that the bandwidth of the filter to be calibrated does not need to be calibrated; and if the deviation result is not 0, calibrating the bandwidth of the filter to be calibrated.
And S360, the calibration device calibrates the bandwidth of the filter to be calibrated based on the deviation result.
Specifically, the capacitance array Ctuner < N:0> of the filter to be calibrated is calibrated, that is, the bandwidth of the filter to be calibrated is adjusted by using a dichotomy, so that the deviation result is 0, and the bandwidth calibration of the filter to be calibrated is completed.
Specifically, for convenience of understanding, the preset second frequency is taken as an example of the cutoff frequency. The deviation result is made to be 0, and it is actually made that the data to be calibrated at this time is half of the reference data. And when the deviation result is 0, writing the corresponding adjusted size of the capacitor array into a corresponding control register, and completing the bandwidth calibration of the filter to be calibrated.
The embodiment of the application provides a bandwidth calibration method, which comprises the following steps: reading a standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; obtaining corresponding reference data based on a digital signal corresponding to a preset first frequency; reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency; obtaining corresponding data to be calibrated based on a digital signal corresponding to a preset second frequency; obtaining a deviation result based on the reference data and the data to be calibrated; based on the deviation result, the bandwidth of the filter to be calibrated is calibrated. The method can directly multiplex the existing circuit of the communication channel, can realize the bandwidth calibration of the analog baseband filter without additional design and adding new circuits, and is directly based on the bandwidth calibration of the actual analog baseband filter, so the accuracy of the bandwidth calibration is high. Therefore, the bandwidth calibration method provided by the embodiment of the application does not need to add an extra circuit while ensuring high accuracy of bandwidth calibration, greatly reduces the complexity of the circuit and saves the circuit area.
A bandwidth calibration device provided in an embodiment of the present application is described in detail below with reference to fig. 4.
The first frequency module 410 is configured to read a standard value in a period corresponding to a preset first frequency, so as to obtain a digital signal corresponding to the preset first frequency;
the reference data module 420 is configured to obtain corresponding reference data based on a digital signal corresponding to a preset first frequency;
the second frequency module 430 is configured to read the standard value in a period corresponding to a preset second frequency, so as to obtain a digital signal corresponding to the preset second frequency;
the data to be calibrated module 440 is configured to obtain corresponding data to be calibrated based on a digital signal corresponding to a preset second frequency;
the deviation result module 450 is configured to obtain a deviation result based on the reference data and the data to be calibrated;
the bandwidth calibration module 460 is configured to calibrate the bandwidth of the filter to be calibrated according to the deviation result.
Further, the reference data module 420 is specifically configured to:
converting a digital signal corresponding to a preset first frequency into a corresponding first current analog signal; converting the first current analog signal into a corresponding first voltage analog signal; amplifying the first voltage analog signal by a preset multiple to obtain an amplified first voltage analog signal; converting the amplified first voltage analog signal into a corresponding first digital signal; and measuring the corresponding first digital signal to obtain corresponding reference data.
Further, the data module to be calibrated 440 is specifically configured to:
converting the digital signal corresponding to the preset second frequency into a corresponding second current analog signal; converting the second current analog signal into a corresponding second voltage analog signal; amplifying the second voltage analog signal by a preset multiple to obtain an amplified second voltage analog signal; converting the amplified second voltage analog signal into a corresponding second digital signal; and measuring the corresponding second digital signal to obtain corresponding data to be calibrated.
The bandwidth calibration module 460 is specifically configured to:
and according to the deviation result, adjusting the capacitance array of the filter to be calibrated by using a dichotomy to calibrate the bandwidth of the filter to be calibrated.
When the preset frequency is the cut-off frequency of the filter to be calibrated, the deviation result module is specifically configured to: and comparing half of the reference data with the data to be calibrated to obtain a deviation result.
The embodiment of the application provides a bandwidth calibration device, which comprises: the first frequency module 410 is configured to read a standard value in a period corresponding to a preset first frequency, so as to obtain a digital signal corresponding to the preset first frequency; the reference data module 420 is configured to obtain corresponding reference data based on a digital signal corresponding to a preset first frequency; the second frequency module 430 is configured to read the standard value in a period corresponding to a preset second frequency, so as to obtain a digital signal corresponding to the preset second frequency; the data to be calibrated module 440 is configured to obtain corresponding data to be calibrated based on a digital signal corresponding to a preset second frequency; the deviation result module 450 is configured to obtain a deviation result based on the reference data and the data to be calibrated; the bandwidth calibration module 460 is configured to calibrate the bandwidth of the filter to be calibrated according to the deviation result. By adopting the bandwidth calibration device, the bandwidth calibration of the analog baseband filter can be realized without additional design and adding a new circuit, and the bandwidth calibration is directly based on the bandwidth calibration of the actual analog baseband filter, so the accuracy of the bandwidth calibration is high.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment is mainly described in a different point from other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, with reference to the description of the method embodiments in part. The above-described apparatus and system embodiments are merely illustrative, in which elements illustrated as separate elements may or may not be physically separate, and elements illustrated as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is merely one specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of bandwidth calibration, the method comprising:
reading a standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; the standard value is a preset finite value representing a physical quantity;
obtaining corresponding reference data based on the digital signal corresponding to the preset first frequency;
reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency;
obtaining corresponding data to be calibrated based on the digital signal corresponding to the preset second frequency;
obtaining a deviation result based on the reference data and the data to be calibrated;
based on the deviation result, the bandwidth of the filter to be calibrated is calibrated.
2. The method of claim 1, wherein obtaining corresponding reference data based on the digital signal corresponding to the preset first frequency comprises:
converting the digital signal corresponding to the preset first frequency into a corresponding first current analog signal;
converting the first current analog signal into a corresponding first voltage analog signal;
amplifying the first voltage analog signal by a preset multiple to obtain an amplified first voltage analog signal;
converting the amplified first voltage analog signal into a first digital signal corresponding to the amplified first voltage analog signal;
and measuring the first digital signal to obtain corresponding reference data.
3. The method of claim 2, wherein the reference data comprises: the power of the first digital signal or the energy of the first digital signal.
4. The method of claim 1, wherein obtaining the corresponding data to be calibrated based on the digital signal corresponding to the preset second frequency comprises:
converting the digital signal corresponding to the preset second frequency into a corresponding second current analog signal;
converting the second current analog signal into a corresponding second voltage analog signal;
amplifying the second voltage analog signal by a preset multiple to obtain an amplified second voltage analog signal;
converting the amplified second voltage analog signal into a second digital signal corresponding to the amplified second voltage analog signal;
and measuring the second digital signal to obtain corresponding data to be calibrated.
5. The method of claim 4, wherein the data to be calibrated comprises: the power of the second digital signal or the energy of the second digital signal.
6. The method of claim 1, wherein calibrating the bandwidth of the filter to be calibrated comprises:
and adjusting the capacitance array of the filter to be calibrated to calibrate the bandwidth of the filter to be calibrated.
7. The method of claim 1, wherein the predetermined second frequency comprises: the cut-off frequency of the filter to be calibrated;
the obtaining a deviation result based on the reference data and the data to be calibrated comprises:
and comparing half of the reference data with the data to be calibrated to obtain a deviation result.
8. A bandwidth calibration apparatus, the apparatus comprising:
the first frequency module is used for reading the standard value in a period corresponding to a preset first frequency to obtain a digital signal corresponding to the preset first frequency; the standard value is a preset binary value;
the reference data module is used for obtaining corresponding reference data based on the digital signal corresponding to the preset first frequency;
the second frequency module is used for reading the standard value in a period corresponding to a preset second frequency to obtain a digital signal corresponding to the preset second frequency;
the data module to be calibrated is used for obtaining corresponding data to be calibrated based on the digital signal corresponding to the preset second frequency;
the deviation result module is used for obtaining a deviation result based on the reference data and the data to be calibrated;
and the bandwidth calibration module is used for calibrating the bandwidth of the filter to be calibrated based on the deviation result.
9. The apparatus of claim 8, wherein the reference data module is specifically configured to:
converting the digital signal corresponding to the preset first frequency into a corresponding first current analog signal;
converting the first current analog signal into a corresponding first voltage analog signal;
amplifying the first voltage analog signal by a preset multiple to obtain an amplified first voltage analog signal;
converting the amplified first voltage analog signal into a first digital signal corresponding to the amplified first voltage analog signal;
and measuring the first digital signal to obtain corresponding reference data.
10. The device according to claim 8, wherein the data module to be calibrated is specifically configured to:
converting the digital signal corresponding to the preset second frequency into a corresponding second current analog signal;
converting the second current analog signal into a corresponding second voltage analog signal;
amplifying the second voltage analog signal by a preset multiple to obtain an amplified second voltage analog signal;
converting the amplified second voltage analog signal into a second digital signal corresponding to the amplified second voltage analog signal;
and measuring the second digital signal to obtain corresponding data to be calibrated.
CN202211730535.5A 2022-12-30 2022-12-30 Bandwidth calibration method and related device Pending CN116015247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211730535.5A CN116015247A (en) 2022-12-30 2022-12-30 Bandwidth calibration method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211730535.5A CN116015247A (en) 2022-12-30 2022-12-30 Bandwidth calibration method and related device

Publications (1)

Publication Number Publication Date
CN116015247A true CN116015247A (en) 2023-04-25

Family

ID=86035233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211730535.5A Pending CN116015247A (en) 2022-12-30 2022-12-30 Bandwidth calibration method and related device

Country Status (1)

Country Link
CN (1) CN116015247A (en)

Similar Documents

Publication Publication Date Title
JP5801204B2 (en) Duty cycle adjustment for local oscillator signals
US20130234871A1 (en) Self-compensating digital-to-analog converter and methods of calibration and operation thereof
CN101529730B (en) Controlling the bandwidth of an analog filter
US4896155A (en) Method and apparatus for self-calibration of subranging A/D converter
US7746187B2 (en) Self-calibrating modulator apparatuses and methods
GB2541252A (en) Temperature sensing with feedback digital-analog converter (DAC) of delta-sigma modulator
US9041571B2 (en) Flexible ADC calibration technique using ADC capture memory
US10090854B1 (en) Digital-to-analog converter and method for correcting gain mismatch between a first segment and a second segment of a digital-to-analog converter
US7697614B2 (en) System and method for calibrating an analog signal path during operation in an ultra wideband receiver
CN101286961A (en) Correcting device and method for direct current off-set outputted by equipment
CN106888000B (en) Measuring device with ALC circuit
CN116015247A (en) Bandwidth calibration method and related device
JP2009516397A (en) A method of constantly calibrating the gain of a multipath angle modulator.
JPWO2011099367A1 (en) A / D converter and A / D conversion correction method
EP1382121A2 (en) Method and system for adjusting a threshold control in an analog-to-digital converter
CN105162543A (en) Device and method used for SDH (Synchronous Digital Hierarchy) clock jitter test
JP5069211B2 (en) Temperature compensation circuit and temperature compensation method
US7911248B2 (en) Apparatus for linearization of digitally controlled oscillator
CN115242322A (en) Method and system for calibrating broadband spectrum power flatness by comprehensive tester
Danilaev Analog-to-Digital converter selection for digital receiver
Wang et al. A mode-configurable analog baseband for Wi-Fi 11ac direct-conversion receiver utilizing a single filtering ΔΣ ADC
CN111490784A (en) Analog-to-digital converter and analog-to-digital conversion method
CN218099369U (en) Phase detection system and power detection system
EP3430726A1 (en) Parallel adc circuit
CN218679017U (en) Bandwidth calibration circuit for filter

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