SU1295528A1 - Device for detecting errors in modular code - Google Patents
Device for detecting errors in modular code Download PDFInfo
- Publication number
- SU1295528A1 SU1295528A1 SU853934301A SU3934301A SU1295528A1 SU 1295528 A1 SU1295528 A1 SU 1295528A1 SU 853934301 A SU853934301 A SU 853934301A SU 3934301 A SU3934301 A SU 3934301A SU 1295528 A1 SU1295528 A1 SU 1295528A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- inputs
- output
- outputs
- unit
- Prior art date
Links
Landscapes
- Error Detection And Correction (AREA)
Abstract
Изобретение относитс к. вычислительной технике. Его использование в системах обработки и передачи информации в модул рном коде(коде в остатках) позвол ет упростить устройство , которое содержит входные регистры 1, 2, блок 3 пам ти, сумматоры 4, преобразователь 5 кодов, блок 9 сравнени и элемент И 11. Введение счетчика 6 импульсов, блоков 8 неравнозначности, элемента ИЛИ 10 и блока 7 управлени обеспечивает возможность обнаружени ошибки с помощью функции Ранг числа, благодар чему упрощаетс вьшолнение устройства. 1 з.п. ф-лы, 2 ил. i (Л The invention relates to computing. Its use in information processing and transmission systems in modular code (code in residuals) allows to simplify the device, which contains input registers 1, 2, memory block 3, adders 4, code converter 5, comparison block 9 and And 11 element. The introduction of a pulse counter 6, an unequalness block 8, an element OR 10, and a control block 7 provides the possibility of detecting an error using the number rank function, thereby simplifying the execution of the device. 1 hp f-ly, 2 ill. i (L
Description
Изобретение относитс к вычислительной технике и может быть использовано в системах обработки и передачи информации в модул рном коде (коде системы остаточных классов),The invention relates to computing and can be used in information processing and transmission systems in a modular code (system code of residual classes),
Цель изобретени - упрощение устройства .The purpose of the invention is to simplify the device.
На фиг, 1 изображена блок-схема устройства; на фиг. 2 - функциональна схема блока управлени .Fig, 1 shows a block diagram of the device; in fig. 2 - functional block diagram.
Устройство дл обнаружени ошибок в модул рном коде содержит первый и второй входные регистры 1 и 2, блок 3 пам ти, сумматоры 4, преобразователь 5 кода, счетчик 6, блок 7 управлени , блоки 8 перавпозначности, блок 9 сравнени , элемент ИЛИ 10 и элемент И 11, имеет первый и второй информационные входы 12 и 13, контрольные входы 14, вход 15 пуск, тактовьд вход 16 и выход 17,The device for detecting errors in the modular code contains the first and second input registers 1 and 2, memory block 3, adders 4, code converter 5, counter 6, control block 7, remap blocks 8, comparison block 9, OR element 10 and element And 11, has the first and second information inputs 12 and 13, control inputs 14, input 15 start, clock input 16 and output 17,
Входной регистр 1 представл ет собой регистр сдвига, в который заXInput register 1 is the shift register, in which
пP
писываютс остатки х,, х, . числа X по основани м р, , р, ..., р . Причем один тактовый импульс сдвигает последовательность остатков та- КИМ образом, что на выходах регистра 1 по вл етс код следующего остатка .remnants of x ,, x,. the numbers X on the base of m p,, p, ..., p. Moreover, one clock pulse shifts the sequence of residues in such a way that at the outputs of register 1 the code of the next residue appears.
Входной регистр 2 представл ет собой статический параллельный регистр , в который записываютс остатки х., , ,.., , где m - число избыточных оснований, по контрольным основани м PJ,, , ...,РК,„ .Input register 2 is a static parallel register in which the residuals x.,,, .., are written, where m is the number of redundant bases, on control bases PJ ,,, ..., RK, ".
Шины предварительной установки регистров 1 и 2 не- показаны,, так как предполагаетс , что к моменту начала работы устройства остатки х,, ,,., х, к , t.., Кт занесены в регистры 1 и 2. The preset buses of registers 1 and 2 are not shown, since it is assumed that by the time the device starts operating, the residuals x ,, ,,., X, k, t .., Kt are registered in registers 1 and 2.
Сумматоры 4 с первого по т-й вл ютс сумматорами по модул м 0) соответственно и представл ют собой сумматоры накапливающего типа с возможностью предварительной записи исходного значени .The adders 4 from the first to the t-th are modulo-0 adders, respectively, and are accumulative-type adders with the ability to pre-record the initial value.
Блок 7 управлени (фиг. 2) содер- жкт элемент 18 задержки, триггер 19, элемент И 20, распределитель 2 импульсов , счетчик 22 импульсов и поро- говьй блок 23, имеет первый и второй входы 24 и 25 и первый - четвертый выходы 26-29.The control unit 7 (FIG. 2) contains a delay element 18, a trigger 19, an AND element 20, a pulse distributor 2, a pulse counter 22 and a threshold unit 23, has first and second inputs 24 and 25 and first to fourth outputs 26 -29.
-Блок 9 сравнени выдает сигнал, если код па его первых входах боль- ..ше, чем на вторых.- Comparison block 9 generates a signal if the code on its first inputs is larger than the second.
95528 ;295528; 2
Пороговьш блок 23 (фиг. 2) выдает сигнал, если его входной код не меньше 2п-1 .The threshold unit 23 (Fig. 2) issues a signal if its input code is not less than 2n-1.
В своей работе устройство дл обнаружени ошибок в модул рном коде используют следующее. In its operation, a device for detecting errors in a modular code uses the following.
Дл диапазона Р определим число Xel l,,.. , которое представлено совоХо ХьFor the range of P, we determine the number Xel l ,, .., which is represented by the comb
fofo
1515
2020
Ipn купностьго остатков х,, л, ..., Ipn kupnitsugo residues x ,, l, ...,
по взаимно простым основани м р,, рг , on a mutually simple basis m p ,, pg,
1 П1 P
..., р„ , Очевидно, что Р.,П п- обра- ) 1 1 г ..., p „, It is obvious that R., P is n-obra-) 1 1 g
з ует нулевое пространство кода.This sets zero code space.
Дл такого непозиционного представлени числа X может быть определена позиционна характеристика Нормированный ранг числаFor such a non-positional representation of the number X, the positional characteristic can be determined. The normalized rank of the number
-MX)r(X)-i: (I) i- - J 1 J-MX) r (X) -i: (i) i- - J 1 J
где г(Х) - функци Ранг числа ;where r (x) is the function of the rank of a number;
Ш JL fl , у 1 л W JL fl, 1 l
- - l(mod Р; ) - базисные числа.- - l (mod Р;) - basic numbers.
В;Р г(Х) может, быть найдено изC; P g (X) can be found from
XX
,р ZlxjB--r(X)P(2), p ZlxjB - r (X) P (2)
п i-1n i-1
Из уравнений (1) и (2) выражают (Х) следующим образом:From equations (1) and (2) express (X) as follows:
3535
:)(х) ( :) (x) (
;т- Гх;тЛ-. |х|р„ ,,.; t-Gh; tL-. | x | p „,,.
-рГ . L-pyj -RG L-pyj
Ввод т избыточное основание р , по которого преобразз от вырах|р; -An excess base p is introduced, according to which the transformation from the extrusion | p; -
К TO
1one
))
Если имеетс несколько избыточных оснований, pit;, , .. ,, ри , то,If there are several redundant bases, pit ;,, .. ,, ri, then,
т ™t ™
представл Ру.- П р , как р., , из вы- 1-1 Irepresented Ru.-Pr as p., out of 1-1 I
ражени (5) наход т (X), учитыва .razheni (5) are (X), taking into account.
5050
что в этом случае m x;L ,that in this case m x; L,
(6)(6)
5five
где L - базисные числа дл системыwhere L is the base number for the system
оснований РК, ) RK grounds,)
Подставл выражение (6) и (5), имеют. - |:(,.p.|,Substituted the expression (6) and (5) have. - | :(,. p. |,
(Х) (X)
X к L; X to L;
(7)(7)
3 1295528 Вычисл ть (X) с помощью выражени (7) сложноi поэтому, воспользовавшись тем, что Р составное, вычисно ви3 1295528 Calculate (X) with the help of expression (7) is difficult and therefore, using the fact that P is composite, calculating
л ют т.е.l am i
Чх)Chh)
Чх)Chh)
4x);t(X) ; j l,m4x); t (X); j l, m
Р«1 ,P "1,
V- f g. jiiHJ-1 fc P L РИ,V- f g. jiiHJ-1 fc P L RI,
) +) +
+ X+ X
PK;PK;
10ten
}}
Дл сравнени (X) с ,, учитыва выражение (11), достаточно сравнить ЧХ) между собой и одно из них с величиной I 1 1- Если (Х) не равны между собой,To compare (X) with ,, taking into account the expression (11), it is enough to compare the FW) among themselves and one of them with the value I 1 1- If (X) is not equal to each other,
J ) р; ( ° 5 „ всегда. (Х)„. Совокупность (Х), .../(Х) ) равны, одно из них J) p; (° 5 „always. (X)„. Set (X), ... / (X)) are equal, one of them
Выражение (9) справедливо, так какExpression (9) is valid because
;1L 0, ,; 1L 0,
следовательноConsequently
больше , то и тогда (Х)- Т1есть не что иное, как остатки от делени т)(Х) по модул м р , ...,р.more, then (X) - T1 is nothing but residues from d) (X) modulo m p, ..., p.
ИзвестноKnown
maxmax
. VI. VI
Следовательно, дл упор доченной системы оснований справедливоTherefore, for an ordered system of bases
.- (Ю 25.- (Yu 25
J20 J20
Ркг 3.. Rkg 3 ..
Пусть Х,241 4- (1,3,,3) - пра- . число. Если происходит ошибка в двух вильное число, тогда - 55 остатках, например,Let X, 241 4- (1,3,, 3) be great. number. If an error occurs in two numbers, then - 55 residues, for example,
(Х) И 1+8+4-1-7 8 Кз 1;(X) And 1 + 8 + 4-1-7 8 Кз 1;
(Х){ 4+3+2+3-31,7(X) {4 + 3 + 2 + 3-31.7
1, one,
Таким образом, вычислив (X) и ) (X), заключают, что X, - правильное;Thus, calculating (X) and) (X), we conclude that X, is correct;
тогдаthen
Х,(1,5,10,7 4),X, (1,5,10,7 4),
54x)ln+4+4+7-8l, 10; (Х) | 4+10+2+4-31 7 11.54x) ln + 4 + 4 + 7-8l, 10; (X) | 4 + 10 + 2 + 4-31 7 11.
528 528
Если происходит люба ошибка кратности m и меньше, то всегда неправильное X находитс вне диапазона Р,If any error of multiplicity m and less occurs, then always wrong X is out of range P,
Можно показать, что при реализа- 5 ции алгоритма (9) дл ()Р„ чисел, не принадлежащих Гр (Х) т.е. эти неправильные числа выrti It can be shown that when implementing algorithm (9) for () P „numbers that do not belong to Gr (X), i.e. these wrong numbers vyrti
вл ютс вычислением (9).are the calculation (9).
10ten
„ всегда. (Х)„. ) равны, одно из них" is always. (X) “. ) are equal, one of them
больше , то и тогда (Х)- Т1Таким образом пред.поженный алгоритм позвол ет из числа неправильныхmore, then (X) - T1. In this way, the preceded algorithm allows one of the wrong
чисел опознать подавл ющее их количество за число тактов не больше (п+1) дл любого числа избыточных оснований.numbers recognize the overwhelming number of them for the number of ticks not more (n + 1) for any number of redundant bases.
ПримерExample
число. Если происходит ошибка в остатках, например,number. If an error occurs in the residuals, for example,
тогдаthen
Х,(1,5,10,7 4),X, (1,5,10,7 4),
54x)ln+4+4+7-8l, 10; (Х) | 4+10+2+4-31 7 11.54x) ln + 4 + 4 + 7-8l, 10; (X) | 4 + 10 + 2 + 4-31 7 11.
Вследствие этого заключают, что Х - неправильное число. As a result, it is concluded that X is an incorrect number.
Устройство дл обнаружени ошибок в модул рном коде работает следуюпщм образом.The device for detecting errors in the modular code works as follows.
В исходном состо нии в регистр I занесены остатки х,, х, .,., к.In the initial state, the remains of x ,, x,.,., K are entered in register I.
В регистр 2 занесены остатки к , х , ... . На выходах преобразовател 5 кода сформированы значени кодов Ix,f,jJ, , ..., |х,р/ соответственно.The register 2 contains the residuals k, x, .... At the outputs of the converter 5 of the code, the values of the codes Ix, f, jJ,, ..., | x, p / are formed, respectively.
На вход 16 поступают тактовые импульсы , триггер 19 установлен в нулеIpvcmThe input 16 receives clock pulses, the trigger 19 is set to zero Ipvcm
Прибавлены значени кодов 0р Added value codes 0p
г,К последнему такту на вход счетчи ка 22 поступает 2п-2 тактовых импуль 5 са,, и по приходу (2п-1)-го тактового импульса на В 1ходе порогового блока 23 по вл етс логическа единица, .котора устанавливает триггер 19 в ° нулевое состо ние, запреща тем са- fO мым дальнейшее поступление тактовых импульсов. d. By the last clock, 2p-2 clock pulses 5 cs ,, arrive at the input of the counter 22, and the arrival of the (2p-1) -th clock pulse at the start of the threshold unit 23 appears a logical unit, which sets the trigger 19 in ° zero state, thereby prohibiting further input of clock pulses.
На этом такте содержимое сумматоров 4 соответствует Ai(X), ...)At this time, the contents of adders 4 correspond to Ai (X), ...)
Если ЧХ) (Х) ..,) (Х)If cho) (x) ..,) (x)
вое состо ние, и, соответственно, на f5 „,8 то на выходах блоков 8 и 9 ловыходах распределител 21 нет импульсов .The new state, and, respectively, at f5n, 8, then at the outputs of blocks 8 and 9 of the outputs, the distributor 21 has no pulses.
Импульс Пуск, поступивший на вход 15, устанавливает счетчик 6 в исходное нулевое состо ние и, пройд через блок 7 управлени на выход 28, записывает в сумматоры 4 с первогоA start impulse arriving at input 15 sets the counter 6 to the initial zero state and, having passed through the control block 7 to output 28, writes to the adders 4 from the first
х,, fi x ,, fi
гические нули не измен ют значение логического уровн на выходе элемента ИЛИ 10 и соответственно элемента И П, Тем самым констатирует- 20 с правильность числа X,logical zeros do not change the value of the logic level at the output of the element OR 10 and, accordingly, the element AND P, thereby establishing, 20 seconds, the correctness of the number X,
Если же (Х)5 --3-ЧХ), i,j6 i,n, или (X)v 5 то логическа единица на выходе элемента ИЛИ 10 приводит к по влению логической единицы на также устанавливает в исходное состо- выходе элемента И П , так как на егоIf (X) 5 - 3-FH), i, j6 i, n, or (X) v 5, then the logical unit at the output of the element OR 10 leads to the appearance of a logical unit and also sets the initial state, the output of the element AND P, since on his
по т-и значение кодов 11on t and value codes 11
. fpk, . fpk,
I.4.I -1 ( I ГК5 Xi- ft n соответственно, aI.4.I -1 (I GK5 Xi-ft n respectively, a
I Km P I pKmI Km P I pKm
ние распределитель 21 импульсов и счетчик-22. Через врем , определ емое окончанием переходных процессов в сумматорах 4 и блоке 3 пам ти, через элемент 18 задержки триггер 19 устанавливаетс в единичное состо - . ние. Поступивший на вход 16 тактовый импульс приводит к по влению импульса на выходе 27.distributor 21 pulses and a counter-22. After a time determined by the end of the transients in the adders 4 and the memory block 3, the trigger 19 is set to the one state through the delay element 18. the Received at the input of the 16 clock pulse leads to the appearance of a pulse at the output 27.
К этому времени на выходах блока 35 числа предлагаемое устрой-, 3 пам ти сформированы коды Ор, (х,), тво более просто в выполнении, чем .... 0p|j (х ) , которые при по влении импульса на выходе 27 прибавл ют значени этих кодов к содержимому сумматоров 4 с первого по т-й соответст- 40 венно.By this time, at the outputs of the block of the 35th day, the proposed device, 3 memory codes Op, (x,), are formed easier to perform than .... 0p | j (x), which, when an output pulse appears, is 27 the values of these codes are added to the contents of adders 4 from the first to the t-th, respectively.
Следующий тактовый импульс на входе 25 приводит к по вленшо импульса на выходе блока 7 управлени , вследствие чего содержш-гае К сдвигаетс 45 рого подключены к ссответствующим вправо и на входы блока 3 пам ти посту- входам преобразовател кодов, выхо- .пает код остатка Xj,. Содержимое счетчика № которого соединены с первыми вхоThe next clock pulse at input 25 results in a pulse at the output of control unit 7, as a result of which the content K is shifted 45 are connected to the right and to the inputs of memory block 3, the inputs of the code converter, the residual code Xj is output , The contents of the counter whose number is connected to the first inputs
втором входе присутствует логическа единица с выхода порогового блока 23.the second input is a logical unit from the output of the threshold unit 23.
Таким образом, единица на выходе 30 элемента И 1 свидетельствует о том, что число X неправ шьноеJ т.-е. искаженное (ошибка достигает кратности т)Thus, the unit at output 30 of the element I 1 indicates that the number X is wrong and that is, i.e. distorted (error reaches multiplicity t)
Благодар использоЕтнию функцииThanks to the use of functions
известное-;known-;
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853934301A SU1295528A1 (en) | 1985-06-04 | 1985-06-04 | Device for detecting errors in modular code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU853934301A SU1295528A1 (en) | 1985-06-04 | 1985-06-04 | Device for detecting errors in modular code |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1295528A1 true SU1295528A1 (en) | 1987-03-07 |
Family
ID=21190837
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU853934301A SU1295528A1 (en) | 1985-06-04 | 1985-06-04 | Device for detecting errors in modular code |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1295528A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2653257C1 (en) * | 2017-07-21 | 2018-05-07 | федеральное государственное автономное образовательное учреждение высшего образования "Северо-Кавказский федеральный университет" | Device for detecting and correcting the error of the modular code |
-
1985
- 1985-06-04 SU SU853934301A patent/SU1295528A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 842820, кл. Н 03 М 7/18, 17.07.79. Авторское свидетельство № 960823, кл. Н 03 М 7/18, 04.08.80. (-54) УСТРОЙСТВО ДЛЯ ОБНАРУЖЕНИЯ ОШИБОК В- МОДУЛЯРНОМ КОДЕ * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2653257C1 (en) * | 2017-07-21 | 2018-05-07 | федеральное государственное автономное образовательное учреждение высшего образования "Северо-Кавказский федеральный университет" | Device for detecting and correcting the error of the modular code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1295528A1 (en) | Device for detecting errors in modular code | |
SU1228107A1 (en) | Device for checking comparison circuits | |
SU1425706A1 (en) | Device for computing the matrix of function | |
SU1596440A2 (en) | Generator of m-sequences | |
SU1552174A1 (en) | Dividing device | |
SU1756877A1 (en) | Device for information input | |
SU1439617A1 (en) | Device for computing matrix of functions | |
SU1439618A1 (en) | Device for computing matrix of functions | |
SU838701A1 (en) | Device for forming shortest path in digital communication system | |
SU1049900A1 (en) | Device for sorting binary numbers | |
SU1310813A1 (en) | Random number generator | |
SU1120326A1 (en) | Firmware control unit | |
SU1257708A1 (en) | Device for correcting errors in memory blocks | |
SU1112366A1 (en) | Signature analyzer | |
SU1756879A1 (en) | Device for determination of linearity of boolean functions | |
SU849474A1 (en) | Pulse discriminator | |
SU809176A1 (en) | Device for dividing | |
SU1030797A1 (en) | Device for sorting mn-digit numbers | |
SU1167600A1 (en) | Device for converting residual class system code to decimal code | |
SU1059580A1 (en) | Probabilistic device for simulating complex stochastic systems | |
SU1541607A1 (en) | Device for revealing batch errors | |
SU1285480A1 (en) | Device for modulo checking of information | |
SU590822A1 (en) | Information transmitter | |
SU1256013A1 (en) | Device for comparing numbers in modular code | |
SU1164721A1 (en) | Microprocessor |