Patent Document

BACKGROUND OF THE INVENTION 
     The present invention relates to a method of, and a circuit for, estimating true data from distorted digital data signals which may have become distorted during transmission. 
     In systems involving the transmission of data, it is important to try to avoid the effects of data becoming sufficiently distorted so that falsing of the data occurs. For example, in a paging system if address data becomes distorted in transmission, then it is possible that the true addressee of the paging call is not alerted because the address information has become corrupted. 
     U.S. Pat. No. 3,479,457 discloses an apparatus for demodulating phase--or frequency--modulated signals by high speed coded signals. Faults, for example, degradations in the signal to be demodulated, are corrected by clocking the signal into a shift register at a higher frequency than the frequency of the signal to be demodulated. Then pairs of signals from the shift register are compared in an Exclusive-OR circuit and the result is fed to a second shift register having three stages. Different pairs of outputs of the second shift register are supplied to a majority logic circuit comprising three AND gates and three input OR gates connected to the output of each of the AND gates. If necessary this circuitry is duplicated to rectify further faults. A drawback to this known circuit is the amount of hardware involved in the majority logic stage if the number of samples is increased. For example, this cited specification states that if one stores five samples in the second shift register which now has five stages then to obtain a majority logic decision by considering different combinations of three samples, ten AND gates are required. 
     U.S. Pat No. 3,859,655 also discloses reforming of a signal by use a shift register and majority logic. 
     A drawback to these known systems is that an increasing number of circuit elements are required as the number of samples used in making a majority logic decision becomes greater. Accordingly, in situations where space and power consumption are of importance, such as in paging receivers, it is desirable to be able to make a reliable decision based on a smaller number of samples when estimating true data from distorted digital data signals. 
     SUMMARY OF THE INVENTION 
     According to one embodiment of the present invention a method is provided for estimating true data from distorted digital data signals, comprising successively sampling the digital signal at a clock frequency greater than that of the data rate, applying a plurality of n successive samples to a majority logic circuit having (n+1) inputs, feeding back to the (n+1)th input a preceding majority logic circuit decision and repeating the operation by adding at least one new sample to, and discarding at least the longest held sample from, plurality of successive samples, the output of the majority logic circuit being used to determine the true value of the digital data signal. 
     According to another embodiment of the present invention a circuit is provided for estimating true data from distorted digital data signals, comprising a shift register having a plurality of n stages, each stage having an output, an input terminal connected to the shift register for applying digital data signals thereto, means for clocking the shift register at a frequency greater than the data rate, and a majority logic circuit having (n+1) inputs, n inputs of which are coupled to respective outputs of the shift register stages, the (n+1)th input being coupled to a feedback connection which applies a preceding majority logic circuit decision thereto. 
     The method and circuit in accordance with the present invention not only enable an estimation of the true signal from a noisy or distorted digital signal but also enable the effective signal-to-noise ratio of the input signal to be improved. 
     By having feedback to the (n+1)th input of the majority logic circuit, fewer true samples have to be taken in order to correct a false one. If the number of samples taken is (n+1), then the number of samples which can be corrected is (n/2). 
     The circuit is independant of technology and the rate of sampling or clocking is optional although it is preferred to be about eight times the data rate. 
     The present invention will now be described, by way of example, with reference to the accompanying drawings, wherein: 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block schematic circuit diagram of an embodiment of the present invention in which feedback is provided between the data output and an input to the majority logic circuit. 
     FIG. 2 shows four waveform diagrams referenced (a), (b), (c) and (d). 
     FIG. 3 shows different data signals, signals (a) and (b) are for use with a circuit with feedback, signals (c) and (d) are for use with a circuit without feedback, signal (e) is a distorted input signal and signal (f) is an output estimation of the true version of the distorted signal (e), and 
     FIG. 4 is a schematic circuit diagram of an embodiment of the present invention. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring to FIG. 1 of the drawings, a data input signal is applied through an input terminal 10 to a six stage shift register 12 which is clocked at eight times the data rate by a clock signal generator 14. The outputs Q 0  to Q 5  of the shift register 12 are applied to respective inputs of a seven input majority logic circuit 16. An output of the circuit 16 is connected to a latching circuit 18 which is clocked in antiphase relative to the clocking of the shift register 12. An output of the latching circuit 18 is applied to an output terminal 20 and is also fed back to the seventh input of the circuit 16. 
     In operation the clock waveforms (a) and (d) of FIG. 2 are applied to the clock inputs of the shift register 12 and the latching circuit 18, respectively, both of which are clocked on a low to high transition as indicated by the arrows applied to these transitions. The data signal, waveform (b) of FIG. 2, is applied to the input terminal 10. The value of the input signal when sampled is stored serially in the shift register 12. The outputs Q 0  to Q 5  of the respective stages of the shift register 12 are applied to the majority logic circuit 16 together with the output of the latch circuit 18. As the circuit 16 has an odd number of inputs there will always be a majority decision output. Thus if three inputs are &#34;1&#34;s and the three others are &#34;0&#34;s then the output will be dependent on the output of the latch 18. If this output is a &#34;1&#34; then the majority output will be a &#34;1&#34; and conversely if it is a &#34;0&#34; then the majority output will be a &#34;0&#34;. In effect the output produced by the latch 18 in one clock cycle influences the majority decision in the next following clock cycle. When the clock input to the latch 18 next goes high the majority decision of the circuit 16, waveform (c) in FIG. 2, is stored. There is a majority logic circuit propagation delay τ between the transitions in the data and the majority logic decision. 
     The number of input signal errors which can be corrected is related to the number (n+1) of the inputs to the majority logic circuit 16 and is defined generally as [(n)/2]. In the case of n=6 then three error bits can be corrected, for example in FIG. 3(a) the three &#34;0&#34;s will be corrected to all &#34;1&#34;s and conversely in FIG. 3(b) the three &#34;1&#34;s will be corrected to all &#34;0&#34;s. 
     If feedback from the output of the latching circuit 18 to the seventh input of the majority logic circuit is not provided, then in order to be able to correct three errors, a seven stage shift register would be required. Thus the number of shift register stages and the number of majority logic circuit inputs equals an odd number (n+1). FIGS. 3(c) and 3(d) illustrate that in order to correct three successive errors, that is the &#34;0&#34;s in FIG. 3(c) and the &#34;1&#34;s in FIG. 3(d), it is necessary to have four correct digits before and after the erroneous ones as opposed to three correct digits before and after the erroneous ones as shown in FIGS. 3(a) and 3(b). 
     FIG. 3(e) illustrates a signal having a distorted transition from 1 to 0 and FIG. 3(f) illustrates how this signal can be estimated by the circuit in accordance with the present invention so that there is a single transition from &#34;1&#34; to &#34;0&#34;. 
     FIG. 4 is a schematic circuit diagram of an embodiment of the present invention having a feedback connection between the output of the latching circuit 18 and the majority logic circuit 16. In this embodiment the latching circuit 18 comprises part of an integrated circuit type CD 4013 and the shift register 12 comprises two six stage shift register integrated circuits 12A, 12B of type CD 4015, both of these integrated circuit types being manufactured by the Radio Corporation of America. The majority logic circuit 16 is constituted by a plurality of NAND-gates, EX-OR gates and inverters. 
     For convenience of description circuit 16 may be regarded as comprising four identical modules 30, 40, 50 and 60 and several other components. Only the module 30, will be described in detail. 
     Outputs Q 0  and Q 1  of the shift register circuit 12A are connected to the inputs of a NAND gate 22 and an EX-OR gate 24. The output of the NAND gate 22 is inverted by an inverter 26 and is applied as one (31) of two inputs to the module 30, the other (32) of the two inputs being the output of the EX-OR gate 24. 
     The input 31 is applied to an EX-OR gate 33 and a NAND gate 34 and the other input 32 is applied to the EX-OR gate 33 and an EX-OR gate 35. The output of the EX-OR gate 33 is applied as an input to a NAND gate 36. An output Q 2  of the shift register circuit 12A is connected as an input to the EX-OR gate 35 and the NAND gate 36, and, through an inverter 37, to the NAND gate 38. An output of the NAND gate 38 and an input of the EX-OR gate 35 comprise, respectively, inputs 41 and 42 of the module 40. A third input to the module 40 comprises the output Q 3  of the shift register circuit 12A. These three inputs are applied as respective inputs to a NAND gate 70 whose output comprises one input of a four input NAND gate 78. 
     The outputs of the module 40 are applied as inputs 51 and 52 of the module 50. Additionally an output Q 0  &#39; of the shift register circuit 12B is applied as a third input to the module 50. These three inputs are also applied to a NAND gate 72 whose output is connected to a second input of the NAND gate 78. 
     In a similar manner the outputs of the module 50 comprise inputs 61 and 62 of the module 60 whose third input is the output Q 1  &#39; of the shift register circuit 12B. These three inputs are connected to a NAND gate 74 whose output comprises a third input of the NAND gate 78. 
     The two outputs of the module 60 together with the feedback connection from the output of the latch 18 are applied to a NAND gate 76 whose output comprises a fourth input of the NAND gate 78. The output of the NAND gate 78 is connected to the data input D of the latch 18. 
     As an example of the operation of the majority logic circuit 16, it can be shown that in the event of shift register outputs Q 0 , Q 1  and Q 2  being &#34;1&#34; and the outputs Q 3 , Q 0  &#39;, and Q 1  &#39; being &#34;0&#34; then the binary value of the feedback signal determines whether the output or the latch, when clocked, will be a &#34;1&#34; or a &#34;0&#34;. 
     In the event of not having a feedback input, then it will be necessary to have an extra module in the circuit 16 together with a further output from the shift register 12.

Technology Category: 5