[go: up one dir, main page]

SU1725388A1 - Binary counting device with check - Google Patents

Binary counting device with check Download PDF

Info

Publication number
SU1725388A1
SU1725388A1 SU894770587A SU4770587A SU1725388A1 SU 1725388 A1 SU1725388 A1 SU 1725388A1 SU 894770587 A SU894770587 A SU 894770587A SU 4770587 A SU4770587 A SU 4770587A SU 1725388 A1 SU1725388 A1 SU 1725388A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
counter
output
elements
inputs
Prior art date
Application number
SU894770587A
Other languages
Russian (ru)
Inventor
Владимир Дмитриевич Лукьянов
Мария Николаевна Некрасова
Борис Михайлович Сухомлинов
Original Assignee
Научно-исследовательский институт точной механики
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Научно-исследовательский институт точной механики filed Critical Научно-исследовательский институт точной механики
Priority to SU894770587A priority Critical patent/SU1725388A1/en
Application granted granted Critical
Publication of SU1725388A1 publication Critical patent/SU1725388A1/en

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в аппаратуре с ограниченным временем ее контрол ; преимущественно в аппаратуре, содержащей таймеры большого времени. Сущность изобретени : устройство содержит дифференцирующий элемент 4, элементы И-ЙЕ 8,9, одновибра- торы 6,7, шины .11,12, счетчик 5, элементы 10,14 индикации, N-1 элементов И 2, N-1 триггеров 3, двоичный счетчик 1, клемму 13 выхода. В предлагаемом устройстве требуетс  меньшее количество тактов дл  проверки работоспособности счетчика. 3 ил.The invention relates to automation and computing and can be used in equipment with a limited time control; mainly in equipment containing large timers. The essence of the invention: the device contains a differentiating element 4, elements AND-YE 8.9, one-oscillators 6.7, tires .11.12, counter 5, elements 10.14 of indication, N-1 elements II, N-1 triggers 3, binary counter 1, terminal 13 output. In the proposed device, fewer clocks are required to verify the operability of the counter. 3 il.

Description

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в аппаратуре с ограниченным временем ее контрол , преимуществен но в аппаратуре, содержащей таймеры большого времени.The invention relates to the field of automation and computer technology and can be used in equipment with a limited time of its control, mainly in equipment containing timers of large time.

Цель изобретени  - уменьшение времени контрол  устройства.The purpose of the invention is to reduce the device monitoring time.

Поставленна  цель достигаетс  тем, что в устройство введены новые конструктивные признаки.The goal is achieved by introducing new design features into the device.

На фиг. 1 изображена схема устройства,- на фиг,2 и 3 -графики егоработы.FIG. 1 shows a diagram of the device, in FIGS. 2 and 3 are graphs of its operation.

Устройство состоит из двоичного счетчика 1, логических элементов И 2, триггеров 3, дифференцирующего элемента 4, счетчика 5 тактов, одновибраторов 6 и 7, логических элементов И-НЕ 8 и 9, элемента 10 индикации Норма, шины 11, входной шины 12, клеммы 13 выхода, элемента 14 индикации Нормы нет.The device consists of a binary counter 1, logic elements AND 2, triggers 3, differentiating element 4, counter 5 cycles, one-shot 6 and 7, logic elements AND-HE 8 and 9, element 10 of indication Norm, bus 11, input bus 12, terminals 13 outputs, element 14 of the indication. Standards no.

Входна  шина 1.2 устройства соединена с входами счетчика 1, дифференцирующего элемента 4 и счетчика 5 тактов.The input bus 1.2 of the device is connected to the inputs of the counter 1, the differentiating element 4 and the counter 5 cycles.

Количество элементов И 2 и количество триггеров в группах равно N-1, т.е. на единицу меньше числа разр дов счетчика 1. Каждый триггер 3 и соответствующий ему элемент И 2 поразр дно подключены к счетчику 1 за исключением старшего разр да.The number of elements And 2 and the number of triggers in the groups is equal to N-1, i.e. one less than the number of bits in counter 1. Each trigger 3 and its corresponding element AND 2 are bit-wise connected to counter 1, except for the higher bit.

Первые входы элементов И 2 объединены и соединены с шиной 11 контрол , вторые их входы также объединены и соединены с выходом дифференцирующего элемента 4. .The first inputs of the And 2 elements are combined and connected to the bus 11 of the control, their second inputs are also combined and connected to the output of the differentiating element 4..

Третьими входами каждый из элементов И 2 соединен с пр мым выходом триггера 3.The third inputs each of the elements And 2 connected to the direct output of the trigger 3.

Выходы элементов И 2 соединены с установочными входами в 1 счетных  чеек счетчика 1.The outputs of the elements And 2 are connected to the installation inputs in 1 counting cells of the counter 1.

Выходы разр дов счетчика 1 соединены с входами соответствующих триггеров 3, а выход старшего разр да счетчика 1 соединен с клеммой выхода 13 и входом первого одновибратора 6. Вход другого одновибра- тора 7 соединен с выходом счетчика 5 тактов .The outputs of the bits of counter 1 are connected to the inputs of the corresponding triggers 3, and the output of the higher bit of counter 1 is connected to the output terminal 13 and the input of the first one-oscillator 6. The input of the other one-oscillator 7 is connected to the output of the counter 5 cycles.

Первый элемент И-НЕ одним входом соединен с выходом одновибратора б, другим входом соединен с выходом одновибратора 7 и входом второго элемента И-НЕ 9, . второй вход которого соединен с выходом первого элемента И-НЕ 8 и входом элемента 10 индикации. Выход второго элемента И-НЕ 9 соединен с входом другого элемента Т4 индикации.The first element AND-NOT one input is connected to the output of the one-shot b, the other input is connected to the output of the one-shot 7 and the input of the second element AND-HE 9,. the second input of which is connected to the output of the first AND-HE element 8 and the input of the display element 10. The output of the second element AND NOT 9 is connected to the input of another indication element T4.

Коэффициент пересчета счетчика 5 тактов устанавливаетс  равным К N+1, где NThe counting factor of the 5 clock counter is set to K N + 1, where N

- количество разр дов контролируемого счетчика 1.- the number of bits of the controlled counter 1.

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

В исходном состо нии счетчик 1, триггеры 3 и счетчик 5 тактов обнулены. На клемму 11 подано напр жение Лог.1.In the initial state, counter 1, triggers 3, and counter 5 cycles are reset. Terminal 11 has a voltage of Log.1.

При поступлении на вход 12 счетных импульсов начинаетс  параллельна  работаWhen a counting pulse arrives at the input 12, parallel operation begins.

0 счетчика 1 и счетчика 5 тактор. Переключение  чеек в счетчиках 1 и 5 происходит по заднему фронту входных импульсов. На выходе дифференцирующего элемента 4 формируютс  положительные импульсы в0 counter 1 and counter 5 tactor. Switching cells in the counters 1 and 5 occurs on the trailing edge of the input pulses. At the output of differentiating element 4, positive pulses are generated in

5 полупериодах входных сигналов в моменты5 half periods of input signals at times

изменени  уровн  напр жени  из О в 1.voltage level changes from 0 to 1.

. По заднему фронту первого импульса на. On the falling edge of the first pulse on

входе устройства  чейка в младшем разр деthe input device of the cell in the lower de

счетчика 1 переключаетс  из состо ни  Оcounter 1 switches out

0 в состо ние 1. По переднему фронту второго счетного импульса на выходе дифференцирующего элемента 4 формируетс  положительный импульс, но состо ние выхода элемента И 2 при этом не измен етс ,0 to state 1. On the leading edge of the second counting pulse, a positive pulse is generated at the output of differentiating element 4, but the output state of the AND 2 element does not change,

5 поскольку третий его вход находитс  в состо нии О. По заднему фронту второго импульса  чейка первого разр да возвращаетс  в О, а чейка:второго разр да счетчика 1 устанавливаетс  в 1.5 since its third input is in the state O. On the falling edge of the second pulse, the cell of the first bit returns to O, and the cell: the second bit of counter 1 is set to 1.

