SU1566354A1 - Device for localization of errors in binary sequence - Google Patents
Device for localization of errors in binary sequence Download PDFInfo
- Publication number
- SU1566354A1 SU1566354A1 SU884421817A SU4421817A SU1566354A1 SU 1566354 A1 SU1566354 A1 SU 1566354A1 SU 884421817 A SU884421817 A SU 884421817A SU 4421817 A SU4421817 A SU 4421817A SU 1566354 A1 SU1566354 A1 SU 1566354A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- trigger
- group
- information
- Prior art date
Links
- 230000004807 localization Effects 0.000 title claims 2
- 238000009434 installation Methods 0.000 claims description 4
- 101000617285 Homo sapiens Tyrosine-protein phosphatase non-receptor type 6 Proteins 0.000 claims 1
- 102100021657 Tyrosine-protein phosphatase non-receptor type 6 Human genes 0.000 claims 1
- 238000003384 imaging method Methods 0.000 description 10
- 238000000034 method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 101100232428 Arabidopsis thaliana ENY gene Proteins 0.000 description 1
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Изобретение относитс к вычислительной технике и может использоватьс в системах технического диагностировани дискретных объектов. Цель изобретени - расширение функциональных возможностей устройства за счет локализации пакетов ошибок. Устройство содержит триггеры 1, 13, 16, элементы И 2, 8, 9, 11, формирователь 3 сигнатур, дешифратор 7. В устройство введены регистр 4 сдвига, блок 6 коммутации, счетчик 5, элемент НЕ 10, элемент ИЛИ 15, триггеры 17, 18, элементы И 12, 14. 1 з.п.ф-лы, 3 ил.The invention relates to computing and can be used in systems for technical diagnostics of discrete objects. The purpose of the invention is to expand the functionality of the device by localizing error packets. The device contains triggers 1, 13, 16, elements AND 2, 8, 9, 11, shaper 3 signatures, decoder 7. In the device entered the register 4 shift, switching unit 6, counter 5, element NOT 10, element OR 15, triggers 17 , 18, elements And 12, 14. 1 zp ff, 3 ill.
Description
СО СПSO JV
Изобретение относитс к вычислительной технике и может использоватьс в системах технического диагностировани дискретных объектов.The invention relates to computing and can be used in systems for technical diagnostics of discrete objects.
Целью изобретени вл етс расширение функциональных возможностей устройства за счет локализации пакетов ошибок в двоичной последовательности .The aim of the invention is to expand the functionality of the device by localizing the error packets in binary sequence.
На фиг. 1 представлена схема устройства дл локализации ошибок; на фиг. 2 - пример построени формировател сигнатур с характеристическим многочленом g(x)x8+x6-t-x +x3+x+1 (х5+1)(х3+х+1); на фиг. 3 - схема блока коммутации.FIG. 1 shows a diagram of an apparatus for localizing errors; in fig. 2 shows an example of building a signature generator with the characteristic polynomial g (x) x8 + x6-t-x + x3 + x + 1 (x5 + 1) (x3 + x + 1); in fig. 3 - diagram of the switching unit.
Устройство (фиг. 1) содержит первый триггер 1, первый элемент И 2, формирователь 3 сигнатур, регистр 4 сдвига счетчик 5, блок 6 коммутации, дешифратор 7, второй 8 и третий 9 , элементы И, элемент НЕ 10, четвертый 11 и п тый 12 элементы И, второй 13 триггер, шестой элемент И 14, эле- мент 1UB1 15, третий 1Ь, четвертый 17 и п тый 18 триггеры, имеет информационный вход 19, тактовый вход 20, вход 21 начального пуска, вход 22 сброса, вход 23 режима, вход 24 за- писи, группу 25 входов эталонной сигнатуры 4 группу информационных выходов 26 - 29.The device (Fig. 1) contains the first trigger 1, the first element And 2, the shaper 3 signatures, the register 4 shift counter 5, the switching unit 6, the decoder 7, the second 8 and the third 9, the elements And, the element NOT 10, the fourth 11 and n the second 12 elements And, the second 13 trigger, the sixth element And 14, the element 1UB1 15, the third 1b, the fourth 17 and the fifth 18 trigger, has information input 19, clock input 20, initial start input 21, reset input 22, input 23 modes, input 24 records, group of 25 inputs of the reference signature 4 group of information outputs 26–29.
Формирователь сигнатур (фиг.2)Shaper signatures (figure 2)
3535
одержит D-триггеры 30 - 37 и элемены ИСКЛЮЧА10ЦЕЕ IDD1 38 - 42.Holds D-triggers 30 - 37 and elements EXCLUSIVE IDD1 38 - 42.
Блок коммутации (фиг. 3) содержит триггеры 43 и 44, формирователь 45 одиночного импульса, элементы И 46 - 0 48 и элементы ИЛИ 49 и 50.The switching unit (Fig. 3) contains the triggers 43 and 44, the single pulse shaper 45, the elements AND 46 - 0 48 and the elements OR 49 and 50.
Дл определени места пакета ошибок в длинной последовательности дл каждой контрольной точки определ ют сигнатуру по формуле (все операции по д модулю 2)To determine the location of the error packet in a long sequence, for each checkpoint, the signature is determined by the formula (all operations for module 2)
, ч Јв(х) Г ( V I - - , h Јв (х) Г (V I - -
ГСХ) g(x) GX) g (x)
n-kn-k
fe(x)-an, х - +...+авнсхп- +fe (x) -an, x - + ... + avnshp- +
., х., x
+. ..+а+. .. + a
00
а n-, а п-к коэффициенты , определ емые членами входной последовательности; ал„к,,...,а0 равны нулю; К - количество членов последовательности; g(x)(x -1 )р(х) , причем Ъ - максимальна длина пакетаa n-, and pk coefficients determined by members of the input sequence; al „k ,, ..., a0 are equal to zero; K - the number of members of the sequence; g (x) (x -1) p (x), with b being the maximum packet length
0 5 0 5
5five
0 0
00
5five
ошибок; р(х) - неприводимый многочлен степени с- Ь; (2Ь-1),mistakes; p (x) is an irreducible polynomial of degree cb; (2b-1),
где е - показатель неприводимого многочлена р(х), -1. Практически эталонную сигнатуру можно получить, если известный многочлен fQ(х) подавать на вход формировател 3 начина с коэффициентов высших разр дов до тех пор, пока последний коэффициент не попадет в чейку младшего разр да формировател 3. Дл этого потребуетс всего п сдвигов. В результате в Формирователе 3 останетс остаток г(х) (эталонна сигнатура ) от делени f0(х) на в(х). Если изменить какой-либо член последовательности f0(х), это приведет к изменению г (х).where e is an indicator of an irreducible polynomial p (x), -1. Practically, a reference signature can be obtained if the known polynomial fQ (x) is fed to the input of shaper 3 starting with the coefficients of higher digits until the last factor falls into the low-order bit of shaper 3. For this, all n shifts will be required. As a result, the remainder r (x) (reference signature) of dividing f0 (x) by b (x) will remain in Shaper 3. If you change any member of the sequence f0 (x), this will lead to a change in r (x).
При работе устройства на вход формировател 3 подаетс контролируема последовательность, состо ща из К элементов. После ее отключени пода- етс еще (n-К) элементов, ЯВЛЯЮРЩХСЯ коэффициентами г(х). Если в последовательности не было ошибок, то остаток в формирователе 3 г (х)0.When the device is in operation, a controlled sequence consisting of K elements is supplied to the input of the imaging unit 3. After it is turned off, more (n-K) elements are submitted, being the coefficients r (x). If there were no errors in the sequence, then the remainder in the imaging unit is 3 g (x) 0.
Если г (х)/0, то вход формировател 3 сигнатур отключаетс от внешних цепей (подаетс посто нно О и производитс сдвиг содержимого формировател 3.If r (x) / 0, then the input of driver 3 of signatures is disconnected from external circuits (continuously O is applied and the content of driver 3 is shifted.
Если в процессе последовательных сдвигов в п-К-Ь младших разр дах формировател 3 содержатс нули, то в остальных b чейках окажетс пакет ошибок, а количество проведенных сдвигов определ ет номер первого ошибочного члена пакета.If in the process of successive shifts in n-K-b, the lower bits of shaper 3 contain zeros, then the remaining b cells will contain an error packet, and the number of shifts performed determines the number of the first erroneous member of the packet.
Если в процессе последовательных сдвигов проведено п-2Ь-И сдвигов, а нули в п-К-Ь младших чейках формировател 3 не по вились, это означает , что длина пакета больше чем b и обнаружить его место нельз .If in the process of successive shifts, p-2b-I shifts are carried out, and the zeros in the pk-b of the younger cells of the former 3 did not appear, this means that the packet length is greater than b and it is impossible to detect its place.
Измен разр дность формировател 3 сигнатур, можно определ ть место ошибок, содержащихс в пакете любой длины.By varying the size of the signature generator 3, it is possible to locate the errors contained in a packet of any length.
Устройство работает следующим образом .The device works as follows.
Перед началом работы по входу 22 устройства производитс установка в состо ние О триггеров 1,13,16,17, 18,43 и 44, формировател 3, счетчика 5. На выходах 26,28 и 29 устройства устанавливаютс нули. Блок 6 соедин ет информационный вход 19 устройства с информационным входом формировател 3, на нтором выходе блока 6 устанавливаетс состо ние О.Before starting work on the device input 22, it is set to state O triggers 1,13,16,17, 18,43 and 44, driver 3, counter 5. Zeroes are set at the outputs 26,28 and 29 of the device. The unit 6 connects the information input 19 of the device with the information input of the imaging unit 3, and the state O is set at the zero output of the unit 6.
Перед работой устройства на входеBefore operating the device at the entrance
23задани режима устанавливаетс сигнал 1, а на группу 25 входов подаетс код эталонной сигнатуры, который по сигналу, поступающему на вход23 in the mode setting, signal 1 is set, and a reference signature code is supplied to a group of 25 inputs, which, according to the signal received at the input
24записи устройства, записываетс в регистр 4, при этом коэффициент старшего разр да эталонной сигнатуры будет на выходе регистра 4, Регистр 4 может быть реализован на микросхемах К155ИР1. После этого на входе 23 задани режима устанавливаетс сигнал О, который разрешает работу регистра 4 в режиме сдпига.The device's 24 records are written to register 4, with the highest bit of the reference signature being at the output of register 4, Register 4 can be implemented on K155IR1 microcircuits. After that, at the mode setting input 23, a signal O is set, which enables the operation of register 4 in the scaling mode.
По сигналу Пуск, приход щему на вход 21 начального пуска устройства, триггер 1 переключаетс в состо ние 1 и разрешает поступление синхроимпульсов через элемент И 2 на счетный вход счетчика 5 и тактовый вход фор-According to the Start signal arriving at the device 21 start-up input, trigger 1 switches to state 1 and permits the arrival of clock pulses through the AND 2 element to the counting input of counter 5 and the clock input
30thirty
3535
4040
мировател 3. Происходит деление вход-25 устанавливаетс сигнал 1. Он озна- ной последовательности, поступающей на информационный вход формировател 3, на характеристический многочлен . Число импульсов сдвига, подаваемых на вход формировател 3, фиксируетс счетчиком 5. Когда на формирователь 3 поступит К информационных символов, на втором выходе деыифрато- ра 7, соответствующем числу К, по витс сигнал 1, который поступает на вход блока 6. Но этому сигналу блок 6 отключает информационный вход 19 устройства от информационного входа формировател 3 и подключает к нему выход регистра 4, в котором находитс эталонна сигнатура, а также разрешает поступление синхроимпульсов с выхода элемента И 2 на вход сдвига регистра 4.world maker 3. The division of input-25 is set to signal 1. It is the known sequence, which arrives at the information input of the driver 3, into the characteristic polynomial. The number of shift pulses applied to the input of the imaging unit 3 is fixed by the counter 5. When the information generator arrives at the information generator, the second output of the subscriber 7, corresponding to the K number, receives a signal 1, which enters the input of the unit 6. But this signal unit 6 disconnects the information input 19 of the device from the information input of the imaging unit 3 and connects to it the output of the register 4, in which the reference signature is located, and also enables the arrival of clock pulses from the output of the AND 2 element to the input of the shift of the register 4.
После п сдвигов в формирователе 3 на первом выходе депифратора 7 по вл етс сигнал 1, который переключает триггер 13 в состо ние 1, а также поступает на вход блока 6. По этому сигналу блок 6 отключает выход регистра 4 от информационного входа формировател 3, подает на информационный вход формировател 3 посто нно сигнал О, переключает второй выход в состо ние 1, по первому выходу сбрасывает счетчик 5.After n shifts in the driver 3, a signal 1 appears at the first output of the depuser 7, which switches the flip-flop 13 to the state 1, and also enters the input of the block 6. By this signal, the block 6 turns off the output of the register 4 from the information input of the shaper 3, gives On the information input of the imaging unit 3, the signal O is permanent, switches the second output to state 1, resets counter 5 on the first output.
Если в последовательности ошибок нет, то остаток в формирователе 3 равен нулю, и на выходе элемента И 11If there is no error in the sequence, the remainder in the imaging unit 3 is equal to zero, and the output of the element 11 is
4545
5050
5555
чает, что в последовательности есть ошибки. На пр мом выходе трш гера 1 устанавливаетс сигнал О, который прекращает поступление синхроимпульсов через элемент И 2 на счетчик 5. Содержимое счетчика 5 указывает номер ошибочного такта. Оно поступает на выходы 27 устройства.There are errors in the sequence. At the direct output of a single switch 1, the signal O is set, which stops the arrival of the clock pulses through the AND 2 element to the counter 5. The contents of the counter 5 indicate the number of the erroneous clock cycle. It enters the outputs 27 of the device.
Если за п+2Ь+1 тактов сигнал 1 на выходе элемента И 12 не по вл етс , то на выходе элемента II 14 по вл етс сигнал 1, который переключает в состо ние 1 триггер 16 и в состо ние О триггер 1. На выходе 26 устройства устанавливаетс сигнал Этот сигнал означает, что пакет ошибок длиннее чем b и его место обнаружить нельз .If, for n + 2b + 1 clocks, signal 1 does not appear at the output of element I 12, then at output of element II 14 signal 1 appears, which switches to state 1 flip-flop 16 and to state O flip-flop 1. At output 26 device is set a signal This signal means that an error packet is longer than b and its place cannot be detected.
Блок 6 (фиг. 3) работает следующим образом.Block 6 (Fig. 3) works as follows.
Перед началом работы сигнал сброса , приход щий на вход начальной установки блока 6, через элемент IUDI49 проходит на первый выход блока 6, а также устанавливает в состо ние О триггеры 43 и 44. При этом на ьтором выходе блока 6 устанавливаетс сигнал О. Элементы И 47 и 48 заблокированы сигналом О с пр мого выхода триггера 44. На третий выход блока 6 проходит информаци с входа 19.Before the start of operation, the reset signal arriving at the input of the initial installation of block 6, through the IUDI49 element passes to the first output of block 6, and also sets the status O of the flip-flops 43 and 44. At the same time, the O signal is set at the output of block 6. 47 and 48 are blocked by the signal O from the direct output of the trigger 44. The third output of block 6 passes information from input 19.
При поступлении сигнала 1 на второй вход задани режима блока 6 триггер 44 устанавливаетс в состо -When a signal 1 arrives at the second input of the setting of the mode of the block 6, the trigger 44 is set to
66
II 1 IIII 1 II
, который норе- триггер 17 иwhich trigger is 17 and
10ten
1515
2020
по вл етс сигнал 1 ключает в состо ние I1 в состо ние О триггер 1. Па пр мом выходе триггера 1 уетанавливатс сигнал О, который блокирует прохождение синхроимпульсов через элемент И 2. На выходе 28 устройства Устанавливаетс сигнал 1. Он означает, что в последовательности ошибок нет.Signal 1 appears in state I1 in state O trigger 1. At the direct output of trigger 1, the signal O, which blocks the passage of clock pulses through AND 2, is outputted. Signal 1 is set at output 28 of the device. It means that no errors.
При наличии сбо остаток в формирователе 3 отличен от нул , и на выходе элемента И 11 будет сигнал О. На выходе элемента ШП1 15 остаетс сигнал О, синхроимпульсы поступают на счетный вход счетчика 5 и тактовый вход формировател 3. В процессе сдвига содержимого формировател 3 элемент И 12 выдает сигнал 1, если в младших п-К-Ь разр дах формировател 3 по вл ютс нули. Сигнал 1 с элемента 11 12 переключает в состо ние 1 триггер 18 и в состо ние О триггер 1. На выходе 29 устройстваIf there is a balance, the remainder in the imaging unit 3 is different from zero, and the output of the element 11 is the signal O. At the output of the element n1 15, the signal O remains, the clock pulses go to the counting input of the counter 5 and the clock input of the imager 3. In the process of shifting the contents of the imaging device 3 And 12 generates a signal 1 if in the lower p-K-L bits of the imaging unit 3, zeros appear. Signal 1 from element 11-12 switches to state 1 trigger 18 and to state O trigger 1. At the output 29 of the device
00
5five
00
5 устанавливаетс сигнал 1. Он озна- 5 sets the signal to 1. It will
5five
00
5five
чает, что в последовательности есть ошибки. На пр мом выходе трш гера 1 устанавливаетс сигнал О, который прекращает поступление синхроимпульсов через элемент И 2 на счетчик 5. Содержимое счетчика 5 указывает номер ошибочного такта. Оно поступает на выходы 27 устройства.There are errors in the sequence. At the direct output of a single switch 1, the signal O is set, which stops the arrival of the clock pulses through the AND 2 element to the counter 5. The contents of the counter 5 indicate the number of the erroneous clock cycle. It enters the outputs 27 of the device.
Если за п+2Ь+1 тактов сигнал 1 на выходе элемента И 12 не по вл етс , то на выходе элемента II 14 по вл етс сигнал 1, который переключает в состо ние 1 триггер 16 и в состо ние О триггер 1. На выходе 26 устройства устанавливаетс сигнал. Этот сигнал означает, что пакет ошибок длиннее чем b и его место обнаружить нельз .If, for n + 2b + 1 clocks, signal 1 does not appear at the output of element I 12, then at output of element II 14 signal 1 appears, which switches to state 1 flip-flop 16 and to state O flip-flop 1. At output 26, a signal is set. This signal means that the packet of errors is longer than b and its place cannot be detected.
Блок 6 (фиг. 3) работает следующим образом.Block 6 (Fig. 3) works as follows.
Перед началом работы сигнал сброса , приход щий на вход начальной установки блока 6, через элемент IUDI49 проходит на первый выход блока 6, а также устанавливает в состо ние О триггеры 43 и 44. При этом на ьтором выходе блока 6 устанавливаетс сигнал О. Элементы И 47 и 48 заблокированы сигналом О с пр мого выхода триггера 44. На третий выход блока 6 проходит информаци с входа 19.Before the start of operation, the reset signal arriving at the input of the initial installation of block 6, through the IUDI49 element passes to the first output of block 6, and also sets the status O of the flip-flops 43 and 44. At the same time, the O signal is set at the output of block 6. 47 and 48 are blocked by the signal O from the direct output of the trigger 44. The third output of block 6 passes information from input 19.
При поступлении сигнала 1 на второй вход задани режима блока 6 триггер 44 устанавливаетс в состо -When a signal 1 arrives at the second input of the setting of the mode of the block 6, the trigger 44 is set to
ние 1. Элемент И 46 блокируетс сигналом О с инверсного выхода триггера 44. Сигнал 1 с пр мого выхода триггера 44 разрешает работу элементов И 47 и 48, и на третий выход блока 6 проходит информаци с выхода регистра 4, а на четвертый выход блока 6 проход т синхроимпульсы, поступающие на тактовый вход блока 6. 1. Element 46 is blocked by signal O from the inverse output of flip-flop 44. Signal 1 from the direct output of flip-flop 44 allows the elements of 47 and 48 to work, and the third output of block 6 passes the information from the register 4 output, and the fourth output of block 6 the clock pulses coming to the clock input of block 6.
По переднему фронту сигнала 1, поступающего на первый вход задани режима блока 6, триггер 43 устанавливаетс в состо ние 1м, формирователь 45 одиночного импульса вырабаты- вает сигнал сброса, который через / элемент HJCI 49 поступает на первый выход блока 6. Сигнал О с инверсного выхода триггера 43 блокирует работу элементов И 46 и 47, и на третьем выходь блока 6 устанавливаетс сигнал О. На втором выходе блока 6 устанавливаетс сигнал 1.On the leading edge of signal 1, arriving at the first input of setting the mode of block 6, the trigger 43 is set to 1m, the driver 45 of a single pulse produces a reset signal, which through the / HJCI element 49 is fed to the first output of block 6. The signal O from the inverse the trigger output 43 blocks the operation of the elements 46 and 47, and on the third output of block 6, a signal O is set. On the second output of block 6 a signal 1 is set.
Таким образом, устройство позвол ет определ ть место и вид пакета ошн- бок во входной анализируемой последовательности .Thus, the device allows to determine the location and type of the package of the macros in the input sequence being analyzed.
Claims (2)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU884421817A SU1566354A1 (en) | 1988-03-22 | 1988-03-22 | Device for localization of errors in binary sequence |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| SU884421817A SU1566354A1 (en) | 1988-03-22 | 1988-03-22 | Device for localization of errors in binary sequence |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| SU1566354A1 true SU1566354A1 (en) | 1990-05-23 |
Family
ID=21373494
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| SU884421817A SU1566354A1 (en) | 1988-03-22 | 1988-03-22 | Device for localization of errors in binary sequence |
Country Status (1)
| Country | Link |
|---|---|
| SU (1) | SU1566354A1 (en) |
-
1988
- 1988-03-22 SU SU884421817A patent/SU1566354A1/en active
Non-Patent Citations (1)
| Title |
|---|
| Авторское свидетельство СССР N 1411748, кл. G 06 F 11/00, 1985. Авторское свидетельство СССР JF 126Ь994, кл. И 03 К 21/40, 1984. * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6068787A (en) | Framing code detecting circuit | |
| SU1566354A1 (en) | Device for localization of errors in binary sequence | |
| SU1644392A1 (en) | Error protection device | |
| SU1396264A1 (en) | Pulse selector | |
| SU1640814A1 (en) | Errors detection and errors correction device | |
| SU1061275A1 (en) | Device for single-error correction and multiple-error detection | |
| SU1080132A1 (en) | Information input device | |
| SU1686474A1 (en) | Display unit | |
| SU1249521A1 (en) | Device for checking order of running program modules | |
| SU1053143A1 (en) | Controller for magnetic disk stores | |
| SU1231494A2 (en) | Device for generating test sequences | |
| SU1649677A1 (en) | Device for checking t-code | |
| SU1298930A1 (en) | Device for checking discrete channel | |
| SU1439685A1 (en) | Self-check storage | |
| SU1485245A1 (en) | Error detector | |
| SU1117848A1 (en) | Binary cyclic code decoder | |
| SU1541586A1 (en) | Timer | |
| SU1725373A1 (en) | Device for checking pulse sequences | |
| SU1444822A1 (en) | Device for computing magnitude statistics | |
| SU1034012A1 (en) | Time interval meter | |
| SU1249529A1 (en) | Device for simulating network topology | |
| SU206169A1 (en) | DEVICE FOR CORRECTING ERROR CORRECTION AND DETECTION | |
| SU1083387A1 (en) | Decoder of cyclic code with correction of errors and erasures | |
| SU1495800A1 (en) | Device for data check in parallel code | |
| SU860074A1 (en) | Device for malfunction registration |