Word-sliced signal processor

Information

  • Patent Grant
  • 4800517
  • Patent Number
    4,800,517
  • Date Filed
    Wednesday, July 30, 1986
    37 years ago
  • Date Issued
    Tuesday, January 24, 1989
    35 years ago
Abstract
Method and apparatus for processing digital signals represented as binary words, employing a portion of each word (a "slice") to afford appropriate accuracy. Particularly suited to medium- to high-speed telecommunications applications. In an exemplary transversal filtering operation application, only the high-order slice of the updated coefficient need be used to perform the filtering and yet provide adequate precision. Description of an architecture of a word-slice digital signal processor and applications to adaptive equalization and automatic gain control are provided.
Description

The present invention relates generally to word-sliced signal processors in data transmission and receiving systems, such as a modulator-demodulator (modem), and more specifically, to a fixed word-length digital signal processing unit using foreshortened word-slices.
BACKGROUND OF THE INVENTION
Medium- to high-speed data transmission systems for time-invariant or high-frequency channels implemented with dedicated hardware signal processors use digital filtering and least-mean-square adaptive equalizer algorithmic techniques. The precision required to represent the digital sequence in the signal path and filter coefficients may not be the same. For example, with a conventional least-mean-square adaptive equalizer, to make the adaptation noise acceptable, the coefficients of the transversal equilizer should be updated with coefficients having sixteen-bit precision. To cope with this precision requirement, a conventional digital signal processing architecture requires a sixteen by sixteen bit multiplier and a thirty-two bit accumulator to carry out the computation. Although only the high-order eight bits of the updated coefficients are used to perform the filtering, the word-length of the multiplier is determined by the highest precision required.
As another example, the receiver section of a modem data transmission system consists of the analog front end, automatic gain control, echo cancellation, matched filters and processors. Before the automatic gain control and echo cancellation take place, sixteen bits are required to represent the input digital data. However, at this stage, eight-bit coefficients can be used to do the filtering operation. Conventional architectures require a sixteen-bit multiplier to do the filtering because the word-length of the multiplier used is determine by the highest precision required.
Needless storage of the low-order bits consumes extra die area on an integrated circuit chip embodying the architecture and extracts a time penalty during the processing of these excess low-order bits. For instance, the attenuation characteristic and the propagation velocities experienced by the various frequency components in a signal are not constant, resulting in distortion in a transmitted signal. Initial training time is significant because it reduces the net data throughput. (See, e.g. Digital. Analog. and Data Communication, by William Sinneman, Reston Publishing Company, Reston, VA, 1982, ISBN 0-8359-1301-5 at pp. 148-152.) It is therefore a principal object of this invention to provide a word-sliced signal processor that uses shorter word-length hardware to represent and process digital signals while maintaining a desired level of accuracy. Another object of this invention is to reduce the chip area required for implementation of the signal processing algorithms. Another object of this invention is to eliminate unnecessary computation and decrease cycle time so as to shorten processing time for adaptive equalization of the signal.
SUMMARY OF THE INVENTION
Words representing digital signals are processed according to the instant invention by "slicing" the signals into smaller portions and processing the individual portions. A signal processor employing the word-sliced method of the instant invention requires smaller-capacity registers, multipliers and accumulators and consequently operates at higher speeds than prior art digital signal processors.
The invention is particularly suited to medium- to high-speed telecommunication applications because the word precision required to represent the digital sequence in the signal path need not be the same as the precision required to represent the coefficients used when processing the digital sequence. In a process using a sixteen-level quantizer, for instance, each level can be represented by a four-bit word length. Consequently, the word-length of the input sequence need not be much more than four bits.
With an n-bit word-slice, a processor of the instant invention can employ an n- by n-bit multiplier and a 2n-bit accumulator to perform the digital signal processing. Two n-bit slices are used to store updated coefficients. In an exemplary transversal filtering operation application, only the high-order slice of the updated coefficient need be used to perform the filtering and yet provide adequate precision.
An architecture of a word-slice digital signal processor is described and several applications of the processor to adaptive equalization and automatic gain control are provided.





BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a preferred embodiment of a digital signal processor according to the invention.
FIG. 2A, 2B and 2C are figures schematically showing how the digital signal processor of the instant invention performs slice-oriented operations.
FIG. 3 is a diagram showing the selection of an 8-bit window from a 16-bit signal effecting an automatic gain control operation.





