Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of echo eliminator and a kind of method for echo cancellation, to eliminate echo-signal.
Another object of the present invention is to provide a kind of transceiver, to eliminate the echo-signal that is coupled to the reception antenna of transceiver by the transmitting antenna of transceiver.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of echo eliminator comprises: training sequence generator, diverter switch, training sequence detector, Variable delay device, echo channel estimator, filter and adder;
The input of diverter switch is connected to training sequence generator, and echo eliminator enters the channel pre-estimation stage; What diverter switch will be sent from training sequence generator exports to training sequence detector and Variable delay device with the incoherent training sequence of subscriber signal, and outwards output, the delay parameter that the training sequence detector is estimated echo channel according to the input signal and the described training sequence of the described echo eliminator of input, described delay parameter is sent to the Variable delay device, and send the enable signal of starting working to the echo channel estimator; Described input signal is a subscriber signal and echo-signal sum corresponding to the training sequence of described outside output;
The echo channel estimator is started working, and echo eliminator enters the open loop training stage; The Variable delay device will be trained the row preface to postpone to obtain reference signal after the delay parameter time corresponding and be sent to filter and echo channel estimator respectively; Filter is to obtaining expecting that echo-signal sends to adder after the reference signal filtering from the Variable delay device; Another input of adder is described input signal, adder deducts described expectation echo-signal and obtains subscriber signal after echo is eliminated from input signal, the error signal that described subscriber signal after echo is eliminated is estimated as echo sends to the echo channel estimator; The echo channel estimator carries out channel estimating according to reference signal and error signal, obtains estimator coefficients, adjusts filter coefficient according to described estimator coefficients, when described estimator coefficients restrains, sends switching signal to described diverter switch;
Diverter switch switches to adder according to switching signal with its input, and echo eliminator enters the closed loop training stage; Described echo eliminator begins outwards to export the subscriber signal after echo is eliminated.
Described training sequence detector can be used for estimating the delay parameter in each footpath of echo channel according to input signal and training sequence, and estimate the delay parameter of echo channel according to each delay parameter directly of echo channel of described estimation; Can also be used for the delay parameter in the first footpath of described echo channel delay parameter as the echo channel of described estimation.
Described echo channel estimator, can be used for after executing an echo channel estimation, calculate once carry out this echo channel estimate all estimator coefficients of obtaining absolute value and, when each absolute value that calculates in the Preset Time section that begins from current time forward and amplitude of variation within default amplitude or from this echo channel, estimate each absolute value of calculating in the beginning preset times forward and amplitude of variation within default amplitude, and, described absolute value when non-vanishing, judge the estimator coefficients convergence.
Described echo channel estimator can comprise: Minimum Mean Square Error estimator and recurrence minimum variance estimator.
A kind of transceiver comprises receiving processing module and emission processing module, also comprises echo eliminator of the present invention;
Described receiving processing module is used for received signal, and the signal that is received is carried out sending to described echo eliminator after the Base-Band Processing;
Described emission processing module is used to receive the outwards signal of output of described echo eliminator, and described signal is carried out sending after the radio frequency processing;
Described echo eliminator is used for from the receiving processing module receiving inputted signal, and is used for to emission processing module output signal.
A kind of method for echo cancellation comprises:
The incoherent training sequence of A, employing and subscriber signal is estimated the delay parameter of echo channel;
Following operation is carried out in B, circulation: export described training sequence, receiving inputted signal is estimated echo channel according to input signal, training sequence and delay parameter, adjusts estimator coefficients, when judging that described estimator coefficients restrains, stop outwards to export described training sequence;
C, according to outwards output after the echo-signal in described delay parameter and the described input signal of estimator coefficients filtering, and adjust estimator coefficients.
Preferably, described steps A can comprise:
A1, export described training sequence;
A2, receiving inputted signal; Described input signal is a subscriber signal and echo-signal sum corresponding to the training sequence of described outside output;
A3, estimate the delay parameter in each footpath of echo channel according to described training sequence and input signal;
A4, estimate the delay parameter of echo channel according to the delay parameter in each footpath of the echo channel of described estimation.
Described steps A 4 can for: with the delay parameter in the first footpath of described echo channel delay parameter as the echo channel of described estimation.
Among the step B echo channel being carried out estimation approach can comprise:
B1, training sequence is postponed described delay parameter time corresponding, obtain reference signal;
B2, according to estimator coefficients described reference signal is carried out filtering and obtain expecting echo-signal;
B3, from input signal, deduct described expectation echo-signal, obtain the subscriber signal after echo is eliminated, the error signal that described subscriber signal after echo is eliminated is estimated as echo;
B4, adjust estimator coefficients according to described reference signal and error signal.
The method of judging the estimator coefficients convergence among the step B can comprise:
The described echo channel of step B of every execution is estimated, calculate once carry out this echo channel estimate all estimator coefficients of obtaining absolute value and, when each absolute value that calculates in the Preset Time section that begins from current time forward and amplitude of variation within default amplitude or from this echo channel, estimate each absolute value of calculating in the beginning preset times forward and amplitude of variation within default amplitude, and, described absolute value when non-vanishing, judge the estimator coefficients convergence.
Described input signal can be baseband digital signal.
As seen from the above technical solution, in echo eliminator provided by the invention and the method for echo cancellation, at first, the input of diverter switch is connected to training sequence generator, and by the training sequence detector according to training sequence generator sent and the incoherent training sequence of subscriber signal is estimated the delay parameter of echo channel, the echo channel estimator is started working then, according to input signal, training sequence and delay parameter are estimated echo channel, adjust estimator coefficients, when estimator coefficients restrains, the input of diverter switch is switched to adder, after this, echo eliminator stops outwards to export training sequence, and beginning is the subscriber signal of output after echo is eliminated outwards.
In above-mentioned echo eliminator of the present invention and the method for echo cancellation; before the estimator coefficients convergence; the input of diverter switch is connected training sequence generator always; therefore; from the outside output of echo eliminator is the training sequence signal that not disturbed by echo all the time; thereby make echo eliminator be in stable open loop situations; can positive feedback not take place and cause radio frequency link saturated; therefore; the estimator coefficients that can guarantee the echo channel estimator restrains fast, makes echo eliminator enter stable operating state as early as possible.
And after the estimator coefficients convergence, the input of diverter switch switches to adder, at this moment, echo eliminator is no longer outwards exported training sequence, and this has saved data resource on the one hand, has avoided the interference of bringing for subscriber signal because of the transmitting training sequence on the other hand.
And; used the Variable delay device in the technical solution of the present invention; its delay parameter can be provided with according to the result of echo channel pre-estimation, and this can guarantee that echo elimination window covers the time range of echo multipath signal as wide as possible, thereby eliminates echo-signal as much as possible.
In addition, in the transceiver provided by the invention, carry out to the received signal sending to echo eliminator after the Base-Band Processing, guaranteed that it is baseband digital signal that the participation echo is eliminated the reference signal of handling by receiving processing module, the system that makes realizes simple, and cost is lower.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below with reference to the accompanying drawing embodiment that develops simultaneously, the present invention is described in further detail.
Main thought of the present invention is: training sequence generator is set in echo eliminator, diverter switch, the training sequence detector, the Variable delay device, the echo channel estimator, filter and adder, at first, the input of diverter switch is connected to training sequence generator, and by the training sequence detector according to training sequence generator sent and the incoherent training sequence of subscriber signal is estimated the delay parameter of echo channel, the echo channel estimator is started working then, according to input signal, training sequence and delay parameter are estimated echo channel, adjust estimator coefficients, until judging the estimator coefficients convergence, when estimator coefficients restrains, the input of diverter switch is switched to adder, after this, echo eliminator stops outwards to export training sequence, and beginning is the subscriber signal of output after echo is eliminated outwards.
Echo eliminator provided by the present invention can be applied to disturb in order to eliminate echo in the transceiver.
Fig. 1 has the composition structural representation of the transceiver of echo eliminating function for the embodiment of the invention.Referring to Fig. 1, this transceiver not only comprises receiving processing module 108 and the emission processing module 109 in the existing common transceiver, also comprises echo eliminator 110.Wherein, echo eliminator 110 comprises: training sequence generator 101, diverter switch 102, training sequence detector 103, Variable delay device 104, echo channel estimator 105, filter 106 and adder 107, in addition, can also comprise in the echo eliminator 110: automatic gain controller (AGC) 111.Operation principle to the present invention's transceiver shown in Figure 1 is elaborated below.
In the transceiver shown in Figure 1:
Receiving processing module 108 is used for received signal, and the signal that is received is carried out sending to echo eliminator 110 after the Base-Band Processing;
Emission processing module 109 is used to receive the outwards signal of output of echo eliminator 110, and described signal is carried out sending after the radio frequency processing;
Echo eliminator 110 is used for from receiving processing module 108 receiving inputted signals, and its output signal is exported to emission processing module 109.
Echo eliminator inside at transceiver shown in Figure 1:
At first, the input of diverter switch 102 is connected to training sequence generator 101, and at this moment, echo eliminator 110 enters the channel pre-estimation stage; Diverter switch 102 will be exported from training sequence generator 101 send being divided into outside three tunnel: one road direction with the incoherent training sequence of subscriber signal, and one the tunnel exports training sequence detector 103, a tunnel to exports Variable delay device 104 to; Training sequence detector 103 is according to the input signal of input echo eliminator 110 and the delay parameter of estimating echo channel from the training sequence of diverter switch 102, described delay parameter is sent to Variable delay device 104, and send the enable signal of starting working to echo channel estimator 105; Described input signal is a subscriber signal and echo-signal sum corresponding to the training sequence of described outside output;
Then, echo channel estimator 105 is started working under the triggering of enable signal, and echo eliminator 110 enters the open loop training stage; Variable delay device 104 postpones to obtain reference signal after the delay parameter time corresponding with training sequence and sends to filter 106 and echo channel estimator 105 respectively; Obtain expecting that echo-signal sends to adder 107 after 106 pairs of reference signal filtering of filter from Variable delay device 104; Another road input of adder 107 is described input signal, adder 107 deducts described expectation echo-signal and obtains subscriber signal after echo is eliminated from input signal, because this signal mainly is made of subscriber signal, also comprise simultaneously faint residual echo signal, therefore, adder 107 error signal that described subscriber signal after echo is eliminated is estimated as echo sends to echo channel estimator 105; Echo channel estimator 105 carries out channel estimating according to reference signal and error signal, obtains estimator coefficients, adjusts filter coefficient according to described estimator coefficients, when described estimator coefficients restrains, sends switching signals to described diverter switch 102;
Diverter switch 102 switches to adder 107 according to switching signal with its input, and echo eliminator 110 enters the closed loop training stage; Described echo eliminator begins the subscriber signal through echo elimination of outwards output by adder 107 outputs.After this, adder 107 will substitute the training sequence generator 101 in the above-mentioned second stage, will give corresponding module from the signal of adder 107 outputs by diverter switch 102 and be used for echo elimination processing.
Preferably, the training sequence detector 103 in the transceiver shown in Figure 1 is used for estimating the delay parameter in each footpath of echo channel according to input signal and training sequence, and estimates the delay parameter of echo channel according to each delay parameter directly of echo channel of described estimation.
When estimating the delay parameter of echo channel, can adopt multiple mode according to the delay parameter in each footpath of the echo channel of estimating.For example: the delay parameter of signal that first power can be not less than a certain default power threshold is as the delay parameter of echo channel; Also can be with the delay parameter of head delay parameter directly as echo channel.
Whether echo channel estimator 105 shown in Figure 1 possesses the estimator coefficients of judgement restrains, and sends the function of switching signal when convergence to diverter switch.In actual applications, described function also can be provided with an independent module and finish, perhaps with this function setting in a certain control module.Judge that the method whether estimator coefficients restrains has a lot, for example, can carry out as follows:
Whenever executing an echo channel estimates, calculate once carry out this echo channel estimate all estimator coefficients of obtaining absolute value and, when each absolute value that calculates in the Preset Time section that begins from current time forward and amplitude of variation within default amplitude or from this echo channel, estimate each absolute value of calculating in the beginning preset times forward and amplitude of variation within default amplitude, and, described absolute value when non-vanishing, judge the estimator coefficients convergence.
Among Fig. 1, AGC 111 is arranged between adder 107 and the diverter switch 102, is used to realize the gain controlling to adder 107 output signals.
Of the present invention and the incoherent training sequence of subscriber signal can be: PN sequence, CAZAC sequence etc.Echo channel estimator of the present invention can be: Minimum Mean Square Error (LMS, Least MeanSquare) estimator and recurrence minimum variance (RLS, Recursive Least Square) estimator.
Corresponding to the present invention's echo eliminator shown in Figure 1, the present invention also provides a kind of method for echo cancellation, describes below in conjunction with accompanying drawing.
Fig. 2 is the schematic flow sheet of method for echo cancellation of the present invention.Referring to Fig. 2, this method comprises:
Step 201: adopt the delay parameter of estimating echo channel with the incoherent training sequence of subscriber signal;
Step 202: following operation is carried out in circulation: export described training sequence, receiving inputted signal is estimated echo channel according to input signal, training sequence and delay parameter, adjusts estimator coefficients, until judging described estimator coefficients convergence;
Step 203:, and adjust estimator coefficients according to outwards output after the echo-signal in described delay parameter and the described input signal of estimator coefficients filtering.
Particularly, can carry out above-mentioned steps 201 in the following manner:
At first, output training sequence, and receiving inputted signal, described input signal are subscriber signal and echo-signal sum corresponding to the training sequence of described outside output; Then, estimate each delay parameter directly of echo channel according to described training sequence and input signal; At last, estimate the delay parameter of echo channel according to each delay parameter directly of echo channel of described estimation.
As previously mentioned, can adopt multiple mode to carry out the estimation of echo channel delay parameter, for example: can be directly with the delay parameter in the first footpath of echo channel delay parameter as echo channel.
Relate in the above-mentioned steps 202 echo channel is estimated, the invention provides a kind of preferable being used to and carry out the echo channel estimation approach, this method specifically may further comprise the steps:
The 1st step: training sequence is postponed described delay parameter time corresponding, obtain reference signal;
The 2nd step: according to estimator coefficients described reference signal is carried out filtering and obtain expecting echo-signal;
The 3rd step: from input signal, deduct described expectation echo-signal, obtain the subscriber signal after echo is eliminated, with the error signal of described subscriber signal after echo is eliminated as the echo estimation;
The 4th step: adjust estimator coefficients according to described reference signal and error signal.
Judge in the above-mentioned steps 202 that the method whether estimator coefficients restrains specifically can be: the described echo channel of step 202 of every execution is estimated, calculate once carry out this echo channel estimate all estimator coefficients of obtaining absolute value and, when each absolute value that calculates in the Preset Time section that begins from current time forward and amplitude of variation within default amplitude, or estimate from this echo channel each absolute value of calculating in the beginning preset times forward and amplitude of variation within default amplitude, and, described absolute value when non-vanishing, judge the estimator coefficients convergence.
For simplifying the processing complexity that echo is eliminated, armed baseband digital signal can be participated in echo of the present invention as the reference signal and eliminate processing.
As seen from the above-described embodiment, in echo eliminator provided by the invention and the method for echo cancellation, at first, the input of diverter switch is connected to training sequence generator, and by the training sequence detector according to training sequence generator sent and the incoherent training sequence of subscriber signal is estimated the delay parameter of echo channel, the echo channel estimator is started working then, according to input signal, training sequence and delay parameter are estimated echo channel, adjust estimator coefficients, when estimator coefficients restrains, the input of diverter switch is switched to adder, after this, echo eliminator stops outwards to export training sequence, and beginning is the subscriber signal of output after echo is eliminated outwards.
In above-mentioned echo eliminator of the present invention and the method for echo cancellation; before the estimator coefficients convergence; the input of diverter switch is connected training sequence generator always; therefore; from the outside output of echo eliminator is the training sequence signal that not disturbed by echo all the time; thereby make echo eliminator be in stable open loop situations; can positive feedback not take place and cause radio frequency link saturated; therefore; the estimator coefficients that can guarantee the echo channel estimator restrains fast, makes echo eliminator enter stable operating state as early as possible.
And after the estimator coefficients convergence, the input of diverter switch switches to adder, at this moment, echo eliminator is no longer outwards exported training sequence, and this has saved data resource on the one hand, has avoided the interference of bringing for subscriber signal because of the transmitting training sequence on the other hand.
And; used the Variable delay device in the technical solution of the present invention; its delay parameter can be provided with according to the result of echo channel pre-estimation, and this can guarantee that echo elimination window covers the time range of echo multipath signal as wide as possible, thereby eliminates echo-signal as much as possible.
In addition, in the transceiver provided by the invention, carry out to the received signal sending to echo eliminator after the Base-Band Processing, guaranteed that it is baseband digital signal that the participation echo is eliminated the reference signal of handling by receiving processing module, it is simple that thereby the system that makes realizes, cost is lower.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.