CN116015488B - Receiving gain compensation circuit and receiving gain compensation method of radio frequency chip - Google Patents
Receiving gain compensation circuit and receiving gain compensation method of radio frequency chip Download PDFInfo
- Publication number
- CN116015488B CN116015488B CN202211619733.4A CN202211619733A CN116015488B CN 116015488 B CN116015488 B CN 116015488B CN 202211619733 A CN202211619733 A CN 202211619733A CN 116015488 B CN116015488 B CN 116015488B
- Authority
- CN
- China
- Prior art keywords
- signal
- power
- compensation
- digital
- analog
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 238000004804 winding Methods 0.000 claims description 24
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 238000001914 filtration Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 6
- 230000003321 amplification Effects 0.000 description 5
- 238000003199 nucleic acid amplification method Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 101000964713 Homo sapiens Zinc finger protein 395 Proteins 0.000 description 3
- 102100040733 Zinc finger protein 395 Human genes 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 230000002238 attenuated effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 238000004164 analytical calibration Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Transmitters (AREA)
Abstract
The invention provides a receiving gain compensation circuit and a receiving gain compensation method of a radio frequency chip. The receiving gain compensation circuit comprises a digital-to-analog converter, a transmitting filter, a transmitting mixer, a power amplifier, a converter, a low noise power amplifier, a receiving mixer, a receiving filter, an analog-to-digital converter and a gain compensation sub-circuit, wherein the target baseband signal sequentially passes through the digital-to-analog converter, the transmitting filter, the transmitting mixer, the power amplifier, the converter, the low noise power amplifier, the receiving mixer, the receiving filter, the analog-to-digital converter and the gain compensation sub-circuit, the gain compensation circuit generates a digital compensation signal under compensation power, and superimposes the digital compensation signal on the output of the analog-to-digital converter to obtain a preset signal, the compensation power is equal to the difference value between the transmitting power of the target baseband signal and the receiving power of the reference signal output by the analog-to-digital converter, and the gain compensation sub-circuit outputs the digital compensation signal under the compensation power and superimposes the digital compensation signal on the output by the analog-to-digital converter to obtain the preset signal. The invention can conveniently and individually compensate the receiving gain of the radio frequency chip.
Description
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a receiving gain compensation method and a receiving gain compensation method for a radio frequency chip.
Background
The radio frequency chip is mainly used for external communication of equipment, the accuracy of the receiving gain of the radio frequency chip needs to be controlled, and in actual use, the receiving gain of the radio frequency chip needs to be accurate to within +/-1 dB or even +/-0.5 dB of a nominal value. However, due to the influence of factors such as inconsistent devices, temperature variation, aging of devices, external interference and the like, even if the same design is based on the same platform, different electrical properties are shown, in order to eliminate the influence, parameters are measured before leaving a factory to obtain some parameter error data, the error data are stored, and when in actual use, the error data are read and utilized to carry out error compensation on actual parameters so as to meet the actual requirements.
The existing radio frequency receiving Gain calibration preprocessing method has a quick AGC (Automatic Gain Control ) calibration technology, takes the middle channel test of a frequency band, fixes the output Power (Cell Power) of an instrument, continuously adjusts the Gain (Gain) of an AGC circuit to enable the RSSI (RECEIVED SIGNAL STRENGTH Indication) to reach a target value, and then enables the measured RSSI to be equal to the Cell Power by changing the Cell Power at the instrument side. In short, two points or a plurality of points are respectively tested in a Gain section of the AGC circuit, a fixed Gain slope is calculated, and the Gain sequence is obtained by participation in linear calculation.
Therefore, when calibrating the receiving gain of the radio frequency chip in the prior art, a spectrometer and a stable signal source are externally connected to the radio frequency chip, and the receiving gain of the radio frequency is calibrated in a segmented way by using the spectrometer. However, this calibration process requires a certain instrument calibration time, and is cumbersome to operate, and difficult to be applied to the calibration of a large number of chips one by one. Therefore, it is necessary to develop a compensation circuit for the receiving gain of the rf chip, which can conveniently and individually compensate the receiving gain of the rf chip.
Disclosure of Invention
The invention aims to provide a receiving gain compensation circuit and a receiving gain compensation method of a radio frequency chip, which are used for compensating the receiving gain of the radio frequency chip and can conveniently and individually compensate the receiving gains in a large number of radio frequency chips.
In a first aspect, the present invention provides a receiving gain compensation circuit of a radio frequency chip, which adopts the following technical scheme:
the device comprises a digital-to-analog converter, a transmitting filter, a transmitting mixer, a power amplifier, a converter, a low noise power amplifier, a receiving mixer, a receiving filter, an analog-to-digital converter and a gain compensation sub-circuit;
The input end of the digital-to-analog converter is connected with a target baseband signal, the output end of the digital-to-analog converter is connected with the transmitting filter, and the target baseband signal comprises an in-phase signal and a quadrature signal;
the power amplifier amplifies the up-conversion signal, and differentially outputs the amplified up-conversion signal and inputs the differential signal into the converter, wherein the converter comprises a primary winding and a differential secondary winding, the primary winding is coupled with the input end of the low-noise power amplifier, and the differential secondary winding is coupled with the output end of the power amplifier;
The low noise power amplifier receives the primary signal, amplifies the primary signal and inputs the primary signal into the receiving mixer, the receiving mixer down-converts the amplified primary signal and outputs the down-converted signal into a down-converted signal, and inputs the down-converted signal into the receiving filter;
The gain compensation sub-circuit generates a digital compensation signal under compensation power, and superimposes the digital compensation signal on the output of the analog-to-digital converter to obtain a preset signal, wherein the compensation power is equal to the difference value between the transmitting power of the target baseband signal and the receiving power of the reference signal.
By adopting the technical scheme, the digital-to-analog converter is connected with the target baseband signal, the digital signal is converted into the analog signal, the transmitting filter carries out low-pass filtering on the signal output by the digital-to-analog converter, the filtered signal is transmitted to the transmitting mixer, the transmitting mixer mixes the two paths of signals and carries out up-conversion, the up-converted signal is input into the power amplifier, the power amplifier amplifies the signal and differentially outputs the signal to the converter, the converter converts the differential output into the primary signal, the primary signal is input into the low-noise power amplifier for gain amplification, the signal amplified by the low-noise power amplifier is subjected to down-conversion sequentially by the receiving mixer and is filtered by the ending filter and then is output into the standard signal, the analog-to-digital converter converts the standard signal into the digital signal, the digital compensation signal of the gain compensation sub-circuit under the compensation power is overlapped on the output of the analog-to-digital converter, the digital compensation signal and the output signal of the analog-to-digital converter are overlapped, and the preset signal is obtained, and the compensation power is equal to the difference between the transmission power of the target baseband signal and the reference signal receiving power of the signal output by the analog-to the analog-digital converter.
The gain compensation sub-circuit outputs a digital compensation signal, so that the gain compensation sub-circuit has good linearity in adjusting the digital signal, meanwhile, the transmitting power of a target baseband signal and the receiving power of a reference signal of an output signal of an analog-to-digital converter are subjected to difference comparison, a deviation value is calculated, the deviation value is used as a compensation value of the whole receiver system under the current transmitting power and the current gain, a preset signal in the receiver preset is obtained, the receiving gain of each radio frequency chip can be compensated one by one, and the accuracy of the compensated signal is improved.
Optionally, the receive gain compensation circuit further comprises a transmitter signal strength indicator and a self-calibration source;
The power amplifier also inputs the differential signal to the transmitter signal strength indicator;
The self-calibration source is used for generating a reference baseband signal with constant power and inputting the reference baseband signal to the transmitter signal strength indicator;
The transmitter signal strength indicator is provided with an M-gear piecewise linear attenuation network and is used for piecewise calibrating the target baseband signal according to the constant power of the reference baseband signal;
the output value of the transmitter signal strength indicator indicates the strength of the calibrated baseband signal after calibration by the transmitter signal strength indicator.
By adopting the technical scheme, the method has the beneficial effects that the transmitting power can be calibrated firstly, and the receiving gain of the radio frequency chip can be calibrated by using the calibrated transmitting power.
Optionally, the receiving filter receives the calibration baseband signal output by the transmitter signal strength indicator, and inputs the calibration baseband signal to the analog-to-digital converter after low-pass filtering;
the output value of the analog-to-digital converter is indicative of the strength of the calibrated baseband signal after calibration by the transmitter signal strength indicator.
By adopting the technical scheme, the method has the beneficial effects that when the transmitting power of the radio frequency chip is calibrated, the output value of the analog-to-digital converter indicates the intensity of the calibrated baseband signal calibrated by the transmitter signal intensity indicator, so that the transmitting frequency calibrated by the transmitter signal intensity indicator takes the constant power of the self-calibration source as the starting point.
Optionally, the converter is a balun converter, a primary winding of the balun converter is a single-ended winding, and the balun converter inputs a single-ended signal to the low-noise power amplifier.
By adopting the technical scheme, the balun transformer has the beneficial effects that the balun transformer performs single-ended conversion on the differential signals and outputs the differential signals.
Optionally, the differential secondary winding of the balun transformer receives a differential signal output by the power amplifier.
Optionally, the gain compensation subcircuit is integrated in the SOC of the radio frequency chip.
By adopting the technical scheme, the gain compensation sub-circuit is integrated in the SOC, and the receiving gain can be compensated in the radio frequency chip.
In a second aspect, the present invention provides a method for compensating a receiving gain of a radio frequency chip, including the steps of:
Obtaining compensation power;
the gain compensation sub-circuit obtains a digital compensation signal under the compensation power based on the compensation power;
and superposing the digital compensation signal on the digital signal output by the analog-to-digital converter to obtain a preset signal.
By adopting the technical scheme, the gain compensation circuit has the beneficial effects that when the gain is compensated, the compensation power is acquired firstly, the gain compensation sub-circuit outputs a digital compensation signal under the compensation power, and the digital compensation signal is overlapped with the digital signal output by the analog-to-digital converter, so that a preset signal is obtained.
Optionally, before the compensation power is obtained, the method further includes the following steps:
Obtaining the transmitting power under the target baseband signal;
obtaining reference signal receiving power output by an analog-to-digital converter;
the compensation power is obtained based on the transmit power and the reference signal receive power.
By adopting the technical scheme, the method has the beneficial effects that when the compensation power is obtained, the transmission power of the input target baseband signal and the reference signal receiving power output by the analog-to-digital converter are obtained first, and the difference value between the transmission power and the reference signal receiving power is calculated, wherein the difference value is the compensation power.
Optionally, before the obtaining the transmission power under the target baseband signal, the method further includes the following steps:
and calibrating the transmitting power of the radio frequency chip.
By adopting the technical scheme, the method has the beneficial effects that before the receiving gain of the radio frequency chip is calibrated, the transmitting power of the radio frequency chip can be calibrated, and the receiving gain is calibrated based on the calibrated transmitting power.
Drawings
Fig. 1 is a circuit configuration diagram of a receiving gain compensation circuit of a radio frequency chip in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a receiving gain compensation circuit according to an embodiment of the present invention;
FIG. 3 is a flow chart of calibrating transmit power in an embodiment of the invention;
Fig. 4 is a flowchart of the calibration step S100 for the transmit power according to the embodiment of the present invention;
Fig. 5 is a flowchart of the calibration step S200 for the transmit power according to the embodiment of the present invention;
FIG. 6 is a graph of a linear calibration graph after calibrating transmit power in an embodiment of the present invention;
FIG. 7 is a flow chart of a method for compensating the reception gain according to an embodiment of the present invention;
fig. 8 is a flowchart of a receiving gain compensation method according to an embodiment of the invention.
Reference numerals illustrate:
1. Digital-to-analog converter, 2, transmitting filter, 3, transmitting mixer, 4, power amplifier, 5, converter, 51, primary winding, 52, differential secondary winding, 6, low noise power amplifier, 7, receiving mixer, 8, receiving filter, 9, analog-to-digital converter, 10, gain compensation sub-circuit, 11, digital control programmable gain amplifier, 12, bonding line, 13, transmitter signal intensity indicator, 14, self-calibration source.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions in the embodiments of the present invention will be clearly and completely described below, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention. Unless otherwise defined, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this invention belongs. As used herein, the word "comprising" and the like means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof without precluding other elements or items.
The embodiment of the invention provides a receiving gain compensation circuit of a radio frequency chip.
The receiving Gain compensation circuit of the radio frequency chip shown with reference to fig. 1 and 2 includes a digital-to-analog converter 1 (Digital toAnalog Converter, DAC), a transmitting Filter 2 (RX Filter), a transmitting Mixer 3 (RX Mixer), a power amplifier 4 (PowerAmplifier, PA), a converter 5, a low noise power amplifier 64 (LowNoiseAmplifier, LNA), a receiving Mixer 7 (TX Mixer), a receiving Filter 8 (TX Filter), an analog-to-digital converter 9 (Analog to Digital Converter, DAC), and a Gain compensation sub-circuit 10 (DFE Gain Module).
The input end of the digital-to-analog converter 1 is connected with a target baseband signal, the target baseband signal comprises an in-phase signal and a quadrature signal, the digital-to-analog converter 1 converts the target baseband signal into an analog signal and then inputs the analog signal into the transmitting filter 2, and the transmitting filter 2 carries out low-pass filtering on the target baseband signal after digital-to-analog conversion to obtain a filtered signal.
In some embodiments, referring to fig. 1 and 2, an input end of the Digital-to-analog converter 1 is provided with a digitally programmable gain amplifier 11 (Digital Variable GAINAMPLIFIER, DVGA), an input end of the digitally programmable gain amplifier 11 is connected to a target baseband signal including an in-phase signal and a quadrature signal, and after Digital gain amplification, the Digital target baseband signal after gain amplification is input into the Digital-to-analog converter 1.
The transmit filter 2 inputs the filtered signal into the transmit mixer 3, the transmit mixer 3 up-converts and outputs the filtered signal as an up-converted signal, the transmit mixer 3 inputs the up-converted signal into the power amplifier 4, the power amplifier 4 gain-amplifies the up-converted signal and outputs the up-converted signal as a differential signal, and the differential signal is input into the converter 5.
The converter 5 comprises a primary winding 51 and a differential secondary winding 52, the differential secondary winding 52 comprising two terminals which are connected to the differential signal output by the power amplifier 4, respectively, the primary winding 51 also comprising two terminals, one of the terminals of the primary winding 51 being grounded and the other terminal of the primary winding 51 being connected to the low noise power amplifier 64. The converter 5 performs primary conversion on the differential signal output from the power amplifier 4, and inputs the primary signal after the primary conversion to the low noise power amplifier 64.
In some embodiments, the bonding line 12 is used between the power amplifier 4 and the transducer 5 as shown with reference to fig. 1.
In some embodiments, the transformer 5 and the low noise power amplifier 64 described with reference to fig. 1 are connected using a bonding wire 12.
In some embodiments, the converter 5 is a balun 5, the primary winding 51 of the balun 5 is a single-ended winding, and the differential secondary signal of the balun 5 receives the differential signal of the power amplifier 4. The balun 5 single-ended converts the differential signal output from the power amplifier 4 to a single-ended signal, and inputs the single-ended signal to the low noise power amplifier 64.
The low noise power amplifier 64 receives the primary signal input from the converter 5, amplifies the primary signal with gain, outputs the amplified primary signal to the reception mixer 7, down-converts the amplified primary signal to a down-converted signal, and inputs the down-converted signal to the reception filter 8.
In some embodiments, the low noise power amplifier 64 is a current-mode low noise power amplifier 64 having multiple gain stages.
In some embodiments, the low noise power amplifier 64 has ten gain stages, the first four stages of gain stages achieve a gain reduction in a step-wise current reduction, and the last six stages of gain stages perform a gain reduction through a resistive attenuation network.
The reception filter 8 performs low-pass filtering on the down-converted signal input from the reception mixer 7, and further outputs the down-converted signal as a standard signal, the standard signal is input to the analog-to-digital converter 9, and the analog-to-digital converter 9 performs conversion from an analog signal to a digital signal on the standard signal, and outputs the digital signal of the standard signal.
The output of the analog-to-digital converter 9 is a reference signal received Power (REFERENCE SIGNAL RECEIVING Power, RSRP), and the difference between the transmitted Power and the reference signal received Power is obtained by comparing the reference signal received Power and the transmitted Power under the target baseband signal, and the difference is the compensation Power.
The gain compensation sub-circuit 10 generates a digital compensation signal at the compensation power, and superimposes the digital compensation signal on the output of the analog-to-digital converter 9, so that the digital compensation signal and the output of the analog-to-digital converter 9 are both digital signals, and a preset signal is obtained after the superimposition.
In some embodiments, the gain compensation subcircuit 10 is integrated in the SOC of the radio frequency chip.
In some embodiments, the transmitting power of the rf chip is calibrated in advance before compensating the receiving gain of the rf chip, and the gain compensation is performed on the rf chip by using the rf power calibrated by the rf chip.
In some embodiments, referring to fig. 1 and 2, the receiving gain compensation subcircuit 10 further includes a transmitter signal strength indicator 13 (TRANSMITTER SIGNAL STRENGTH Indication, TSSI) and a self-calibration source 14 (Self Calibration Source, SCS), the transmitter signal strength indicator 13 further receives the differential signal output by the power amplifier 4, the self-calibration source 14 is configured to generate a reference baseband signal with constant power, and input the reference baseband signal to the transmitter signal strength indicator 13, the transmitter signal strength indicator 13 performs a segment calibration on the target baseband signal according to the constant power of the reference baseband signal, and an output value of the transmitter signal strength indicator 13 indicates a strength of the calibrated baseband signal calibrated by the transmitter signal strength indicator 13.
In some embodiments, the transmitter signal strength indicator 13 is provided with an M-stage piecewise linear attenuation network (TRANSMITTER SIGNAL STRENGTH Indication Attenuation, TSSI-Att) for transmitter signal strength, which is used to piecewise calibrate the transmit power of the target baseband signal.
In some embodiments, the transmitter signal strength indicator 13 is provided with a four-stage piecewise linear attenuation network, with the attenuation degree increasing sequentially from zero, namely 00, 01, 10 and 11 stages.
In some embodiments, the transmitter signal strength indicator 13 is provided with a three-stage piecewise linear attenuation network, with the attenuation degree increasing sequentially from zero, namely 00, 01 and 11 stages.
In some embodiments, the receiving filter 8 further receives the output signal of the transmitter signal strength indicator 13, and inputs the output signal of the transmitter signal strength indicator 13 into the analog-to-digital converter 9 after low-pass filtering, wherein the output value of the analog-to-digital converter 9 indicates the strength of the output signal of the transmitter signal strength indicator 13.
In some embodiments, referring to the block diagram shown in fig. 1 and the flow diagram shown in fig. 3, the calibration of transmit power using the transmitter signal strength indicator 13 and the self-calibration source 14 comprises the steps of:
s100, obtaining constant power of the reference baseband signal output by the self-calibration source 14;
s200, based on the constant power of the self-calibration source 14, the transmitting power of the target baseband signal is calibrated in M segments according to the M-stage piecewise linear attenuation network in the transmitter signal strength indicator 13.
In some embodiments, referring to the block diagram shown in fig. 1 and the flow diagram shown in fig. 4, using the transmitter signal strength indicators 13 that attenuate the network for 00, 01, and 11, a constant power is obtained from the calibration source 14 that outputs a reference baseband signal, comprising the steps of:
S110, enabling a transmitter signal strength indicator 13, adjusting an attenuation network of the transmitter signal strength indicator 13 to be 00 grades, enabling a power amplifier 4 to be in a closed state, and starting a self-calibration source 14, wherein the self-calibration source 14 outputs a reference baseband signal under constant power, the transmitter signal strength indicator 13 receives the reference baseband signal output by the self-calibration source 14, and after the output signal of the transmitter signal strength indicator 13 sequentially passes through a receiving filter 8 and an analog-to-digital converter 9, the output value is D-SCS, wherein the D-SCS indicates the signal strength of the reference baseband signal output by the self-calibration source 14 under constant power;
s120, closing a self-calibration source 14, starting a power amplifier 4, keeping an attenuation network of a transmitter signal strength indicator 13 at 00 grades, performing digital-to-analog conversion, low-pass filtering and up-conversion on a target baseband signal by a digital-to-analog converter 1, a transmitting filter 2 and a transmitting mixer 3, inputting the target baseband signal into the power amplifier 4, amplifying the signal by the power amplifier 4, inputting the amplified signal into the transmitter signal strength indicator 13, receiving an output signal of the power amplifier 4 by the transmitter signal strength indicator 13, and sequentially passing through a receiving filter 8 and an analog-to-digital converter 9 by the output signal of the transmitter signal strength indicator 13, wherein the output value is D-PA;
S130, adjusting the amplification factor of the power amplifier 4, so as to change the signal intensity of the input signal of the power amplifier 4 to the transmitter signal intensity indicator 13 until the D-PA is equal to the D-SCS, wherein the intensity of the output signal of the power amplifier 4 is equal to the signal intensity of the reference baseband signal output by the self-calibration source 14 under the constant power, and the constant power of the self-calibration source 14 is equal to the output power of the power amplifier 4 at the moment.
In some embodiments, when the transmitter signal strength indicator 13 and the self-calibration source 14 are used to calibrate the transmit power, the transmitter signal strength indicator 13 is enabled and then the direct current offset is corrected (DC Offset Cancellation, DCOC) for the transmitter signal strength indicator 13.
In some embodiments, referring to the block diagram shown in fig. 1 and the flow diagram shown in fig. 5, based on the constant power of the self-calibrating source 14, the transmit power is calibrated using the transmitter signal strength indicator 13 and the self-calibrating source 14 that attenuate network range 00, 01, and 11, comprising the steps of:
S210, enabling a transmitter signal strength indicator 13, adjusting an attenuation network of the transmitter signal strength indicator 13 to be 11 grades, wherein 11 grades are the maximum attenuation grade of the attenuation network of the transmitter signal strength indicator 13, the power amplifier 4 is in a closed state, and starting a self-calibration source 14, wherein the self-calibration source 14 outputs a constant signal under constant power, the transmitter signal strength indicator 13 receives the constant signal and attenuates the constant signal, the output value of the attenuated constant signal is D-SCS-ATT-11 after sequentially passing through a receiving filter 8 and an analog-digital converter 9, the D-SCS-ATT-11 indicates that the transmitter signal strength indicator 135 is under the constant signal, and the attenuation network is the output signal strength of 11 grades;
S220, closing the self-calibration source 14, starting the power amplifier 4, and keeping the attenuation network of the transmitter signal strength indicator 13 at 11 grades, wherein a target baseband signal sequentially passes through the digital-to-analog converter 1, the transmitting filter 2 and the transmitting mixer 3 and then is input into the power amplifier 4, the power amplifier 4 amplifies the signal and then inputs into the transmitter signal strength indicator 13, after the signal is attenuated by the attenuation network of the transmitter signal strength indicator 13, the output value of the transmitter signal strength indicator 13 sequentially passes through the receiving filter 8 and the analog-to-digital converter 9 and then is D-PA-ATT-11;
s230, adjusting the amplification factor of the power amplifier 4, so as to change the signal intensity of the output signal of the power amplifier 4 until D-PA-ATT-11 is equal to D-SCS-ATT-11, wherein the output power of the output signal intensity of the power amplifier 4 is equal to the constant power of the self-calibration source 14, and the output power of the power amplifier 4 is recorded as PRF-0;
S240, keeping the attenuation network of the transmitter signal strength indicator 13 at 11 steps, gradually reducing the output power of the power amplifier 4 at intervals of 0.5dBm, and recording that the output power of the power amplifier 4 is PRF-1 when the output power of the power amplifier 4 is reduced to the linear boundary value of the attenuation network 11 steps of the transmitter signal strength indicator 13;
s250, maintaining the output power of the power amplifier 4 as PRF-1, adjusting the attenuation network of the transmitter signal strength indicator 13 to be 01 grade, gradually reducing the output power of the power amplifier 4 at intervals of 0.5dBm, recording the output power of the power amplifier 4 as PRF-2 when the output power of the power amplifier 4 is reduced to the linear boundary value of the attenuation network 01 grade of the transmitter signal strength indicator 13, and obtaining the linear calibration function between PRF-2 and PRF-1 after the output value of the signal output by the transmitter signal strength indicator 135 sequentially passes through the receiving filter 8 and the analog-to-digital converter 9 and corresponds to the output power of the power amplifier 4;
and S260, maintaining the output power of the power amplifier 44 as PRF-2, adjusting an attenuation network of the transmitter signal strength indicator 13 to be 00 grades, gradually reducing the output power of the power amplifier 44 at intervals of 0.5dBm to obtain PRF-3, and obtaining a linear calibration function between PRF-3 and PRF-2 after the output value of the signal output by the transmitter signal strength indicator 135 sequentially passes through the receiving filter 8 and the analog-digital converter 9 and corresponds to the output power of the power amplifier 4 through linear fitting.
In some embodiments, in step S210, the self-calibrating source 14 outputs a reference signal at a reference power that is offset from the constant power by less than 1%.
In some embodiments, the signal output by the transmitter signal strength indicator 13 is input to the analog-to-digital converter 9 after sequentially passing through the transimpedance amplifier and the programmable gain amplifier.
In some embodiments, a graph of the linear equation after calibration of the transmit power of the target baseband signal is shown in fig. 6.
The embodiment of the invention also provides a receiving gain compensation method of the radio frequency chip.
Referring to the flow chart shown in fig. 7, the receiving gain compensation method includes the steps of:
p100, obtaining compensation power which is the difference between the radio frequency transmitting power and the reference signal receiving power output by the analog converter;
based on the compensation power, the gain compensation sub-circuit 10 outputs a digital compensation signal at the compensation power;
And P300, superposing the digital compensation signal, and superposing the digital compensation signal on the digital signal output by the analog-to-digital converter 9 to obtain a preset signal.
In some embodiments, referring to the flow diagrams shown in fig. 7 and 8, before the compensation power is obtained, the method includes the following steps:
R100, obtaining the transmitting power under the target baseband signal;
R200, obtaining the reference signal received power, and obtaining the reference signal received power output by the analog-to-digital converter 9 under the target baseband signal.
And (3) making a difference between the transmitting power of the target baseband signal and the receiving power of the reference signal, wherein the difference is the compensation power.
In some embodiments, the transmit power of the rf chip is calibrated in advance before the transmit power at the target baseband signal is obtained, and the compensating power is obtained using the calibrated transmit power.
While embodiments of the present invention have been described in detail hereinabove, it will be apparent to those skilled in the art that various modifications and variations can be made to these embodiments. It is to be understood that such modifications and variations are within the scope and spirit of the present invention as set forth in the following claims. Moreover, the invention described herein is capable of other embodiments and of being practiced or of being carried out in various ways.
Claims (8)
1. A receiving gain compensation circuit for a radio frequency chip, comprising:
A digital-to-analog converter, a transmit filter, a transmit mixer, a power amplifier, a converter, a low noise power amplifier, a receive mixer, a receive filter, an analog-to-digital converter, and a gain compensation sub-circuit;
The input end of the digital-to-analog converter is connected with a target baseband signal, the output end of the digital-to-analog converter is connected with the transmitting filter, and the target baseband signal comprises an in-phase signal and a quadrature signal;
the power amplifier amplifies the up-conversion signal, and differentially outputs the amplified up-conversion signal and inputs the differential signal into the converter, wherein the converter comprises a primary winding and a differential secondary winding, the primary winding is coupled with the input end of the low-noise power amplifier, and the differential secondary winding is coupled with the output end of the power amplifier;
the low-noise power amplifier receives the primary signal, amplifies the primary signal and inputs the amplified primary signal into the receiving mixer; the receiving mixer performs down-conversion on the amplified primary signal and outputs the down-converted signal as a down-converted signal, and the down-converted signal is input into the receiving filter;
The receiving filter filters the down-conversion signal and outputs the down-conversion signal as a standard signal, the standard signal is input into the analog-to-digital converter, and the analog-to-digital converter outputs reference signal receiving power;
The gain compensation sub-circuit generates a digital compensation signal under compensation power, and superimposes the digital compensation signal on the output of the analog-to-digital converter to obtain a preset signal, wherein the compensation power is equal to the difference value between the transmitting power of the target baseband signal and the receiving power of the reference signal;
the receive gain compensation circuit further includes a transmitter signal strength indicator and a self-calibrating source;
The power amplifier also inputs the differential signal to the transmitter signal strength indicator;
The self-calibration source is used for generating a reference baseband signal with constant power and inputting the reference baseband signal to the transmitter signal strength indicator;
the transmitter signal strength indicator is provided with an M-gear piecewise linear attenuation network and is used for piecewise calibrating the transmitting power of the target baseband signal according to the constant power of the reference baseband signal;
the output value of the transmitter signal strength indicator indicates the strength of the calibrated baseband signal after calibration by the transmitter signal strength indicator.
2. The receiving gain compensation circuit of a radio frequency chip according to claim 1, wherein the receiving filter receives the calibration baseband signal output by the transmitter signal strength indicator, and inputs the calibration baseband signal to the analog-to-digital converter after low-pass filtering;
the output value of the analog-to-digital converter is indicative of the strength of the calibrated baseband signal after calibration by the transmitter signal strength indicator.
3. The receive gain compensation circuit of a radio frequency chip of claim 1, wherein the converter is a balun, a primary winding of the balun is a single-ended winding, and the balun inputs a single-ended signal to the low noise power amplifier.
4. A receive gain compensation circuit for a radio frequency chip according to claim 3, wherein the differential secondary winding of the balun transformer receives a differential signal output by the power amplifier.
5. The receive gain compensation circuit of a radio frequency chip of claim 1, wherein the gain compensation subcircuit is integrated in the SOC of the radio frequency chip.
6. A receiving gain compensation method of a radio frequency chip, the method being applied to the receiving gain compensation circuit according to any one of claims 1 to 5, comprising the steps of:
Obtaining compensation power;
the gain compensation sub-circuit obtains a digital compensation signal under the compensation power based on the compensation power;
and superposing the digital compensation signal on the digital signal output by the analog-to-digital converter to obtain a preset signal.
7. The method of compensating for receive gain according to claim 6, further comprising the step of, prior to said obtaining the compensation power:
Obtaining the transmitting power under the target baseband signal;
obtaining reference signal receiving power output by an analog-to-digital converter;
the compensation power is obtained based on the transmit power and the reference signal receive power.
8. The method of claim 7, further comprising the step of, prior to said obtaining the transmit power at the target baseband signal:
and calibrating the transmitting power of the radio frequency chip.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211619733.4A CN116015488B (en) | 2022-12-15 | 2022-12-15 | Receiving gain compensation circuit and receiving gain compensation method of radio frequency chip |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211619733.4A CN116015488B (en) | 2022-12-15 | 2022-12-15 | Receiving gain compensation circuit and receiving gain compensation method of radio frequency chip |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116015488A CN116015488A (en) | 2023-04-25 |
| CN116015488B true CN116015488B (en) | 2025-04-01 |
Family
ID=86024053
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211619733.4A Active CN116015488B (en) | 2022-12-15 | 2022-12-15 | Receiving gain compensation circuit and receiving gain compensation method of radio frequency chip |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116015488B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116707571B (en) * | 2023-08-08 | 2023-10-24 | 中国电信股份有限公司 | Signal equalization processing method and device for dual-frequency far-end radio frequency unit and related equipment |
| CN118944685B (en) * | 2024-10-14 | 2025-01-28 | 成都泰格微电子研究所有限责任公司 | A SiP chip for radio frequency and digital-analog hybrid circuits |
| CN120238148B (en) * | 2025-05-29 | 2025-08-01 | 杭州中科亿芯微电子科技有限公司 | A method, system and storage medium for amplifying radio frequency signals |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101552754A (en) * | 2009-05-15 | 2009-10-07 | 北京朗波芯微技术有限公司 | Carrier leakage corrective system for radio frequency transceiver |
| CN113517938A (en) * | 2021-09-13 | 2021-10-19 | 成都旋极星源信息技术有限公司 | Automatic calibration system for transceiver |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20060032287A (en) * | 2004-10-12 | 2006-04-17 | 주식회사 팬택 | RF transmission power compensation device and method in mobile communication terminal |
| CN201409128Y (en) * | 2009-05-15 | 2010-02-17 | 北京朗波芯微技术有限公司 | RF (Radio Frequency) transceiver correction device used for ZIF (zero intermediate frequency ) or LMF (Low Medium Frequency) structure |
-
2022
- 2022-12-15 CN CN202211619733.4A patent/CN116015488B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101552754A (en) * | 2009-05-15 | 2009-10-07 | 北京朗波芯微技术有限公司 | Carrier leakage corrective system for radio frequency transceiver |
| CN113517938A (en) * | 2021-09-13 | 2021-10-19 | 成都旋极星源信息技术有限公司 | Automatic calibration system for transceiver |
Also Published As
| Publication number | Publication date |
|---|---|
| CN116015488A (en) | 2023-04-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN116015488B (en) | Receiving gain compensation circuit and receiving gain compensation method of radio frequency chip | |
| US8121571B2 (en) | Method for second intercept point calibration based on opportunistic reception | |
| US7418244B2 (en) | Radio transmitter with accurate power control | |
| US20120281772A1 (en) | Digital output power measurement in radio communication systems | |
| US7453934B2 (en) | Automatic receiver calibration with noise and fast fourier transform | |
| US20030002452A1 (en) | System and method for power control calibration and a wireless communication device | |
| US6829550B2 (en) | Calibration of received signal strength indication within a radio frequency integrated circuit | |
| CN113541722B (en) | Channel consistency calibration system and method of digital TR module | |
| JP7123159B2 (en) | Local Oscillator Leakage Detection and Erasure | |
| US20040203548A1 (en) | Measurement of local oscillation leakage in a radio frequency integrated circuit | |
| US7916672B2 (en) | RF processor having internal calibration mode | |
| CN113328763B (en) | Carrier power control method and device and radio remote unit | |
| EP2686965B1 (en) | Compensation of a transmitter distortion | |
| CN116015489B (en) | On-chip radio frequency signal processing circuit and transmission power calibration method | |
| CN114374398A (en) | Broadband low-noise high-linearity wide-range demodulation system | |
| US11165517B2 (en) | Direct sampling for digital pre-distortion calibration | |
| CN117459164A (en) | IP2 automatic calibration device and method | |
| CN113466774B (en) | System and method for realizing automatic calibration of spectrometer power under condition of adaptive ADC linear characteristic | |
| CN216013630U (en) | System for realizing automatic calibration of frequency spectrograph power under condition of adapting to ADC linear characteristic | |
| CN114614844B (en) | Method and circuit for testing double-tone signal and radio frequency testing device | |
| CN111431556B (en) | Transceiver with calibration function | |
| CN111313919B (en) | Multifunctional receiver | |
| US11165471B2 (en) | Over the air coupling for digital pre-distortion calibration | |
| CN209283217U (en) | Device for self-adaptively counteracting passive intermodulation signal | |
| CN114374401B (en) | Automatic gain control radio frequency receiver |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |