RU2297030C2 - Self-correcting information storage device - Google Patents

Self-correcting information storage device Download PDF

Info

Publication number
RU2297030C2
RU2297030C2 RU2004121213/09A RU2004121213A RU2297030C2 RU 2297030 C2 RU2297030 C2 RU 2297030C2 RU 2004121213/09 A RU2004121213/09 A RU 2004121213/09A RU 2004121213 A RU2004121213 A RU 2004121213A RU 2297030 C2 RU2297030 C2 RU 2297030C2
Authority
RU
Russia
Prior art keywords
inputs
outputs
input
group
elements
Prior art date
Application number
RU2004121213/09A
Other languages
Russian (ru)
Other versions
RU2004121213A (en
Inventor
Алексей Николаевич Царьков (RU)
Алексей Николаевич Царьков
Евгений Михайлович Ананьев (RU)
Евгений Михайлович Ананьев
Александр Алексеевич Павлов (RU)
Александр Алексеевич Павлов
Алексей Александрович Павлов (RU)
Алексей Александрович Павлов
Павел Александрович Павлов (RU)
Павел Александрович Павлов
Алексей Витальевич Шандриков (RU)
Алексей Витальевич Шандриков
Надежда Валерьевна Ерёмина (RU)
Надежда Валерьевна Ерёмина
Виктор Николаевич Коршунов (RU)
Виктор Николаевич Коршунов
зов Александр Вениаминович Долгов (RU)
Александр Вениаминович Долговязов
Original Assignee
Институт Инженерной Физики Российская Федерация (Ииф Рф)
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Институт Инженерной Физики Российская Федерация (Ииф Рф) filed Critical Институт Инженерной Физики Российская Федерация (Ииф Рф)
Priority to RU2004121213/09A priority Critical patent/RU2297030C2/en
Publication of RU2004121213A publication Critical patent/RU2004121213A/en
Application granted granted Critical
Publication of RU2297030C2 publication Critical patent/RU2297030C2/en

Links

Abstract

FIELD: computer engineering, possible use in combination devices, and also in devices for storing and transferring information.
SUBSTANCE: device contains memorizing device, four groups of AND elements, AND element, group of OR elements, seven OR elements, encoding device, register, error syndrome circuit, NOT element, decoder, inversion block, even parity check circuit, corrector.
EFFECT: increased trustworthiness of device operation.
1 dwg, 1 app

Description

Изобретение относится к вычислительной технике и может быть использовано для повышения достоверности функционирования работы комбинационных устройств, а также устройств хранения и передачи информации (оперативных и постоянных запоминающих устройств ЭВМ и т.п.).The invention relates to computer technology and can be used to increase the reliability of the operation of combinational devices, as well as storage and transmission devices (online and read-only memory computers, etc.).

Известно самокорректирующееся дискретное устройство [1], использующее декодирующее устройство, исправляющее модульные (байтовые) ошибки на основе применения кодов Рида-Соломона, содержащие исходную схему, кодирующее устройство, избыточную схему, декодирующее устройство, включающее схему вычисления синдрома, формирователь мнимых синдромов, дешифратор ошибки в байте, схему вычисления искаженного байта, коммутаторы ошибок, корректор ошибок, входы устройства подключены к входам исходной схемы и к входам кодирующего устройства, выходы кодирующего устройства подключены к входам избыточной схемы, выходы которой подключены к первым входам схемы вычисления синдрома, выходы исходной схемы подключены к вторым входам схемы вычисления синдрома и к первым входам корректора, выходы схемы вычисления синдрома подключены ко входам дешифратора ошибки, выходы которого подключены к вторым входам корректора, выходы корректора являются выходами устройства.A self-correcting discrete device [1] is known that uses a decoding device that corrects modular (byte) errors based on the use of Reed-Solomon codes containing the original circuit, the encoding device, the redundant circuit, the decoding device, including the syndrome calculation circuit, the imaginary syndrome shaper, the error decoder in byte, distorted byte calculation circuit, error switches, error corrector, device inputs are connected to the inputs of the original circuit and to the inputs of the encoder, code outputs the switching device is connected to the inputs of the redundant circuit, the outputs of which are connected to the first inputs of the syndrome calculation circuit, the outputs of the original circuit are connected to the second inputs of the syndrome calculation circuit and to the first inputs of the corrector, the outputs of the syndrome calculation circuit are connected to the inputs of the error decoder, the outputs of which are connected to the second inputs corrector, corrector outputs are device outputs.

Недостатком устройства является низкая достоверность функционирования устройства, так как коды Рида-Соломона позволяют корректировать ошибку в одном байте информации и обнаруживать ошибку в двух байтах информации.The disadvantage of this device is the low reliability of the device, since the Reed-Solomon codes allow you to correct the error in one byte of information and detect an error in two bytes of information.

Наиболее близким по техническому решению является самокорректирующееся дискретное устройство [2], содержащее исходную схему, первое кодирующее устройство, схему синдрома ошибки, дешифратор ошибки, корректор, второе, третье и четвертое кодирующие устройства, с первой по четвертую схемы свертки, схему признака ошибки, элемент ИЛИ, входы устройства подключены к исходной схеме и к входам первого кодирующего устройства, к входам второго кодирующего устройства, а выходы исходной схемы подключены к входам третьего и четвертого кодирующих устройств, к первым входам корректора, выходы которого являются выходами устройства, выходы с первого по четвертое кодирующих устройств подключены соответственно к входам с первой по четвертую схем свертки, выходы первой и третьей схем свертки подключены к входам схемы синдрома ошибки, выходы второй и четвертой схем свертки подключены к входам схемы признака ошибки, выходы схемы синдрома ошибки и признака ошибки подключены к входам дешифратора ошибки, первая группа выходов дешифратора ошибки подключена к вторым входам корректора, а вторая группа выходов подключена к входу элемента ИЛИ, с выхода которого снимается сигнал "отказ устройства".The closest in technical solution is a self-correcting discrete device [2], containing the original circuit, the first coding device, the error syndrome scheme, error decoder, corrector, the second, third and fourth encoding devices, the first to fourth convolution schemes, error symptom scheme, element OR, the inputs of the device are connected to the original circuit and to the inputs of the first encoding device, to the inputs of the second encoding device, and the outputs of the original circuit are connected to the inputs of the third and fourth encoding devices properties to the first inputs of the corrector, the outputs of which are the outputs of the device, the outputs from the first to fourth encoding devices are connected respectively to the inputs from the first to fourth convolution schemes, the outputs of the first and third convolution schemes are connected to the inputs of the error syndrome circuit, the outputs of the second and fourth convolution schemes connected to the inputs of the error flag circuit, the outputs of the error syndrome circuit and the error flag are connected to the inputs of the error decoder, the first group of outputs of the error decoder is connected to the second inputs of the corrector, and the second The output group is connected to the input of the OR element, the output of which is the signal “device failure”.

Недостатком устройства является низкая достоверность функционирования, так как не корректируются ошибки, возникающие одновременно в информационных и контрольных разрядах.The disadvantage of this device is the low reliability of operation, since errors that occur simultaneously in information and control discharges are not corrected.

Целью изобретения является повышение достоверности функционирования устройства за счет коррекции 90% обнаруживаемых ошибок, не превышающих кратность k-1, при условии максимального обнаружения количества ошибок в кодовом наборе.The aim of the invention is to increase the reliability of the device by correcting 90% of detected errors that do not exceed the multiplicity of k-1, subject to the maximum detection of the number of errors in the code set.

Поставленная цель достигается тем, что устройство, содержащее исходную схему, кодирующее устройство, схему синдрома ошибки, дешифратор, корректор, информационные входы устройства подключены к первым входам исходной схемы, выходы которой подключены к первым входам корректора, выходы корректора являются выходами устройства, отличающееся тем, что оно дополнительно содержит с первого по пятый элементы И, с первого по восьмой элементы ИЛИ, схему проверки на четность, блок инверсии, регистр, элемент НЕ, адресные входы, вход записи, вход считывания, вход "Сброс", причем информационные входы устройства подключены к первым входам первого элемента И, адресные входы подключены к вторым входам исходной схемы и к первым входам регистра, вход записи подключен к третьему входу исходной схемы, к второму входу первого элемента И и к второму входу регистра, вход считывания подключен к четвертому входу исходной схемы, к первому входу второго элемента И, к первому входу третьего элемента И, к первому входу четвертого элемента И и к третьему входу регистра, вход "Сброс" подключен к пятому входу исходной схемы и к четвертому входу регистра, выходы исходной схемы подключены к вторым входам второго элемента И, выходы которого подключены к первым входам первого элемента ИЛИ, вторые входы которого подключены к выходам первого элемента И, а выходы подключены к входам схемы проверки на четность, к входам блока инверсии и к первым входам кодирующего устройства, выход схемы проверки на четность подключен к второму входу кодирующего устройства, к второму входу третьего элемента И, к пятому входу регистра, выходы блока инверсии подключены к третьим входам кодирующего устройства, выходы кодирующего устройства подключены к третьим входам третьего элемента И и к шестым входам регистра, первые входы схемы синдромов ошибки подключены к выходам третьего элемента И, вторые входы подключены к выходам регистра, а выходы подключены к входам дешифратора и к входам второго элемента ИЛИ, выход которого подключен к первому входу пятого элемента И, первая группа выходов дешифратора подключена к входам третьего элемента ИЛИ, вторая группа выходов дешифратора подключена к входам четвертого элемента ИЛИ, третья группа выходов дешифратора подключена к входам пятого элемента ИЛИ, четвертая группа выходов дешифратора подключена к входам шестого элемента ИЛИ, пятая группа выходов дешифратора подключена к входам седьмого элемента ИЛИ, выходы с третьего по шестой элементов ИЛИ подключены соответственно с второго по пятый входы четвертого элемента И и с первого по четвертый входы восьмого элемента ИЛИ, выход седьмого элемента ИЛИ подключен к пятому входу восьмого элемента ИЛИ, выход которого через элемент НЕ подключен к второму входу пятого элемента И, вход пятого элемента И является выходом устройства, выходы четвертого элемента И подключены к вторым входам корректора.This goal is achieved in that the device containing the original circuit, the encoding device, the scheme of the error syndrome, the decoder, the corrector, the information inputs of the device are connected to the first inputs of the original circuit, the outputs of which are connected to the first inputs of the corrector, the outputs of the corrector are the outputs of the device, characterized in that it additionally contains first to fifth AND elements, first to eighth OR elements, a parity check circuit, an inversion block, a register, a NOT element, address inputs, write input, read input input, "Reset" input, and the information inputs of the device are connected to the first inputs of the first element And, the address inputs are connected to the second inputs of the original circuit and to the first inputs of the register, the recording input is connected to the third input of the original circuit, to the second input of the first element And and to the second input of the register, the read input is connected to the fourth input of the original circuit, to the first input of the second element And, to the first input of the third element And, to the first input of the fourth element And to the third input of the register, the input "Reset" is connected to the fifth input and the input circuit and the fourth input of the register, the outputs of the original circuit are connected to the second inputs of the second AND element, the outputs of which are connected to the first inputs of the first OR element, the second inputs of which are connected to the outputs of the first AND element, and the outputs are connected to the inputs of the parity circuit, to the inputs of the inversion unit and to the first inputs of the encoder, the output of the parity check circuit is connected to the second input of the encoder, to the second input of the third AND element, to the fifth input of the register, the outputs of the inversion unit are connected to to the third inputs of the encoder, the outputs of the encoder are connected to the third inputs of the third AND element and to the sixth inputs of the register, the first inputs of the error syndrome circuit are connected to the outputs of the third AND element, the second inputs are connected to the outputs of the register, and the outputs are connected to the inputs of the decoder and the inputs of the second OR element, the output of which is connected to the first input of the fifth AND element, the first group of decoder outputs is connected to the inputs of the third OR element, the second group of decoder outputs is connected to the fourth inputs about the OR element, the third group of decoder outputs is connected to the inputs of the fifth OR element, the fourth group of decoder outputs is connected to the inputs of the sixth OR element, the fifth group of decoder outputs is connected to the inputs of the seventh OR element, the outputs from the third to sixth OR elements are connected from the second to fifth the inputs of the fourth AND element and the first to fourth inputs of the eighth OR element, the output of the seventh OR element is connected to the fifth input of the eighth OR element, the output of which through the element is NOT connected to the second at the input of the fifth element And, the input of the fifth element And is the output of the device, the outputs of the fourth element And are connected to the second inputs of the corrector.

На чертеже представлена блок-схема устройства. Устройство содержит: исходную схему 1, первый элемент 2 И, второй элемент 3 И, третий элемент 4 И, четвертый элемент 5 И, пятый элемент 6 И, первый элемент 7 ИЛИ, второй элемент 8 ИЛИ, третий элемент 9 ИЛИ, четвертый элемент 10 ИЛИ, пятый элемент 11 ИЛИ, шестой элемент 12 ИЛИ, седьмой элемент 13 ИЛИ, восьмой элемент 14 ИЛИ, кодирующее устройство 15, схему синдрома ошибки 16, дешифратор 17, корректор 18, схему 19 проверки на четность, блок 20 инверсии, регистр 21, элемент 22 НЕ, информационные входы 23, адресные входы 24, вход 25 записи, вход 26 считывания, вход 27 сброс, выходы 28 устройства, выход 29 "Отказ устройства".The drawing shows a block diagram of a device. The device contains: the original circuit 1, the first element 2 AND, the second element 3 AND, the third element 4 AND, the fourth element 5 AND, the fifth element 6 AND, the first element 7 OR, the second element 8 OR, the third element 9 OR, the fourth element 10 OR, fifth element 11 OR, sixth element 12 OR, seventh element 13 OR, eighth element 14 OR, encoder 15, error syndrome circuit 16, decoder 17, corrector 18, parity circuit 19, inversion unit 20, register 21, element 22 NOT, information inputs 23, address inputs 24, input 25 records, input 26 reads, input 27 reset, outputs 28 devices, output 29 "Device failure".

Информационные входы 23 устройства подключены к первым входам первого элемента 2 И к первым входам исходной схемы 1, выходы которой подключены к первым входам корректора 18, адресные входы 24 подключены к вторым входам исходной схемы 1 и к первым входам регистра 21, вход 25 записи подключен к третьему входу исходной схемы 1, к второму входу первого элемента 2 И и к второму входу регистра 21, вход 26 считывания подключен к четвертому входу исходной схемы 1, к первому входу второго элемента 3 И, к первому входу третьего элемента 4 И, к первому входу четвертого элемента 5 И и к третьему входу регистра 21, вход 27 "Сброс" подключен к пятому входу исходной схемы 1 и к четвертому входу регистра 21, выходы исходной схемы 1 подключены к вторым входам второго элемента 3 И, выходы которого подключены к первым входам первого элемента 7 ИЛИ, вторые входы которого подключены к выходам первого элемента 2 И, а выходы подключены к входам схемы 19 проверки на четность, к входам блока 20 инверсии и к первым входам кодирующего устройства 15, выход схемы 19 проверки на четность подключен к второму входу кодирующего устройства 15, к второму входу третьего элемента 4 И и к пятому входу регистра 21, выходы блока 20 инверсии подключены к третьим входам кодирующего устройства 15, выходы кодирующего устройства 15 подключены к третьим входам третьего элемента 4 И и к шестым входам регистра 21, первые входы схемы 16 синдромов ошибки подключены к выходам третьего элемента 4 И, вторые входы подключены к выходам регистра 21, а выходы подключены к входам дешифратора 17 и к входам второго элемента 8 ИЛИ, выход которого подключен к первому входу пятого элемента 6 И, первая группа выходов дешифратора 17 подключена к входам третьего элемента 9 ИЛИ, вторая группа выходов дешифратора 17 подключена к входам четвертого элемента 10 ИЛИ, третья группа выходов дешифратора 17 подключена к входам пятого элемента 11 ИЛИ, четвертая группа выходов дешифратора 17 подключена к входам шестого элемента 12 ИЛИ, пятая группа выходов дешифратора 17 подключена к входам седьмого элемента 13 ИЛИ, выходы с третьего 9 по шестой 12 элементов ИЛИ подключены соответственно с второго по пятый входы четвертого элемента 5 И и с первого по четвертый входы восьмого элемента 14 ИЛИ, выход седьмого элемента 13 ИЛИ подключен к пятому входу восьмого элемента 14 ИЛИ, выход которого через элемент 21 НЕ подключен к второму входу пятого элемента 6 И, вход пятого элемента 6 И является выходом устройства, выходы четвертого элемента 5 И подключены к вторым входам корректора 18.Information inputs 23 of the device are connected to the first inputs of the first element 2 And to the first inputs of the original circuit 1, the outputs of which are connected to the first inputs of the corrector 18, the address inputs 24 are connected to the second inputs of the original circuit 1 and to the first inputs of the register 21, the input 25 of the record is connected to the third input of the original circuit 1, to the second input of the first element 2 AND and to the second input of the register 21, the input 26 of the reading is connected to the fourth input of the original circuit 1, to the first input of the second element 3 And, to the first input of the third element 4 And, to the first input a quarter of the fifth element 5 And and to the third input of the register 21, the input 27 "Reset" is connected to the fifth input of the original circuit 1 and the fourth input of the register 21, the outputs of the original circuit 1 are connected to the second inputs of the second element 3 And, the outputs of which are connected to the first inputs of the first element 7 OR, the second inputs of which are connected to the outputs of the first element 2 AND, and the outputs are connected to the inputs of the parity checking circuit 19, to the inputs of the inversion unit 20 and to the first inputs of the encoding device 15, the output of the parity checking circuit 19 is connected to the second input of the coding device 15, to the second input of the third element 4 AND and to the fifth input of the register 21, the outputs of the inversion unit 20 are connected to the third inputs of the encoder 15, the outputs of the encoder 15 are connected to the third inputs of the third element 4 And to the sixth inputs of the register 21, the first inputs schemes 16 of the error syndromes are connected to the outputs of the third element 4 AND, the second inputs are connected to the outputs of the register 21, and the outputs are connected to the inputs of the decoder 17 and to the inputs of the second element 8 OR, the output of which is connected to the first input of the fifth element 6 AND, the first group of outputs the decoder 17 is connected to the inputs of the third element 9 OR, the second group of outputs of the decoder 17 is connected to the inputs of the fourth element 10, the third group of outputs of the decoder 17 is connected to the inputs of the fifth element 11 OR, the fourth group of outputs of the decoder 17 is connected to the inputs of the sixth element 12 OR, fifth the group of outputs of the decoder 17 is connected to the inputs of the seventh element 13 OR, the outputs from the third 9 to the sixth 12 elements OR are connected respectively from the second to fifth inputs of the fourth element 5 AND and from the first to fourth inputs of the eighth OR element 14, the output of the seventh element 13 OR is connected to the fifth input of the eighth element 14 OR, the output of which through element 21 is NOT connected to the second input of the fifth element 6 AND, the input of the fifth element 6 AND is the output of the device, the outputs of the fourth element 5 AND are connected to the second corrector inputs 18.

Схема 19 проверки на четность предназначена для формирования значения контрольного разряда четности относительно информационных разрядов.The parity check circuit 19 is intended to generate a parity check digit value relative to information bits.

Блок 20 инверсии предназначен для инвертирования значений информационных разрядов, поступающих с выходов первого элемента 7 ИЛИ соответственно при записи и считывании информации.Block 20 inversion is designed to invert the values of the information bits coming from the outputs of the first element 7 OR, respectively, when writing and reading information.

В кодирующем устройстве 15 информационные разряды и разряд четности представляются в в виде двухстрочной информационной матрицы:In the encoding device 15 information bits and a parity bit are presented in the form of a two-line information matrix:

Figure 00000002
Figure 00000002

где yi,

Figure 00000003
rЧЕТ,
Figure 00000004
- соответственно прямые и обратные значения i-го информационного разряда и значения разряда четности кодового набора.where y i
Figure 00000003
r EVEN
Figure 00000004
- respectively, direct and inverse values of the i-th information bit and the values of the parity bit of the code set.

Относительно сформированной матрицы в кодирующем устройстве 15 проводятся правые и левые диагональные проверки.Regarding the formed matrix in the encoder 15, right and left diagonal checks are performed.

Число диагональных проверок определяется по формуле:The number of diagonal checks is determined by the formula:

RД=2(k+2).R D = 2 (k + 2).

При считывании информации, кодирующие устройство 15 формирует (аналогичным образом) вектор контрольных разрядов RП принятого кодового набора.When reading information, the encoder 15 generates (in the same way) a vector of check digits R P of the received code set.

Таким образом, в период записи и считывания информации на выходе кодирующего устройства 15 имеем соответственно векторы контрольных разрядов:Thus, during the period of writing and reading information at the output of the encoding device 15, we have, respectively, the vectors of the control bits:

R=r1r2......................................., r2(k+2),R = r 1 r 2 ......................................., r 2 (k +2) ,

RП=r1ПrП.................................... rП2(k+2).R P = r 1 P r P .................................... r P 2 (k + 2) .

Схема 16 синдрома ошибки предназначена для поразрядного сравнения значений контрольных разрядов, полученных при передаче кодового набора и сформированных относительно полученных значений информационных разрядов и значения контрольного разряда четности. Она представляют набор сумматоров по mod 2 (по числу контрольных разрядов - числу диагональных проверок матрицы и одним разрядом четности).Scheme 16 of the error syndrome is intended for bitwise comparison of the values of the control bits obtained during the transmission of the code set and generated relative to the received values of the information bits and the value of the parity check bit. It represents a set of adders with mod 2 (by the number of control bits - the number of diagonal matrix checks and one parity bit).

Результат сложения по mod 2 значений сигналов переданных и сформированных контрольных разрядов даст синдром ошибки:The result of adding, according to mod 2, the signal values of the transmitted and generated control bits will give an error syndrome:

E=е1e2е3............е2(k+2)еЧЕТ.E = e 1 e 2 e 3 ............ e 2 (k + 2) e EVEN .

Дешифратор 17 содержит 2k+5-входа (число разрядов синдрома ошибки) и L=l1+l2+l3 выходов (по числу схем совпадения, представляющих собой 2k+5-входовые схемы И), гдеThe decoder 17 contains 2k + 5 inputs (the number of bits of the error syndrome) and L = l 1 + l 2 + l 3 outputs (according to the number of matching circuits, which are 2k + 5-input circuits And), where

- l1 - группа элементов И (для различных синдромов, характеризующих ошибки только в информационных разрядах);- l 1 - group of elements And (for various syndromes that characterize errors only in information bits);

- l2 - группа элементов И (для различных синдромов, характеризующих ошибки только в контрольных разрядах);- l 2 - group of elements And (for various syndromes that characterize errors only in the control bits);

- l3 - группа элементов И (для синдромов, характеризующих ошибки, возникающие одновременно в информационных и контрольных разрядах).- l 3 - group of elements And (for syndromes characterizing errors that occur simultaneously in the information and control bits).

В случае возникновения ошибок, на одном из его выходов формируется единичный сигнал.In case of errors, a single signal is formed at one of its outputs.

Выходы дешифратора 17 объединены соответственно в один выход с помощью третьего элемента 9 ИЛИ, четвертого элемента 10 ИЛИ, пятого элемента 11 ИЛИ, шестого (k-го) элемента 12 ИЛИ для формирования управляющих сигналов на корректор, соответственно для коррекции первого, второго ...k-го информационных разрядов.The outputs of the decoder 17 are combined, respectively, into one output using the third element 9 OR, the fourth element 10 OR, the fifth element 11 OR, the sixth (k-th) element 12 OR to generate control signals for the corrector, respectively, to correct the first, second ... k-th information bits.

Седьмой элемент 13 ИЛИ объединяет выходы дешифратора 17 (выходы схем И), принадлежащие подмножеству l2 и соответствующие возникновению ошибок только в контрольных разрядах (для которых не требуется формирование управляющих сигналов на корректор).The seventh OR element 13 combines the outputs of the decoder 17 (the outputs of the circuits AND), belonging to the subset l 2 and corresponding to the occurrence of errors only in the control bits (for which the formation of control signals to the corrector is not required).

Корректор 18 включает k-элементов неравнозначности и предназначен для исправления ошибок

Figure 00000005
, возникающих на выходах исходной схемы 1. При исправлении ошибок реализуется функция относительно управляющих сигналов ui, поступающих с выходов элементов ИЛИ:The corrector 18 includes k-elements of ambiguity and is designed to correct errors
Figure 00000005
arising at the outputs of the original circuit 1. When correcting errors, a function is implemented with respect to the control signals u i coming from the outputs of the OR elements:

Figure 00000006
Figure 00000006

Регистр 21 предназначен для хранения значений сигналов вектора контрольных разрядов, сформированного при записи информации в исходную схему 1.The register 21 is designed to store the values of the signals of the vector of the control bits formed when recording information in the original circuit 1.

При возникновении ошибок, принадлежащих подмножеству n1 - для одинаковых синдромов, указывающих на ошибку в различных информационных разрядах (имеющих одинаковое значение синдромов и дополнительных проверок, см. приложение), характеризующихся наличием единичных значений на выходе схемы 16 синдромов ошибок и отсутствие единичных значений на выходах с третьего 9 по седьмой 13 элементов ИЛИ, с помощью второго элемента 8 ИЛИ, восьмого элемента 14 ИЛИ, элемента 22 НЕ, пятого элемента 6 И формируется сигнал ″Отказ устройства″.If errors occur that belong to the subset n 1 - for the same syndromes, indicating an error in different information bits (having the same value of the syndromes and additional checks, see the appendix), characterized by the presence of unit values at the output of the circuit 16 error syndromes and the absence of unit values at the outputs from the third 9 to the seventh 13 elements OR, using the second element 8 OR, the eighth element 14 OR, element 22 NOT, the fifth element 6 AND the signal is generated ″ Device failure ″.

Устройство работает следующим образом. Перед началом работы на вход 27 подается сигнал, устанавливающий устройство в исходное состояние. При поступлении входной информации на информационные входы 23, адресные входы 24 и сигнала ″Запись″ на вход 25, информация записывается по указанному адресу в исходной схеме 1. Одновременно она поступает на входы первого элемента 2 И, открытого сигналом со входа 25, и далее через элемент 7 ИЛИ входная информация поступает на первые входы кодирующего устройства 15, на вход схемы 19 проверки на четность и на входы блока 20 инверсии. На второй вход кодирующего устройства 15 поступают значения разряда проверки на четность информационных разрядов, а на третьи входы поступают инверсные значения информационных разрядов. Из полученного разряда четности, прямых и инверсных значений информационных разрядов формируется двухстрочная информационная матрица, относительно которой в кодирующем устройстве 15, реализованном на группе сумматоров по mod 2, организуются правые и левые диагональные проверки.The device operates as follows. Before starting work, a signal is applied to input 27, which sets the device to its initial state. Upon receipt of the input information at the information inputs 23, the address inputs 24 and the signal ″ Record ″ to input 25, the information is recorded at the specified address in the original circuit 1. At the same time, it enters the inputs of the first element 2 AND, opened by the signal from input 25, and then through element 7 OR input information is supplied to the first inputs of the encoder 15, to the input of the parity check circuit 19 and to the inputs of the inversion unit 20. The second input of the encoding device 15 receives the value of the check bit for the parity of the information bits, and the third inputs receive the inverse values of the information bits. From the obtained parity, direct and inverse values of the information bits, a two-line information matrix is formed, with respect to which the right and left diagonal checks are organized in the encoding device 15, implemented on the adder group mod 2.

С выходов кодирующего устройства 15 значение вектора контрольных разрядов поступает на вход регистра 21 и записывается по указанному адресу, по которому так же записывается значение разряда четности с выхода схемы 19 проверки на четность.From the outputs of the encoder 15, the value of the vector of control bits is fed to the input of the register 21 and is recorded at the specified address, which also records the value of the parity bit from the output of the parity check circuit 19.

При считывании информации по указанному адресу, сигналы с выхода исходной схемы 1, через второй элемент 3 И, открытый сигналом "Считывание" с входа 26, элемент 7 ИЛИ повторно поступают на вход кодирующего устройства 15, где формируются значения сигналов в контрольных разрядах относительно информационной матрицы, сформированной по полученной информации.When reading information at the specified address, the signals from the output of the original circuit 1, through the second element 3 AND, opened by the signal "Read" from input 26, element 7 OR are repeatedly fed to the input of the encoding device 15, where the signal values are generated in the control bits relative to the information matrix formed by the information received.

При этом, информация с выходов кодирующего устройства 15 через третий элемент 4 И поступает на первые входы схемы 16 синдрома ошибки, на вторые входы которой поступает информация, считываемая с регистра 21.At the same time, the information from the outputs of the encoder 15 through the third element 4 And goes to the first inputs of the circuit 16 of the error syndrome, the second inputs of which receive information read from the register 21.

Схема 16 синдрома ошибки осуществляет поразрядное сравнение значений принятых контрольных разрядов и сформированных относительно полученной информации.Scheme 16 of the error syndrome performs bitwise comparison of the values of the received control bits and formed relative to the received information.

В результате на выходе схемы 16 синдрома ошибки имеем сформированное значение синдрома ошибки.As a result, at the output of the error syndrome circuit 16, we have the generated value of the error syndrome.

Дешифратор 17 при возникновении ошибки формирует на одном из своих выходов единичный сигнал в соответствии с поступающим значением синдрома ошибки. В зависимости от номера информационного разряда, имеющего ошибку, управляющий сигнал появится на выходе соответствующего (9...12) элемента ИЛИ. Данный сигнал через открытый четвертый элемент 5 И поступает на вход корректора 18, где происходит исправление ошибочного информационного разряда.The decoder 17 when an error occurs generates a single signal at one of its outputs in accordance with the incoming value of the error syndrome. Depending on the number of the information category having an error, a control signal will appear at the output of the corresponding (9 ... 12) OR element. This signal through the open fourth element 5 And is fed to the input of the corrector 18, where there is a correction of erroneous information discharge.

Если ошибка произошла только в контрольных разрядах, сигнал появится на выходе седьмого элемента 13 ИЛИ (не требуется подача управляющих сигналов на корректор).If the error occurred only in the control bits, the signal appears at the output of the seventh element 13 OR (no control signals to the corrector are required).

Выходы дешифратора 17 объединены соответственно в один выход с помощью третьего элемента 9 ИЛИ, четвертого элемента 10 ИЛИ, пятого элемента 11 ИЛИ, шестого (k-го) элемента 12 ИЛИ для формирования управляющих сигналов на корректор, соответственно для коррекции первого, второго ...k-го информационных разрядов.The outputs of the decoder 17 are combined, respectively, into one output using the third element 9 OR, the fourth element 10 OR, the fifth element 11 OR, the sixth (k-th) element 12 OR to generate control signals for the corrector, respectively, to correct the first, second ... k-th information bits.

Седьмой элемент 13 ИЛИ объединяет выходы дешифратора 17 (выходы схем И), принадлежащие подмножеству l2 и соответствующие возникновению ошибок только в контрольных разрядах (для которых не требуется формирование управляющих сигналов на корректор).The seventh OR element 13 combines the outputs of the decoder 17 (the outputs of the circuits AND), belonging to the subset l 2 and corresponding to the occurrence of errors only in the control bits (for which the formation of control signals to the corrector is not required).

Корректор 18 включает k-элементов неравнозначности и предназначен для исправления ошибок

Figure 00000005
, возникающих на выходах исходной схемы 1. При исправлении ошибок реализуется функция относительно управляющих сигналов ui, поступающих с выходов элементов ИЛИ:The corrector 18 includes k-elements of ambiguity and is designed to correct errors
Figure 00000005
arising at the outputs of the original circuit 1. When correcting errors, a function is implemented with respect to the control signals ui coming from the outputs of the OR elements:

Figure 00000007
Figure 00000007

При возникновении ошибок, принадлежащих подмножеству n1 - для одинаковых синдромов, указывающих на ошибку в различных информационных разрядах (имеющих одинаковое значение синдромов и дополнительных проверок, см. приложение), характеризующихся наличием единичных значений на выходе схемы 16 синдромов ошибок и отсутствие единичных значений на выходах с третьего 9 по седьмой 13 элементов ИЛИ, с помощью второго элемента 8 ИЛИ, восьмого элемента 14 ИЛИ, элемента 21 НЕ, пятого элемента 6 И формируется сигнал ″Отказ устройства″.If errors occur that belong to the subset n 1 - for the same syndromes, indicating an error in different information bits (having the same meaning of the syndromes and additional checks, see the appendix), characterized by the presence of single values at the output of the circuit 16 error syndromes and the absence of unit values at the outputs from the third 9 to the seventh 13 elements OR, using the second element 8 OR, the eighth element 14 OR, element 21 NOT, the fifth element 6 AND the signal ″ Device failure ″ is generated.

Источники информацииInformation sources

1. Щербаков Н.С. Достоверность работы цифровых устройств. М.: Машиностроение, 1989, 224 с. рис.39, рис.44.1. Scherbakov N.S. The reliability of digital devices. M.: Engineering, 1989, 224 p. fig. 39, fig. 44.

2. Положительное решение по заявке (21)99111190/09 от 15.01.03 (подано 31.05.09), авторы: Царьков А.Н., Безродный Б.Ю., Новиков Н.Н., Романенко Ю.А., Павлов А.А.2. A positive decision on the application (21) 99111190/09 dated 01/15/03 (filed May 31, 09), authors: Tsarkov AN, Bezrodny B.Yu., Novikov NN, Romanenko Yu.A., Pavlov A.A.

3. Хетагуров Я.А., Руднев Ю.П. Повышение надежности цифровых устройств методами избыточного кодирования. М.: Энергия, 1974, 270 с.3. Khetagurov Ya.A., Rudnev Yu.P. Improving the reliability of digital devices using redundant coding methods. M .: Energy, 1974, 270 p.

Приложениеapplication

Коррекция ошибок заданной кратности, при условии обнаружения ошибок в остальных разрядах информации, может достигаться на основе итеративного кода.Error correction of a given multiplicity, provided that errors are detected in the remaining bits of information, can be achieved based on an iterative code.

Процедура построения двумерного итеративного кода состоит в следующем [3]. Заданную совокупность информационных символов делят на группы (блоки, модули) информации, по b-разрядов в каждой группе. Полученные модули информации представляют в виде информационной матрицы (1):The procedure for constructing a two-dimensional iterative code is as follows [3]. A given set of information symbols is divided into groups (blocks, modules) of information, by b-bits in each group. The resulting information modules are presented in the form of an information matrix (1):

Figure 00000008
Figure 00000008

Затем осуществляется кодирование информации по методу четности (путем сложения по mod 2 символов строк и столбцов полученной матрицы). В результате имеем двумерный итеративный код, позволяющий обнаруживать и исправлять любую одиночную ошибку:Then the information is encoded using the parity method (by adding mod 2 characters of rows and columns of the resulting matrix). As a result, we have a two-dimensional iterative code that allows us to detect and correct any single error:

Figure 00000009
Figure 00000009

где Н=h1,h2,...,hm - вектор четности строк; Z=z1,z2,...,zb - вектор четности столбцов. Вектора четности строк и столбцов образуют совокупность контрольных разрядов R1={r1,r2,rm,rm+1,...,rb}. При получении кодовой комбинации относительно информационных разрядов повторно формируются значения контрольных разрядов R1П={r1,r2,rm,rm+1,...,rb}. В данном случае, разница между переданными значениями контрольных разрядов и полученными после приема информации образует синдром ошибки Е:where H = h 1 , h 2 , ..., h m is the line parity vector; Z = z 1 , z 2 , ..., z b is the column parity vector. The parity vectors of rows and columns form the set of control bits R 1 = {r 1 , r 2 , r m , r m + 1 , ..., r b }. Upon receipt of the code combination relative to the information bits, the values of the control bits R 1 P = {r 1 , r 2 , r m , r m + 1 , ..., r b } are re-formed. In this case, the difference between the transmitted values of the control bits and received after receiving the information forms the error syndrome E:

Figure 00000010
Figure 00000010

При этом, разряды синдрома ошибки е1е2...em (полученные относительно вектора четности строк) указывают модуль информации, имеющей ошибку, а разряды еmеm+1...еb (полученные относительно вектора четности столбцов) указывают ошибочный разряд в модуле информации.Moreover, the bits of the error syndrome e 1 e 2 ... e m (obtained with respect to the row parity vector) indicate the module of information that has an error, and the bits e m e m + 1 ... e b (obtained with respect to the column parity vector) indicate erroneous bit in the information module.

Так как кодовые комбинации строк и столбцов имеют минимальное расстояние d=2, то минимальное расстояние данного кода d=4. Этот код позволяет исправлять любую одиночную ошибку и обнаруживать значительную долю кратных ошибок.Since code combinations of rows and columns have a minimum distance d = 2, the minimum distance of this code is d = 4. This code allows you to correct any single error and detect a significant proportion of multiple errors.

Структуры ошибок, не обнаруживаемых двумерным итеративным кодом, показаны на рисунке:The structures of errors not detected by the two-dimensional iterative code are shown in the figure:

Figure 00000011
Figure 00000011

Рис.1 Структуры ошибок, не обнаруживаемых двумерным итеративным кодом: а) - ошибки кратности 4; б) - ошибки кратности 6.Fig. 1 Structures of errors not detected by a two-dimensional iterative code: a) errors of multiplicity 4; b) - errors of multiplicity 6.