DESCRIPTION OF THE PREFERRED EMBODIMENT
While this invention is applicable to the processing of a wide variety of digital signals, the following description illustrates the invention by its use in processing digital signals for an adaptive equalizer and automatic gain control.
FIG. 1 is a block diagram of a digital signal processor (DSP) 10 employing the invention. Bus 40 is used to conduct signals into and out of the digital signal processor 10. While the various data signal paths are shown in FIG. 1, various control signal paths from a control portion of the DSP 10, not shown, to the elements shown in FIG. 1 are not shown since they are conventional, as will be appreciated by those skilled in the art. Bus 40 is a multiple-conductor bus carrying n signals in parallel as is denoted on FIG. 1 by a hash-mark and the adjacent symbol "n." Other signal paths shown in FIG. 1 are multiple-conductor paths and are denoted by a hash-mark and a symbol adjacent thereto indicating the number of signals the path conducts in parallel. Signals may be conducted from bus 40 to a shift register 50 and a shift register 60. Each of these register stores an n-bit quantity received from bus 40 and may selectively shift its contents one bit to the right, or not, depending on reception of a right-shift control signal from a control portion of the DSP 10, not shown. Signals are conducted from register 50 to a multiplier (M) register 70, which is connected, in turn, to an n- by n- bit multiplier 80.
Signals are conducted from register 60 to a (A) register 90, which is connected to the n by n bit multiplier 80. Multiplier 80 generates the 2n-bit product of the n-bit multiplier received from register 70 and the n-bit multiplicand received from the A register 90. Signals are also conducted from A register 90 to the high-order n input terminals of a first set of input terminals of a multiplexer (MUX 1) 100. The low-order n terminals of the first set of 2n input terminals are connected to ground --0 volts. Multiplexer 100 selectively conducts to a set of 2n output terminals the signals received at the 2n input terminals from register 90 or the signals received at a second set of 2n input terminals from the n- by n-bit multiplier 80. Multiplexer 100 receives select control signals from a control portion of the DSP 10, not shown, which determine the set of signals applied to the input terminals which will be conducted to the output terminals.
The 2n signals generated at the output terminals of MUX 100 are conducted to a 2n-bit shift register 110. The shift register 110 may selectively shift its contents any number of bits either left or right, arithmetically or logically, upon reception of a shift control signal received from the control portion of the DSP 10.
The 2n-bit register 110 is a first set of 2n input terminals of a multiplexer (MUX 3) 120. A set of 2n output terminals of multiplexer 120 are connected to a first set of 2n input terminals (A1) of an arithmetic-logic unit (ALU) 130.
A set of 2n output terminals of ALU 130 are connected to an accumulator (ACC) register 140 which is, in turn, connected to a second set of 2n input terminals (A2) of the ALU 130. The accumulator 140 stores the 2n-bit results of an operation performed by the ALU 130 and the high-order n bits stored therein are also conducted from accumulator 140 to a first set of n input terminals of a multiplexer (MUX 2) 150. The low-order n bits stored in accumulator 140 are conducted to a second set of n input terminals of MUX 2 150. The n signals generated at a set of n output terminals of MUX 2 are conducted to the n-bit signal bus 40. A control signal received by MUX 2 150 determine whether the high-order or low-order n bits stored within accumulator 140 will be conducted to bus word 40. The 2n-bit contents of accumulator 140 are also conducted to a second set of 2n input terminals of MUX 3 120. MUX 3 120 receives a control signal, not shown, which determines whether the 2n-bit contents of the shift register 110 or the accumulator 140 will be applied at the A1 terminals of ALU 130.
The operation of DSP 10 is best understood with reference to FIG. 2 in which word-sliced multiplications are schematically illustrated. While the operation of the DSP 10 will be described in terms of the elements shown in FIG. 1, the storage capacity of some of these elements as shown in FIG. 1 need to be increased to implement the operations to be described. Bus 40 carries signals to be processed by DSP 10 in n-bit "slices," each signal represented by a "word," consisting of several n-bit slices, conducted serially on bus 40, each bit of the slice conducted in parallel on the n-bit bus 40. Three cases are illustrated in FIG. 2: FIG. 2A corresponds to multiplying two slices neither the most-significant slice of a word; FIG. 2B corresponds to multiplying two slices one being a most-significant slice, the other not being a most-significant slice; and FIG. 2C corresponds to multiplying two most-significant slices. An n-bit slice is schematically represented in FIG. 2 as the portion between a first and a third vertical line; a second vertical line between them separating the most-significant bit position of the slice from the remaining (n-1) lesser-significant bit positions.
With reference to FIG. 2A, a word A 200 is illustrated comprising several n-bit slices, having a not most-significant n-bit slice 202. The word A 200 is also illustrated wherein slice 202 is logically right-shifted one bit. A ZERO is now contained in the most-significant bit position of slice 202. This operation can be performed by the DSP 10 by conducting signals representing slice 202 from bus 40 to shift register 60 and performing a one-bit right shift of the contents of register 60. The resulting contents of register 60 can then be conducted to a A register 90.
A word B 204 is illustrated in FIG. 2A comprising several n-bit slices; having a not most-significant n-bit slice 206. Word B 204 is also illustrated in which slice 206 has been logically right-shifted, such operation could be performed by the register 50 of DSP 10 and the result stored in M register 70.
Multiplier 80 of the DSP 10 can generate the 2n-bit product shown in FIG. 2A as the contiguous slices 208.
This 2n-bit product 208 is conducted via MUX 1 100 to the shift register 110 where it is arithmetically right-shifted 2n bits to form the word 210. The resulting word 210 accordingly has been scaled so that the product portion 208 is properly located within the word. The resulting scaled word 210 is conducted to the A1 input terminals of the ALU 130 for arithmetic combination with a previously-generated result applied to the A2 input terminals.
The 2n-bit arithmetic combination generated by ALU 130 is conducted to the accumulator 140 where it can be applied via MUX 3 120 to the A1 terminals of the ALU 130, to the A2 terminals of the ALU 130, or via MUX 2 150 to the bus 40.
With reference to FIG. 2B, a word A 212 is illustrated comprising several n-bit slices, having a most-significant n-bit slice 214. This operation can be performed by the DSP 10 by conducting signals representing slice 214 from bus 40 to shift register 60 and not performing a one-bit right shift of the contents of register 60. The contents of register 60 can then be conducted to A register 90.
A word B 216 is illustrated in FIG. 2B comprising several n-bit slices; having a not most-significant n-bit slice 218. Word B 216 is also illustrated in which slice 218 has been logically right-shifted, such operation could be performed by the register 50 of DSP 10 and the result stored in M register 70.
Multiplier 80 of the DSP 10 can generate the 2n-bit product shown in FIG. 2B as the contiguous slices 220.
The 2n-bit product 220 is conducted via MUX 1 100 to the shift register 110 where it is arithmetically right-shifted n bits to form the word 222. The resulting word 222 accordingly has been scaled so that the product portion 220 is properly located within the word. The resulting scaled word 222 is conducted to the A1 input terminals of the ALU 130 for arithmetic combination with a previously-generated result applied to the A2 input terminals.
The 2n-bit arithmetic combination generated by ALU 130 is conducted to the accumulator 140 where it can be applied via MUX 3 120 to the A1 terminals of the ALU 130, to the A2 terminals of the ALU 130, or via MUX 2 150 of the bus 40.
With reference to FIG. 2C a word A 224 is illustrated comprising several n-bit slices, having most-significant n-bit slice 226. This operation can be performed by the DSP 10 by conducting signals representing slice 226 from bus 40 to shift register 60 and not performing a one-bit right shift of the contents of register 60. The contents of register 60 can then be conducted to A register 90.
A word B 228 is illustrated in FIG. 2C comprising several n-bit slices; having a most-significant n-bit slice 230. Such operation could be performed by transfer of word B 230 to register 50 of the DSP 10 and then stored in M register 70.
Multiplier 80 of the DSP 10 can generate the 2n-bit product shown in FIG. 2C as the contiguous slices 232.
The 2n-bit product 232 is conducted via MUX 1 100 to the shift-register 110 where it is not arithmetically right-shifted, forming the word 234. The resulting word 234 need not be scaled so that the product portion 232 is properly located within the word. The word 234 is conducted to the A1 input terminals of the ALU 130 for arithmetic combination with a previously-generated result applied to the A2 input terminals.
The 2n-bit arithmetic combination generated by ALU 130 is conducted to the accumulator 140 where it can be applied via MUX 3 120 to the A1 terminals of the ALU 130, to the A2 terminals of the ALU 130, or via MUX 2 150 to the bus 40.
The operation of the DSP 10 of the instant invention will be further illustrated by its application in adaptive transversal equalization and automatic gain controlling. First, the adaptive transversal filter function is described by the equations: ##EQU1## where the Ai(n) are the tap weights of the adaptive transversal filter at the nth sample point, Y(n) is the output, X(n) is the input sample, e(n) is the error term between the channel response and the output of the transversal filter, and u is a constant specifying the step size.
With the word-sliced method of the instant invention, updating of the coefficient Ai can be performed with a precision of 16 bits and yet use an 8 by 8 bit multiplier 80 and 16-bit accumulator 140 while conventional methods would require a 16 by 16 bit multiplier and a 32-bit accumulator. This is because in the adaptation equation, the 16-bit Ai coefficients are represented by two 8-bit slices, while the step, error, and equalizer states are represented by a single 8-bit slice.
In general then, to update the 2n-bit coefficients of a transversal filter the signal processor 10 conducts the n-bit error term via bus 40 into register 70, by conducting this signal through shift register 50 without shifting. In the same manner, signals representing the n-bit ith state of the filter X(n-i) are conducted via bus 40 to register 90 passing through shift register 60 without shifting. Multiplier 80 multiplies the contents of register 70 by the contents of register 90, obtaining a 2n-bit product. Multiplexer 100 is set to conduct the product to shift register 110. The product, without shifting, is conducted via multiplexer 120 to the set of input terminals A1 of ALU 130, which conducts the product, unchanged, to the 2n-bit accumulator 140.
The most-significant n bits of accumulator 140 are then conducted to the multiplier register 70. The n-bit step-size u is then conducted via bus 40 to shift register 60, and conducted therefrom, without shifting to A register 90. Multiplier 80 then multiplies the contents of register 70 by the contents of register 90. Multiplexer 100 is set to conduct the 2n-bit product to shift register 10, and therefrom to multiplexer 120. Multiplexer 120 is set to conduct the 2n signal lines from register 110 to the set of terminals A1 of the ALU 130, which transmits the product to the accumulator 140 without performing any operation on it.
The signal processor 10 then conducts the most-significant n bits of the previously calculated coefficient Ai via bus 40 to shift register 60, and therefrom, without shifting, to register 90. The signals from register 90 occupy the n most-significant bits of the 2n signals. There signals are conducted to shift register 110 which then performs no shift. Multiplexer 120 conducts the 2n signals from shift register 110 to the set of terminals A1 of the ALU 130. The contents of the accumulator 140 is conducted to the set of input terminals A2 of ALU 130. This quantity represents the product of u, X(n-i) and e(n). The ALU 130 then adds the two values and the sum is conducted to the accumulator 140. The signal processor 10 then conducts the n least-significant n bits of the previously-calculated coefficient A via bus 40 to shift register 60, which are conducted, without shifting, to register 70. Multiplexer 100 is set to conduct the 2n signals from register 70. The signals from register 70 occupying the n most-significant bits of the 2n signals. These signals are conducted to shift register 110 which then performs an n-bit arithmetic right shift. Multiplexer 120 conducts the 2n signals from shift register 110 to the set of terminals A1 of ALU 130. The contents of accumulator 140 is conducted to the set of input terminals A2 of ALU 130. The ALU 130 adds the two values, and conducts the sum to the accumulator 140. Multiplexer 150 conducts the n most-significant bits of the accumulator 140 to the n-bit signal bus 40. Then multiplexer 150 is set to conduct the n least-significant bits of the accumulator 140 to the n-bit signal bus 40.
To determine the 2n-bit equalizer output of the transversal filter operation from the 2n-bit filter coefficients Ai, the digital signal processor 10 clears the accumulator 140 and then performs the following operations repetitively until desired accuracy is obtained. It is typically sufficient to perform the operatios twenty times. The n most-significant bits of an equalizer coefficient are conducted from bus 40 by the signal processor into shift register 50. Shift register 50 conducts these signals directly, without shifting, to multiplier register 70. Next, the n most-significant bits of the associated input of the filter X(n-k) are conducted from bus 40 to shift register 60, and therefrom to register 90 without shifting. The n by n multiplier 80 then multiplies the contents of register 70 and register 90.
Multiplexer 100 conducts the 2n signals representing the product from the multiplier to the shift register 110. Multiplexer 120 is then set to conduct signals from shifter 110 to the set of terminals A1 of the ALU 130. Shift register 110 conducts the product without shifting via multiplexer 120 to ALU 130 and therefrom to accumulator 140. The contents of the accumulator 140 is conducted to the set of input terminals A2 of ALU 130. The ALU 130 then adds the quantities represented by the signals applied to terminals A1 and A2 and the sum is conducted to the accumulator 140.
The above sequence of operations is repeated until the desired accuracy is obtained, with the result that accumulator 140 contains the 2n-bit equalizer output value. The n most significant bits stored in the accumulator 140 are then transmitted to the bus 40 via multiplexer 150.
With reference to FIG. 3, illustrating the broad application of the present invention, an automatic gain control (AGC) function can be realized by the word-sliced DSP 10. The AGC function can be considered as a signal processor that reduces a stream of input signals requiring 16-bit representation to a stream of output signals having an 8-bit representation. The signal energy is represented by the high-order 8-bit byte of the input signal and then used as the measured value to determine a "window" of the 16-bit representation of the input from which an 8-bit output representation is taken. A quantity, k, indicates the starting point of the 8-bit window within the 16-bit input. To determine the output signal for an automatic gain control device operating on a 2n-bit signal with n-bit output, the signal processor 10 receives the 2n-bit input signal in n-bit portions. The n most-significant bit portion of the signal is conducted from bus 40 to register 60, which conducts directly to register 90, without shifting. Register 90 conducts the n-bit portion via multiplexer 100 to shift register 110, being the n most-significant bits of the 2n output signals stored in register 110.
Register 110 arithmetically shifts the portion k bits to the right, with k determined by the measured signal strength. The shifted portion is conducted via multiplexer 120 to the set of terminals A1 of the ALU 130. ALU 130 conducts this 2n-bit quantity to accumulator 140. The contents of the accumulator 140 is conducted to the set of input terminals A2 of ALU 130.
The signal processor 10 next receives the n-bit least-significant portion of the signal at register 60. This n-bit portion is transmitted directly to register 90, and via multiplexer 100, as the n most-significant bits of the 2n signals from to register 110. Register 110 logically shifts its contents n+k bits to the right, and transmits the result via multiplexer 120 to the set of terminals A1 of ALU 130. ALU 130 then adds the two quantities represented by the signals applied to terminals A1 and A2 conducts this sum to the accumulator 140. Next, multiplexer 150 is set to conduct the least significant n-bit portion of the accumulator 140 to the bus 40.
Claims
  • 1. A digital signal processor connected to a bus conducting plural-bit data words each word consisting of a predetermined number of "slices" comprising:
  • first means connected to said bus for receiving a first word slice, shifting said slice a selectable number of bits and storing the resulting slice;
  • second means connected to said bus for receiving a second word slice, shifting said slice a selectable number of bits and storing the resulting slice;
  • multiplier means responsive to said slices stored in said first and second shifting means, for generating a two-slice product of said first and second slices;
  • first multiplexer means connected to said first shifting means and to said multiplier means for selectably generating at a set of output terminals either said first slice padded with a low-order slice of zeros or said two-slice products;
  • third means connected to said first multiplexer means output terminals for receiving said two-slices generated thereat, shifting said two-slices a selectable number of bits and storing the resulting two-slices;
  • second multiplexer means having a first set of input terminals connected to said third shifting means and a second set of input terminals for selectably generating at a set of output terminals either the two-slices received at said first set of input terminals or the two-slices received at said second set of input terminals;
  • arithmetic logic unit means having a first set of input terminals connected to said output terminals of said second multiplexer means and a second set of input terminals for generating a selectable two slice combinatorial result of the two-slice operands received at said first and second set of input terminals, and for accumulating and storing said selected combinatorial result; said accumulated result received at said second set of input terminals of said arithmetic logic unit and said second multiplexer means; and
  • third multiplexer means having a first set of input terminals receiving a first slice of said two-slice accumulated result and a second set of input terminals receiving a second slice of said two-slice accumulated result and a set of output terminals connected to said data bus for selectably generating at said output terminals said first or said second slice applied to said input terminals.
US Referenced Citations (5)
Number Name Date Kind
3752971 Calhoun et al. Aug 1973
3814924 Tate Jun 1974
4190894 Mudge Feb 1980
4293922 Dario et al. Oct 1981
4454589 Miller Jun 1984