ERROR-CORRECTION OF STORED TELEVISION SIGNALS

Abstract: Deterioration of the image as a result of failure of individual memory cells is avoided by storing, together with the data relating to each line of the image field, a code value computed as a function of the value of each data bit in the line and the position of each bit in the line. A picture signal stored in this way may be reproduced by transmitting each line signal to a function generator (15), adder (16) and accumulator (17) in order to re-compute a code value by the same function utilized during the storage of the signal, and applying the stored code value to a latch (21). The outputs of the accumulator (17) and latch (21) are applied to a subtracting circuit (25) and when the latter produces any output signal other than zero, the value of such signal will indicate both the position of any single faulty bit, and the direction in which the stored value is in error.

Description: Error-correction of stored television signals. This invention concerns the storage of digital televisio signals in solid state random access memory chips. A means for storing digital television signals in a soli state memory is described in co-pending Patent Applicatio No. filed concurrently her ith. It is known that in the storage of digital data in a rando access solid state memory, deterioration of the stored data can occur as a result of failure of a memory cell to store the value of a data bit assigned thereto. Such failures may occur as a result of ambient atomic radiation which may cause a value stored in an individual cell to change in response to bombardment of the corresponding cell with an atomic particle. Normal levels of ambient radiation are such that errors of the kind described are infrequent, but when such an error occurs in a digital television image signal, the result can be a visible blemish in a reproduced picture image. Accordingly it is an object of the present invention to provide means for overcoming this disadvantage. The invention provides a method of storing a digital tele- vision picture image in a solid-state store, wherein a code is generated from the data contained in each line of the video raster, and a corresponding code value is stored in association with the data relating to each line of the picture signal, the code value being derived from the stored data in such a manner that an error occurring in any bit of the data relating to a given line, following storage thereof, can be detected by re-computing a code value from data retrieved from the store in relation to said line, and comparing the re-computed code value with that originally stored in relation to the same line. By providing that the algorithm utilised in computing the code value will provide not only an indication of an error, but also the location of the bit containing the error, means may be provided for correcting the error in any such data bit before the picture signal is reproduced. The invention is illustrated by way of example in the accompanying drawings, in which: Figure 1 is a block circuit diagram of a circuit for error check code generation, and Figure 2 is a similar view of a circuit for error correct¬ ion. Referring to the drawings, the circuit of Fig. 1 includes an input 10 for receiving a sampled digital television picture signal and an output 11 for providing to a memory store a composite signal comprising the original picture signal and an accompanying error check code. The input 10 is coupled to the output 11 via two signal paths 12 and 13 that are optionally selectable via an electronic switch 14. the signal path 13 includes a function generator 15, an adder 16 and an accumulator 17, the latter receiving at its input the output of the adder 16 and providing at its output a signal coupled on the one hand to one side of the electronic switch 14 and on the other hand to an input of the adder 16, another input of which receives the output from the function generator 15. In the operation of the circuit of Fig. 1, the electronic switch 14 is arranged to couple the output 11 to the input 10 via the signal path 12 during the transmission of the data bits corresponding to each line of the digital television signal. Between consecutive lines of the signal, the switch 14 is actuated to couple the output 11 to the accumulator 17, so that the value provided at the output of the latte is inserted in the composite signal as an error chec code. This code is generated by summing for every byt in the line a function that is provided by the functio generator 15 and is the sum of every bit in the byte multi plied by the position of that bit in the line. The firs byte contains bits 1 to 8, the second 9 to 16 and so on The summing is performed by the adder 16 and accumulato 17. In general the code value provided by the accumulato 17 will occupy about four bytes in the data stream. In the writing of picture information into a memory store two modes of operation are available, namely normal mod in which all of the picture data is written and long pla in which only alternate fields of the original pictur signal are written. When picture image data including the code values provide by the circuit of Fig. 1 is read from the memory store • the error check codes are tested by a circuit as show in Fig. 2, prior to reproduction and/or re-recording o the picture signal. , his circuit comprises an input 2 arranged to receive the picture image information rea from a store, for example in the manner described above this input being coupled respectively to the input o an error check code generating circuit equivalent to tha of Fig. 1, to the input of a latch 21 arranged to be actu ated to receive and retain each error check code rea from the store, and to the input of a delay circuit 2 for delaying the signal by the equivalent of one lin of the television signal. The output of the delay circui 22 is coupled via a restoring circuit 23 to an outpu 24. A subtracting circuit 25 is arranged to actuate th restoring circuit 23 in accordance with the relationshi between the signals from the outputs of the accumulato 17 of the error check code regeneration circuit and th output of the latch 21. Thus, when data is read from the store it is first passed through the line store 22 which delays it while the error check code is tested. The error check code is regenerated and the value provided at the output of the accumulator 17 is subtracted from the error check code previously written into the data stream, by the subtractor 25, the code being held in the latch 21. If the result of the subtraction is zero then the data is correct, if not the absolute value of the difference is the bit number of the bit in error and the sign indicates the direction of the error. This number is passed to the restorer 23 which returns the faulty bit to its correct state. A counter 26 may be provided to record how often the restorer operates and can thus be used to measure the error rate of the store.