0 Одновременно срабатывает триггер 3, соответствующий младшему разр ду счетчика 1, Вследствие этого состо ние третьего входа элемента И 2 измен етс  из О . Далее в момент прохождени  передне5 го фронта третьего импульса на счетном вход 12 импульс с выхода дифференцирующего элемента 4 через элемент И 2 поступает на установочный вход  чейки младшего разр да счетчика 1 и вновь переводит ее в0 At the same time, the trigger 3 is triggered, corresponding to the low-order bit of the counter 1. As a result, the state of the third input of the AND 2 element changes from O. Then, at the moment when the leading edge of the third pulse passes through the counting input 12, the pulse from the output of the differentiating element 4 goes through the element I 2 to the installation input of the low-order cell of counter 1 and again translates it into

0 состо ние 1. Состо ние других разр дов счетчика 1 при этом не измен етс . К моменту окончани  третьего импульса  чейки первого и второго разр да наход тс  в состо нии 1, По заднему фронту третьего0 state 1. The state of the other bits of the counter 1 does not change. By the end of the third pulse, the cells of the first and second bits are in state 1, on the falling edge of the third

5 импульса обе  чейки переключаетс  в состо ние О, а  чейка третьего разр да счетчика 1 устанавливаетс  в 1. Одновременно срабатывает триггер 3, соответствующий второму разр ду счетчика 1... Следующий5 pulses of both cells switches to the O state, and the third discharge cell of counter 1 is set to 1. At the same time, trigger 3, which corresponds to the second discharge of counter 1, is triggered ... Next

0 импульс с дифференцирующего элемента 4 переводит  чейки первого и второго разр да из О в Г.0 impulse from differentiating element 4 transfers the first and second digit cells from O to G.

По заднему фронту четвертого импульса перва , втора  и треть   чейки переключа5 ютс  в О, а в четвертую  чейку записываетс  1 и т.д.On the trailing edge of the fourth pulse, the first, second and third cells are switched to O, and 1 is written to the fourth cell, and so on.

Таким образом, после прохождени  через счетный вход 12 импульсов, количество которых равно N+1, на выходе счетчика 1 по вл етс  сигнал переполнени , врем  выхода которого от начала работы устройства контролируетс  счетчиком 5 тактов.Thus, after passing through the counting input 12 pulses, the number of which is equal to N + 1, an overflow signal appears at the output of counter 1, the output time of which from the start of operation of the device is monitored by a counter of 5 cycles.

Поскольку коэффициент пересчета счетчика 5 тактов также равен величине N+1, то сигналы на входах первого и второго одновибраторов 6 и 7 по вл ютс  одновременно . Формируемые на их выходах импульсы равны по длительности.Since the recalculation coefficient of the 5 clock counter is also equal to the value of N + 1, the signals at the inputs of the first and second single vibrators 6 and 7 appear simultaneously. The pulses generated at their outputs are equal in duration.

При исправном счетчике 1 импульсы на выходах одновибраторов совпадают во вре- мени, на выходе элемента И-НЕ 8 по вл етс  отрицательный импульс, который поступает на вход элемента индикации Норма. На выходе элемента И-НЕ 9 сигнала в этот момент не возникает, так как на одном его входе действует положительный импульс, а на другом - отрицательный одинаковой длительности.With a good counter 1, the pulses at the outputs of the one-shot coincide in time, the output of the AND-HE element 8 is a negative pulse that arrives at the input of the indication element Norma. At the output of the element AND-NOT 9 signal at this moment does not occur, since a positive pulse acts on one of its inputs, and a negative pulse of the same duration acts on the other.

В случае неисправной работы счетчика 1 (обрыв цепи, отказ комплектующего эле- мента,козффициент делени  счетной  чейки не равный 2) состо ние выхода элемента И-НЕ 8 не измен етс  в течение всего вре- мени контрол  и элемент индикации 10 не срабатывает.In the event of the malfunction of counter 1 (open circuit, component element failure, the counter cell division ratio is not equal to 2), the output state of the AND-NE element 8 does not change during the entire monitoring time and the display element 10 does not work.

