RU2040855C1 - Binary counter - Google Patents
Binary counter Download PDFInfo
- Publication number
- RU2040855C1 RU2040855C1 SU4871764A RU2040855C1 RU 2040855 C1 RU2040855 C1 RU 2040855C1 SU 4871764 A SU4871764 A SU 4871764A RU 2040855 C1 RU2040855 C1 RU 2040855C1
- Authority
- RU
- Russia
- Prior art keywords
- input
- output
- circuit
- trigger
- inputs
- Prior art date
Links
Images
Landscapes
- Logic Circuits (AREA)
Abstract
Description
Изобретение относится к импульсной технике и может быть использовано в устройствах вычислительной техники и системах управления. The invention relates to a pulse technique and can be used in computing devices and control systems.
Целью изобретения является обеспечение полноты контроля счетчика импульсов. The aim of the invention is to ensure complete control of the pulse counter.
На фиг. 1 приведена схема двоичного счетчика (трехразрядного); на фиг. 2 временные диаграммы работы счетчика. In FIG. 1 shows a diagram of a binary counter (three-digit); in FIG. 2 timing diagrams of the counter.
Двоичный счетчик содержит элемент НЕ 1, интегрирующую RC-цепь, состоящую из резистора 2 и конденсатора 3, первый 4 и второй 5 элементы ИЛИ-НЕ, элемент Исключающее ИЛИ 6, шестивходовую схему 7 четности, четырехвходовую схему 8 нечетности, элемент И 9 и дополнительный элемент И 10, шину 11 анализа результатов контроля, шину 12 входных импульсов и в каждом разряде триггер 13-1 (13-2, 13-3), первый 14-1 (14-2, 14-3) и второй 17-1 (17-2, 17-3) элементы И, первый 15-1 (15-2, 15-3) и второй 16-1 (16-2, 16-3) элементы Исключающее ИЛИ и интегрирующую RC-цепь, состоящую из резистора 18-1 (18-2, 18-3) и конденсатора 19-1 (19-2, 19-3). Триггеры 13-1, 13-2, 13-3 выполнены каждый в виде тактируемого D-триггера. The binary counter contains an element HE 1 integrating an RC circuit consisting of a resistor 2 and a capacitor 3, the first 4 and second 5 elements OR NOT, an exclusive OR 6 element, a six-
В каждом разряде счетчика первый и второй входы элемента И 14-1 (14-2, 14-3) соединены соответственно с прямым выходом и тактовым входом триггера 13-1 (13-2, 13-3), прямой выход которого подключен к первому входу элемента Исключающее ИЛИ 15-1 (15-2,15-3), второй вход которого объединен с тактовым входом триггера 13-1 (13-2, 13-3) и с соответствующим входом схемы 7 четности, а выход подключен к одному из входов второго элемента Исключающее ИЛИ 16-1 (16-2, 16-3) и к первому выводы резистора 18-1 (18-2, 18-3), второй вывод которого соединен с D-входом триггера 13-1 (13-2, 13-3), другим входом элемента Исключающее ИЛИ 16-1 (16-2, 16-3) и с первым выводом конденсатора 19-1 (19-2, 19-3), второй вывод которого подключен к общей шине. Выход элемента Исключающее ИЛИ 16-1 (16-2, 16-3) подключен к соответствующему входу схемы 7 четности и к одному из входов элемента И 17-1 (17-2, 17-3), другой вход которого соединен с инверсным выходом триггера 13-1 (13-2, 13-3), а выход подключен к соответствующему входу схемы 8 нечетности. Четвертый вход схемы 8 нечетности подключен к выходу элемента И 14-3, а выход соединен с первым входом элемента И 9. Входная шина 12 подключена к входу элемента НЕ 1 и к первому выводу резистора 2, второй вывод которого соединен с первым выводом конденсатора 3, второй вывод которого подключен к общей шине. Выход элемента НЕ 1 и второй вывод резистора 2 соединены соответственно с первым и вторым входами элемента ИЛИ-НЕ 4, первый вход и выход которого подключены соответственно к первому и второму входам элемента Исключающее ИЛИ 6, выход и второй вход которого соединены соответственно с первым входом элемента И 10 и вторым входом элемента И 9, выход которого соединен с первым входом элемента ИЛИ-НЕ 5, выход которого подключен к шине 11 анализа результатов контроля, а второй вход соединен с выходом элемента И 10, второй вход которого соединен с выходом схемы 7 четности. Выходы элементов И 14-1, 14-2 соединены со вторыми входами соответственно элементов И 14-2, 14-3. Тактовый вход триггера 13-1 подключен к входной шине 12. In each category of the counter, the first and second inputs of the element And 14-1 (14-2, 14-3) are connected respectively to the direct output and clock input of the trigger 13-1 (13-2, 13-3), the direct output of which is connected to the first the input of the element Exclusive OR 15-1 (15-2,15-3), the second input of which is combined with the clock input of the trigger 13-1 (13-2, 13-3) and with the corresponding input of the
Постоянная времени RC-цепей в составе триггерных устройств (элементы 13, 15, 18, 19) счетчика выбирается, исходя из необходимой помехоустойчивости. Чем больше постоянная времени, тем большей длительности помеха допускается на шине 12 входных импульсов счетчика. Постоянная времени RC-цепи резистора 2 и конденсатора 3 должна быть меньше постоянной времени любой из RC-цепей в разрядах счетчика. The time constant of the RC circuits in the trigger devices (elements 13, 15, 18, 19) of the counter is selected based on the necessary noise immunity. The greater the time constant, the greater the duration of the interference allowed on the
Двоичный счетчик работает следующим образом. The binary counter works as follows.
Допустим, что триггеры 13-1, 13-2, 13-3 счетчика находятся в нулевом состоянии, на шине 12 уровень логического "0". Триггер 13-1 (13-2, 13-3) тактируется уровнем логического "0" и с его прямого выхода логический уровень через кольцо обратной связи, состоящее из элемента Исключающее ИЛИ 15-1 (15-2, 15-3) и резистора 18-1 (18-2, 18-3), передается на D-вход триггера 13-1 (13-2, 13-3). Конденсатор 19-1 (19-2, 19-3) разряжен. Suppose that the triggers 13-1, 13-2, 13-3 of the counter are in the zero state, on the
При поступлении первого импульса положительной полярности на шину 12 триггер 13-1 сохранит свое состояние, на выходе элемента Исключающее ИЛИ 15-1 появляется уровень логической "1" и конденсатор 19-1 заряжается через резистор 18-1. Так как триггер 13-1 находится в нулевом состоянии, на выходе элемента И 14-1 (14-2, 14-3) также уровень логического "0", и импульс на шине 12 не проходит на тактовые входы триггеров 13-2, 13-3. По окончании импульса на шине 12 триггер 13-1 переключится в единичное состояние уровнем логического нуля на его тактовом входе, и на выходе элемента Исключающее ИЛИ 15-1 сохранится уровень логической "1". Конденсатор 19-1 заряжен и удерживает триггер 13-1 в единичном состоянии. When the first pulse of positive polarity arrives at
Второй импульс на шине 12 поступает на тактовый вход триггера 13-1 и через элемент И 14-1 на тактовый вход триггера 13-2. На выходах элементов Исключающее ИЛИ 15-1 и 15-2 появляется соответственно уровень логического "0" и уровень логической "1". Конденсатор 19-1 разряжается через резистор 18-1, а конденсатор 19-2 заряжается через резистор 18-2. По окончании импульса на шине 12 триггер 13-1 переключится в нулевое состояние, а триггер 13-2 в единичное. The second pulse on the
Аналогичным образом переключается и триггер 13-3, когда на его тактовый вход проходит импульс с шины 12 через элементы И 14-1, 14-2. Счетчик работает в двоичном позиционном коде. Trigger 13-3 is switched in a similar way when a pulse from
При появлении импульса на шине 12 в переключающемся разряде на выходе элемента Исключающее ИЛИ 15-1 (15-2,15-3) изменяется уровень логического сигнала на противоположный. Конденсатор в этом разряде перезаряжается, и на выходе элемента Исключающее ИЛИ 16-1 (16-2, 16-3) формируется импульс, длительность которого определяется постоянной времени RC-цепи соответствующего разряда. When a pulse appears on
При нормальной работе переключаться должен только тот триггер, на тактовый вход которого поступает импульс, поэтому на входе схемы 7 контроля четности будет четное количество логических единиц, а на выходе уровень логического "0". При поступлении на шину 12 счетного импульса только в одном разряде счетчика триггер переключается в единичное состояние, а при переполнении счетчика триггер 13-3 последнего разряда переходит в нулевое состояние. Поэтому на выходе только одного из элементов И (17-1, 17-2, 17-3), 14-3 появляется уровень логической "1". При этом на выходе схемы 8 нечетности будет появляться логический "0". During normal operation, only the trigger should be switched on to the clock input of which a pulse is received, therefore, at the input of the
По переднему фронту импульса на входной шине 12 (фиг. 2, 20) с помощью элементов НЕ 1 и ИЛИ-НЕ 4 формируется импульс опроса (фиг. 2, 21), который поступает на элемент И 9 и длительность которого определяется постоянной времени RC-цепи, состоящей из резистора 2 и конденсатора 3. Во время отсутствия импульса на входной шине 12 и на время действия импульса опроса на выходе элемента И 4 на выходе элемента Исключающее ИЛИ 6 присутствует уровень логической "1" (фиг. 2, 22), который поступает на вход элемента И 10. Сбой в работе счетчика приведет к формированию на выходе схемы 7 четности и (или) схемы 8 нечетности уровня логической "1", который, пройдя через элемент И 10 и (или) элемент И 9, поступает на вход элемента ИЛИ-НЕ 5, формируя на его выходе и, соответственно, на шине 11 анализа результатов контроля импульс отрицательной полярности, свидетельствующей о неисправности. Таким образом, заявляемый объект обеспечивает полноту контроля счетчика импульсов путем формирования сигнала неисправности при несанкционированном переключении помехоустойчивого триггера любого разряда. On the leading edge of the pulse on the input bus 12 (Fig. 2, 20) with the help of elements NOT 1 and NOT 4, a polling pulse is generated (Fig. 2, 21), which arrives at element And 9 and the duration of which is determined by the RC- time constant a circuit consisting of a resistor 2 and a capacitor 3. During the absence of a pulse on the
(56) 1. Авторское свидетельство СССР N 1121781, кл. Н 03 К 21/34, 1983. (56) 1. USSR author's certificate N 1121781, cl. H 03
2. Ф. Селлерс Методы обнаружения ошибок в работе ЭЦВМ. М. Мир, 1972, c. 200, рис. 11-1. 2. F. Sellers Methods for detecting errors in the operation of digital computers. M. Mir, 1972, p. 200, fig. 11-1.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU4871764 RU2040855C1 (en) | 1990-10-05 | 1990-10-05 | Binary counter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU4871764 RU2040855C1 (en) | 1990-10-05 | 1990-10-05 | Binary counter |
Publications (1)
Publication Number | Publication Date |
---|---|
RU2040855C1 true RU2040855C1 (en) | 1995-07-25 |
Family
ID=21539150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU4871764 RU2040855C1 (en) | 1990-10-05 | 1990-10-05 | Binary counter |
Country Status (1)
Country | Link |
---|---|
RU (1) | RU2040855C1 (en) |
-
1990
- 1990-10-05 RU SU4871764 patent/RU2040855C1/en active
Non-Patent Citations (2)
Title |
---|
Авторское свидетельство СССР N 1121781, кл. НОЗК 21/34, 1989. * |
Селлерс Ф. методы обнаружения ошибок в работе ЭЦВМ. М.: Мир, 1972, с. 200, рис. 11-1. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2040855C1 (en) | Binary counter | |
KR20080065239A (en) | A communication apparatus | |
RU2105357C1 (en) | Shift register | |
SU1150759A1 (en) | Synchronous frequency divider with 11:1 countdown based on ik-flip-flops | |
SU1026316A1 (en) | Gray-code pulse counter | |
SU1448409A1 (en) | Decimal counter with natural counting order | |
SU1226661A1 (en) | Counter operating in "2-out-of-n" code | |
SU1485224A1 (en) | Data input unit | |
SU319082A1 (en) | ||
SU1003359A1 (en) | One-cycle circular counter of unitary code | |
SU1181133A2 (en) | Counter | |
SU1200379A1 (en) | Flip=flop with noise immunity | |
SU540269A1 (en) | Digital integrator with control | |
SU1117848A1 (en) | Binary cyclic code decoder | |
SU653747A2 (en) | Binary counter | |
SU1220120A1 (en) | Device for generating single pulses | |
SU401006A1 (en) | BINARY PULSE COUNTER | |
RU2106057C1 (en) | Gear delaying signals | |
SU1096652A1 (en) | Device for functional checking of digital logic elements | |
SU1739506A1 (en) | Code pattern detector | |
SU606210A1 (en) | Frequency divider with variable division coefficient | |
KR960000814Y1 (en) | N-divided clock generator | |
SU1431062A1 (en) | Touchless switch | |
SU841099A1 (en) | Pulse synchronizing device | |
SU902074A1 (en) | Ring shift register |