Background technology
Using in (DWDM) transmission system based on the intensive multiplexed optical wave of palarization multiplexing difference quadrature phase shift keying (PM-DQPSK), signal is through the transmission of long distance and be subject to dispersion (CD), the impact of polarization mode dispersion (PMD) changes, thus the light signal gross distortion that causes receiving terminal to receive.Therefore, receiving terminal is carrying out light signal after photoelectric conversion module is converted to the signal of telecommunication, needs that also the signal of telecommunication is carried out filtering etc. and processes the correct reception that could realize information.
In Electric signal processing, Digital Signal Processing is one of processing means of commonly using, before Digital Signal Processing, need to utilize analog-to-digital conversion ADC sample circuit, but in the process of ADC sampling, because the ADC sampling clock is local oscillations, the signal that receives with ADC exists certain frequency error and phase error, if these errors are not realized adjusting, in the situation that constantly accumulation of error will directly cause the information of back to receive mistake.
In the prior art, receive frequency error and the phase error of signal for adjusting ADC sampled clock signal and ADC, usually the method that adopts is directly the ADC sampled clock signal to be adjusted, to reach the sampled clock signal effect synchronous with receiving signal, it realizes block diagram as shown in Figure 1, and ADC sample circuit output signal successively by phase error detection circuit, denoising circuit and Voltage-Controlled oscillation circuit VCO, is generated the ADC sampling clock, wherein, Voltage-Controlled oscillation circuit VCO is analog circuit.
The implementation method of above-mentioned sampling clock Circuit tuning generally has two kinds:
A kind of is that phase error detection circuit, denoising circuit and Voltage-Controlled oscillation circuit VCO are integrated in realizing on the chip piece.Because phase error detection circuit, denoising circuit are digital circuits, and Voltage-Controlled oscillation circuit VCO is analog circuit.In this digital analog mixed design, the noise jamming chance that analog circuit is subject to digital circuit is large, thereby the stability of whole chip is impacted.
Another kind is separately Voltage-Controlled oscillation circuit VCO to be made application-specific integrated circuit (ASIC) (Application Specified Integrated Circuit, ASIC), and namely the digital circuit with other separates realization.Although this scheme has reduced the interference of the digital circuit that VCO is subject to, and has additionally increased the design cost of whole sampling clock Circuit tuning and the complexity of circuit design.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of self adaptation sample value estimating circuit and method, to solve minimizing through the frequency error of the signal of ADC sample circuit output and the technical problem of phase error.
For solving the problems of the technologies described above, the invention provides a kind of self adaptation sample value estimating circuit, described circuit comprises phase error detection module, denoising module, digital control oscillation module and sample value estimation module, wherein,
Described phase error detection module, be used for calculating phase error U (k) according to the estimation sample value y (k) of analog-to-digital conversion (ADC) circuit output signal, and described phase error U (k) is sent to described denoising module, k is the integer more than or equal to 0;
Described denoising module is used for the high frequency noise components of the described phase error U of filtering (k), obtains stably phase error W (k), and with this stably phase error W (k) be sent to described digital control oscillation module;
Described digital control oscillation module is used for estimating pointer m according to described stably phase error W (k) computes integer
kEstimate pointer μ with decimal
k, and with described integer estimation pointer m
kEstimate pointer μ with decimal
kBe sent to described sample value estimation module;
Described sample value estimation module is used for estimating pointer m according to described integer
kThe location participates in the output signal of the described adc circuit of sample value estimation, estimates pointer μ according to decimal
kDetermine the coefficient of described output signal, utilize described output signal to obtain estimating sample value y (k), and should estimate that sample value y (k) was sent to described phase error detection module.
Further, described y (k) is the DQPSK signal of two-dimensional modulation
Further,
Described m
k=floor (W (k) * k), floor () expression rounds;
μ
k=NCO
out(k)/W(k);
NCO
out(k)=[NCO
out(k-1)-W(k-1)]mod1;
NCO
out(0)=0。
Further,
y(k)=x(m
k+2)×C
2(μ
k)+x(m
k+1)×C
1(μ
k)+x(m
k)×C
0(μ
k)+x(m
k-1)×C
-1(μ
k);
Wherein, x (m
k+ 2), x (m
k+ 1), x (m
k), x (m
k-1) represents successively the m of adc circuit
k+ 2, m
k+ 1, m
kAnd m
k-1 output signal.
For solving the problems of the technologies described above, the present invention also provides a kind of self adaptation sample value method of estimation, and described method comprises:
Estimation sample value y (k) according to analog-to-digital conversion (ADC) circuit output signal calculates phase error U (k);
The high frequency noise components of the described phase error U of filtering (k) obtains stably phase error W (k);
Estimate pointer m according to described stably phase error W (k) computes integer
kEstimate pointer μ with decimal
k
Estimate pointer m according to described integer
kThe location participates in the output signal of the described adc circuit of sample value estimation, estimates pointer μ according to decimal
kDetermine the coefficient of described output signal, utilize described output signal to obtain estimating sample value y (k).
Further, be the DQPSK signal of two-dimensional modulation as y (k);
Further,
Described m
k=floor (W (k) * k), floor () expression rounds;
μ
k=NCO
out(k)/W(k);
NCO
out(k)=[NCO
out(k-1)-W(k-1)]mod1。
Further,
y(k)=x(m
k+2)×C
2(μ
k)+x(m
k+1)×C
1(μ
k)+x(m
k)×C
0(μ
k)+x(m
k-1)×C
-1(μ
k);
Wherein, x (m
k+ 2), x (m
k+ 1), x (m
k), x (m
k-1) represents successively the m of adc circuit
k+ 2, m
k+ 1, m
kAnd m
k-1 output signal.
Technique scheme no longer reduces frequency error and the phase error of the signal of exporting through the ADC sample circuit by adjusting the ADC sampling clock, but the signal through the output of ADC sample circuit is carried out frequency error and the phase error that the self adaptation sample value estimates to reduce the signal of exporting through the ADC sample circuit, whole self adaptation sample value estimating circuit is digital circuit, namely guarantee the stability of self adaptation sample value estimating circuit, also can not bring extra complexity for circuit design.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter in connection with accompanying drawing embodiments of the invention are elaborated.Need to prove, in the situation that do not conflict, the embodiment among the application and the feature among the embodiment be combination in any mutually.
Fig. 2 is the self adaptation sample value estimating circuit composition diagram of the present embodiment.
This self adaptation sample value estimating circuit comprises phase error detection module, denoising module, digital control oscillation module and sample value estimation module, wherein,
The phase error detection module, be used for calculating phase error U (k) according to the estimation sample value y (k) of analog-to-digital conversion (ADC) circuit output signal, and described phase error U (k) is sent to described denoising module, k is the integer more than or equal to 0;
As, input estimates that sample value y (k) is the DQPSK signal of two-dimensional modulation,
Then
Wherein, I, Q are respectively real part and the imaginary part of y (k); K,
K-1 is 3 continuous sampled point sequence numbers, and the electrical block diagram of this phase error detection module as shown in Figure 3.
There is not phase error, namely during the signal Complete Synchronization of ADC sampling clock and input ADC, if the polarity of sample value of the signal of input ADC changes, intermediate samples point then
With
Should be zero; If the polarity of the sample value of the signal of input ADC does not change, then [I (k)-I (k-1)] and [Q (k)-Q (k-1)] should be zero.Therefore, no matter how sample value changes, when not having phase error, the output U (k) of phase error detection circuit is zero.Otherwise when there was phase difference in the sample value of signal of sampling clock and input ADC, then the output U (k) of phase error detection circuit was non-vanishing.The size of U (k) absolute value represents the size of phase error, the direction of its symbolic representation phase error.
The denoising module is used for the high frequency noise components of the described phase error U of filtering (k), obtains stably phase error W (k), and with this stably phase error W (k) be sent to described digital control oscillation module;
Obtaining of phase error W (k) can be realized by following formula stably:
X
p(k)=w
1·U(k);
X
i(k)=w
2·U(k)+X
i(k-1);
W(k)=X
p(k)+X
i(k);
w
1Be proportional gain, w
2Be storage gain w
2
X
p(k) expression proportional path, it is by phase error U (k) and proportional gain w
1Multiplying each other obtains, and is used for the control self adaptation sample value estimating circuit phase error amplitude of accommodation each time.Such as: in the ideal case, if there is not phase error, i.e. U (k)=0, then proportional path X
p(k)=0, the phase error amplitude of accommodation of self adaptation sample value estimating circuit is zero.Along with proportional path X
p(k) increase, the phase error amplitude of accommodation also increases.
X
i(k) expression path of integration, it is cumulative errors.Since the current cumulative errors that obtain be prime cumulative errors and error current and, so even if error current and prime error have larger difference, react in the fluctuation of current cumulative errors value also less, namely obtain a stably phase error.
The electrical block diagram of denoising module as shown in Figure 4.
Digital control oscillation module is used for estimating pointer m according to described stably phase error W (k) computes integer
kEstimate pointer μ with decimal
k, and with described integer estimation pointer m
kEstimate pointer μ with decimal
kBe sent to described sample value estimation module;
When y (k) is the DQPSK signal of two-dimensional modulation,
Integer is estimated pointer m
kEstimate pointer μ with decimal
kCan obtain according to following formula:
m
k=floor (W (k) * k), floor () expression rounds;
μ
k=NCO
out(k)/W(k);
NCO
out(k)=[NCO
out(k-1)-W(k-1)]mod1。
NCO
out(0)=0。
From NCO
Out(k) see NCO on the computing formula
Out(k) be equivalent to a phase register, wherein the value of register is constantly adjusted according to W (k-1).Work as NCO
Out(k) be at 0 o'clock, there is not phase error in corresponding sampled point, at this moment the sampling clock of ADC and the signal Complete Synchronization of inputting ADC.
The electrical block diagram of digital control oscillation module as shown in Figure 5.
The sample value estimation module is used for estimating pointer m according to described integer
kThe location participates in the output signal of the adc circuit of sample value estimation, estimates pointer μ according to decimal
kDetermine the coefficient of described output signal, utilize described output signal to carry out sample value and estimate, obtain estimating sample value y (k), and the sample value y (k) that estimates is sent to described phase error detection module.
When y (k) is the DQPSK signal of two-dimensional modulation,
y(k)=x(m
k+2)×C
2(μ
k)+x(m
k+1)×C
1(μ
k)+x(m
k)×C
0(μ
k)+x(m
k-1)×C
-1(μ
k);
Wherein, x (m
k+ 2), x (m
k+ 1), x (m
k), x (m
k-1) represents successively the m of adc circuit
k+ 2, m
k+ 1, m
kAnd m
k-1 output signal.
The electrical block diagram of sample value estimation module as shown in Figure 6.
The output y (k) of sample value estimation module has eliminated frequency and the phase error of this sampled signal with respect to the sampled signal through adc circuit output, and y (k) is the sampled value that follow-up Digital Signal Processing needs.
Fig. 7 is the self adaptation sample value method of estimation flow chart of the present embodiment.
S701 calculates phase error U (k) according to the estimation sample value y (k) of analog-to-digital conversion (ADC) circuit output signal;
When y (k) is the DQPSK signal of two-dimensional modulation,
Wherein, I, Q are respectively real part and the imaginary part of y (k); K,
K-1 is 3 continuous sampled point sequence numbers;
The high frequency noise components of the described phase error U of S702 filtering (k) obtains stably phase error W (k);
S703 estimates pointer m according to described stably phase error W (k) computes integer
kEstimate pointer μ with decimal
k
When y (k) is the DQPSK signal of two-dimensional modulation,
Described m
k=floor (W (k) * k), floor () expression rounds;
μ
k=NCO
out(k)/W(k);
NCO
out(k)=[NCO
out(k-1)-W(k-1)]mod1。
S704 estimates pointer m according to described integer
kThe location participates in the output signal of the described adc circuit of sample value estimation, estimates pointer μ according to decimal
kDetermine the coefficient of described output signal, utilize described output signal to obtain estimating sample value y (k);
When y (k) is the DQPSK signal of two-dimensional modulation,
y(k)=x(m
k+2)×C
2(μ
k)+x(m
k+1)×C
1(μ
k)+x(m
k)×C
0(μ
k)+x(m
k-1)×C
-1(μ
k);
Wherein, x (m
k+ 2), x (m
k+ 1), x (m
k), x (m
k-1) represents successively the m of adc circuit
k+ 2, m
k+ 1, m
kAnd m
k-1 output signal.
One of ordinary skill in the art will appreciate that all or part of step in the said method can come the instruction related hardware to finish by program, described program can be stored in the computer-readable recording medium, such as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can realize with one or more integrated circuits, and correspondingly, each the module/unit in above-described embodiment can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Need to prove; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.