После окончани  работы счетчика 5-тактов сигналом с его выхода запускаетс  од- новибратор 7.After the 5-clock counter has been terminated, a monovibrator 7 is started with a signal from its output.

На входе элемента И-НЕ 9 по вл етс  импульс положительной пол рности, на другой вход подана 1 с выхода элемента И-НЕ 8, в результате чего срабатывает элемент 14 индикации Нормы нет,A positive polarity pulse appears at the input of the NAND 9 element, 1 is fed to the other input from the output of the NAND 8 element, as a result of which the display element 14 is fired. There are no norms,

Дл  переключени  устройства из режима контрол  в режим двоичного счета на клемму 11 контрол  подаетс  напр жение Лог. О. Вследствие этого вс  группа элементов И 2 блокируетс  по входу, коэффициент пересчета счетчика 1 становитс  равным 2.To switch the device from monitoring mode to binary counting mode, a voltage Log is applied to control terminal 11. A. As a result, the entire group of elements AND 2 is blocked by the input, the conversion factor of counter 1 becomes equal to 2.

В качестве примера на фиг2 приведена циклограмма работы п тиразр дного счетчика в режиме ускоренного контрол .As an example, Fig. 2 shows a sequence diagram of the operation of a five-bit counter in the accelerated control mode.

На фиг.З дл  сравнени  привеДены.гра- фики зависимости времени контрол  (коли- чества импульсов на счётном входе) от количества разр дов контролируемого счетчика дл  предлагаемого устройства и известного .In FIG. 3, for comparison, the graphs of the dependence of the monitoring time (the number of pulses at the counting input) on the number of bits of the monitored counter for the proposed device and the known one.

По сравнению с известным предлагаем мое устройство требует меньше времени дл  контрол  счетчика.In comparison with the well-known, we offer my device requires less time to monitor the counter.

Контроль счетчика осуществл етс  при подаче на счетный вход устройства минимального количества тактовых сигналов. The counter is monitored when a minimum number of clock signals is applied to the device’s counting input.

Врем  контрол  предлагаемого устройстваTime control of the proposed device

Тк tn(N+1),Tk tn (N + 1),

а врем  контрол  известного устройства Т tn (2N 1-H1).and the time control of the known device T tn (2N 1-H1).

Положительный эффект наиболее сильно про вл етс  при контроле многоразр дных счетчиков в программно-временных устройствах большого времени, проверка которых в реальном масштабе времени практически не осуществл етс .The positive effect is most pronounced when monitoring multi-bit counters in software-time devices of large time, which is practically not checked in real time.

Дл  контрол , например, 16-разр дного счетчика в предлагаемом устройстве требуетс  - « в 3,8. 103 раз меньше времени, чем в известном.For control, for example, a 16-bit counter in the proposed device requires - "3.8. 103 times less time than in the famous.

Кроме того, достигаетс  побочный эф- фектгпри контроле счетчика вы вл ютс  не только неисправности вида отказ элемента или обрыв цепи монтажа, но и неисгфавно- сти типа перехода счетной  чейки из режима делени  на 2 в режим повторител  (), что будет зафиксировано элементом 14 индикации . .In addition, a side effect is achieved when the counter is monitored. Not only malfunctions of the type of element failure or open circuit are detected, but also non-fault type of transition of the counting cell from the division mode into 2 to the repeater mode (), which will be fixed by the display element 14 . .

Claims (1)

