RU2297034C2 - Fault-tolerant information storage device - Google Patents

Fault-tolerant information storage device Download PDF

Info

Publication number
RU2297034C2
RU2297034C2 RU2004121405/09A RU2004121405A RU2297034C2 RU 2297034 C2 RU2297034 C2 RU 2297034C2 RU 2004121405/09 A RU2004121405/09 A RU 2004121405/09A RU 2004121405 A RU2004121405 A RU 2004121405A RU 2297034 C2 RU2297034 C2 RU 2297034C2
Authority
RU
Russia
Prior art keywords
inputs
outputs
input
group
elements
Prior art date
Application number
RU2004121405/09A
Other languages
Russian (ru)
Other versions
RU2004121405A (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 RU2004121405/09A priority Critical patent/RU2297034C2/en
Publication of RU2004121405A publication Critical patent/RU2004121405A/en
Application granted granted Critical
Publication of RU2297034C2 publication Critical patent/RU2297034C2/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, inversion block, decoder, 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], использующее декодирующее устройство, исправляющее модульные (байтовые) ошибки на основе применения кодов Рида-Соломона, содержащее исходную схему, кодирующее устройство, избыточную схему, декодирующее устройство, включающее схему вычисления синдрома, формирователь мнимых синдромов, дешифратор ошибки в байте, схему вычисления искаженного байта, коммутаторы ошибок, корректор ошибок, входы устройства подключены к входам исходной схемы и к входам кодирующего устройства, выходы кодирующего устройства подключены к входам избыточной схемы, выходы которой подключены к первым входам схемы вычисления синдрома, выходы исходной схемы подключены к вторым входам схемы вычисления синдрома и к первым входам корректора, выходы схемы вычисления синдрома подключены к входам дешифратора ошибки, выходы которого подключены к вторым входам корректора, выходы корректора являются выходами устройства.It is known self-correcting discrete device [1], using a decoding device that corrects modular (byte) errors based on the use of Reed-Solomon codes, containing the original circuit, encoding device, redundant circuit, decoding device, including a syndrome calculation circuit, an imaginary syndrome shaper, an 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 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.

Целью изобретения является повышение достоверности функционирования устройства за счет коррекции 94% обнаруживаемых ошибок, не превышающих кратность k-1, при условии максимального обнаружения количества ошибок в кодовом наборе.The aim of the invention is to increase the reliability of the device by correcting 94% of detected errors not exceeding 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, while 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, additionally contains the first to fifth elements AND, the first to eighth elements OR, the parity check circuit, inversion block, register, element NOT, address inputs, write input, read input, input "Reset", moreover, 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 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 of the original circuit and to 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 block and to the first inputs of the encoder, the outputs of the parity check circuit are connected to the second input of the encoder, to the second inputs of the third AND element and to the fifth inputs of the register, the outputs of the inversion unit are connected to the third inputs m 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 element OR, whose output 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 IL element And, 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 respectively from the second to fifth inputs of the fourth of the AND element, and from the first to the 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 input of the fifth AND gate, the input of the fifth AND gate is the output device outputs the fourth AND gate 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 And 2, the second element And 3, the third element And 4, the fourth element And 5, the fifth element And 6, the first element OR 7, the second element OR 8, the third element OR 9, the fourth element OR 10 , fifth element OR 11, sixth element OR 12, seventh element OR 13, eighth element OR 14, encoder 15, error syndrome circuit 16, decoder 17, corrector 18, parity check circuit 19, inversion unit 20, register 21, element NOT 22, information inputs 23, address inputs 24, input 25 records, input 26 reads, input 27 reset, outputs 2 8 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 And 2 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 And 2 element and to the second input of the register 21, the read input 26 is connected to the fourth input of the original circuit 1, to the first input of the second And 3 element, to the first input of the third And 4 element, to the first input a quarter of the second element And 5 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 And 3, the outputs of which are connected to the first inputs of the first element OR 7, the second inputs of which are connected to the outputs of the first element And 2, 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 outputs of the parity checking circuit 19 are connected to the second input of the coding arrange 15, to the second inputs of the third element And 4 and to the fifth inputs 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 And 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 And 4, 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 OR 8, the output of which is connected to the first input of the fifth element And 6, the first group The decoder 17 is connected to the inputs of the third element OR 9, the second group of outputs of the decoder 17 is connected to the inputs of the fourth element OR 10, the third group of outputs of the decoder 17 is connected to the inputs of the fifth element OR 11, the fourth group of outputs of the decoder 17 is connected to the inputs of the sixth element OR 12, the fifth group of outputs of the decoder 17 is connected to the inputs of the seventh element OR 13, 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 And 5 and the first to fourth inputs are eighth about element 14 OR, the output of the seventh element OR 13 is connected to the fifth input of the eighth element OR 14, the output of which through element NOT 21 is connected to the second input of the fifth element And 6, the input of the fifth element And 6 is the output of the device, the outputs of the fourth element And 5 are connected to the second inputs of the corrector 18.

Схема 19 проверки на четность предназначена для формирования значения контрольного разряда четности относительно прямых и инверсных значений информационных разрядов.The parity check circuit 19 is intended to generate a parity check digit value with respect to direct and inverse values of 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 OR 7, respectively, when writing and reading information.

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

Figure 00000002
Figure 00000002

где уi,

Figure 00000003
rЧЕТ,
Figure 00000004
- соответственно прямые и обратные значения i-го информационного разряда и значения разряда четности кодового набора.where 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 bits 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 direct and inverse values of the control bits of parity. 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 = e 1 e 2 e 3 ........... e 2 (k + 2) e EVEN e EVEN .

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

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

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

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

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

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

Корректор 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 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 a subset of 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 single values at the output of the circuit 16 error syndromes and the absence of single values at the outputs from the third 9 to the seventh 13 elements OR, using the second element OR 8, the eighth element OR 14, the element NOT 22, the fifth element AND 6, the signal ″ Device failure ″ is generated.

Устройство работает следующим образом. Перед началом работы на вход 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 further through the OR 7, the input information is supplied to the first inputs of the encoding device 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 information bits, and the third inputs receive inverse values of the information bits. From the obtained parity bits, 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 input to the register 21 and recorded at the specified address, which also records the direct and inverse values of the parity bit coming from the outputs 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 And 3, opened by the signal "Read" from input 26, the element OR 7 is 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.In this case, the information from the outputs of the encoder 15 through the third element And 4 enters 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 And 5 is fed to the input of the corrector 18, where the correction of erroneous information discharge occurs.

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

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

Седьмой элемент ИЛИ 13 объединяет выходы дешифратора 17 (выходы схем И), принадлежащие подмножеству l2 и соответствующие возникновению ошибок только в контрольных разрядах (для которых не требуется формирование управляющих сигналов на корректор).The seventh element OR 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 (which do not require the formation of control signals to the corrector).

Корректор 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 00000006
Figure 00000006

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

Приложениеapplication

Коррекция ошибок заданной кратности, при условии обнаружения ошибок в остальных разрядах информации, может достигается на основе итеративного кода.Correction of errors 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 00000007
Figure 00000007

Затем осуществляется кодирование информации по методу четности (путем сложения по 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 00000008
Figure 00000008

где Н=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 00000009
Figure 00000009

При этом разряды синдрома ошибки е1е2...em (полученные относительно вектора четности строк) указывают модуль информации, имеющей ошибку, а разряды еmеm+1...еb (полученные относительно вектора четности столбцов) указывают ошибочный разряд в модуле информации.In this case, 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 00000010
Figure 00000010

Рис.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 00000011
Figure 00000011

Рис.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.

В общем случае можно строить итеративные коды более высокой размерности (трехмерные, четырехмерные и т.д.), где каждый информационный символ будет являться компонентой одновременно х различных кодовых слов. Параметры итеративных кодов размерности х таковы [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 00000012
Figure 00000012

где 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 00000013
Figure 00000013

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

Figure 00000014
Figure 00000014

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

Figure 00000015
Figure 00000015

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

Figure 00000016
Figure 00000016

Пример 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 00000017
Figure 00000017

В этом случае проверки на четность строк и столбцов информационной матрицы дадут нулевые значения, и кроме этого будут иметь нулевые значения результаты всех правых и левых диагональных проверок. При возникновении ошибки во всех информационных разрядах имеем четную ошибку, не обнаруживаемую двумерным итеративным кодом, т.к. проверки на четность строк и столбцов информационной матрицы имеют нулевые значения: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 00000018
Figure 00000018

В то же время правые и левые диагональные проверки дадут результат 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 00000019
Figure 00000019

Рис.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 00000020
Figure 00000020

Для того чтобы исключить появление рассматриваемых ошибок, информационная матрица должна содержать не более двух строк.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 00000021
Figure 00000021

Для рассматриваемого примера кодирование информации осуществляется следующим образом: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 00000022
Figure 00000022

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

Figure 00000023
- значения полученных контрольных разрядов.
Figure 00000023
- 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 during the formation of error syndrome values, additional diagonal checks are organized:

Figure 00000024
Figure 00000024

Таким образом, каждой ошибке из множества ошибок 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) для того чтобы обеспечить коррекцию 94% возникающих ошибок, целесообразно ограничится исправлением ошибок, кратность которых не превышает k-1;1) in order to ensure the correction of 94% of errors that occur, it is advisable to limit itself 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

значений (прямого и инверсного) разряда четности формируется информационная матрица:values (direct and inverse) parity discharge is formed by the information matrix:

Figure 00000025
Figure 00000025

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 00000026
Figure 00000026

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

Figure 00000027
Figure 00000027

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

Figure 00000028
Figure 00000028

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 00000029
Figure 00000029

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

Figure 00000030
), характеризующихся определенными значением синдрома ошибки и дополнительной проверки;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 00000030
) characterized by a specific value of the error syndrome 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 errors in information and control bits, and the rules for correcting errors that arise, 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:

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

- 960 - число одинаковых синдромов ошибок, имеющих одинаковые дополнительные проверки (подмножество n1);- 960 - the number of identical error syndromes that have the same additional checks (subset n 1 );

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

- число ошибок только в информационных разрядах - 0;- the number of errors only in information bits is 0;

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

- число ошибок, имеющих искажения одновременно в информационных и контрольных разрядах - 7520 (l3=470-групп, каждая из которых включает по 16 одинаковых синдромов).- the number of errors having distortions simultaneously in the information and control bits is 7520 (l 3 = 470 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).

Таблица 1.Table 1. ОшибкаMistake Инф. разр.Inf. bit Принятые КРAccepted by the Kyrgyz Republic Сформирован. КРFormed. KR СиндромSyndrome y1y2y3y4 y 1 y 2 y 3 y 4 r1r2r3r4r5r6r7r8r9r10 r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 r 10 r1r2r3r4r5r6r7r8r9r10 r 1 r 2 r 3 r 4 r 5 r 6 r 7 r 8 r 9 r 10 е1е2е3е4е5е6е7е8е9е10 e 1 e 2 e 3 e 4 e 5 e 6 e 7 e 8 e 9 e 10 Только в контрольныхOnly in control 01010101

Figure 00000031
Figure 00000031
000000100010000000100010 000000000001000000000001 01010101
Figure 00000032
Figure 00000032
000000100010000000100010 100000000000100000000000
01010101
Figure 00000033
Figure 00000033
000000100010000000100010 110000000000110000000000
01010101
Figure 00000034
Figure 00000034
000000100010000000100010 000000000011000000000011
01010101
Figure 00000035
Figure 00000035
000000100010000000100010 111000000000111000000000
01010101
Figure 00000036
Figure 00000036
000000100010000000100010 000000000111000000000111
Только в информационныхInformation only
Figure 00000037
Figure 00000037
000101100111000101100111 000000100010000000100010 000101000101000101000101
Figure 00000038
Figure 00000038
110011010001110011010001 000000100010000000100010 110011110011110011110011
Figure 00000039
Figure 00000039
101000001010101000001010 000000100010000000100010 101000101000101000101000
Figure 00000040
Figure 00000040
001010101000001010101000 000000100010000000100010 001010001010001010001010
Figure 00000041
Figure 00000041
101101001111101101001111 000000100010000000100010 101101101101101101101101
Figure 00000042
Figure 00000042
111001011011111001011011 000000100010000000100010 111001111001111001111001
И в контрольных, и в информационныхAnd in the control, and in the information
Figure 00000043
Figure 00000043
Figure 00000044
Figure 00000044
000000100010000000100010 010011110011010011110011
Figure 00000045
Figure 00000045
Figure 00000046
Figure 00000046
000000100010000000100010 110011110010110011110010
Figure 00000047
Figure 00000047
Figure 00000048
Figure 00000048
000000100010000000100010 100101000101100101000101
Figure 00000049
Figure 00000049
Figure 00000050
Figure 00000050
000000100010000000100010 111000101000111000101000
Figure 00000051
Figure 00000051
Figure 00000052
Figure 00000052
000000100010000000100010 011100111100011100111100
Figure 00000047
Figure 00000047
Figure 00000053
Figure 00000053
000000100010000000100010 000101000110000101000110