Figure 00000012
Figure 00000012

Рис.2 Структуры ошибок двумерного итеративного кода, приводящие к ошибочной коррекции: а) - ошибки кратности 5; б) - ошибки кратности 7.Fig.2 Error structures of a two-dimensional iterative code, leading to erroneous correction: a) errors of multiplicity 5; b) - errors of multiplicity 7.

В общем случае можно строить итеративные коды более высокой размерности (трехмерные, четырехмерные и т.д.), где каждый информационный символ будет являться компонентой одновременно x различных кодовых слов. Параметры итеративных кодов размерности x таковы [3]:In the general case, iterative codes of higher dimension can be constructed (three-dimensional, four-dimensional, etc.), where each information symbol will be a component of x different codewords at the same time. The parameters of iterative codes of dimension x are as follows [3]:

Figure 00000013
Figure 00000013

где ni, ki, di - соответственно длина, количество информационных разрядов, минимальное расстояние кодовых наборов строк и столбцов.where n i , k i , d i are the length, the number of information bits, the minimum distance of the code sets of rows and columns, respectively.

Исходя из этого, для построения итеративных кодов следует использовать проверки, имеющие наибольшую обнаруживающую способность.Based on this, to build iterative codes should use checks that have the highest detecting ability.

Так, организация диагональных проверок рассматриваемой матрицы позволит выявить структуры ошибок, не обнаруживаемые итеративным кодом, реализующим проверки четности строк и столбцов.Thus, the organization of diagonal checks of the matrix under consideration will allow us to identify error structures that are not detected by an iterative code that implements parity checks of rows and columns.