Формула из обр е т е н и   Двоичное пересчетное устройство с контролем, содержащее первый элемент индикации, входную шину, М-разр дный двоичный счетчик, каждый разр д которого, кроме последнего, содержит вход установки в 1, выход последнего разр да двоичного счетчика соединен с входом первого одно- вибратора, о т л и ч а ю щ ее с   тем, что, с целью уменьшени  времени контрол , в него введены дифференцирующий элемент, первый, второй элементы И-НЕ, второй од- новибратор, шина контрол  и счетчик по модулю N+1, второй элемент индикации, а в каждый разр д, кроме последнего, двоичного счетчика введены элемент И и триггер, вход динамической установки в 1 которого соединен с выходом данного разр да, вход установки в 1 которого соединен с выходом элемента И, перый, второй и третий входы которого соединены соответственно с выходом дифференцирующего элемента, с шиной контрол  и с пр мым выходом триггера , входна  шина соединена с входом дифференцирующего элемента, со счетным входом N-разр дного двоичного счетчика и со счетным входом счетчика по модулю N+1, выход которого соединен с входом второго одновибратора, выход которого соединен с первыми входами первого и второго элементов И-НЕ, вторые входы которых соединены соответственно с выходами первого одновибратора и с выходом первого элемента И-НЕ, входы первого и второго элементов индикации соединены соответственно с выходами первого и второго элементов И-НЕ.Formula from a routine Binary control rectifier containing the first display element, input bus, M-bit binary counter, each bit of which, except the last one, contains the installation input 1, the output of the last digit of the binary counter is connected with the input of the first single-vibrator, that is so that, in order to reduce the control time, a differentiating element is introduced into it, the first, second AND-NOT elements, the second one-oscillator, the control bus and the counter modulo N + 1, the second element of the display, and in each category d, besides the last binary counter, the element I and the trigger are entered, the dynamic installation input in 1 of which is connected to the output of this bit, the input of installation in 1 of which is connected to the output of the element And, the first, second and third inputs of which are connected respectively to the output of the differentiating element , with the control bus and with the direct output of the trigger, the input bus is connected to the input of the differentiating element, with the counting input of the N-bit binary counter and with the counting input of the counter modulo N + 1, the output of which is connected to the input o one-shot, the output of which is connected to the first inputs of the first and second elements AND-NOT, the second inputs of which are connected respectively to the outputs of the first one-vibration and to the output of the first element AND-NOT, the inputs of the first and second elements of the display, respectively -NOT.
SU894770587A 1989-12-19 1989-12-19 Binary counting device with check SU1725388A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894770587A SU1725388A1 (en) 1989-12-19 1989-12-19 Binary counting device with check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894770587A SU1725388A1 (en) 1989-12-19 1989-12-19 Binary counting device with check

Publications (1)

Publication Number Publication Date
SU1725388A1 true SU1725388A1 (en) 1992-04-07

Family

ID=21485397

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894770587A SU1725388A1 (en) 1989-12-19 1989-12-19 Binary counting device with check

Country Status (1)

Country Link
SU (1) SU1725388A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1094152,кл. Н 03 К 21/40, 1981. Авторское свидетельство СССР № 1298895, кл. Н 03 К 21 /40, 1985. *

Similar Documents

Publication Publication Date Title
SU1725388A1 (en) Binary counting device with check
SU1181133A2 (en) Counter
SU1277385A1 (en) Toggle flip-flop
SU966913A1 (en) Checking device
RU1772804C (en) Shift register testing device
SU839060A1 (en) Redundancy logic device
SU830378A1 (en) Device for determining number position on nimerical axis
SU1640822A1 (en) Frequency-to-code converter
SU1529429A1 (en) Device for protection of contacts from rattling
SU1024895A1 (en) Device for information input
SU1156070A1 (en) Device for multiplying frequency by code
SU717756A1 (en) Extremum number determining device
SU602939A1 (en) Information shifting arrangement
SU919090A1 (en) Device for monitoring operation of counter with potential output
SU697996A1 (en) Reversible counter monitoring device
SU1051727A1 (en) Device for checking counter serviceability
SU1298732A1 (en) Information input device
SU1023320A1 (en) Digital discriminator
SU481904A1 (en) Chromatographic functions analyzer
SU1176331A1 (en) Device for correcting failure in n-bit ring shift register
SU911728A1 (en) Switching device
SU1649523A1 (en) Overflow controlled counter
SU1130860A1 (en) Dividing device
SU1056467A1 (en) Pulse repetition frequency divider with variable division ratio
SU1298910A1 (en) Frequency divider with variable countdown