SU1760630A2 - Counting device with check-up provision - Google Patents
Counting device with check-up provision Download PDFInfo
- Publication number
- SU1760630A2 SU1760630A2 SU904858523A SU4858523A SU1760630A2 SU 1760630 A2 SU1760630 A2 SU 1760630A2 SU 904858523 A SU904858523 A SU 904858523A SU 4858523 A SU4858523 A SU 4858523A SU 1760630 A2 SU1760630 A2 SU 1760630A2
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- counter
- additional
- inputs
- Prior art date
Links
Abstract
Изобретение относитс к импульсной технике и может быть использовано дл контрол работы двоичных счетчиков с высокой степенью надежности за счет формировани независимого контролирующего сигнала . Сущность изобретени : счетное устройство с контролем содержит М-раз- р дный двоичный счетчик 1, два шифратора 2.1, 2.2, два сумматора 3.1, 3,2, блок 4 сравнени , п ть элементов ИЛИ 5, 6, 7, 8, 22, шесть элементов 10, 11, 12, 13, 14, 20 задержки, N-2 формировател 9.1-9.N-2 импульсов, дополнительный двухразр дный двоичный счетчик 18, дополнительный формирователь 19 импульсов, ключ 21. 1 з.п. ф-лы, 4 ил.The invention relates to a pulse technique and can be used to control the operation of binary counters with a high degree of reliability due to the formation of an independent monitoring signal. SUMMARY OF THE INVENTION: A counting device with a control contains an M-bit binary counter 1, two encoders 2.1, 2.2, two adders 3.1, 3.2, block 4 comparisons, five elements OR 5, 6, 7, 8, 22, six elements 10, 11, 12, 13, 14, 20 delays, N-2 shaper 9.1-9.N-2 pulses, additional two-bit binary counter 18, additional shaper 19 pulses, key 21. 1 Cp f-ly, 4 ill.
Description
Изобретение относитс к автоматике и вычислительной технике, может быть использовано дл контрол работы двоичных счетчиков.The invention relates to automation and computing, can be used to control the operation of binary counters.
Целью изобретени вл етс повышение надежности устройства.The aim of the invention is to increase the reliability of the device.
На фиг. 1 представлена функциональна схема счетного устройства с контролем; на фиг. 2 - пример выполнени ключа; на фиг. 3 - таблица состо ний М-разр дного двоичного счетчика; на фиг. 4 показаны временные диаграммы работы устройства.FIG. 1 shows a functional diagram of the counting device with control; in fig. 2 shows an example of key execution; in fig. 3 — table of states of an M-bit binary counter; in fig. 4 shows the timing diagram of the device.
Счетное устройство с контролем содержит N-разр дный двоичный счетчик 1, первый 2.1 и второй 2.2 шифраторы, первый 3.1 и второй 3.2 сумматоры, блок 4 сравнени , первый 5, второй 6, третий 7 и четвертый 8 элементы ИЛИ, N-2 формирователей 9.1-9. N-2 импульсов, первый 10, второй 11, третий 12, четвертый 13 и п тый 14 элементы задержки , первый элемент И 15, вход 16 и выход 17 устройства, дополнительный 2-разр дный двоичный счетчик 18, дополнительный формирователь 19 импульсов, шестой элемент 20 задержки, ключ 21 и п тый элемент ИЛИ 22. Причем вход 16 устройства соединен с входом шестого элемента 20 задержки , со счетным входом дополнительного 2-разр дного двоичного счетчика 18 и со счетным входом N-разр дного двоичного счетчика 1, выходы которого, начина с третьего, соединены с входами формирователей 9.1-9. N-2 импульсов, выходы которых соединены с входами шифратора 2.1, а также , начина с третьего формировател , с входами второго шифратора 2.2. Выходы шифратора 2.1 соединены с входами первого элемента ИЛИ 5, а также, кроме первого выхода, соединены с информационными входами, начина с второго, сумматора 3.1,The counting device with the control contains an N-bit binary counter 1, the first 2.1 and the second 2.2 encoders, the first 3.1 and the second 3.2 adders, block 4 comparisons, the first 5, the second 6, the third 7 and the fourth 8 elements OR, N-2 drivers 9.1 -9. N-2 pulses, first 10, second 11, third 12, fourth 13 and fifth 14 delay elements, first element 15, input 16 and output 17 of the device, additional 2-bit binary counter 18, additional driver 19 pulses, sixth the delay element 20, the key 21 and the fifth element OR 22. The device input 16 is connected to the input of the sixth delay element 20, with the counting input of the additional 2-bit binary counter 18 and with the counting input of the N-bit binary counter 1, the outputs of which , starting from the third, are connected to the inputs of the shapers 9.1- 9. N-2 pulses, the outputs of which are connected to the inputs of the encoder 2.1, as well as, starting with the third shaper, with the inputs of the second encoder 2.2. The outputs of the encoder 2.1 are connected to the inputs of the first element OR 5, and also, besides the first output, are connected to information inputs, starting with the second, the adder 3.1,
cJnarJaJcJnarJaJ
jxjjxj
§§
;О;ABOUT
;Сл;
;о;about
II
выходы которого соединены с первыми входами блока 4 сравнени . Выходы шифратора 2.2 соединены с входами второго элемента ИЛИ 6, а также, кроме первого выхода, соединены с информационными входами, начина со второго, сумматора 3.2, выходы которого соединены с вторыми входами блока 4 сравнени , инверсный выход которого соединен с первым входом элемента И 15. Первый вход элемента ИЛИ 7 соединен с первым выходом шифратора 2.1, второй вход - с входом элемента 11 задержки и с выходом первого разр да счетчика 1, а выход - с первым информационным входом сумматора 3.1, управл ющий вход суммировани , управл ющий вход вычитани и вход сброса которого соединены соответственно с входом элемента 11 задержки, с выходом элемента 12 задержки и с выходом переноса счетчика 1. Первый вход элемента ИЛИ 8 соединен с первым выходом шифратора 2.2, второй вход - с выходом третьего разр да счетчика 1 и с входом элемента 13 задержки, а выход - с первым информационным входом сумматора 3.2, управл ющий вход суммировани , управл ющий вход вычитани и вход сброса которого соединены соответственно с выходом элемента 13 задержки, с выходом элемента 14 задержки и с выходом переноса счетчика 1. Выход элемента ИЛИ 5 соединен с входом элемента 12 задержки, выход которого через элемент 10 задержки соединен с вторым входом элемента И 15, выход которого соединен с вторым входом элемента ИЛИ 12. Выход элемента ИЛИ 6 соединен с входом элемента 14 задержки. Выходы первого и второго разр дов и инверсный выход второго разр да дополнительного счетчика 18 соединены соответственно с первым входом ключа 21, с третьим входом ключа 21 и с входом дополнительного формировател 19 импульсов, выход которого соединен с одним из входов элемента ИЛИ 5. Второй и четвертый входы ключа 21 соединены с выходами соответственно первого и второго разр дов счетчика 1, а информационный вход и выход ключа 21 соединены соответственно с выходом элемента 20 задержки и с первым входом элемента ИЛИ 22, выход которого вл етс выходом 17 устройства.the outputs of which are connected to the first inputs of the unit 4 of the comparison. The outputs of the encoder 2.2 are connected to the inputs of the second element OR 6, and also, besides the first output, are connected to information inputs, starting with the second, adder 3.2, the outputs of which are connected to the second inputs of the comparison unit 4, the inverse output of which is connected to the first input of the AND 15 element The first input of the element OR 7 is connected to the first output of the encoder 2.1, the second input to the input of the delay element 11 and to the output of the first discharge of counter 1, and the output to the first information input of the adder 3.1, the control input of the summation, the control input of the calculation Ani and reset input of which are connected respectively to the input of the delay element 11, to the output of the delay element 12 and to the transfer output of counter 1. The first input of the OR element 8 is connected to the first output of the encoder 2.2, the second input - to the output of the third discharge of counter 1 and to the input the delay element 13, and the output with the first information input of the adder 3.2, the control input of the summation, the control input of the subtraction and the reset input of which are connected respectively with the output of the delay element 13, with the output of the delay element 14 and with the transfer output of the counter 1. Single Output of the OR gate 5 is connected to the input of the delay element 12, which through a delay element 10 output is connected to the second input of AND gate 15, whose output is connected to a second input of the OR gate 12. The output of OR 6 is connected to the input of the delay element 14. The outputs of the first and second bits and the inverse output of the second bit of the additional counter 18 are connected respectively to the first input of the switch 21, to the third input of the switch 21 and to the input of the additional driver 19 pulses, the output of which is connected to one of the inputs of the OR element 5. Second and fourth the inputs of the key 21 are connected to the outputs of the first and second bits of the counter 1, respectively, and the information input and the output of the key 21 are connected respectively to the output of the delay element 20 and to the first input of the element OR 22, the output of which is stroke device 17.
Ключ 21 содержит первый 23 и второй 24 элементы сравнени , элемент И 25 и элемент ИЛИ 26, первый и второй входы которого соединены соответственно с выходами первого 23 и второго 24 элементов сравнени . Выход элемента ИЛИ 26 соединен с вторым входом элемента И 25, первый вход и выход которого соединены соответственно с информационным входом и выходомThe key 21 contains the first 23 and second 24 comparison elements, the AND 25 element and the OR 26 element, the first and second inputs of which are connected respectively to the outputs of the first 23 and second 24 comparison elements. The output of the element OR 26 is connected to the second input of the element AND 25, the first input and output of which are connected respectively to the information input and output
ключа. Первый, второй, третий, четвертый входы ключа соединены соответственно с первым, вторым входами соответственно первого 23 и второго 24 элементов сравнени .key. The first, second, third, fourth inputs of the key are connected respectively to the first, second inputs of the first 23 and second 24 elements of the comparison, respectively.
Ключ 21 пропускает сигнал, присутствующий на его информационном входе при условии присутстви на первом и втором или третьем и четвертом входах сигналовKey 21 transmits a signal present at its information input provided it is present at the first and second or third and fourth signal inputs.
разного логического уровн , т.е. представл ет собой схему сравнени двухразр дного двоичного кода, разрешающую прохождение с информационного входа на выход в случае неравенства кодов.different logical level, i.e. It is a two-bit binary code comparison scheme that allows passing from the information input to the output in case of inequality of codes.
Дополнительный формирователь 19 предназначен дл формировани коротких импульсов по переднему фронту сигнала с инверсного выхода второго разр да счетчика 18. Может представл ть собой обычнуюThe additional shaper 19 is designed to form short pulses on the leading edge of the signal from the inverse output of the second bit of the counter 18. It can be a normal
дифцепочку.difcepochku.
Врем задержки элемента 20 определ етс временем переходных процессов в дополнительном счетчике 18. Описание других устройств и остальные особенности устройства приведены в описании известного изобретени .The delay time of element 20 is determined by the transient time in the additional counter 18. A description of other devices and other features of the device are given in the description of the known invention.
Сущность работы устройства заключаетс в определении количества единиц в двоичном коде счетчика с помощью двухThe essence of the device is to determine the number of units in the binary code of the counter using two
сумматоров по разным каналам и последующем сравнении содержимого сумматоров, которое при нормальной работе устройства на момент сравнени должно быть одинаковым . На фиг. 3 представлена таблица, в которой показаны в столбце 27 значени М счетчика 1 в дес тичном коде, в столбце 28 состо ни счетчика 1 в двоичном коде, в столбце 29 количество единиц в двоичном коде, в столбце 30 изменение количестваadders on different channels and subsequent comparison of the contents of adders, which during normal operation of the device at the time of comparison should be the same. FIG. 3 shows a table which shows in column 27 the values of M of counter 1 in decimal code, in column 28 of state of counter 1 in binary code, in column 29 the number of units in binary code, in column 30 the change in the number
единиц от состо ни к состо нию (А 1) счетчика 1, в столбце 31 количество единиц в двоичном коде дл состо ний счетчика 1, при которых значение А1 отрицательное, в столбце 32 изменение количества единицunits from state to state (A 1) of counter 1, in column 31 the number of units in binary code for states of counter 1, for which the value of A1 is negative, in column 32 the change in the number of units
дл состо ни столбца 31 (А 2). Как видно из таблицы фиг. 3, количество единиц в двоичном коде счетчика 1 измен етс по определенному закону, а именно а) при установлении первого разр да счетчика 1 вfor the state of column 31 (A 2). As can be seen from the table of FIG. 3, the number of units in the binary code of counter 1 is changed according to a certain law, namely a) when determining the first digit of counter 1 in
единицу А 1 + 1; б) при установлении второго разр да счетчика 1 в единицу А1 0; в) при установлении третьего, четвертого , п того и т.д. разр дов счетчика 1 в еди- ницуд1 равна соответственно -1, -2, -3 иunit A 1 + 1; b) when establishing the second discharge of counter 1 in the unit A1 0; c) when establishing the third, fourth, fifth, etc. the bits of counter 1 into units 1 are -1, -2, -3 and
т.д.etc.
Кроме того, как видно из столбца 32 дл состо ний счетчика 1, при которых значение А 1 отрицательное, последовательность значений А 2 повтор ет последовательность значений Д1, но при этом А2 1 при установлении в единицу третьего разр да счетчика 1, Д 2 0 при установлении в единицу четвертого разр да, Д2 -1, -2, -3 при установлении в единицу соответственно п того, шестого, седьмого разр дов и т.д. Таким образом, дл контрол работы счетчика 1 достаточно производить сравнение значений сумматоров 3.1 и 3.2 (соответственно , столбцы 29 и 31 таблицы на фиг. 3) в моменты, когда Д 1 имеет отрицательное значение. Кроме того, контроль первого и второго разр дов счетчика 1 производитс при помощи дублирующего дополнительного счетчика 18, а контролирующий сигнал формируетс дополнительно с входного импульса , предназначенного дл счета, и с второго разр да дополнительного счетчика 18.In addition, as can be seen from column 32 for the states of counter 1, in which the value of A 1 is negative, the sequence of values of A 2 repeats the sequence of values of D1, but at the same time A2 1 when the third bit of the counter is set to 1, D 2 0 when establishing in the unit of the fourth bit, D2 -1, -2, -3 when setting in the unit respectively the fifth, sixth, seventh digit, etc. Thus, to control the operation of counter 1, it is sufficient to compare the values of adders 3.1 and 3.2 (respectively, columns 29 and 31 of the table in Fig. 3) at times when D 1 has a negative value. In addition, the control of the first and second bits of the counter 1 is performed using a redundant additional counter 18, and the monitoring signal is formed additionally from the input pulse intended for counting and from the second discharge of the additional counter 18.
Устройство работает следующим образом .The device works as follows.
Временные диаграммы работы элементов устройства показаны на фиг. 4, где 1-1 - выходы счетчика 1 соответственно разр дам 15; штриховкой показаны сигналы с выходов соответствующих элементов задержки; дл диаграмм . 1-1, 3.1 и 3.2 кружками обозначены правильные состо ни , а треугольниками - неправильные (результаты сбоев).Timing diagrams of the operation of the device elements are shown in FIG. 4, where 1-1 - outputs of counter 1, respectively, will discharge 15; hatching shows the signals from the outputs of the corresponding delay elements; for charts. 1-1, 3.1 and 3.2 circles indicate correct states, and triangles indicate incorrect ones (results of failures).
С приходом первого импульса первый разр д счетчика 1 устанавливаетс в единицу . Сигнал с первого разр да счетчика 1 поступает через элемент ИЛИ 7 на первый информационный вход сумматора 3.1 и через элемент 11 задержки на управл ющий вход суммировани сумматора 3.1. Таким образом, при установлении первого разр да счетчика 1 в единицу в сумматор 3.1 прибавл етс единица. Счетные импульсы с входа 16 устройства поступают также на дополнительный счетчик 18. При неравенстве состо ний первых или вторых разр дов счетчиков 1 и 18 сигнал с выхода элемента 20 задержки поступает через открытый ключ 21 и через элемент ИЛИ 22 на выход 17 устройства, сигнализиру о сбое в работе устройства.With the arrival of the first pulse, the first bit of counter 1 is set to one. The signal from the first bit of counter 1 is fed through the OR 7 element to the first information input of the adder 3.1 and through the delay element 11 to the control input of the summation of the adder 3.1. Thus, when the first bit of counter 1 is set to one, one is added to adder 3.1. Counting pulses from the device input 16 also arrive at an additional counter 18. When the states of the first or second bits of the counters 1 and 18 are unequal, the signal from the output of the delay element 20 goes through the public key 21 and through the element OR 22 to the device output 17, signaling a failure in the operation of the device.
При установлении третьего разр да счетчика 1 в единицу на выходе формировател 9.1 по вл етс сигнал, поступающий на вход шифратора 2.1, на выходе которого по вл етс код единицы, поступающий через элемент ИЛИ 7 на информационный вход сумматора 3.1. Этот сигнал через элемент ИЛИ 5 и элемент 12 задержки поступает на управл ющий вход вычитани сумматора 3.1, производ вычитание единицы из его содержимого. Аналогичные действи производит (дублирует) сигнал, поступающий с инверсного выходаWhen a third bit of counter 1 is established, a signal arrives at the output of shaper 9.1, arriving at the input of the encoder 2.1, at the output of which appears the code of the unit arriving through the OR element 7 at the information input of the adder 3.1. This signal through the OR 5 element and the delay element 12 is fed to the control input of the subtraction of the adder 3.1, subtracting the unit from its content. Similar actions produce (duplicate) the signal from the inverse output
счетчика 18 через формирователь 19 на элемент ИЛИ 5. Кроме того, сигнал с третьего разр да счетчика 1 поступает через элемент ИЛИ 8 на первый информационный входthe counter 18 through the driver 19 to the element OR 5. In addition, the signal from the third bit of the counter 1 is fed through the element OR 8 to the first information input
сумматора 3.2 и через элемент 13 задержки на управл ющий вход суммировани сумматора 3.2, увеличива его содержимое на единицу . Аналогично описанному работает устройство при установлении четвертого иadder 3.2 and through the element 13 of the delay per control input of the summation of adder 3.2, increasing its content by one. Similarly to the described device works when establishing the fourth and
0 п того разр дов счетчика 1 в единицу с тем отличием, что при установлении в единицу следующих разр дов счетчика 1 на информационные входы сумматоров 3.1 и 3.2 поступают с шифраторов 2.1 и 2.20 of the first bits of the counter 1 in the unit with the difference that when the next bits of the counter 1 are set to one, the information inputs of the adders 3.1 and 3.2 are received from the encoders 2.1 and 2.2
5 соответствующие разр дам коды. При установлении п того разр да счетчика 1 в единицу в сумматоре 3.2 вычитаетс единица, при установлении шестого разр да-двойка и т.д..5 corresponding discharge codes. When establishing the first bit of the counter 1 in the unit in the adder 3.2, the unit is subtracted, in the case of the establishment of the sixth bit-two, and so on.
0 Сигнал с выхода элемента ИЛИ 5 через элемент 12 задержки и через элемент 10 задержки поступает на второй вход элемента И 15, на первый вход которого поступает сигнал с выхода блока 4 сравнени . При0 The signal from the output of the element OR 5 through the delay element 12 and through the delay element 10 enters the second input of the element 15, the first input of which receives a signal from the output of the comparison unit 4. With
5 равенстве содержимого в сумматорах 3.1 и 3.2 на инверсном выходе блока 4 сравнени сигнал отсутствует, поэтому сигнал сбо на выходе 17 устройства также отсутствует, в противном случае на выходе 17 устройства5 equality of the contents in the adders 3.1 and 3.2 at the inverse output of block 4 of the comparison signal is absent, therefore there is no signal at the output 17 of the device, otherwise it is not
0 по вл етс сигнал, фиксирующий сбой в работе счетчика 1. При неработающем счетчике 1 сигнал ошибки формируетс по цепи: вход 1 б устройства - элемент 20 задержки - выход 17 устройства. По этой же цепи фор5 мируетс сигнал ошибки при неверно работающих первых двух разр дах счетчика 1 или при сбо х счетчика 18. При отсутствии сигналов с третьего разр да счетчика 1 контролирующий сигнал формируетс по цепи:0, a signal appears that detects a failure in the operation of counter 1. When the counter is inactive, an error signal is generated in the following circuit: device input 1 b - delay element 20 - device output 17. Along the same circuit, the error signal is formed when the first two bits of counter 1 malfunction or when counter 18 is malfunctioning. In the absence of signals from the third discharge of counter 1, a control signal is generated over the circuit:
0 второй разр д счетчика 18 - формировател ь 19 - элемент ИЛИ 5 - элемент 12 задержки -элемент 10 задержки -элемент И 15(если содержимое сумматоров 3.1 и 3.2 не равно) - элемент ИЛИ 22 - выход 17 устройства.0 second digit of counter 18 —former 19 — element OR 5 — delay element 12 — delay element 10 — element AND 15 (if the contents of adders 3.1 and 3.2 are not equal) —OR element 22 — device output 17.
5 Таким образом, счетное устройство с контролем производит подсчет числа импульсов , поступающих на его вход, с проверкой достоверности работы счетчика путем динамического сравнени значений5 Thus, the counting device with the control counts the number of pulses arriving at its input, checking the accuracy of the counter by dynamically comparing the values
0 двух сумматоров, содержимое которых формируетс по разным каналам, а также путем сравнени работы младших разр дов основного счетчика с работой дополнительно счетчика.0 two adders, the contents of which are formed through different channels, as well as by comparing the work of the lower bits of the main counter with the work of the additional counter.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904858523A SU1760630A2 (en) | 1990-08-07 | 1990-08-07 | Counting device with check-up provision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU904858523A SU1760630A2 (en) | 1990-08-07 | 1990-08-07 | Counting device with check-up provision |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU1660173A Addition SU473588A1 (en) | 1971-06-04 | 1971-06-04 | Multilayer material |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1760630A2 true SU1760630A2 (en) | 1992-09-07 |
Family
ID=21531740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU904858523A SU1760630A2 (en) | 1990-08-07 | 1990-08-07 | Counting device with check-up provision |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1760630A2 (en) |
-
1990
- 1990-08-07 SU SU904858523A patent/SU1760630A2/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1150754, кл. Н 03 К 21/40,1975. Авторское свидетельство СССР № 1660173, кл. Н 03 К 21/40, 31.05.89. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1760630A2 (en) | Counting device with check-up provision | |
SU1660173A1 (en) | Counter with checking | |
SU884148A1 (en) | Counter testing device | |
SU666645A1 (en) | Error-checking binary counter | |
SU1019452A1 (en) | Sealing device with checking | |
SU1552171A1 (en) | Device for comparison of numbers in residual classes system | |
SU1439583A2 (en) | Matrix squaring device | |
SU1566340A1 (en) | Device for division of numbers with floating point | |
SU427331A1 (en) | DIGITAL INTEGRATOR WITH CONTROL | |
SU966914A1 (en) | Binary counter with error check | |
SU765800A1 (en) | Device for signalling inequality of parallel pulse codes | |
SU1015500A1 (en) | Ring counter with error detecting device | |
SU622085A1 (en) | Arrangement for monitoring "2 from n" code | |
SU809582A1 (en) | Jonson's counter | |
SU1695512A1 (en) | Device for detection and correction of errors | |
SU378925A1 (en) | DEVICE FOR REDUCTION OF EXCESSNESS OF DISCRETE SIGNALS | |
SU1377860A1 (en) | Device for monitoring accumulator | |
SU543940A1 (en) | Device for register code correction | |
SU607221A1 (en) | Arrangement for testing two-cycle binary counter | |
SU1019641A1 (en) | Reversible binary counter with error detection | |
SU984053A1 (en) | Scaling device | |
SU474804A1 (en) | Parallel carry adder | |
SU1725388A1 (en) | Binary counting device with check | |
SU1649523A1 (en) | Overflow controlled counter | |
SU1622857A1 (en) | Device for checking electronic circuits |