Method and apparatus for compensating for the truncation error in a filtered signal by adding the error to the positive part of the signal and subtracting the error from the negative part of the signal
AssigneeTelefonaktiebolaget LM Ericsson
InventorsIngemar E. Dalqvist, Gunnar A. Eriksson
Life of this patent
Estimating the term…
Abstract
A method and device for compensating the truncation error occurring in a sampled signal during processing in a digital filter. The mean error e.sub.t is calculated for the filter, and before filtering the signal +e.sub.t is added if the signal is positive and -e.sub.t is added if the signal is negative.
Claims4
A method of compensating an input digital signal having a given number of bits for magnitude truncation error which occurs when the digital signal is filtered by a digital filter, said method comprising
- sensing positive and negative portions of an input digital signal to be input to a digital filter,
- providing positive and negative signals respectively representing positive and negative values of a mean truncation error due to magnitude truncation of the signal in the filter, and
- adding said positive and negative signals respectively to the positive and negative portions of said signal which is to be input into the digital filter.
Apparatus for compensating an input digital signal having a given number of bits for magnitude truncation error which occurs when the digital signal is filtered by a digital filter, said apparatus comprising:
- memory means for storing positive and negative values respectively representing mean truncation errors due to magnitude truncation of a digital signal in a digital filter, said memory means having first and second outputs respectively for said positive and negative values as error signals,
- sensing means for sensing the polarity of the digital signal before input thereof to the digital filter,
- adding means having one input for the digital signal to be filtered and a second input, said adding means being connected to the digital filter, and
- switching means for selectively connecting the first and second outputs of the memory means to the second input of the adding means in accordance with the polarity of said digital signal as sensed by the sensing means.
Dependencies are inferred from the claim text.