The control method of digital automatic electric-level gain
Technical field
The present invention relates to a kind of method of digital signal transmission technique field, relate in particular to a kind of control method that is applicable to the digital automatic electric-level gain of Digital Television Terrestrial Broadcasting receiver.
Technical background
In the high-speed digital signal wireless transmitting system, such as digital high-definition television (HDTV), signal is subjected to the influence of transmission channel in the wireless transmission process, and the influences such as employing of reception antenna have a fluctuation on a large scale in the signal power of receiving terminal.In actual conditions, such as under vehicle-mounted situation of movement, enter and leave blocking of a mansion, the just very possible appearance of receiver receives that at a time signal level is 3uV, and at another constantly, may just in time leave blocking of mansion and the signal received just may be 1V.Therefore the adjusting range that just needs a nearly 110dB scope to received signal.Fig. 1 has shown that ADTB-T OQAM system data adds the spectrogram of double pilot, has illustrated the relative amplitude size of frequency spectrum among the figure.But problem is that in receiver, because the limited quantified precision of A/D converter, the range of signal that can represent is less than the dynamic change scope of received signal amplitude.Therefore automatic electric-level gain control agc circuit commonly used comes to received signal level to control and compensate in receiver.
In general, AGC can be divided into two kinds by the form of control signal: promptly simulate AGC and digital AGC, in actual applications, what often adopt is that the mode that simulation AGC and digital AGC interosculate is carried out work.AGC carries out coarse adjustment with simulation, carries out fine tuning with digital AGC.The present invention is adjusted to the basis with the digital AGC as the fine tuning link.
Finding through the literature search to prior art, is in the Chinese patent " agc circuit " of " CN200410056346.X " in the disclosed patent No. of 2005.02.16, has proposed a kind of circuit of AGC control.Control signal is an analog signal among the AGC that this patent proposes, and can carry out adjusting in a big way, but if be applied to ADTB-T advanced digital terrestrial broadcast system, then precision may be not enough.
ADTB-T advanced digital terrestrial broadcast system, its transmission system is based on OQAM offset quadrature amplitude modulation(PAM).Because OQAM coherent demodulation reprocessing output I and Q two-way can co-extracted control informations from I and Q road signal.And in fact VSB has only I one road signal to use, and available information is few.And the I of QAM modulating system and Q road are mutually independently, do not become the Hilbert variation relation.Therefore in application, might make full use of the performance that I and Q two-way information improve the AGC control circuit at ADTB-T advanced digital terrestrial broadcast system.
Summary of the invention
The present invention is directed to the deficiencies in the prior art, the digital automatic electric-level gain control method of receiver in a kind of Digital Television Terrestrial Broadcasting is provided.The invention solves digital signal in the wireless transmission process, be subjected to channel effects, receiving end signal power has large-scale fluctuation, thereby influences the problem of the quality of reception.
The present invention realizes that by the following technical solutions a kind of digital automatic electric-level gain control method of Digital Television Terrestrial Broadcasting receiver that is applicable to comprises: realize received signal is regulated by an automatic electric-level gain control loop; Wherein, described automatic electric-level gain control loop comprises: two multipliers, and a square root wave detector, a logarithm operation device, a real substract musical instruments used in a Buddhist or Taoist mass, a reality is taken advantage of device, an integrator and an antilogarithm arithmetic unit; The OQAM signal is made up of two paths of signals through the complex signal that the demodulation reprocessing obtains in receiver, and they are respectively I road and Q road, and complex signal is expressed as (XI (n)+jXQ (n)); Above-mentioned complex signal is respectively through a multiplier, multiplies each other with the control signal M of digital AGC, obtains output signal (YI (n)+jYQ (n)); This signal is sent into a signal power detector, and to real part and each squared back addition of imaginary part, what obtain basically is signal power; Above-mentioned signal power is taken the logarithm; Signal power after taking the logarithm and a reference value R who sets in advance are subtracted each other, obtain an error signal ERR; Above-mentioned error signal is sent into a reality take advantage of device, be multiplied by a yield value K; Above-mentioned reality is taken advantage of device output to send into an integrator again and is done on average, to cut down noise jamming; To obtaining the control signal M of this digital AGC after the operation of above-mentioned integrator output negate logarithm; The control signal M of digital AGC is sent back to the multiplier on I and Q road, make the signal level of output (YI (n)+jYQ (n)) keep stable.
In ADTB-T advanced digital terrestrial broadcast system, in the receiver of OQAM offset quadrature amplitude modulation(PAM) branch system, after the A/D sampling, pass through a digital automatic electric-level gain control loop, the size of the quantized data after the A/D is carried out estimation based on statistical average, promptly to square (being the power of signal) of sampled data, and with the direct estimation of this average as signal power.
Described automatic electric-level gain control loop (AGC loop) both can be to after the receiver down-conversion and the data after the A/D sampling carry out automatic electric-level gain control, also can be that the data in the A/D sampling back institute tool carrier recovery loop are carried out automatic electric-level gain control.
Digital automatic electric-level gain control method of the present invention, its reference value R that sets in advance can select the average power signal of the data message of system transmissions.This reference value R that sets in advance also may be selected to be 20.
The present invention program's beneficial effect is that given digital automatic electric-level gain control device can effectively be controlled and compensate the signal level that is received, and reduces the fluctuation range of signal power, adopts digital controlled signal simultaneously, has higher precision.And the data level that can be widely used in each module of system is controlled.
Description of drawings
Fig. 1 adds the double pilot spectrogram for ADTB-T OQAM system data
The digital AGC loop of Fig. 2 for adopting in the inventive method
Embodiment
Below in conjunction with embodiment the present invention is further described.
The present invention realizes received signal is regulated by an automatic electric-level gain control loop, and Fig. 2 has shown a kind of digital AGC loop that adopts in the inventive method.Described AGC loop comprises two multipliers, a square root wave detector, and a logarithm operation device, a real substract musical instruments used in a Buddhist or Taoist mass, a reality is taken advantage of device, an integrator and an antilogarithm arithmetic unit, control method is specially:
In based on the OQAM communication system for modulation, the OQAM signal arrives after the receiver, at first passes through demodulation, is made up of I and Q two paths of signals through the complex signal that the demodulation reprocessing obtains, and represents with (XI (n)+jXQ (n)); I that (XI (n)+jXQ (n)) forms and Q two paths of signals be respectively through a multiplier, multiplies each other with the control signal M of digital AGC, obtains output signal (YI (n)+jYQ (n)), and this control signal M is from the output of AGC loop; (YI (n)+jYQ (n)) sends into a signal power detector with signal, to real part and each squared back addition of imaginary part.What obtain basically is signal power; Above-mentioned signal power is taken the logarithm; Signal power after taking the logarithm and a reference value R who sets in advance are subtracted each other, obtain an error signal ERR; Above-mentioned error signal is sent into a reality take advantage of device, be multiplied by a yield value K; Above-mentioned reality is taken advantage of device output to send into an integrator again and is done on average, to cut down noise jamming; To obtaining the control signal M of this digital AGC after the operation of above-mentioned integrator output negate logarithm; The control signal M of digital AGC is sent back to the multiplier on I and Q road, make the signal level of output (YI (n)+jYQ (n)) keep stable.
In above-mentioned flow process, if the detected input signal power of receiver less than the power of expection, obtains a positive number after result after taking the logarithm so and preset reference value R subtract each other.Through after taking advantage of device and integrator in fact, remain a positive number.Positive number finally becomes one greater than 1 digital M through the operation of negate logarithm, and this M will increase the energy of input signal as the signal multiplication of control signal and input.
Otherwise, if the detected input signal power of receiver greater than the power of expection, obtains a negative after result after taking the logarithm so and preset reference value R subtract each other.Through after taking advantage of device and integrator in fact, remain a negative.Negative finally becomes one less than 1 digital M through the operation of negate logarithm, and this M will reduce the energy of input signal as the signal multiplication of control signal and input.
Finally, by the continuous adjusting of loop, if being provided with of loop parameter is suitable, the input signal power power that will equal to expect so, after the result after taking the logarithm so subtracts each other with preset reference value R zero.Through after taking advantage of device and integrator in fact, remain zero.Control signal M becomes 1, and the energy of input signal keeps constant on the average meaning.
Use take the logarithm device and the operation of negate logarithm in the loop, purpose is to make control signal M to regulate input signal by multiplication.Device and the negate logarithm operation if do not take the logarithm, control signal will be regulated input signal by plus and minus calculation so.In general, the use of multiplication can make the convergence rate of loop and convergence result all improve greatly.
Integrator in the loop is equivalent to the function of an averager.Because signal is a random distribution, actual Research Significance is just arranged so be averaged energy.Also help improving the convergence rate of loop.