Структура диагональных проверок, обнаруживающих рассматриваемые ошибки, имеет вид, представленный на рис.3.The structure of diagonal checks that detect the considered errors has the form shown in Fig. 3.

Figure 00000014
Figure 00000014

Левые диагональные проверки образуются по правилу:Left diagonal checks are formed according to the rule:

Figure 00000015
Figure 00000015

Результаты правых диагональных проверок образуются при суммировании значений следующих информационных разрядов:The results of the right diagonal checks are formed by summing the values of the following information bits:

Figure 00000016
Figure 00000016

В этом случае, общее число диагональных проверок равно 2l, или:In this case, the total number of diagonal checks is 2l, or:

Figure 00000017
Figure 00000017

Пример 1. Пусть рассматриваемое слово состоит из четырех информационных разрядов, которые имеют нулевые значения. Для данного кодового набора информационная матрица имеет вид:Example 1. Let the word in question consists of four information bits that have zero meanings. For this code set, the information matrix has the form:

Figure 00000018
Figure 00000018

В этом случае проверки на четность строк и столбцов информационной матрицы дадут нулевые значения, и, кроме этого, будут иметь нулевые значения результаты всех правых и левых диагональных проверок. При возникновении ошибки во всех информационных разрядах имеем четную ошибку, не обнаруживаемую двумерным итеративным кодом, т.к. проверки на четность строк и столбцов информационной матрицы имеют нулевые значения:In this case, checks for the parity of rows and columns of the information matrix will give zero values, and, in addition, the results of all right and left diagonal checks will have zero values. If an error occurs in all information bits, we have an even error that cannot be detected by a two-dimensional iterative code, because parity checks of rows and columns of the information matrix have zero values:

