SU1660173A1 - Counter with checking - Google Patents

Counter with checking Download PDF

Info

Publication number
SU1660173A1
SU1660173A1 SU894698116A SU4698116A SU1660173A1 SU 1660173 A1 SU1660173 A1 SU 1660173A1 SU 894698116 A SU894698116 A SU 894698116A SU 4698116 A SU4698116 A SU 4698116A SU 1660173 A1 SU1660173 A1 SU 1660173A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
outputs
inputs
counter
Prior art date
Application number
SU894698116A
Other languages
Russian (ru)
Inventor
Леонид Алексеевич Литвин
Original Assignee
Предприятие П/Я Ю-9420
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 Предприятие П/Я Ю-9420 filed Critical Предприятие П/Я Ю-9420
Priority to SU894698116A priority Critical patent/SU1660173A1/en
Application granted granted Critical
Publication of SU1660173A1 publication Critical patent/SU1660173A1/en

Links

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано дл  контрол  работы двоичных счетчиков. Цель изобретени  - повышение конструктивной надежности, котора  достигаетс  за счет введени  N-2 формирователей 9.1 - 9.5 импульсов, шифраторов 2, 1, 2.2, элементов ИЛИ 6 - 8, блока 4 сравнени  и элементов 11 - 14 задержки. Устройство также содержит N-разр дный двоичный счетчик 1, элемент ИЛИ 5, сумматоры 3.1, 3.2, элемент И 15, элемент 10 задержки, вход 16 и выход 17. В предлагаемом устройстве используютс  менее сложные функциональные элементы, чем в прототипе, что и обуславливает его большую конструктивную надежность. 1 ил.The invention relates to computing and can be used to monitor the operation of binary counters. The purpose of the invention is to increase the structural reliability, which is achieved by the introduction of N-2 shapers 9.1 - 9.5 pulses, encoders 2, 1, 2.2, elements OR 6 - 8, block 4 comparisons and elements 11 - 14 delays. The device also contains an N-bit binary counter 1, element OR 5, adders 3.1, 3.2, element 15, delay element 10, input 16 and output 17. The proposed device uses less complex functional elements than in the prototype, which causes its great structural reliability. 1 il.

Description

Изобретение относитс  к вычислительной технике и может быть использовано дл  контрол  работы двоичных счетчиков.The invention relates to computing and can be used to monitor the operation of binary counters.

Целью изобретени   вл етс  повышение конструктивной надежности, котора  .достигаетс  за счет замены сложных блоков более простыми и введени  новых св зей между ними.The aim of the invention is to increase constructive reliability, which is achieved by replacing complex blocks with simpler ones and introducing new links between them.

На фиг. 1 представлена функциональна  схема счетного устройства с контролем, на фиг.2 - таблица состо ний N-разр дного двоичного счетчика, на фиг 3 - временные диаграммы работы устройстваFIG. 1 is a functional diagram of a counting device with a control; FIG. 2 shows a table of states of an N-bit binary counter; FIG. 3 shows timing diagrams of the operation of the device.

Счетное устройство с контролем содержит N-разр дный двоичный счетчик 1, первый и второй шифраторы 2 1, 2.2, первый и второй сумматоры 31, 32, блок 4 сравнени , первый, второй, третий и четвертый элементы ИЛИ 5-8, N-2 формировател  9.1, . , 9.5 импульсов, первый, второй, третий, четвертый и п тый элементы 10-14 задержки, элемент И 15, вход 16 и выход 17 устройстваThe counting device with the control contains an N-bit binary counter 1, the first and second encoders 2 1, 2.2, the first and second adders 31, 32, block 4 comparisons, first, second, third and fourth elements OR 5-8, N-2 shaper 9.1,. , 9.5 pulses, first, second, third, fourth and fifth delay elements 10-14, element 15, input 16 and output 17 of the device