Предлагаемый метод кодирования позволяет: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.

Источники информации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.

Claims (1)

Отказоустойчивое устройство хранения информации, содержащее запоминающее устройство, кодирующее устройство, предназначенное для осуществления правых и левых диагональных проверок и формирования вектора контрольных разрядов, схему синдрома ошибки, дешифратор, корректор, предназначенный для исправления ошибок, возникающих на выходах запоминающего устройства, информационные входы устройства подключены к первым входам запоминающего устройства, выходы которого подключены к первым входам корректора, выходы корректора являются выходами устройства, отличающееся тем, что оно дополнительно содержит с первую по четвертую группы элементов И, пятый элемент И, группу элементов ИЛИ, с второго по восьмой элементы ИЛИ, схему проверки на четность, блок инверсии, регистр, элемент НЕ, адресные входы, вход записи, вход считывания, вход «Сброс», причем информационные входы устройства подключены к первым входам элементов И первой группы, адресные входы подключены к вторым входам запоминающего устройства и к первым входам регистра, вход записи подключен к третьему входу запоминающего устройства, к вторым входам элементов И первой группы и к второму входу регистра, вход считывания подключен к четвертому входу запоминающего устройства, к первым входам элементов И второй группы, к первым входам элементов И третьей группы, к первым входам элементов И четвертой группы и к третьему входу регистра, вход «Сброс» подключен к пятому входу запоминающего устройства и к четвертому входу регистра, выходы запоминающего устройства подключены к вторым входам элементов И второй группы, выходы которых подключены к первым входам первой группы элементов ИЛИ, вторые входы которых подключены к выходам элементов И первой группы, а выходы подключены к входам схемы проверки на четность, к входам блока инверсии и к первым входам кодирующего устройства, выходы схемы проверки на четность подключены ко второму входу кодирующего устройства, к вторым входам элементов И третьей группы и к пятым входам регистра, выходы блока инверсии подключены к третьим входам кодирующего устройства, выходы кодирующего устройства подключены к третьим входам элементов И третьей группы и к шестым входам регистра, первые входы схемы синдрома ошибки подключены к выходам элементов И третьей группы, вторые входы подключены к выходам регистра, а выходы подключены к входам дешифратора и к входам второго элемента ИЛИ, выход которого подключен к первому входу пятого элемента И, первая группа выходов дешифратора подключена к входам третьего элемента ИЛИ, вторая группа выходов дешифратора подключена к входам четвертого элемента ИЛИ, третья группа выходов дешифратора подключена к входам пятого элемента ИЛИ, четвертая группа выходов дешифратора подключена к входам шестого элемента ИЛИ, пятая группа выходов дешифратора подключена к входам седьмого элемента ИЛИ, выходы с третьего по шестой элементов ИЛИ подключены на вторые входы элементов И четвертой группы и с первого по четвертый входы восьмого элемента ИЛИ, выход седьмого элемента ИЛИ подключен к пятому входу восьмого элемента ИЛИ, выход которого через элемент НЕ подключен к второму входу пятого элемента И, выход пятого элемента И является выходом «Отказ устройства», выходы элементов И четвертой группы подключены к вторым входам корректора.A fault-tolerant information storage device containing a memory device, an encoding device designed for performing right and left diagonal checks and forming a vector of control bits, an error syndrome diagram, a decoder, and a corrector designed to correct errors that occur at the outputs of the memory 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 and a device, characterized in that it additionally contains from the first to fourth group of AND elements, the fifth AND element, the OR group of 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 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 storage device triads, to the 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 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 the third the 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 AND of the second group, the outputs of which are connected to the first inputs of the first group UPP elements OR, the second inputs of which are connected to the outputs of the elements AND 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 outputs of the parity check circuit are connected to the second input of the encoder, to the second the inputs of the AND elements of the third group and the fifth inputs 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 of the third group and to the sixth input m 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 connected to the inputs of the third OR element, the second group of decoder outputs connected to the inputs of the fourth OR element, the third group of decoder outputs connected to the inputs of the fifth OR element, fourth group of decoder outputs connected to the inputs of the sixth OR element, the fifth group of decoder outputs connected to the inputs of the seventh OR element, the outputs from the third to sixth elements OR connected to the second inputs of the AND elements of the fourth group and the first to fourth inputs of the eighth OR element, the output of the seventh OR element connected to the fifth the input of the eighth OR element, the output of which through the element is NOT connected to the second input of the fifth AND element, the output of the fifth element AND is the output “Device Failure”, the outputs of the And elements of the fourth group are connected to the second odes corrector.
RU2004121405/09A 2004-07-14 2004-07-14 Fault-tolerant information storage device RU2297034C2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2004121405/09A RU2297034C2 (en) 2004-07-14 2004-07-14 Fault-tolerant information storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2004121405/09A RU2297034C2 (en) 2004-07-14 2004-07-14 Fault-tolerant information storage device