Figure 00000019
Figure 00000019

В то же время правые и левые диагональные проверки дадут результат 101.At the same time, the right and left diagonal checks will give a result of 101.

Утверждение 1. Итеративный код, реализующий правые и левые диагональные проверки, обнаруживает все четные ошибки, не обнаруживаемые двумерным итеративным кодом, и выявляет нечетные ошибки, воспринимаемые двумерным итеративным кодом как корректируемые.Proposition 1. An iterative code that implements right and left diagonal checks detects all even errors that are not detected by the two-dimensional iterative code, and identifies odd errors that are perceived by the two-dimensional iterative code as correctable.

В свою очередь существуют структуры ошибок, не обнаруживаемые итеративным кодом, реализующим правые и левые диагональные проверки, и проверками на четность строк и столбцов. Структуры рассматриваемых ошибок представлены на рис.4.In turn, there are error structures that are not detected by iterative code that implements right and left diagonal checks and checks for the parity of rows and columns. The structures of the considered errors are presented in Fig. 4.

Figure 00000020
Figure 00000020

Рис.4 Структуры ошибок, не обнаруживаемых диагональными проверками и проверками строк и столбцов.Fig. 4 Structures of errors not detected by diagonal checks and checks of rows and columns.

Так, например, относительно информационной матрицы, имеющей нулевые значения, диагональными проверками не будет обнаружена следующая структура ошибки.So, for example, with respect to the information matrix having zero values, the following error structure will not be detected by diagonal checks.