Вход 16 и выход 17, соединение соответственно со счетным входом счетчика 1 и с выходом элемента И 15. входы N-2 формирователей 91-95 импульсов соединены соответственно с выходами разр дов начина  с первого, сметчика 1. выходы формирователей 91-95 соединены с соответствующими входами шифратора 2 1, выходы которого соединены с входами элемента ИЛИ 5, выходы формирователей 9.3-9.5 импульсов со- единены с соответствующими входами шифратора 2.2, выходы которого соединены с входами элемента ИЛИ 6, первый выход и остальные выходы шифратора 2 1 соединены соответственно с первым входом элемента ИЛИ 7 и с соответствующими информационными входами начина  с второго , сумматора 3 1 выход элемента ИЛИ 7 соединен с первым информационным входом сумматора 3 1 управл ющие входы суммировани  и вычитани  вход сброса и выходы которого соединены соответственно с выходами второго третьего элементовInput 16 and output 17, the connection, respectively, with the counting input of the counter 1 and with the output of the element 15. The inputs N-2 of the formers 91-95 pulses are connected respectively to the outputs of the bits starting from the first, the estimator 1. the outputs of the formers 91-95 are connected to the corresponding the encoder inputs 2 1, the outputs of which are connected to the inputs of the element OR 5, the outputs of the drivers 9.3-9.5 pulses are connected to the corresponding inputs of the encoder 2.2, the outputs of which are connected to the inputs of the element OR 6, the first output and the other outputs of the encoder 2 1 are connected according to GOVERNMENTAL to the first input of the OR gate 7, and with respective data inputs starting with the second, the adder 3 January output of the OR gate 7 is connected to a first data input of the adder 3 January control inputs of the adding and subtracting a reset input and outputs of which are connected respectively to the outputs of the second third elements

