Summary of the invention
The invention provides a kind of automatic gain control equipment and method, radiofrequency receiving chip and radio-frequency transmitter, in order to realize when radio frequency signal frequency depart from local oscillated signal frequency comparatively far and radiofrequency signal amplitude is larger time, RF front-end module linear work can be made, the interference that the elimination harmonic wave of radiofrequency signal and the harmonic wave of local oscillated signal cause intermediate-freuqncy signal.
The invention provides a kind of automatic gain control equipment for radio-frequency transmitter, comprising:
RF front-end module, for being converted to intermediate-freuqncy signal by radiofrequency signal;
RF peak detector, for detecting the range value of described radiofrequency signal;
Intermediate frequency peak detector, for detecting the range value of described intermediate-freuqncy signal;
Automatic growth control module, for controlling the maximum gain of described RF front-end module according to the range value of described radiofrequency signal, controls the gain of described RF front-end module according to the range value of described intermediate-freuqncy signal.
The present invention also provides a kind of auto gain control method for radio-frequency transmitter, comprising:
Radiofrequency signal is converted to intermediate-freuqncy signal by RF front-end module;
RF peak detector detects the range value of described radiofrequency signal;
Intermediate frequency peak detector detects the range value of described intermediate-freuqncy signal;
Automatic growth control module controls the maximum gain of described RF front-end module according to the range value of described radiofrequency signal, controls the gain of described RF front-end module according to the range value of described intermediate-freuqncy signal.
The present invention also provides a kind of radiofrequency receiving chip, comprising: automatic gain control equipment, analog to digital converter, digital signal processor and digital to analog converter, and described automatic gain control equipment comprises aforesaid automatic gain control equipment.
The present invention also provides a kind of radio-frequency transmitter, comprising: antenna and radiofrequency receiving chip, and described radiofrequency receiving chip comprises aforesaid radiofrequency receiving chip.
In the present invention, radiofrequency signal is converted to intermediate-freuqncy signal by RF front-end module, RF peak detector detects the range value of radiofrequency signal, intermediate frequency peak detector detects the range value of intermediate-freuqncy signal, automatic growth control module controls the maximum gain of RF front-end module according to the range value of radiofrequency signal, the gain of RF front-end module is controlled according to the range value of intermediate-freuqncy signal, like this, can realize when radio frequency signal frequency depart from local oscillated signal frequency comparatively far away and radiofrequency signal amplitude is larger time, RF front-end module linear work can be made, the interference that the elimination harmonic wave of radiofrequency signal and the harmonic wave of local oscillated signal cause intermediate-freuqncy signal.Can also realize two kinds of functions of RF peak detector and intermediate frequency peak detector, intermediate frequency peak detector controls the linear condition of RF front-end module gain simultaneously, and RF peak detector controls the maximum of RF front-end module gain.
Embodiment
Below in conjunction with specification drawings and specific embodiments, the invention will be further described.
As shown in Figure 3, the structural representation of the automatic gain control equipment embodiment of radio-frequency transmitter is used for for the present invention, this automatic gain control equipment 30 can comprise: RF front-end module 12, RF peak detector 31, intermediate frequency peak detector 32 and automatic growth control module 16, RF peak detector 31 is connected to the input of RF front-end module 12, intermediate frequency peak detector 32 is connected to the output of RF front-end module 12, and automatic growth control module 16 is connected with intermediate frequency peak detector 32 with RF front-end module 12, RF peak detector 31 respectively.
RF front-end module 12 is for being converted to intermediate-freuqncy signal by radiofrequency signal; Radiofrequency signal is received by antenna; RF peak detector 31 is for detecting the range value of radiofrequency signal; Intermediate frequency peak detector 32 is for detecting the range value of intermediate-freuqncy signal; Automatic growth control module 16, for controlling the maximum gain of RF front-end module according to the range value of radiofrequency signal, controls the gain of RF front-end module according to the range value of intermediate-freuqncy signal.
In the present embodiment, radiofrequency signal is converted to intermediate-freuqncy signal by RF front-end module 12, RF peak detector 31 detects the range value of radiofrequency signal, intermediate frequency peak detector 32 detects the range value of intermediate-freuqncy signal, automatic growth control module 16 controls the maximum gain of RF front-end module according to the range value of radiofrequency signal, the gain of RF front-end module is controlled according to the range value of intermediate-freuqncy signal, like this, realize RF peak to detect and intermediate frequency peakvalue's checking two kinds of functions simultaneously, according to the linear condition of intermediate frequency peakvalue's checking output control RF front-end module gain, the maximum of RF front-end module gain is controlled according to RF peak testing result, can realize when radio frequency signal frequency depart from local oscillated signal frequency comparatively far away and radiofrequency signal amplitude is larger time, RF front-end module linear work can be made, the interference that the elimination harmonic wave of radiofrequency signal and the harmonic wave of local oscillated signal cause intermediate-freuqncy signal.
Alternatively, as shown in Figure 4, for the present invention is used for the first structural representation of the automatic growth control module in the automatic gain control equipment embodiment of radio-frequency transmitter in structural representation shown in Fig. 3, automatic growth control module 16 can comprise: radio frequency adjustment unit 161 and the first intermediate frequency adjustment unit 162; Radio frequency adjustment unit 161 is for when the range value of radiofrequency signal is less than radio frequency door limit value, and controlling maximum gain is the first maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, controlling maximum gain is the second maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; Radio frequency door limit value is the maximum radio frequency signal amplitude value of RF front-end module 12 linear work, and radio frequency door limit value can be 32mV.First intermediate frequency adjustment unit 162 is for when the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, and the gain controlling RF front-end module 12 reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value.First intermediate frequency threshold value is the maximum intermediate-freuqncy signal range value of analog to digital converter linear work, and the first intermediate frequency threshold value can be 700mV.
As shown in Figure 5, for the present invention is used for the fundamental diagram of the automatic growth control module in the automatic gain control equipment embodiment of radio-frequency transmitter in structural representation shown in Fig. 4, Vthrf is radio frequency door limit value, Vthif is the first intermediate frequency threshold value, Gmax is the first maximum gain, Gmax ' is the second maximum gain, Gmax is greater than Gmax ', Gmin is RF front-end module least gain, radiofrequency signal amplitude when V1 is intermediate-freuqncy signal amplitude arrival intermediate frequency threshold value, radiofrequency signal amplitude when Vmax is RF front-end module arrival least gain, intermediate-freuqncy signal amplitude when V2 is radiofrequency signal amplitude arrival radio frequency door limit value, V2 is less than Vthif, dotted line represents that intermediate-freuqncy signal amplitude changes with radio frequency signal amplitude, solid line represents that RF front-end module gain changes with radio frequency signal amplitude.Fig. 5 A is depicted as radio frequency signal frequency and local oscillated signal frequency phase-difference is nearer, because the frequency of intermediate-freuqncy signal equals radio frequency signal frequency deduct local oscillated signal frequency, so the frequency of intermediate-freuqncy signal is less, intermediate-freuqncy signal all can pass through low pass filter substantially, amplitude fading is less, now intermediate-freuqncy signal amplitude first arrives the first intermediate frequency threshold value Vthif, and radiofrequency signal amplitude does not also arrive radio frequency door limit value Vthrf; When radiofrequency signal amplitude is less, RF front-end module gain is Gmax.Along with the increase of radiofrequency signal amplitude, intermediate-freuqncy signal amplitude is also along with increase, until when radiofrequency signal amplitude arrives V1, intermediate-freuqncy signal amplitude arrives Vthif, and RF front-end module gain starts to reduce to keep intermediate-freuqncy signal amplitude to maintain Vthif.When radiofrequency signal amplitude reaches Vmax, RF front-end module gain reduction is to Gmin.Fig. 5 B is depicted as radio frequency signal frequency and local oscillated signal frequency phase-difference is far away, the frequency of intermediate-freuqncy signal is larger, intermediate-freuqncy signal amplitude is low-pass filtered device and decays, now radiofrequency signal range value first arrives radio frequency door limit value Vthrf, intermediate-freuqncy signal amplitude is only V2, also not to the first intermediate frequency threshold value Vthif; When radiofrequency signal amplitude is less, RF front-end module gain is Gmax.Along with the increase of radiofrequency signal amplitude, intermediate-freuqncy signal amplitude is also along with increase, but increasing degree is less than the situation shown in Fig. 5 A.Along with the increase of radiofrequency signal amplitude, radiofrequency signal amplitude first arrives radio frequency door limit value Vthrf, intermediate-freuqncy signal range value does not also arrive the first intermediate frequency threshold value Vthif, now radiofrequency signal amplitude continues to increase, and just makes RF front-end module nonlinear operation, and this is the situation not wishing to occur, therefore in order to make RF front-end module linear work, can only the gain of limitation of radio frequency front-end module be just Gmax ', and can not be Gmax, until radiofrequency signal amplitude is increased to Vmax.Visible, the automatic gain control equipment of radio frequency reception receiver of the present invention can realize two kinds of functions of RF peak detector and intermediate frequency peak detector simultaneously, and owing to adding RF peak detector and utilizing RF front-end module gain control method, can effectively eliminate when radio frequency signal frequency and local oscillated signal frequency phase-difference are comparatively far away and radiofrequency signal amplitude is larger, the interference that the harmonic wave of radiofrequency signal and the harmonic wave of local oscillated signal cause intermediate-freuqncy signal, makes RF front-end module linear work.
Alternatively, as shown in Figure 6, for the present invention is used for the second structural representation of the automatic growth control module in the automatic gain control equipment embodiment of radio-frequency transmitter in structural representation shown in Fig. 3, automatic growth control module 16 can comprise: radio frequency adjustment unit 161, first intermediate frequency adjustment unit 162 and the second intermediate frequency adjustment unit 163, radio frequency adjustment unit 161 is for when the range value of radiofrequency signal is less than radio frequency door limit value, and controlling maximum gain is the first maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, controlling maximum gain is the second maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; Radio frequency door limit value is the maximum radio frequency signal amplitude value of RF front-end module 12 linear work, and radio frequency door limit value can be 32mV.First intermediate frequency adjustment unit 162 is for when the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, and the gain controlling RF front-end module 12 reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value; First intermediate frequency threshold value is the maximum intermediate-freuqncy signal range value of analog to digital converter linear work, and the first intermediate frequency threshold value can be 700mV.Second intermediate frequency adjustment unit 163 is for when the range value of intermediate-freuqncy signal is less than the second intermediate frequency threshold value, and the gain controlling RF front-end module 12 increases.Second intermediate frequency threshold value is the minimum intermediate-freuqncy signal range value of analog to digital converter linear work, and the second intermediate frequency threshold value can be 350mV.
As shown in Figure 7, for the present invention is used for the fundamental diagram of the automatic growth control module in the automatic gain control equipment embodiment of radio-frequency transmitter in structural representation shown in Fig. 6, Vthif1 is the first intermediate frequency threshold value, Vthif2 is the second intermediate frequency threshold value, Ta, Tb can represent arbitrary time point, solid line be intermediate-freuqncy signal amplitude over time.Now intermediate frequency peak detector adopts sluggish detection mode, first intermediate frequency threshold value and the second intermediate frequency threshold value are set, to make RF front-end module linear work, the amplitude of intermediate-freuqncy signal just need be made to be positioned at the scope of the first intermediate frequency threshold value and the second intermediate frequency threshold value.When Ta, intermediate-freuqncy signal amplitude is greater than the first intermediate frequency threshold value, therefore the gain that the first intermediate frequency adjustment unit will control the second variable gain amplifying unit reduces 6dB, thus intermediate-freuqncy signal amplitude is reduced to just in time be in the scope of the first intermediate frequency threshold value and the second intermediate frequency threshold value; Along with the time to Tb time, intermediate-freuqncy signal amplitude is less than the second intermediate frequency threshold value, therefore the gain that the second intermediate frequency adjustment unit will control the second variable gain amplifying unit increases gently in units of 1dB, is just in time in the scope of the first intermediate frequency threshold value and the second intermediate frequency threshold value until make intermediate-freuqncy signal amplitude increase to.As long as intermediate-freuqncy signal amplitude in the scope of the first intermediate frequency threshold value and the second intermediate frequency threshold value, will not adjust the gain of the second variable gain amplifying unit, to make RF front-end module linear work according to intermediate frequency detection signal.Certainly, RF peak detector also can adopt this kind of sluggish detection mode, does not repeat them here.
Alternatively, then structural representation shown in Figure 3, RF front-end module 12 can comprise: the first variable gain amplifying unit 121, local oscillator 122, frequency mixer 123, low pass filter 124 and the second variable gain amplifying unit 125; First variable gain amplifying unit 121 is connected with automatic growth control module 16, frequency mixer 123 is connected with local oscillator 122 with the first variable gain amplifying unit 121, low pass filter 124 is connected with frequency mixer 123, and the second variable gain amplifying unit 125 is connected with low pass filter 124 with automatic growth control module 16; First variable gain amplifying unit 121 amplifies process for carrying out variable gain for radiofrequency signal; Local oscillator 122 is for generating local oscillated signal; Frequency mixer 123, for the radiofrequency signal after variable gain amplification process and local oscillated signal are carried out Frequency mixing processing, exports intermediate-freuqncy signal; Low pass filter 124 is for carrying out filtering process by intermediate-freuqncy signal; Second variable gain amplifying unit 125 amplifies process for the intermediate-freuqncy signal after process is carried out variable gain; Radio frequency adjustment unit 161 is for controlling the maximum gain of the first variable gain amplifying unit 121, and wherein, when the range value of radiofrequency signal is less than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit 121 is the first maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit 121 is the second maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; First intermediate frequency adjustment unit 162 is for controlling the gain of the second variable gain amplifying unit 125, wherein, when the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, the gain controlling the second variable gain amplifying unit 125 reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value.
Alternatively, RF front-end module 12 can comprise: radio frequency adjustment unit 161 is for controlling the maximum gain of the first variable gain amplifying unit 121, wherein, when the range value of radiofrequency signal is less than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit 121 is the first maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit 121 is the second maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; First intermediate frequency adjustment unit 162 is for controlling the gain of the second variable gain amplifying unit 125, wherein, when the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, the gain controlling the second variable gain amplifying unit 125 reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value; Second intermediate frequency adjustment unit 163 is for controlling the gain of the second variable gain amplifying unit 125, and wherein, when the range value of intermediate-freuqncy signal is less than the second intermediate frequency threshold value, the gain controlling the second variable gain amplifying unit 125 increases.
As shown in Figure 8, be used for the schematic flow sheet of the auto gain control method embodiment of radio-frequency transmitter for the present invention, the method can comprise the steps:
Radiofrequency signal is converted to intermediate-freuqncy signal by step 81, RF front-end module;
Alternatively, radiofrequency signal is received by antenna.
Step 82, RF peak detector detect the range value of radiofrequency signal;
Step 83, intermediate frequency peak detector detect the range value of intermediate-freuqncy signal;
Step 84, automatic growth control module control the maximum gain of RF front-end module according to the range value of radiofrequency signal, control the gain of RF front-end module according to the range value of intermediate-freuqncy signal.
Alternatively, automatic growth control module can comprise: radio frequency adjustment unit and the first intermediate frequency adjustment unit, and wherein, when the range value of radiofrequency signal is less than radio frequency door limit value, it is the first maximum gain that radio frequency adjustment unit controls maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, it is the second maximum gain that radio frequency adjustment unit controls maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; Radio frequency door limit value is the maximum radio frequency signal amplitude value of RF front-end module linear work, and radio frequency door limit value can be 32mV.When the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, the gain that the first intermediate frequency adjustment unit controls RF front-end module reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value; First intermediate frequency threshold value is the maximum intermediate-freuqncy signal range value of analog to digital converter linear work, and the first intermediate frequency threshold value can be 700mV.
Alternatively, automatic growth control module can comprise: radio frequency adjustment unit, the first intermediate frequency adjustment unit and the second intermediate frequency adjustment unit, wherein, when the range value of radiofrequency signal is less than radio frequency door limit value, it is the first maximum gain that radio frequency adjustment unit controls maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, it is the second maximum gain that radio frequency adjustment unit controls maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; When the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, the gain that the first intermediate frequency adjustment unit controls RF front-end module reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value; When the range value of intermediate-freuqncy signal is less than the second intermediate frequency threshold value, the gain that the second intermediate frequency adjustment unit controls RF front-end module increases.Second intermediate frequency threshold value is the minimum intermediate-freuqncy signal range value of analog to digital converter linear work, and the second intermediate frequency threshold value can be 350mV.
In the present embodiment, radiofrequency signal is converted to intermediate-freuqncy signal by RF front-end module, RF peak detector detects the range value of radiofrequency signal, intermediate frequency peak detector detects the range value of intermediate-freuqncy signal, automatic growth control module controls the maximum gain of RF front-end module according to the range value of radiofrequency signal, controls the gain of RF front-end module according to the range value of intermediate-freuqncy signal.Utilize this method, realize RF peak to detect and intermediate frequency peakvalue's checking two kinds of functions simultaneously, according to the linear condition of intermediate frequency peakvalue's checking output control RF front-end module gain, the maximum of RF front-end module gain is controlled according to RF peak testing result, can realize when radio frequency signal frequency depart from local oscillated signal frequency comparatively far away and radiofrequency signal amplitude is larger time, RF front-end module linear work can be made, the interference that the elimination harmonic wave of radiofrequency signal and the harmonic wave of local oscillated signal cause intermediate-freuqncy signal.
Alternatively, RF front-end module can comprise: the first variable gain amplifying unit, local oscillator, frequency mixer, low pass filter and the second variable gain amplifying unit, first variable gain amplifying unit is connected with automatic growth control module, frequency mixer is connected with local oscillator with the first variable gain amplifying unit, low pass filter is connected with frequency mixer, and the second variable gain amplifying unit is connected with low pass filter with automatic growth control module; First variable gain amplifying unit is that radiofrequency signal carries out variable gain amplification process; Local oscillator generates local oscillated signal; Radiofrequency signal after variable gain is amplified process by frequency mixer and local oscillated signal carry out Frequency mixing processing, export intermediate-freuqncy signal; Intermediate-freuqncy signal is carried out filtering process by low pass filter; Intermediate-freuqncy signal after process is carried out variable gain and is amplified process by the second variable gain amplifying unit; Radio frequency adjustment unit is for controlling the maximum gain of the first variable gain amplifying unit, and wherein, when the range value of radiofrequency signal is less than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit is the first maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit is the second maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; First intermediate frequency adjustment unit is for controlling the gain of the second variable gain amplifying unit, wherein, when the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, the gain controlling the second variable gain amplifying unit reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value.
Alternatively, automatic growth control module can comprise: radio frequency adjustment unit is for controlling the maximum gain of the first variable gain amplifying unit, wherein, when the range value of radiofrequency signal is less than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit is the first maximum gain; When the range value of radiofrequency signal is greater than radio frequency door limit value, the maximum gain controlling the first variable gain amplifying unit is the second maximum gain, makes the range value of radiofrequency signal equal radio frequency door limit value; First intermediate frequency adjustment unit is for controlling the gain of the second variable gain amplifying unit, wherein, when the range value of intermediate-freuqncy signal is greater than the first intermediate frequency threshold value, the gain controlling the second variable gain amplifying unit reduces, and makes the range value of intermediate-freuqncy signal equal the first intermediate frequency threshold value; Second intermediate frequency adjustment unit is for controlling the gain of the second variable gain amplifying unit, and wherein, when the range value of intermediate-freuqncy signal is less than the second intermediate frequency threshold value, the gain controlling the second variable gain amplifying unit increases.
As shown in Figure 9, for the structural representation of radiofrequency receiving chip embodiment of the present invention, radiofrequency receiving chip 90 can comprise: automatic gain control equipment 30, analog to digital converter 13, digital signal processor 14 and digital to analog converter 15, analog to digital converter 13 is connected with automatic gain control equipment 30, digital signal processor 14 is connected with analog to digital converter 13, and digital to analog converter 15 is connected with digital signal processor 14.Radiofrequency signal is converted to intermediate-freuqncy signal by automatic gain control equipment 30, detect the range value of radiofrequency signal and the range value of intermediate-freuqncy signal, control the maximum gain of RF front-end module according to the range value of radiofrequency signal, control the gain of RF front-end module according to the range value of intermediate-freuqncy signal; Analog if signal is transformed into digital medium-frequency signal by analog to digital converter 13; Digital medium-frequency signal is demodulated to digital audio and video signals by digital signal processor 14, such as: carry out image frequency and suppress process, frequency-selective filtering process, demodulation process and audio frequency filtering process; Digital audio and video signals is transformed into simulated audio signal by digital to analog converter 15.
Automatic gain control equipment 30 can be the automatic gain control equipment of the radio-frequency transmitter in previous embodiment, does not repeat them here.
As shown in Figure 10, be the structural representation of radio-frequency transmitter embodiment of the present invention, this radio-frequency transmitter can comprise: antenna 11 and radiofrequency receiving chip 90, radiofrequency receiving chip 90 is connected with antenna 11.
Antenna 11 received RF signal; Radiofrequency receiving chip 90 processes radiofrequency signal; Radiofrequency receiving chip 90 can be the radiofrequency receiving chip shown in Fig. 9, does not repeat them here.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.