Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that do not conflicting
In the case of, the embodiment in the application and the feature in embodiment can be mutually combined.It should be noted that the preferred embodiment
It is intended merely to preferably describe the present invention, is not intended that and the present invention is limited improperly.
Present embodiments provide the acquisition methods of the precompensation coefficient of a kind of cable, as it is shown in figure 1, comprise the following steps:
Step S102: obtain cable amplitude attenuation value of multiple Frequency points in predetermined band under given carrier frequency,
Wherein, the corresponding amplitude attenuation value of each Frequency point of multiple Frequency points;
Step S104: be worth to the precompensation coefficient of cable according to Frequency points multiple in predetermined band and amplitude fading.
In above-mentioned preferred implementation, according to cable at different Frequency points corresponding different amplitude attenuation value
Determine the precompensation coefficient of cable, solve the acquisition realizing precompensation coefficient in prior art by the way of feedback circuit
And the accuracy of the parameter estimation caused is difficult to guaranteed technical problem, reach the accuracy of raising precompensation coefficient
Technique effect, it is achieved that the simple purpose accurately estimating cable precompensation coefficient.
For the amplitude attenuation value that above-mentioned Frequency point and Frequency point are corresponding, can obtain according to following two mode:
1) test by the actual signal of cable, the amplitude fading under multiple Frequency points in obtaining predetermined band
Value;That is, test actual cable obtains cable attenuation characteristic in cable carrier frequency f and actual signal bandwidth B;
2) obtain the corresponding relation between preset frequency and the amplitude attenuation value of cable, determine predetermined frequency according to corresponding relation
Amplitude attenuation value under multiple Frequency points in section.For example, it is possible to generate signal at carrier wave by the cable properties in cable handbook
Cable attenuation characteristic in frequency f and actual signal bandwidth B.
After the amplitude attenuation value of the frequency and correspondence thereof that get cable, cable can be obtained as follows
Attenuation quotient, as in figure 2 it is shown, comprise the following steps:
Step S202: obtain the cable with cable according to Frequency points multiple in predetermined band and amplitude attenuation value's matching special
The wave filter that property is corresponding;
Step S204: by ideal signal by wave filter, obtain correspondence to carrying out sampling by the ideal signal of wave filter
Deamplification in cable;
Step S206: compare the precompensation coefficient obtaining cable according to deamplification and ideal signal.
I.e., first according to the Frequency point obtained obtain with amplitude attenuation value's matching one corresponding with the cable properties of this cable
Wave filter, just can test out the signal attenuation of generation, so that it is determined that this cable is pre-by ideal signal by this wave filter
Penalty coefficient.By this purpose achieving the quick and precisely precompensation coefficient of cable.
In above-mentioned steps S202, obtain and cable according to Frequency points multiple in predetermined band and amplitude attenuation value's matching
Wave filter corresponding to cable properties time, first the amplitude fading of the Frequency point obtained and its correspondence can be normalized place
Reason, in a preferred embodiment, can realize in such a way: to multiple Frequency points with corresponding to multiple Frequency points
The amplitude attenuation value of each Frequency point is normalized;Result matching according to obtaining after normalized obtains and cable
Wave filter corresponding to cable properties.
Such as, when the amplitude attenuation value of each Frequency point corresponding to multiple Frequency points is normalized, can
To determine this frequency according to according to the amplitude attenuation value corresponding to the previous Frequency point of each Frequency point and predetermined constant value
The mode of the normalization amplitude attenuation value of the corresponding amplitude attenuation value of rate point realizes;Multiple Frequency points are being normalized
During process, can realize except the mode of the normalized frequency obtaining each Frequency point in sample frequency according to each Frequency point.
In view of after normalized, the frequency obtained can not cover this scope of 0-1, therefore can be according to acquisition
Maximum normalized frequency and the minimum several point of normalized frequency re-sampling, so that frequency can cover this scope of 0-1, and
Normalization amplitude attenuation value is determined the most again for the frequency of choosing after this.In a preferred embodiment, to multiple
After carrier frequency and the amplitude attenuation value corresponding to each carrier frequency are normalized, said method also includes: root
According to the maximum normalization carrier frequency obtained after normalized and minimum normalized frequency, between 0 to 1, choose one
Or multiple normalization carrier frequency, and it is that these one or more normalized frequencies select normalization amplitude attenuation value.
In order to reach simpler matching when, it may be considered that minimum Frequency point is returned 0 process, so in reality
Existing matching is more convenient when of design, in a preferred embodiment, at each Frequency point except obtaining often in sample frequency
After the normalized frequency of individual carrier frequency, said method also includes: at the normalized frequency of each Frequency point and normalization
The minimum normalized frequency obtained after reason is subtracted each other;The result obtained after subtracting each other is as normalized frequency, wherein, and this normalization
Frequency obtains the wave filter corresponding with cable properties for matching.
Additionally providing the acquisition device of the precompensation coefficient of a kind of cable in the present embodiment, this device is used for realizing above-mentioned
Embodiment and preferred implementation, carried out repeating no more of explanation.As used below, term " unit " " module "
The software of predetermined function and/or the combination of hardware can be realized.Although the device described by following example is preferably with software
Realize, but hardware, or the realization of the combination of software and hardware also may and be contemplated.Fig. 3 is the pre-benefit of cable
Repay a kind of preferred structure block diagram of the acquisition device of coefficient, as it is shown on figure 3, include: acquiring unit 302 and signal generating unit 304, under
In the face of this structure illustrates.
Acquiring unit 302, for obtaining cable amplitude of multiple Frequency points in predetermined band under given carrier frequency
Pad value, wherein, the corresponding amplitude attenuation value of each Frequency point of multiple Frequency points;
Signal generating unit 304, couples with acquiring unit 302, for being worth to electricity according to multiple Frequency points and amplitude fading
The precompensation coefficient of cable.
In a preferred embodiment, as shown in Figure 4, signal generating unit 304 includes: fitting module 402, for according to many
Individual Frequency point and amplitude attenuation value's matching obtain the wave filter corresponding with the cable properties of cable;Sampling module 404, with matching
Module 402 couples, for by ideal signal by wave filter, to by the ideal signal of wave filter carry out sampling obtain corresponding to
The deamplification of cable;Generation module 406, couples with sampling module 404, for comparing according to deamplification and ideal signal
Relatively obtain the precompensation coefficient of cable.
In order to be more fully understood that the present invention, realize entering one below in conjunction with specific embodiment and concrete algorithm
Step explanation.
As a example by immediate frequency cable, one of problem to be solved by this invention is that in microwave system, intermediate frequency analog band limited signal leads to
The problem decayed on different frequency bands when crossing the cable between indoor unit (IDU) and outdoor unit (OUD), accordingly, it would be desirable to carry
Go out the mode of a kind of penalty coefficient that can estimate signal attenuation exactly, in order to signal is pre-compensated at numeric field,
Thus immediate frequency cable impact on analog if signal is reduced or eliminated.
Detailed process is as follows:
Actual cable is tested, obtains immediate frequency cable declining in cable carrier frequency f and actual signal bandwidth B
Subtract performance plot, or generate signal electricity in carrier frequency f and actual signal bandwidth B according to the cable properties in cable handbook
Cable attenuation characteristic figure.Method according to above-mentioned cable attenuation characteristic figure is as it is shown in figure 5, comprise the following steps:
Step S502: according to cable attenuation characteristic curve chart, and predetermined algorithm designs one group of wave filter and carries out signal band
The matching of the cable properties in width.Specifically include following steps:
Step S1: obtain the amplitude fading in carrier frequency f and signal bandwidth B according to cable attenuation characteristic figure.
The carrier frequency assuming the intermediate-freuqncy signal by cable is fC, wherein,Sample frequency is fS, wherein, fS>
2fC.At frequency range [fC-B/2 fC+ B/2] in choose n frequency: f1,f2,…,fn, wherein, f1=fC-B/2、fn=fC+B/2.From electricity
Cable attenuation characteristic curve figure reads frequency: f1,f2,…,fnCorresponding amplitude attenuation value: α1,α2,…,αn。
Step S2: to frequency f1,f2,…,fnWith amplitude attenuation value α1,α2,…,αnIt is normalized.
N frequency f1,f2,…,fnIt is respectively divided by sample frequency fSObtain normalized frequency f '1,f′2,…,f′n;
Corresponding amplitude attenuation value: α1,α2,…,αnIt is normalized through following process and obtains normalization amplitude
Value α1′,α2′,…,αn':
Wherein, C is constant, for as required to the filter passband waveform designed and frequency range [fC-B/2 fC+ B/2] electricity
The fitting degree of cable attenuation characteristic curve is adjusted.
Step S504: the wave filter of design approximation cable properties.
In wave filter normalized frequency section [0 1], N number of Frequency point, wherein, N is taken in the normalized frequency obtained > n.Tool
Body selection mode is as follows:
1) if normalized frequency f1′=0,fn' < 1, then at normalized frequency section (fn' 1] N-n frequency is chosen in, this
The normalization range value of N-n frequency is αn′;
2) if normalized frequency f1′>0,fn'=1, then at normalized frequency section [0 f1') in choose N-n frequency, this
The normalization range value of N-n frequency is α1′;
3) if normalized frequency f1′>0,fn' < 1, then at normalized frequency section [0 f1') and (fn' 1] choose in respectively
Take n1And n2Individual Frequency point, n1+n2+ n=N, wherein, normalized frequency section [0 f1') in n1The normalization range value that individual frequency is corresponding
For α1', normalized frequency section (fn' 1] n in2The normalization range value that individual Frequency point is corresponding is αn′。
According to fixed N number of frequency and corresponding normalization range value, the corresponding filter in matlab can be used
The design order of ripple device designs corresponding wave filter, such as: can design low pass filter, the logical filter of firls design band with fir2
Ripple device etc..Q is the filter order of design.
Preferably, so that fit procedure is more convenient accurately, it is also possible to above-mentioned normalization process is improved:
First, signal is obtained by cable amplitude in carrier frequency f and signal bandwidth B according to cable attenuation characteristic figure
Decay;
Then, n normalized frequency point and corresponding normalization range value are obtained according to step S2;
Finally, then by first some f of normalized frequency point1' return 0, it may be assumed that
f1″=f1′-f1′=0,
f2″=f2′-f1′,
…
fn″=fn′-f1′
f1″,…,fn" being the frequency after returning " 0 ", its corresponding normalization range value keeps constant, now signal bandwidth
Interior mid frequencyThen the mode according still further to above-mentioned steps S3 obtains N number of Frequency point, and uses filtering in matlab
Device design order fir2 designs one group of low pass filter.Constant C in set-up procedure S2 make in pass band decay with
Frequency range [fC-B/2 fC+ B/2] inner cable attenuation characteristic curve approximate fits.Preferably, it is also possible to wait wave filter to carry out with band is logical
Realize the design of wave filter.
Step S506: obtain the letter with cable attenuation characteristic according to the fitting result of the cable properties in signal bandwidth
Number.
After carrying out curve fitting, the orthogonal modulation numeral of " 0 " frequency before one group of ADC that makes a start can be gathered in IDU
Signal x (n), is adjusted to carrier frequency f by this signal by numeral NCOCOn;Signal x ' (n) after frequency modulation is by step
X is obtained after the Q rank wave filter designed in S502 " (n), then be adjusted on " 0 " frequency through numeral NCO, output signal is y (n).
Cable properties is joined in known digital signal and obtains the signal with cable attenuation characteristic by this process.
Wherein, the mathematical formulae of numeral NCO is:
NCO=cos(2π*fC*n/fS)+jsin(2π*fC*n/fS)
The formula of mathematical of Digital Up Convert is: x ' (n)=x (n) * NCO
The formula of mathematical of Digital Down Convert is: y (n)=x " (n) * NCOH
Step S508: obtain precompensation coefficient according to the signal with cable attenuation characteristic.
It is assumed that the exponent number of preemphasis compensating filter FIR1, FIR2, FIR3 and FIR4 of default is M, i.e. mend
Repaying coefficient number is P, and originating data x (n) obtained according to step S506 and receiving end data y (n) also use LMS, RLS etc. adaptive
Algorithm for estimating is answered to be calculated the coefficient of 4 groups of FIR filter, as shown in Figure 6 and Figure 7.
By above-mentioned steps S504 and above-mentioned steps S506, by the attenuation characteristic of cable is carried out in said method
Matching generates FIR filter, and uses the data source of known signal bandwidth to carry out the simple and quick compensation estimating cable attenuation
Parameter.Achieve and solve the problem of the extraction of immediate frequency cable precompensation parameter in microwave system quickly and easily, such that it is able to simple
Single estimate accurately for the filter coefficient compensated required for cable attenuation.Compared with prior art, can mend by off-line
Repay the estimation of parameter, without the need for by analog feedback loop, decrease the loop impact on parameter estimation of feedback.
Below by a specific embodiment, above-mentioned algorithmic procedure is described.
Assume signal bandwidth B=49.6MHz, signal sampling speed fS=198.4MHz, signal crosses carrier wave during immediate frequency cable
Frequency f=350MHz.Now, the cable properties curve in signal bandwidth, as shown in Fig. 8 black real point part.Originating data x
N () is the QPSK symbol of stochastic generation.
On the basis of above-mentioned parameter, estimate that the detailed process of cable precompensation coefficient is as follows:
The cable properties in the signal bandwidth that frequency band is [325MHz 375MHz] can be obtained according to Fig. 8.In this frequency range
In the range of take n=5 frequency, wherein, fk=325+ (k-1) * 12.4, n=1,2 ... 5.This amplitude fading corresponding to 5 frequencies
Value is: α1=-26.1289, α2=-26.5655, α3=-26.9932,α4=-27.4125,α5=-27.8239。
5 frequencies gathered are carried out the normalized of frequency and amplitude attenuation value:
Wherein, frequency normalization:
fk'=fk/fS, k=1,2,3,4,5
The normalization of amplitude fading:
Wherein, current C takes 70.
The low pass filter of the cable attenuation characteristic in design fitted signal bandwidth.
First, the f in 5 frequencies that will gather1' carry out returning 0 process, the frequency obtained after the most above-mentioned normalization to become:
f1″=f1′-f1′=0,
Wherein, f1″,…,f5" being the frequency after returning " 0 ", the normalization range value of its correspondence keeps constant.
α1″=α1′,α2″=α2′,α3″=α3′,α4″=α4′,α5″=α5′
Then, wave filter normalized frequency [0 1] takes N=12 Frequency point, wherein, including f1″,…,f5", i.e. exist
(f5" 1] in take 7 Frequency points:
f6=0.51,f7=0.56,f8=0.6,f9=0.7,f10=0.8, f11=0.9,f12=1, the width that this 7 Frequency points are corresponding
Degree is: α6=α7=α8=α9=α10=α11=α12=α5
Then, according to these 12 wave filter frequency: f1″,f2″,…,f12" and amplitude alpha1″,α2″,…,α12", use
Wave filter design order fir2 in matlab.It is assumed that the filter order of dummycable is 21, it is special that design obtains matching cable
21 rank low pass filters of property.The now mid frequency of signal bandwidth
Originating data x (n) first passing through numeral NCO carry out up-conversion and obtain signal x ' (n), carrier frequency isThen x ' (n) is by the 21 rank cable low pass filters designed, and output signal is x " (n);Then,
By cable wave filter laggard row number down coversion, output signal is y (n).Y (n) is the signal with cable attenuation characteristic.
Wherein, the mathematical formulae of numeral NCO is:
NCO=cos(2π*fC*n/fS)+jsin(2π*fC*n/fS)
The formula of mathematical of Digital Up Convert is: x ' (n)=x (n) * NCO
The formula of mathematical of Digital Down Convert is: y (n)=x " (n) * NCOH
Known ideal signal x (n) of making a start, cable feedback signal y (n), set the precompensation coefficient of cable as M rank, pass through
The ART network algorithms such as LMS, RLS obtain precompensation coefficient w of cable, and w is M rank plural numbers.Compensating filter FIR1 in Fig. 6,
The coefficient of FIR2, FIR3 and FIR4 is: FIR1 coefficient is the real part of precompensation coefficient w;FIR2 coefficient is the void of precompensation coefficient w
Portion;FIR3 coefficient is the imaginary part of precompensation coefficient w conjugation;FIR4 coefficient is the real part of precompensation coefficient w conjugation.
In another embodiment, additionally providing a kind of software, this software is used for performing above-described embodiment and the most real
Execute the technical scheme described in mode.
In another embodiment, additionally providing a kind of storage medium, in this storage medium, storage has above-mentioned software, should
Storage medium includes but not limited to: CD, floppy disk, hard disk, scratch pad memory etc..
As can be seen from the above description, present invention achieves following technique effect: according to cable at different carrier waves
Frequency determines the precompensation coefficient of cable corresponding different amplitude attenuation value, solves in prior art by feedback
The mode of circuit realizes the acquisition of precompensation coefficient and the accuracy of parameter estimation that causes is difficult to guaranteed technical problem,
Reach the technique effect of the accuracy improving precompensation coefficient, it is achieved that the simple mesh accurately estimating cable precompensation coefficient
's.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Calculating device realize, they can concentrate on single calculating device, or be distributed in multiple calculating device and formed
Network on, alternatively, they can with calculate the executable program code of device realize, it is thus possible to by they store
Performed by calculating device in the storage device, and in some cases, can perform with the order being different from herein shown
The step gone out or describe, or they are fabricated to respectively each integrated circuit modules, or by the multiple modules in them or
Step is fabricated to single integrated circuit module and realizes.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.