(L

СWITH

OsOs

о оoh oh

JJ

СОWITH

11, 12 задержки, с выходом переноса счетчика 1 и с первыми входами блока 4 сравнени , инверсный выход которого соединен с первым входом элемента И 15, первый выход и остальные выходы шифратора 2.2 соединены соответственно с первым входом элемента ИЛИ 8 и с соответствующими информационными входами, начина  с второго , сумматора 3.2, выход элемента ИЛИ 8 соединен с первым информационным входом сумматора 3.2, управл ющие входы суммировани  и вычитани ,-вход сброса и выходы которого соединены соответственно с выходами элементов 13, 14 задержки, с выходом переноса счетчика 1 и с вторыми входами блока 4 сравнени , выходы первого и третьего разр дов счетчика 1 соединены соответственно с вторыми входами элементов ИЛИ 7, 8, входы элементов 11-14 задержки соединены соответственно с вторым входом элемента ИЛИ 7, с выходом элемента ИЛИ 5, с вторым входом элемента ИЛИ 8 и с выходом элемента ИЛИ 6, выход элемента 12 задержки соединен с входом элемента 10 задержки, выход которого соединен с вторым входом элемента И 15.11, 12 delays, with the transfer output of the counter 1 and with the first inputs of the comparison unit 4, the inverse output of which is connected to the first input of the AND 15 element, the first output and the remaining outputs of the encoder 2.2 are connected respectively to the first input of the OR element 8 and with the corresponding information inputs, starting from the second, adder 3.2, the output of the element OR 8 is connected to the first information input of the adder 3.2, the control inputs for the summation and subtraction, the reset input and the outputs of which are connected respectively to the outputs of the delay elements 13, 14, with the output m transfer counter 1 and with the second inputs of the block 4 comparison, the outputs of the first and third bits of the counter 1 are connected respectively to the second inputs of the OR elements 7, 8, the inputs of the delay elements 11-14 are connected respectively to the second input of the OR element 7, to the output of the OR element 5, with the second input of the element OR 8 and with the output of the element OR 6, the output of the delay element 12 is connected to the input of the delay element 10, the output of which is connected to the second input of the AND element 15.

Шифраторы 2.1 и 2.2 представл ют собой обычные шифраторы позиционного кода в двоичный.The 2.1 and 2.2 encoders are common binary position encoders.

Сумматоры 3.1 и 3.2 представл ют собой сумматоры накапливающего типа.Adders 3.1 and 3.2 are accumulating type adders.

Формирователи 9 могут представл ть собой в простейшем случае обычные дифцеПОЧКИ;The formers 9 may, in the simplest case, be conventional dipholes;

Врем  задержки элементов 11-14 задержки определ етс  временем переходных процессов в формировател х 9 и шифраторах 2. Врем  задержки элемента 10 задержки определ етс  временем переходных процессов при формировании сумм в сумматоре 3.1.The delay time of the delay elements 11-14 is determined by the time of the transient processes in driver 9 and encoder 2. The delay time of the delay element 10 is determined by the time of transient processes in the formation of sums in the adder 3.1.

Принцип работы устройства заключаетс  в определении количества единиц в двоичном коде счетчика с помощью двух сумматоров по разным каналам и последующем сравнении содержимого сумматоров, которое при нормальной работе устройства на момент сравнени  должно быть одинаковым . На фиг.2 представлена таблица, в которой показаны: в столбце 18 - значени  М счетчика 1 в дес тичном коде, в столбце 19 - состо ни  счетчика 1 в двоичном коде, в столбце 20 - количество единиц в двоичном коде, в столбце 21 - изменение количес- чтва единиц от состо ни  к состо нию ( А1) счетчика 1, в столбце 22 - количество единиц в двоичном коде дл  состо ний счетчика 1, при которых значение А1 отрицательное,The principle of operation of the device consists in determining the number of units in the binary code of the counter using two adders on different channels and then comparing the contents of the adders, which during normal operation of the device at the time of comparison should be the same. Figure 2 presents a table in which are shown: in column 18 — the value M of counter 1 in decimal code, in column 19 — the state of counter 1 in binary code, in column 20 — the number of units in binary code, in column 21 — the change in the number of units from the state to the state (A1) of counter 1, in column 22 — the number of units in binary code for counter states 1, for which the value of A1 is negative,

в столбце 23 - изменение количества единиц дл  состо ний столбца 22 (Л2).in column 23, the change in the number of units for the states of column 22 (L2).

Как видно из таблицы фиг.2, количество единиц в двоичном коде счетчика 1 измен етс  по определенному закону, а именно: а) при установлении первого разр да счетчика 1 в единицу А 1 + 1; б) при установлении второго разр да счетчика 1 в единицу А 1 0; в) при установлении третьего, четвертого , п того и т.д. разр дов счетчика 1 в единицу А 1 равна соответствен но-1, -2, -3, и т.д. Кроме того, как видно из столбца 23 дл  состо ний счетчика 1, при которых значение А 1 отрицательное, последовател-ьность значений А 2 повтор ет последовательность значений А 1, но при этом А 2 1 при установлении в единицу третьего разр да счетчика 1. А 2 0 при установлении в единицу четвертого разр да , А 2 -1, -2, -3 при установлении в единицу соответственно п того, шестого, седьмого разр дов и т.д. Таким образом, дл  контрол  работы счетчика 1 достаточно производить сравнение значений сумматоров 3.1 и 3.2 (соответственно, столбцы 20 и 23 таблицы на фиг.2} в моменты, когда А1 имеет отрицательное значение.As can be seen from the table of FIG. 2, the number of units in the binary code of counter 1 varies according to a certain law, namely: a) when setting the first digit of counter 1 to unity A 1 + 1; b) when establishing the second bit of counter 1 in the unit A 1 0; c) when establishing the third, fourth, fifth, etc. The bits of counter 1 in unit A 1 are equal to correspondingly -1, -2, -3, and so on. In addition, as can be seen from column 23 for counter 1 states, in which the value of А 1 is negative, the sequence of values of А 2 repeats the sequence of values of А 1, but at the same time А 2 2 when the third bit of the counter 1 is set to one. A 2 0 when setting to the unit of the fourth digit, A 2 -1, -2, -3 when setting the unit to the fifth, sixth, seventh bits, 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 20 and 23 of the table in figure 2} at the moments when A1 has a negative value.

