Abstract:
A differential pulse code modulation coder has a pair of series connected arithmetic units connected to the input of a quantizer, with the output of the quantizer connected through a first multiplier to an input of the second arithmetic unit, and the output of the quantizer connected through an adder and further multiplier to the second input of the first arithmetic unit, the second input of said adder being derived from the output of said second multiplier, whereby greater internal calculation speed is realized.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to a differential pulse code modulation coder and more particularly to such a coder with a greater speed of internal calculation. 
     2. The Prior Art 
     The differential pulse code modulation method (DPCM) is often used in connection with the digital transmission and storage of signals. For every current sample s i , an estimated value is calculated from preceding samples. The difference between the current sample s i  and the estimated value is quantized and subsequently transmitted. This method achieves the advantage of allowing a shorter word length than is required for the representation of the samples s i . Accordingly, the transmission rate is increased, and the memory capacity requirement is significantly reduced. Given a standard DPCM coder such as described, for example, in FIG. 1 of the German patent OS No. 32 32 516, four arithmetic operations are required within a sampling interval t A  for processing the samples s i . These arithmetic operations are composed of a subtraction, a quantization, an addition and a multiplication. In the German patent referred to, the internal calculating speed is reduced by the use of the quantizer used, and by a plurality of arithmetic loops. 
     BRIEF DESCRIPTION OF THE INVENTION 
     It is a principal object of the present invention to provide a DPCM coder with greater internal calculating speed and an economical construction. 
     This object is achieved in the present invention by providing a DPCM coder incorporating a first and a second subtractor preceeding the quantizing unit, with a connection between the output of the quantizing unit and the second subtrator. The first subtractor is also connected to the output of the quantizing unit, through an adder, and a multiplier. 
     A prerequisite of the DPCM coder of the present invention is the provision of a prediction factor a, where a=2 n , where n=1,2,3 . . . . In this case, the calculation time required for the multiplier is eliminated, since the multiplication is accomplished simply by wiring. 
     As a result, the present invention exhibits increased speed, without requiring expensive and complicated construction. These and other objects of the present invention will become manifest by an inspection of the following description and the accompanying drawings 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Reference will now be made to the accompanying drawings in which: 
     FIG. 1 is a circuit diagram of a DPCM coder incorporating an illustrative embodiment of the present invention; 
     FIG. 2 is an illustration of a modified form of the DPCM coder of FIG. 1. 
     FIG. 3 is an illustration of the wiring for accomplishing the required multiplication, and 
     FIG. 4 is a timing diagram illustrating operation of the apparatus of FIG. 1. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The digitized samples s i  are supplied to the input of the DPCM coder shown in FIG. 1 at the input terminal E. The terminal E is connected to a first subtractor SU1, the output of which is connected through a first register R1 to an input of a second subtractor SU2. The output of the latter is connected to the input of a quantizing unit QE the output of which simultaneously forms the signal output A of the DPCM coder, exhibiting the DPCM values Δs i . The quantizer unit QE contains a quantizer Q with a register R2 connected to its output. A gate-array or a read-only memory is preferably employed as a quantizer Q. 
     The signal output A is fed back through a first multiplier M1 to the subtraction input of the second subtractor SU2. The multiplier M1 multiplies its input value by a constant prediction factor a. 
     The signal output A is also fed back through an adder AD, a third register R3, a second multiplier unit M2 and a third multiplier unit M3 to the subtraction input of the first subtractor SU1. The multiplier units M2 and M3 both multiply the input by the multiplier a. The output of the second multiplier unit M2 is also connected to the second input of the adder AD. The output of the adder AD simultaneously forms the so-called local output AL, representing the reconstruction values s r , which are required for the control of the quantizer in a multidimensional DPCM loop. The output of the third register R3 can, if desired, also be employed as the local output. 
     The function of the DPCM coder will now be described from a theoretical standpoint. The DPCM coder is designed to supply DPCM values Δs i ,q at its output, and these values are acquired by quantizing the calculated DPCM signals Δs i . The equation for calculation of the DPCM signal Δs i  is: 
     
         Δs.sub.i =s.sub.i -s.sub.i                           (F 1) 
    
     The equation for calculation of the estimated value s i  is: 
     
         s.sub.i =a(s.sub.i-1 +Δs.sub.i-1,q)                  (F2) 
    
     
         s.sub.i-1 =a(s.sub.i-2 +Δs.sub.i-2,q)                (F3) 
    
     With equation (F3) inserted into equation (F2): 
     
         s.sub.i =a[a(s.sub.i-2 +Δs.sub.i-2,q)+Δs.sub.i-1,q ](F4) 
    
     
         s.sub.i =a.sup.2 (s.sub.i-2 +Δs.sub.i-2,q)+aΔs.sub.i-1,q(F 5) 
    
     
         s.sub.i =a s.sub.i-1 +aΔs.sub.i-1,q                  (F.sub.6) 
    
     The reconstruction value output s r ,i is defined by: 
     
         s.sub.r,i =s.sub.i +Δs.sub.i,q =a(s.sub.i-1 +Δs.sub.i-1,q)+Δs.sub.i,q                     (F 7) 
    
     The estimated value s i  is calculated in the DPCM coder in accordance with the equation F5 or F6. Thus, the DPCM signal is: 
     
         Δs.sub.i =s.sub.i -a s.sub.i-1 -aΔs.sub.i-1,q  (F 8) 
    
     This equation states that the current DPCM signal is defined by the current sample s i , less the specified terms. In operation of the apparatus shown in FIG. 1, the registers R1, R2, and R3 are controlled by clock pulses T 0  and T 2 , and function as temporary memories or temporary storage devices. The information at the output of each of the registers changes at the end of the applied clock pulse. It is apparent that delay lines or other memories may be employed in place of the registers provided that the outputs thereof are made available at the appropriate times. The multipliers M1 through M3 do not exhibit any time delay between input and output, since they are realized by hard wiring. The indicated signal designations appearing in FIG. 1 apply for a time which immediately precedes the time t 3  just before a clock pulse T 0 . The appearance of the clock pulses T 0  and T 2  are shown in the time diagram of FIG. 4. The individual lines of the time diagram of FIG. 4 are labeled with legends which appear at various points in FIG. 1. 
     The calcuation of the DPCM signal Δs i  will be described, beginning with the time at which the sample s i  appears at the input E. This time is indicated t 0  on the time diagram of FIG. 4, and coincides with a clock pulse T 2 . With the occurence of this clock pulse, the arithmetic value 
     
         s.sub.i-2 +Δs.sub.i-2,q                              (9) 
    
     is loaded into the third register R3, the output of which is multiplied by the square of the prediction factor a, to produce the value 
     
         a.sup.2 (s.sub.r,i-2)=a s.sub.i-7                          (10) 
    
     which is supplied to the subtraction input 8 of the first subtractor unit SU1, simultaneously with the presentation of the signal value s i  at the input E. The difference 
     
         s.sub.i -a s.sub.i-1                                       (11) 
    
     appears at the output of the first subtractor unit SU1 and is stored in the first register R1 at the next clock pulse T 0 , at time t 1 . At the time of the clock pulse T 0 , the DPCM signal at the output of the second register R2 is simultaneously changed. The initial value at the output of the register R2 is 
     
         Δs.sub.i-1,q                                         (12) 
    
     After a short transit time, a modified value appears at the output of the adder AD at point 5 
     
         s.sub.r,i-1 =s.sub.i-1 +Δs.sub.i-1,q                 (13) 
    
     With the next clock pulse T 2 , at time T 2 , the signal value at point 5 is transferred into the third register R3 and a new current estimated value s i  is produced at the output 7 of the second multiplier unit M2. 
     The DPCM signal at the output A changes with the clock pulse T 0  at time t 1  and, therefore since the multiplication of the first multiplier M1 is instantaneous, the input value thus simultaneously appears at the subtraction input 9 of the second subtractor unit SU2. After a short transit time required by the second subtractor unit SU2, the calculated DPCM signal Δs i  is supplied to the input of the quantizer Q, which produces as an output the quantized DPCM value Δs i ,q which is supplied to the output A through the register R2 at the next clock pulse T 0  at time t 3 . The operation of the adder AD, and the operation of the first subtractor SU1 are executed in the outer loop shown in FIG. 1 within the sampling interval t a , and the timings of these arithmetic operations are not critical. By contrast, the timings of the arithmetic operations of the inner loop including the second subtractor unit SU2, the quantizer Q and the first multiplier unit M1, are very critical. The operation of the quanitizer Q requires the most time. Since the first multiplier unit M1 requires no calculating time, only two arithmetic operations are required during a sampling interval, namely the subtraction in the second subtractor unit SU2 and the operation of the quantizer Q. 
     If desired, the sequence of multipliers and registers can be interchanged. For example, the register R3 may be placed at the output of the multiplifer unit M2. It is likewise possible to connect the third register R3 immediately preceding the input of the adder AD which is received from the second multiplier unit M2. In that case, the samples s i  at the input E should be supplied coincident with the clock pulse T 0 . 
     The sequence of the quantizer Q and second register R2 may likewise be interchanged if desired. One then obtains a quantizing unit QE which corresponds to read-only memories which are presently commercially available. Also, to the extent that latch registers or the like are provided in the arithmetic circuits, the individual registers R1-R3 are not required as separate units. 
     In operation of the DPCM coder of FIG. 1, the reconstruction samples s r  are provided to the local output AL in the interval between two clock pulses T 0  and T 2 . However, they can also be made available at the output of the third register R3. 
     In the case where the third register R3 is inserted into the feedback from the output of the second multiplier unit M2 to the adder AD, then, neglecting the calculating time of the adder AD, the reconstruction samples s r  are made constantly available at the local output AL. In this case, the third register R3 is controlled by the clock pulse T 0 , and the samples at the input E likewise are made available coincident with this clock pulse. The arrangement is illustrated in FIG. 2. In the embodiment of FIG. 2, the subtractors SU1 and SU2 are replaced by a second adder AD2 and a third adder AD3, respectively. These adders are respectively supplied with the two&#39;s complement of the signals from the multiplier units M1 and M3 shown in FIG. 1, as indicated by the negative prediction factor -a indicated in FIG. 2. 
     FIG. 3 shows a circuit diagram for realizing the multipliers by means of hard wiring. In this example, multiplication is carried out with the factor 1/2. The second multipler unit M2 is realized by wiring which shifts all bits except the operational sign bit VZB by one binary place, and a binary &#34;0&#34; is inserted in the most significant bit after the operational sign bit VZB. This operation is repeated at the second multiplier unit M3. In a case where the multiplier factor is negative, which produces an output in the form of the two&#39;s complement of the unmodified output, a a binary 1 is inserted as the most significant bit after the operation sign bit. 
     It would be appreciated from the above description that the present invention offers a construction of apparatus which results in an improved speed of calculation within a DPCM coder, without requiring greatly increased complexity and cost of manufacture. Various additions and/or modifications in the apparatus of the present invention will be apparent to others skilled in the art, without departing from the essential features of novelty thereof, which are intended to be defined and secured by the appended claims.