Figure 00000021
Figure 00000021

Для того чтобы исключить появление рассматриваемых ошибок, информационная матрица должна содержать не более двух строк.In order to exclude the appearance of the considered errors, the information matrix should contain no more than two rows.

Утверждение 2. Для информационной матрицы b×2 итеративный код, реализующий правые и левые диагональные проверки, обнаруживает максимальное количество возможных ошибок (за исключением множества 2k-1 запрещенных кодовых наборов, трансформируемых в разрешенные кодовые наборы).Proposition 2. For an information matrix b × 2, an iterative code that implements right and left diagonal checks detects the maximum number of possible errors (except for the set of 2 k -1 forbidden code sets that can be transformed into allowed code sets).

Таким образом, при использовании итеративного кода, реализующего правые и левые диагональные проверки и проверки на четность, кодовый набор передается в виде:Thus, when using an iterative code that implements right and left diagonal checks and parity checks, the code set is transmitted in the form:

Figure 00000022
Figure 00000022

Для рассматриваемого примера кодирование информации осуществляется следующим образом:For this example, the encoding of information is as follows:

r1=y1; r2=y2⊕y3; r3=y4; r4=y3; r5=y1⊕y4; r6=y2.r 1 = y 1 ; r 2 = y 2 ⊕y 3 ; r 3 = y 4 ; r 4 = y 3 ; r 5 = y 1 ⊕y 4 ; r 6 = y 2 .