Устройство работает следующим образом .The device works as follows.

Временные диаграммы работы элементов устройства показаны на фиг.З, гдеTiming diagrams of the operation of the device elements are shown in FIG. 3, where

обозначено: 1-1 1-5 - выходы первогоп того разр дов счетчика 1, штриховкой показаны сигналы с выходов соответствующихmarked: 1-1 1-5 - outputs of the first digits of counter 1, hatching shows the signals from the outputs of the corresponding

элементов задержки. С приходом первого импульса первый разр д счетчика 1 устанавливаетс  в единицу. Сигнал с выхода первого разр да поступает через элемент ИЛИ 7 на первый информационный вход сумматора 3.1 и через элемент 11 задержки - на управл ющий вход суммировани  сумматора 3.1. Таким образом, при установлении первого разр да счетчика 1 в единицу в сумматор 3.1 прибавл етс  единица.delay elements. With the arrival of the first pulse, the first bit of counter 1 is set to one. The signal from the output of the first bit goes 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.

5При установлении третьего разр да5When setting the third bit

счетчика 1 в единицу на выходе формировател  9.1 по вл етс  сигнал, поступающий на вход шифратора 2.1, на выходе которого по вл етс  код единицы, поступающий черезcounter 1, a signal arriving at the input of the encoder 2.1 appears at the output of the imaging unit 9.1, the output of which is the code of the unit arriving through

O элемент ИЛИ 7 на информационный вход сумматора 3.1. Этот же сигнал через элемент ИЛИ 5 и элемент 12 задержки поступает на управл ющий вход вычитани  сумматора 3.1, производ т вычитание еди5 ницы из его содержимого. Кроме того, сигнал с третьего разр да счетчика 1 поступает через элемент ИЛИ 8 на первый информационный вход сумматора 3.2 и через элемент 13 задержки - на управл ющий входO element OR 7 on the information input of the adder 3.1. The same 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, the unit is subtracted from its content. In addition, the signal from the third bit of the counter 1 is fed through the element OR 8 to the first information input of the adder 3.2 and through the element 13 of the delay - to the control input

суммировани  сумматора 3.2, увеличива  его содержимое на единицу.the summation of the adder 3.2, increasing its content by one.

Аналогично описанному работает устройство при установлении четвертого и п того разр дов счетчика 1 в единицу с тем отличием, что при установлении в единицу следующих разр дов счетчика 1 на информационные входы сумматоров 3.1 и 3.2 поступают с шифраторов 2.1 и 2.2 соответствукЭщи е разр дам коды. При установлении п того разр да счетчика 1 в единицу в сумматоре 3.2 вычитаетс  единица, при установлении шестого разр да - двойка и т.д.Similarly, the device operates when the fourth and fifth bits of counter 1 are set to one with the difference that when the next bits of 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, the corresponding discharge codes. When the first bit of counter 1 is set to one in the adder 3.2, the unit is subtracted, when the sixth bit is set to two, and so on.

Сигнал с выхода элемента ИЛИ 5 через элемент 12 задержки и через элемент 10 задержки поступает на второй вход элемента И 15. на первый вход которого поступает сигнал с выхода блока 4 сравнени . При равенстве содержимого в сумматорах 3.1 и 3.2 на инверсном выходе блока 4 сравнени  сигнал отсутствует, поэтому сигнал сбо  на выходе 17 устройства также отсутствует, в противном случае на выходе 17 устройства по вл етс  сигнал, фиксирующий сбой в работе счетчика 1.The signal from the output of the element OR 5 through the delay element 12 and through the delay element 10 is fed to the second input of the AND 15 element. The first input of which receives a signal from the output of the comparison unit 4. If the contents in the adders 3.1 and 3.2 are equal, there is no signal at the inverse output of the unit 4 of the comparison, therefore, a fault signal at the device output 17 is also absent; otherwise, a signal appears at the device output 17 that fixes a malfunction of the counter 1.