Claims: Claims : 1. A method of storing a digital television pictur image in a solid-state store, wherein a code is generate from the data contained in each line of the video raster, and a corresponding code value is stored in associatio with the data relating to each line of the picture signal, the code value being derived from the stored data in suc a manner that an error occurring in any bit of the dat relating to a given line, following storage thereof, ca be detected by re-computing a code value from data retrieve from the store in relation to said line, and comparin the re-computed code value with that originally store in relation to the same line. 2. A method as claimed in Claim 1, wherein the sai code value is derived by summing, for each byte of dat in each line of the picture signal, the value of eac bit multiplied by the position of that bit in the line. 3. A method of checking data stored by the method as claimed in 'Claim 2, wherein a re-computed code value is derived from each line of stored data by summing, for each byte of data in each line of the picture signal, the value of each bit multiplied by the position of that bit in the line, and said re-computed code value is sub- tracted from the stored code value whereby any difference between said values provides an indication of the position in the line of a data error, and the sign of any such difference indicates the direction of the error. 4. A device for use in storing a digital television image signal, comprising a signal input, a first signal path coupled to said input and containing means for deriv¬ ing, from data corresponding to each line of the video raster, a code value that is a function of the value of each data bit and the position of each said bit in the line, and an accumulator for storing said code value, a changeover switching means having a first input coupled to the output of said first signal path, a second input coupled directly to said signal input via a second signal path and an output coupled to a data store, and means for actuating said changeover switching means at the line repetition rate of said image signal whereby during receipt at said signal input of the data bits corresponding to each line of the image signal said signal image is connected to said data store via said second signal path and to said accumulator via said first signal path, whilst between consecutive lines of the image signal said accumulator is connected to said data store to insert said code value into the data stream. 5. A device as claimed in Claim 4, wherein said means for deriving said code value comprises a function generator for providing, for each byte of a signal corresponding to an image line, a value corresponding to the sum of the products, for each bit of the byte, of the value of that bit multiplied by the position of that bit in the line, and an adder having a first input coupled to the output of said function generator a second input coupled to the output of said accumulator and an output coupled to the input of said accumulator. 6. A device as claimed in Claims 4 or 5, further comprising, for retrieving an image signal stored in said data store, a decoding device comprising a first signal path equivalent to the said first signal path of the storing device and arranged to receive from the data store, and to re-encode, each line signal, a second signal path containing a latch arranged to receive from the data store the code value associated with each line signal, and a comparator coupled to the outputs of said signal paths. 7. A device a claimed in Claim 6 when appended Claim 5, wherein said comparator comprises a subtracti circuit arranged to subtract the code value provided one signal path from that provided by the other. 8. A device as claimed in Claim 7, wherein said deco ing device further comprises a third signal path comprisi a delay line providing a delay corresponding to one li of the image signal, and a restoring circuit coupled the output of said delay line, said restoring circu having a control input coupled to the output of said su tracting circuit and being arranged to alter the val of an individual bit of a line signal determined by t value at the output of said subtracting circuit. 9. A device as claimed in Claim 8 including a counte for counting the number of operations of said restori circuit.

Inventors: BILLING ROBERT, BILLING, ROBERT
Applicants: QUESTECH LTD, QUESTECH LIMITED
Application year: 1987
Main classification: H04N5
IPC codes: G11B27, H04N5, H04N7