Результат сложения значений сигналов контрольных разрядов переданных и полученных даст синдром ошибки:The result of adding the values of the signals of the control bits transmitted and received will give an error syndrome:

Figure 00000023
Figure 00000023

где разряды вектора ошибки r1,r2,............rl - соответствуют правым диагональным проверкам, rl,rl+1............r2l - левым и сформированным относительно полученных информационных разрядов;where the bits of the error vector r 1 , r 2 , ............ r l - correspond to the right diagonal checks, r l , r l + 1 ............ r 2l - left and formed relative to the received information bits;

Figure 00000024
- значения полученных контрольных разрядов.
Figure 00000024
- the values of the received control bits.

Свойство 1. Существуют такие конфигурации ошибок в информационных и контрольных разрядах, для которых синдромы ошибок имеют одинаковые значения.Property 1. There are such error configurations in information and control bits for which the error syndromes have the same meanings.

Для различения данных ошибок, при формировании значений синдромов ошибок, организуются дополнительные диагональные проверки:To distinguish these errors, when generating the values of the error syndromes, additional diagonal checks are organized:

Figure 00000025
Figure 00000025

Таким образом, каждой ошибке из множества ошибок M=(2n)k можно поставить в соответствие значение синдрома ошибки и значение дополнительных диагональных проверок.Thus, each error from the set of errors M = (2 n ) k can be associated with the value of the error syndrome and the value of additional diagonal checks.

Свойство 2. Каждой совокупности значения синдрома ошибок и значения дополнительных проверок соответствует подмножество Q-ошибок различной конфигурации.Property 2. Each set of values of the error syndrome and the value of additional checks corresponds to a subset of Q-errors of various configurations.

Следствие 1. Для различения ошибок, принадлежащих данному подмножеству, следует ограничить кратность исправляемых ошибок и увеличить число контрольных разрядов (осуществить дополнительное кодирование информационных разрядов).Corollary 1. To distinguish between errors belonging to this subset, it is necessary to limit the multiplicity of correctable errors and increase the number of control bits (perform additional coding of information bits).

В связи с этим, предлагаемый метод кодирования включает следующие положения:In this regard, the proposed encoding method includes the following provisions:

1) для того чтобы обеспечить коррекцию 80% возникающих ошибок, целесообразно ограничиться исправлением ошибок, кратность которых не превышает k-1;1) in order to ensure correction of 80% of errors that occur, it is advisable to limit ourselves to correcting errors whose multiplicity does not exceed k-1;

2) осуществляется проверка на четность информационных разрядов;2) checks for the parity of information bits;

3) из прямых инверсных значений информационных разрядов и3) from direct inverse values of information bits and

полученного значения разряда четности формируется информационная матрица:the received value of the parity bit, an information matrix is formed:

Figure 00000026
Figure 00000026

4) для полученной информационной матрицы организуются правые и левые диагональные проверки. Число диагональных проверок (число контрольных разрядов) определяется по формуле:4) for the obtained information matrix, right and left diagonal checks are organized. The number of diagonal checks (the number of control bits) is determined by the formula:

Figure 00000027
Figure 00000027

5) кодовый набор передается в виде:5) the code set is transmitted in the form:

Figure 00000028
Figure 00000028

6) результат сложения значений сигналов переданных и сформированных контрольных разрядов даст синдром ошибки:6) the result of adding the signal values of the transmitted and generated control bits will give an error syndrome:

Figure 00000029
Figure 00000029

7) при формировании синдрома ошибки относительно полученных и сформированных значений контрольных разрядов организуются дополнительные диагональные проверки, число которых определяется выражением:7) when the error syndrome is formed with respect to the received and generated values of the control bits, additional diagonal checks are organized, the number of which is determined by the expression:

Figure 00000030
Figure 00000030

8) в результате имеем множество ошибок заданной кратности (в данном случае от одиночной до кратности k-1, определяемое выражением:

Figure 00000031
), характеризующихся определенным значением синдрома ошибки и дополнительной проверки.8) as a result, we have many errors of a given multiplicity (in this case, from single to multiplicity k-1, defined by the expression:
Figure 00000031
), characterized by a certain value of the syndrome of error and additional verification.

9) множество N разбивается на четыре подмножества N=n1+n2+n3+n4, где9) the set N is divided into four subsets N = n 1 + n 2 + n 3 + n 4 , where

n1 - синдромы, имеющие одинаковые дополнительные проверки (некорректируемые ошибки);n 1 - syndromes having the same additional checks (uncorrectable errors);

n2 - подмножество групп (каждая группа включает 2k-одинаковых значений синдромов) при наличии ошибок только в информационных разрядах;n 2 is a subset of groups (each group includes 2 k- identical values of the syndromes) in the presence of errors only in information bits;

n3 - подмножество групп (каждая группа включает 2k-одинаковых значений синдромов) при наличии ошибок только в контрольных разрядах;n 3 - a subset of groups (each group includes 2 k- identical values of the syndromes) in the presence of errors only in the control bits;

n4 - подмножество групп (каждая группа включает 2k-одинаковых значений синдромов) при наличии ошибок одновременно в информационных и контрольных разрядах.n 4 is a subset of groups (each group includes 2 k- identical values of the syndromes) in the presence of errors simultaneously in the information and control bits.

Заметим, что для ошибок, не превышающих кратность k-1, нет ошибочных кодовых наборов, трансформируемых в разрешенные (исправные) кодовые наборы.Note that for errors not exceeding the multiplicity k-1, there are no erroneous code sets that can be transformed into allowed (serviceable) code sets.

На основе полученных правил кодирования формируется стратегия декодирования, решающая задачу различения ошибок в информационных и контрольных разрядах, и правила коррекции возникающих ошибок, которая включает следующие пункты:Based on the obtained coding rules, a decoding strategy is formed that solves the problem of distinguishing between errors in information and control bits, and the rules for correcting errors that occur, which includes the following points:

1) выявляются одинаковые дополнительные проверки, по которым из множества N исключается синдромы ошибок, принадлежащие подмножеству n1 (выявляются некорректируемые ошибки, для которых формируется сигнал "Отказ устройства");1) identical additional checks are revealed, according to which error syndromes belonging to the subset n 1 are excluded from the set N (uncorrectable errors are detected for which the "Device failure" signal is generated);

2) определяются группы одинаковых синдромов (указывающих на ошибку в соответствующих информационных разрядах) для подмножества n2;2) groups of identical syndromes (indicating an error in the corresponding information bits) are determined for the subset n 2 ;

3) определяются группы синдромов ошибок, принадлежащих подмножеству n3, для которых не требуется коррекция информационных разрядов;3) groups of error syndromes belonging to a subset of n 3 are determined for which correction of information bits is not required;

4) выявляются группы одинаковых значений синдромов ошибок, принадлежащих подмножеству n4 и позволяющих исправлять ошибки в соответствующих информационных разрядах.4) groups of the same values of the error syndromes belonging to the subset n 4 and that allow correcting errors in the corresponding information bits are revealed.

Для рассматриваемого примера, реализующего предлагаемый метод кодирования, имеем:For the considered example that implements the proposed encoding method, we have:

- общее количество ошибок - 13328;- the total number of errors is 13328;

- число одинаковых синдромов ошибок, имеющих одинаковые дополнительные проверки - 1280;- the number of identical error syndromes having the same additional checks is 1280;

- 12048 - число корректируемых ошибок (90%);- 12048 - the number of correctable errors (90%);

- число ошибок только в информационных разрядах - 224 (l1=14-групп, каждая из которых включает по 16 одинаковых синдромов);- the number of errors only in information categories is 224 (l 1 = 14-groups, each of which includes 16 identical syndromes);

- число ошибок только в контрольных разрядах - 5680 (l2=355-групп, каждая из которых включает по 16 одинаковых синдромов);- the number of errors only in the control bits is 5680 (l 2 = 355 groups, each of which includes 16 identical syndromes);

- число ошибок, имеющих искажения одновременно в информационных и контрольных разрядах - 6144 (l3=384-групп, каждая из которых включает по 16 одинаковых синдромов).- the number of errors having distortions simultaneously in the information and control bits is 6144 (l 3 = 384 groups, each of which includes 16 identical syndromes).

В табл.1 представлены часть значений синдромов ошибок для подмножеств n2, n3, n4 (исключены синдромы ошибок подмножества n1, имеющие одинаковые значения дополнительных проверок).Table 1 presents a part of the values of the error syndromes for the subsets n 2 , n 3 , n 4 (excluded are the error syndromes of the subset n 1 , which have the same values of additional checks).

Figure 00000032
Figure 00000032

Предлагаемый метод кодирования позволяет:The proposed encoding method allows you to:

корректировать ошибку заданной кратности;Correct an error of a given multiplicity;

обнаруживать максимальное количество ошибок (за исключением ошибочных кодовых наборов, трансформируемых в разрешенные кодовые наборы);detect the maximum number of errors (with the exception of erroneous code sets that are transformed into allowed code sets);

сигнализировать о неисправности устройства памяти при возникновении некорректируемой ошибки.signal a malfunction of the memory device when an uncorrectable error occurs.

Claims (1)