Таким образом, счетное устройство с контролем производит подсчет числа импульсов , поступающих на его вход, с проверкой достоверности работы счетчика путем динамического сравнени  значений двух сумматоров, содержимое которых формируетс  по разным каналам.Thus, the counting device with the control counts the number of pulses arriving at its input, verifying the accuracy of the counter by dynamically comparing the values of two adders, the contents of which are formed through different channels.

Claims (1)

Формула изобретени  Счетное устройство с контролем, содержащее N-разр дный двоичный счетчик, первый элемент задержки, элемент И, первый элемент ИЛИ, два сумматора, вход и выход устройства, которые соединены соответственно со счетным входом N-разр дного двоичного счетчика и с выходом элемента И,отличающеес  тем, что, с целью повышени  конструктивной надежности, в него введены блок сравнени , два шифратора , второй, третий и четвертый элементы ИЛИ, второй, третий, четвертый и п тый элементы задержки и N-2 формирователей импульсов, входы которых соединены соответственно с выходами разр дов, начина  с третьего разр да, N-разр дного двоичного счетчика, а выходы формирователей импульсов соединены с соответствующими входами первого шифратора выходы которого соединены с входами первого элемента ИЛИ, выходы формирователей 5 импульсов, начина  с третьего, соединены с соответствующими входами второго шифра- тотора, выходы которого соединены с входами второго элемента ИЛИ, первый выход и остальные выходы первого шифратора сое- 0 динены соответственно с первым входом третьего элемента ИЛИ и с соответствующими информационными входами, начина  со второго, первого сумматора, а выход третьего элемента ИЛИ соединен с первым 5 информационным входом первого сумматора , управл ющий вход суммировани , управл ющий вход вычитани , вход сброса и выходы которого соединены соответственно с выходом второго элемента задержки, сClaims with a control containing an N-bit binary counter, a first delay element, an AND element, a first OR element, two adders, an input and an output of a device that are connected respectively to a N-bit binary counter and an element output And, characterized in that, in order to increase structural reliability, a comparison block, two encoders, a second, third and fourth OR elements, a second, third, fourth and fifth delay elements and N-2 pulse drivers, the inputs of which are x are connected respectively to the outputs of the bits, starting with the third bit, the N-bit binary counter, and the outputs of the pulse formers are connected to the corresponding inputs of the first encoder whose outputs are connected to the inputs of the first OR element, the outputs of the formers of 5 pulses, starting with the third, are connected with the corresponding inputs of the second encoder, the outputs of which are connected to the inputs of the second element OR, the first output and the remaining outputs of the first encoder are connected to the first input of the third element, respectively nta OR with corresponding information inputs, starting with the second, first adder, and the output of the third element OR is connected to the first 5 information inputs of the first adder, the control input of the summation, the control input of the subtraction, the reset input and the outputs of which are connected respectively to the output of the second element delays with 0 выходом третьего элемента задержки, с выходом переноса N-разр дного двоичного счетчика и с первыми входами блока сравнени , инверсный выход которого соединен с первым входом элемента И, первый выход0 by the output of the third delay element, with the transfer output of the N-bit binary counter and with the first inputs of the comparison unit, the inverse output of which is connected to the first input of the And element, the first output 5 и остальные выходы второго шифратора соединены соответственно с первым входом четвертого элемента ИЛИ и с соответствующими информационными входами,начина  с второго, второго сумматора а выход чет0 вертого элемента ИЛИ соединен с первым информационным входом второго сумматора , управл ющий вход суммировани , управл ющий вход вычитани , вход сброса и выходы которого соединены соответствен5 но с выходами четвертого элемента задержки , с выходом п того элемента задержки, с выходом переноса N-разр дного двоичного счетчика и с вторыми входами блока сравнени , выходы первого и третьего разр дов5 and the remaining outputs of the second encoder are connected respectively to the first input of the fourth OR element and to the corresponding information inputs, starting with the second, second adder and the output of the fourth OR element is connected to the first information input of the second adder, the control input of the summation, the subtraction control input, the reset input and outputs of which are connected respectively to the outputs of the fourth delay element, to the output of the fifth delay element, to the transfer output of the N-bit binary counter and to the second inputs Odes of the comparison unit, the outputs of the first and third bits 0 N-разр дного двоичного счетчика соединены соответственно с вторым входом третьего элемента ИЛИ и с вторым входом четвертого элемента ИЛИ. входы второго, третьего, четвертого и п того элементов за5 держки соединены соответственно с вторым входом третьего элемента ИЛИ, с выходом первого элемента ИЛИ, с вторым входом четвертого элемента ИЛИ и с выходом второго элемента ИЛИ, а выход третье0 го элемента задержки соединен с входом первого элемента задержки, выход которого соединен с вторым входом элемента И0 N-bit binary counter is connected respectively to the second input of the third OR element and to the second input of the fourth OR element. the inputs of the second, third, fourth and fifth elements of the holder are connected respectively to the second input of the third OR element, to the output of the first OR element, to the second input of the fourth OR element, and to the output of the second OR element, and the output of the third delay element the delay element, the output of which is connected to the second input element AND Фаг.1Phage.1 ЛУлУлУлУлУлУУУлУЬLululululuuluulu 1717 Фиг.ЗFig.Z
SU894698116A 1989-05-31 1989-05-31 Counter with checking SU1660173A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894698116A SU1660173A1 (en) 1989-05-31 1989-05-31 Counter with checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894698116A SU1660173A1 (en) 1989-05-31 1989-05-31 Counter with checking