Publications (2)

Publication Number Publication Date
RU2004121405A RU2004121405A (en) 2006-01-10
RU2297034C2 true RU2297034C2 (en) 2007-04-10

Family

ID=35872262

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2004121405/09A RU2297034C2 (en) 2004-07-14 2004-07-14 Fault-tolerant information storage device

Country Status (1)

Country Link
RU (1) RU2297034C2 (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
RU2450332C1 (en) * 2011-01-27 2012-05-10 Межрегиональное общественное учреждение "Институт инженерной физики" Information storage device with single and double error detection

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2450332C1 (en) * 2011-01-27 2012-05-10 Межрегиональное общественное учреждение "Институт инженерной физики" Information storage device with single and double error detection
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

Also Published As

Publication number Publication date
RU2004121405A (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
JPS6349245B2 (en)
US6393597B1 (en) Mechanism for decoding linearly-shifted codes to facilitate correction of bit errors due to component failures
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
US6463563B1 (en) Single symbol correction double symbol detection code employing a modular H-matrix
RU164633U1 (en) STORAGE AND TRANSMISSION DEVICE WITH ERROR DETECTION
RU2297034C2 (en) Fault-tolerant information storage device
US4868829A (en) Apparatus useful for correction of single bit errors in the transmission of data
US3504340A (en) Triple error correction circuit
RU2297030C2 (en) Self-correcting information storage device
WO2022151724A1 (en) Error correction system
RU2450332C1 (en) Information storage device with single and double error detection
RU2297035C2 (en) Fault-tolerant memorizing device
RU2297032C2 (en) Self-correcting memorizing device
RU44201U1 (en) FAULT-RESISTANT MEMORY DEVICE
RU42684U1 (en) SELF-CORRECTING MEMORY DEVICE
RU2297033C2 (en) Self-correcting device
RU2297031C2 (en) Fault-tolerant device
RU42686U1 (en) SELF-CORRECTING DEVICE
RU51428U1 (en) FAULT-RESISTANT PROCESSOR OF INCREASED FUNCTIONAL RELIABILITY
RU42682U1 (en) FAILURE-RESISTANT INFORMATION STORAGE DEVICE
RU42685U1 (en) FAILURE-RESISTANT DEVICE

Legal Events

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

Effective date: 20130715