Самокорректирующееся устройство хранения информации, содержащее запоминающее устройство, кодирующее устройство, предназначенное для осуществления правых и левых диагональных проверок и формирования вектора контрольных разрядов, схему синдрома ошибки, дешифратор, корректор, предназначенный для исправления ошибок, возникающих на выходах запоминающего устройства, информационные входы устройства подключены к первым входам запоминающего устройства, выходы которого подключены к первым входам корректора, выходы корректора являются выходами устройства, отличающееся тем, что оно дополнительно содержит с первую по четвертую группы элементов И, пятый элемент И, группу элементов ИЛИ, с второго по восьмой элементы ИЛИ, схему проверки на четность, блок инверсии, регистр, элемент НЕ, адресные входы, вход записи, вход считывания, вход «Сброс», причем информационные входы устройства подключены к первым входам элементов И первой группы, адресные входы подключены к вторым входам запоминающего устройства и к первым входам регистра, вход записи подключен к третьему входу запоминающего устройства, к объединенным вторым входам элементов И первой группы и к второму входу регистра, вход считывания подключен к четвертому входу запоминающего устройства, к объединенным первым входам элементов И второй группы, к первым входам элементов И третьей группы, к первым входам элементов И четвертой группы и к третьему входу регистра, вход «Сброс» подключен к пятому входу запоминающего устройства и к четвертому входу регистра, выходы запоминающего устройства подключены к вторым входам элементов И второй группы, выходы которых подключены к первым входам первой группы элементов ИЛИ, вторые входы которых подключены к выходам элементов И первой группы, а выходы подключены к входам схемы проверки на четность, к входам блока инверсии и к первым входам кодирующего устройства, выход схемы проверки на четность подключен ко второму входу кодирующего устройства, к вторым входам элементов И третьей группы, к пятому входу регистра, выходы блока инверсии подключены к третьим входам кодирующего устройства, выходы кодирующего устройства подключены к третьим входам элементов И третьей группы и к шестым входам регистра, первые входы схемы синдрома ошибки подключены к выходам элементов И третьей группы, вторые входы подключены к выходам регистра, а выходы подключены к входам дешифратора и к входам второго элемента ИЛИ, выход которого подключен к первому входу пятого элемента И, первая группа выходов дешифратора подключена к входам третьего элемента ИЛИ, вторая группа выходов дешифратора подключена к входам четвертого элемента ИЛИ, третья группа выходов дешифратора подключена к входам пятого элемента ИЛИ, четвертая группа выходов дешифратора подключена к входам шестого элемента ИЛИ, пятая группа выходов дешифратора подключена к входам седьмого элемента ИЛИ, выходы с третьего по шестой элементов ИЛИ подключены на вторые входы элементов И четвертой группы и с первого по четвертый входы восьмого элемента ИЛИ, выход седьмого элемента ИЛИ подключен к пятому входу восьмого элемента ИЛИ, выход которого через элемент НЕ подключен к второму входу пятого элемента И, выход пятого элемента И является выходом «Отказ устройства», выходы элементов И четвертой группы подключены к вторым входам корректора.A self-correcting information storage device containing a memory device, an encoding device designed to perform right and left diagonal checks and the formation of a vector of control bits, an error syndrome diagram, a decoder, a corrector designed to correct errors that occur at the outputs of the storage device, the information inputs of the device are connected to the first inputs of the storage device, the outputs of which are connected to the first inputs of the corrector, the outputs of the corrector are the outputs odes of the device, characterized in that it additionally contains from the first to the fourth group of AND elements, the fifth AND element, the group of OR elements, the second to eighth OR elements, the parity check circuit, the inversion unit, the register, the NOT element, address inputs, the input write, read input, input "Reset", and the information inputs of the device are connected to the first inputs of the elements And of the first group, the address inputs are connected to the second inputs of the storage device and to the first inputs of the register, the write input is connected to the third input of the memory On the device, to the combined second inputs of the AND elements of the first group and to the second input of the register, the read input is connected to the fourth input of the storage device, to the combined first inputs of the elements AND of the second group, to the first inputs of the elements AND of the third group, to the first inputs of the elements AND of the fourth group and to the third input of the register, the input "Reset" is connected to the fifth input of the storage device and to the fourth input of the register, the outputs of the storage device are connected to the second inputs of the elements of the second group, the outputs of which are are connected to the first inputs of the first group of OR elements, the second inputs of which are connected to the outputs of the AND elements of the first group, and the outputs are connected to the inputs of the parity check circuit, to the inputs of the inversion unit and to the first inputs of the encoder, the output of the parity check circuit is connected to the second input the encoder, to the second inputs of the AND elements of the third group, to the fifth input of the register, the outputs of the inversion unit are connected to the third inputs of the encoder, the outputs of the encoder are connected to the third inputs of the elements And group and to the sixth inputs of the register, the first inputs of the error syndrome circuit are connected to the outputs of the AND elements of the third group, the second inputs are connected to the outputs of the register, and the outputs are connected to the inputs of the decoder and the inputs of the second OR element, the output of which is connected to the first input of the fifth AND element , the first group of decoder outputs is connected to the inputs of the third OR element, the second group of decoder outputs is connected to the inputs of the fourth OR element, the third group of decoder outputs is connected to the inputs of the fifth OR, fourth I have a group of decoder outputs connected to the inputs of the sixth OR element, a fifth group of decoder outputs connected to the inputs of the seventh OR element, outputs from the third to sixth elements OR connected to the second inputs of the AND elements of the fourth group and from the first to fourth inputs of the eighth OR element, the output of the seventh element OR connected to the fifth input of the eighth element OR, whose output through the element is NOT connected to the second input of the fifth element AND, the output of the fifth element AND is the output “Device Failure”, the outputs of the elements AND the fourth Rupp connected to second inputs of the corrector.
RU2004121213/09A 2004-07-14 2004-07-14 Self-correcting information storage device RU2297030C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2004121213/09A RU2297030C2 (en) 2004-07-14 2004-07-14 Self-correcting information storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2004121213/09A RU2297030C2 (en) 2004-07-14 2004-07-14 Self-correcting information storage device

Publications (2)

Publication Number Publication Date
RU2004121213A RU2004121213A (en) 2006-01-10
RU2297030C2 true RU2297030C2 (en) 2007-04-10

Family

ID=35872190

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2004121213/09A RU2297030C2 (en) 2004-07-14 2004-07-14 Self-correcting information storage device

Country Status (1)

Country Link
RU (1) RU2297030C2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2450331C1 (en) * 2011-04-05 2012-05-10 Межрегиональное общественное учреждение "Институт инженерной физики" Apparatus for storing and transmitting data with single error correction in data byte and arbitrary error detection in data bytes
RU175054U1 (en) * 2017-06-20 2017-11-16 Межрегиональное общественное учреждение "Институт инженерной физики" STORAGE AND TRANSMISSION DEVICE WITH SINGLE AND DOUBLE ERRORS

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2450331C1 (en) * 2011-04-05 2012-05-10 Межрегиональное общественное учреждение "Институт инженерной физики" Apparatus for storing and transmitting data with single error correction in data byte and arbitrary error detection in data bytes
RU175054U1 (en) * 2017-06-20 2017-11-16 Межрегиональное общественное учреждение "Институт инженерной физики" STORAGE AND TRANSMISSION DEVICE WITH SINGLE AND DOUBLE ERRORS

Also Published As

Publication number Publication date
RU2004121213A (en) 2006-01-10

Similar Documents

Publication Publication Date Title
US6453440B1 (en) System and method for detecting double-bit errors and for correcting errors due to component failures
US6473880B1 (en) System and method for protecting data and correcting bit errors due to component failures
US4569052A (en) Coset code generator for computer memory protection
Bossen b-Adjacent error correction
US5856987A (en) Encoder and decoder for an SEC-DED-S4ED rotational code
JPS6349245B2 (en)
EP2248010A1 (en) Method and system for detection and correction of phased-burst errors, erasures, symbol errors, and bit errors in a received symbol string
US6393597B1 (en) Mechanism for decoding linearly-shifted codes to facilitate correction of bit errors due to component failures
CN111628780A (en) Data encoding method, data decoding method and data processing system
EP0629051B1 (en) Digital information error correcting apparatus for correcting single errors(sec),detecting double errors(ded)and single byte multiple errors(sbd),and the correction of an odd number of single byte errors(odd sbc).
RU2448359C1 (en) Apparatus for storing and transmitting data with error correction in data byte and error detection in data bytes
US7093183B2 (en) Symbol level error correction codes which protect against memory chip and bus line failures
RU164633U1 (en) STORAGE AND TRANSMISSION DEVICE WITH ERROR DETECTION
RU2297030C2 (en) Self-correcting information storage device
CN110908827A (en) Parallel BCH decoding method for error correction of NAND Flash memory
JP2732862B2 (en) Data transmission test equipment
RU2297034C2 (en) Fault-tolerant information storage device
RU2450332C1 (en) Information storage device with single and double error detection
RU2297032C2 (en) Self-correcting memorizing device
RU2297035C2 (en) Fault-tolerant memorizing device
RU2297031C2 (en) Fault-tolerant device
RU2297033C2 (en) Self-correcting device
RU44201U1 (en) FAULT-RESISTANT MEMORY DEVICE
RU42684U1 (en) SELF-CORRECTING MEMORY DEVICE
RU51428U1 (en) FAULT-RESISTANT PROCESSOR OF INCREASED FUNCTIONAL RELIABILITY

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20130715