Publications (1)

Publication Number Publication Date
SU1660173A1 true SU1660173A1 (en) 1991-06-30

Family

ID=21450797

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894698116A SU1660173A1 (en) 1989-05-31 1989-05-31 Counter with checking

Country Status (1)

Country Link
SU (1) SU1660173A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N: 1218459,кл. Н 03 К 21/40, 1984. Авторское свидетельство СССР № 1420665,кл. Н 03 К 21/40, 1987 *

Similar Documents

Publication Publication Date Title
SU1660173A1 (en) Counter with checking
SU1043636A1 (en) Device for number rounding
SU1760630A2 (en) Counting device with check-up provision
SU1019641A1 (en) Reversible binary counter with error detection
SU1115045A1 (en) P-ary position code-to-binary code translator
SU531157A1 (en) Parallel adder
SU1280615A1 (en) Versions of device for squaring binary numbers
SU1388995A1 (en) Device for converting binary numbers to binary decimal numbers and backwards
SU1283756A1 (en) Device for calculating value of square root
SU1273919A1 (en) Device for adding in binary and binary-coded decimal number system
SU378925A1 (en) DEVICE FOR REDUCTION OF EXCESSNESS OF DISCRETE SIGNALS
SU525944A1 (en) Binary to decimal converter
SU669353A1 (en) Arithmetic device
SU1183959A1 (en) Device for summing numbers
SU1596322A1 (en) Device for squaring binary numbers
SU1608644A1 (en) Device for processing series code of golden proportion
SU1531089A1 (en) Operational arithmetic unit
SU1357947A1 (en) Device for division
SU1695512A1 (en) Device for detection and correction of errors
SU256367A1 (en) ACCUMULATING PARAMEL ACTION
SU1580568A1 (en) Device for revealing and correcting errors in code sequence
SU1179322A1 (en) Device for multiplying two numbers
RU1829031C (en) Accumulating adder
SU1441485A1 (en) Binary to binary-decimal code converter
SU1566340A1 (en) Device for division of numbers with floating point