SU1298898A1 - Counting device with checking - Google Patents

Counting device with checking Download PDF

Info

Publication number
SU1298898A1
SU1298898A1 SU853976078A SU3976078A SU1298898A1 SU 1298898 A1 SU1298898 A1 SU 1298898A1 SU 853976078 A SU853976078 A SU 853976078A SU 3976078 A SU3976078 A SU 3976078A SU 1298898 A1 SU1298898 A1 SU 1298898A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
flip
flop
bus
Prior art date
Application number
SU853976078A
Other languages
Russian (ru)
Inventor
Сергей Владимирович Уткин
Original Assignee
Предприятие П/Я В-2969
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 Предприятие П/Я В-2969 filed Critical Предприятие П/Я В-2969
Priority to SU853976078A priority Critical patent/SU1298898A1/en
Application granted granted Critical
Publication of SU1298898A1 publication Critical patent/SU1298898A1/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  потактового контрол  двоичных счетчиков. Цель изобретени  - повышение надежности устройства. Устройство содержит двоичный счетчик 1, блок 2 сравнени , блок 3 пам ти. Дл  достижени  поставленной цели в устройство введены мультиплексор 6, управл ющий счетчик 7, элемент И-НЕ 8, элемент ИЛИ 9, RS-триггер 10, элемент И П..1 з.п. ф-лы. 2 ил. го со 00 СХ) со 00The invention relates to automation and computer technology and can be used for tactful monitoring of binary counters. The purpose of the invention is to increase the reliability of the device. The device contains a binary counter 1, a comparison block 2, a memory block 3. To achieve this goal, a multiplexer 6, control counter 7, AND-NE element 8, OR element 9, RS flip-flop 10, AND P.1 element are entered into the device. f-ly. 2 Il. go with 00 CX) with 00

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано дл  потактового контрол  двоичных счетчиков.The invention relates to automation and computer technology and can be used for tactful monitoring of binary counters.

Цель изобретени  - повышение надежности устройства.The purpose of the invention is to increase the reliability of the device.

На фиг.1 приведена схема счетного устройства с контролем; на фиг.2 - вариант реализации блока сравнени . Устройство (фиг.1) содержит двоичный счетчик 1, блок 2 сравнени , блок 3 пам ти, входную шину 4, шину 5 сброса, мультиплексор 6, управл ющий счетчик 7, элемент И-НЕ 8, элемент ИЛИ 9, RS-триггер 10, элемент И 11, шину 12 тактовой частоты, выход 13 первого разр да управл ющего счетчика 7, инверсньш выход 14 второго разр да управл ющего счетчика 7, стробирующий вход 15 блока 2 сравнени , вход 16 сбрбса блока 2 сравнени , первый 17 и второй 18 входы блока 2 сравнени , выходную шину 19, инверсный выход 20 переполнени  управл ющего счетчика.Figure 1 shows a diagram of the counting device with the control; Fig. 2 shows an embodiment of the comparison block. The device (Fig. 1) contains a binary counter 1, a comparison block 2, a memory block 3, an input bus 4, a reset bus 5, a multiplexer 6, a control counter 7, AND-HE element 8, an OR element 9, an RS flip-flop 10 , Element 11, clock frequency bus 12, output 13 of the first discharge of the control counter 7, inverse output 14 of the second discharge of the control counter 7, gate input 15 of the comparison unit 2, input 16 of the comparison unit 2, the first 17 and the second 18 the inputs of the comparison unit 2, the output bus 19, the inverted overflow output 20 of the control counter.

Счетный вход двоичного счетчика I соединен с входной шиной 4 и с пер входом элемента ИЛИ 9, выход которого соединен с входом сброса счетчика 7 и с входом 16 сброса блока 2 сравнени , вход обнулени  счетчика 1 соединен с вторым входом элемента ИЛИ 9, с входом RS-триггера 10 и с шиной 5 сброса, выходы двоичного счетчика 1 соединены соответственно с информационными входами мультиплексора 6, выход которого подключен к входу данных блока 3 пам ти и к первому входу 17 блока 2 сравнени . Адресные входы блока 3 пам ти соединены с адресными входами мультиплексора 6 и с. выходами старших разр дов управл ющего счетчика 7, выход 13 первого разр да которого подключен к стробирующему входу блока 3 пам ти и к первому входу элемента И-НЕ инверсный выход 14 второго разр да счетчика 7 соединен с управл ющим входом блока 3 пам ти и с вторьв- входом элемента И-НЕ 8, выход которого соединен со стробирующим входо 15 блока 2 сравнени , третий вход элемента И-НЕ 8 Соединен с пр мым выходом RS-триггера 10. Второй вход 18 блока 2 подключен к выходу блока 3 пам ти, выход блока 2 сравнени  соединен с выходной шиной 19, инверный выход 20 переполнени  счетчикаThe counting input of the binary counter I is connected to the input bus 4 and to the input of the input element OR 9, the output of which is connected to the reset input of the counter 7 and to the reset input 16 of the comparison unit 2, the zero input of the counter 1 is connected to the second input of the element OR 9, to the input RS -trigger 10 and with reset bus 5, outputs of binary counter 1 are connected respectively to information inputs of multiplexer 6, the output of which is connected to the data input of memory block 3 and to the first input 17 of comparison block 2. The address inputs of memory block 3 are connected to the address inputs of multiplexer 6 and c. the outputs of the higher bits of the control counter 7, the output 13 of the first discharge of which is connected to the gate input of the memory block 3 and to the first input of the AND-NAND element the inverse output 14 of the second discharge of the counter 7 is connected to the control input of the memory block 3 and the second input of the element IS-NE 8, the output of which is connected to the gate input 15 of the comparator unit 2, the third input of the element NE-NE 8 is connected to the direct output of the RS flip-flop 10. The second input 18 of the unit 2 is connected to the output of the memory block 3, the output of the comparison unit 2 is connected to the output bus 19, the inverted output 20 ne epolneni counter

5five

00

5five

00

5five

00

4545

5050

5555

7 подключен к входу S RS-триггера 10 и к первому входу элемента И 51, выход которого Ьоединен со счетным входом управл ющего счетчика 7, а второй вход - с шиной 12 тактовой частоты.7 is connected to the input S of the RS-flip-flop 10 and to the first input of the element I 51, the output of which is connected to the counting input of the control counter 7, and the second input to the bus 12 of the clock frequency.

Блок 2 сравнени  на (фиг.2) содержит первый D-триггер 21, второй D-триггер 22, полусумматор 23, элемент ИСКЛ10ЧАКЩЕЕ ИЛИ 24, элемент НЕ 25, выход 26 элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 24.Comparison unit 2 in (Fig. 2) contains the first D-flip-flop 21, the second D-flip-flop 22, half-adder 23, the element EXCLUSIVE OR 24, the element NOT 25, the output 26 of the element EXCLUSIVE OR 24.

Стробирующие входы первого 21 и второго 22 D-триггеров подключены к стробирующему входу 15 блока 2 сравнени , вход 16 сброса которого соединен с входом элемента НЕ 25. Вход S первого D-триггера 21 соединен с входом R второго D-триггера 22 и подключен к выходу элемента НЕ 25. D-вход первого D-триггера 21 соединен с выходом переноса полусумматора 23, а выход - с одним из входов полусумматора 23, другой вход которого подключен к второму входу 18 блока 2 сравнени , а выход суммы - одним из входов элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 24, другой вход которого соединен с входом 17, а выход 26 элемента 24 подключен к входу D второго D-триггера 22. Выход второго D-триггера 22 соединен с выходной шиной I9.The gate inputs of the first 21 and second 22 D-flip-flops are connected to the gate 15 of the comparison unit 2, the input 16 of which is connected to the input of the HE element 25. The input S of the first D-flip-flop 21 is connected to the input R of the second D-flip-flop 22 and connected to the output element 25. The D-input of the first D-flip-flop 21 is connected to the transfer output of half-adder 23, and the output is connected to one of the inputs of half-adder 23, the other input of which is connected to the second input 18 of the comparison unit 2, and the sum output - one of the inputs of the EXCLUSIVE element OR 24, another input is connected to input 17, 26 output member 24 connected to the input D of the second D-flip-flop 22. The output of the second D-flip-flop 22 is connected to output line I9.

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

На каждом такте работы входной импульс по шине 4 обнул ет управл ющий счетчик 7 и задним перепадом . переводит двоичный счетчик 1 в следующее состо ние. С этого момента начинаетс  генераци  адресных кодов на выходе управл ющего счетчика 7, и выходы двоичного счетчика 1 поочередно подключаютс  через мультиплексор 6 к входу 17 блока 2 сравнени  и к входу данных блока 3 пам ти. На каждом адресном коде по первому импульсу на выходе 13 происходит считывание информации из.соответствующей  чейки блока 3 пам ти на вход 18, суммирование с информацией на выходе D-триггера 21 и сравнение полученной суммы с состо нием входа 17. По второму импульсу на выходе 13 информаци  с входа 17 переписьшаетс  в данную  чейку блока 3 пам ти и по окончании импульса модифицируетс  адресный код, а на входы блока 2 сравнени  поступает информаци  еледующего разр да счетчика I и блока 3 пам ти.At each cycle of operation, the input pulse on bus 4 zeroes the control counter 7 and the back differential. sets binary counter 1 to the next state. From this moment on, the generation of address codes at the output of control counter 7 begins, and the outputs of binary counter 1 are alternately connected via multiplexer 6 to the input 17 of the comparison unit 2 and to the data input of the memory block 3. At each address code, the first pulse at output 13 reads information from the corresponding cell of memory 3 to input 18, adds up with information at the output of D-flip-flop 21 and compares the received amount with input status 17. The second pulse at output 13 the information from input 17 is copied to this cell of memory block 3 and at the end of the pulse the address code is modified, and the inputs of the comparison block 2 receive the information of the counter I and the memory block 3.

Таким образом, происходит поразр дное сравнение состо ни  счетчика в данном такте с состо нием предыду- щего такта,, записанным в блоке 3 пам ти.Thus, a one-by-one comparison of the state of the counter in this cycle with the state of the previous cycle recorded in memory block 3 occurs.

Добавление единицы в младший разр д кода предыдущего состо ни , запоминание переноса и добавление пере- носа к содержимому следующей  чейки блока 3 пам ти осуществл етс  D-триг гером 21 и полусумматором 23. Окончанием импульса на входе I5 происходит запись результата сравнени  в D-триг гере 22 и запись переноса в следующи разр д в D-триггере 21. После опроса старшего разр да двоичного счетчика 1 управл ющий счетчик 7 самоблокируетс  сигналом с выхода 20 перепол- нени  до прихода следующего счетного импульса по входной щине 4. При этом в блоке 3 пам ти записан код текущего состо ни . RS-триггер 10 необходим дл  того, чтобы при обнулении счетчика 1 и последующей перезаписи .начального состо ни  в блок 3 пам ти не фиксировались ошибки в D-триггере 22. Блокировка сравнени  сни- i маетс  после окончани  записи начального состо ни  сигналом с выхода 20 переполнени .The unit is added to the low-order code of the previous state, the transfer is memorized, and the transfer is added to the contents of the next cell of memory block 3 by a D-trigger 21 and a half-adder 23. The end of the pulse at input I5 records the result of the comparison into D-trig 22 and transfer to the next bit in D-flip-flop 21. After polling the higher bit of binary counter 1, the control counter 7 is self-blocked by the signal from the overflow output 20 until the next counting pulse arrives at the input bus 4. At the same time, in block 3 na whith the current state recorded audio code. RS flip-flop 10 is required so that when resetting counter 1 and subsequent rewriting of the initial state to memory block 3, errors in the D-flip-flop 22 are not recorded. The comparison lock is released i after the recording of the initial state is terminated by a signal from output 20 overflow.

Дл  контрол  реверсивного двоичного счетчика в устройство необходимо ввести коммутатор, переключающий входы 17 и 18 по началу первого.импульса на вычитающем входе двоичного счетчика 1, и по началу первого импульса - на суммирующем входе, привод щем входы 17 и 18 в исходное со- сто ние.To control a reversible binary counter, you need to enter a switch that switches inputs 17 and 18 at the beginning of the first impulse at the subtractive input of binary counter 1, and at the beginning of the first impulse - at the summing input that leads to inputs 17 and 18 .

При этом в качестве блока пам ти можно использовать регистр сдвига.In this case, the shift register can be used as a memory block.

Claims (2)

Формула изобретени  Invention Formula I.Счетное устройство с контролем, содержащее двоичньш счетчик, счетный вход которого подключен к входной шине, а вход обнулени  - к шине сброса , блок сравнени  и блок пам ти, вход данных и выход которого соединены соответственно с первым и вторым входами блока сравнени , выход которого подключен к выходной шине, отличающеес  тем, что, с целью повышени  надежности устройства , в него введены шина тактоI. A control device containing a binary counter, the counting input of which is connected to the input bus, and the zeroing input - to the reset bus, the comparison unit and the memory unit, the data input and output of which are connected respectively to the first and second inputs of the comparison unit, the output which is connected to the output bus, characterized in that, in order to increase the reliability of the device, the tact bus is introduced into it 5 five О ABOUT 5 five -5-five 00 вой частоты, управл ющий счетчик RS-триггер, элемент И, элемент Ц-НЕ, элемент ИЛИ и мультиплексор, выход которого соединен с входом данных блока пам ти, информационные входы мультиплексора соединен с выходами двоичного счетчика, а адресные вхо- ды - с адресными входами блока пам ти и с выходами старших разр дов управл ющего счетчика, выход первого разр да которого соединен с входом выборки блока пам ти и с первым входом элемента И-НЕ, инверсньш выход второго -разр да управл ющего счетчика соединен с управл ющим входом блока пам ти и с вторым входом элемента И-НЕ, третий вход которого соединен с пр мым выходом RS-триггера, выход элемента И-НЕ соединен со стробирую- щим входом блока сравнени , соединенного по входу сброса с входом сброса управл ющего счетчика и с выходом элемента ИПИ, первый вход которого соединен с входной шиной, а второй - с шиной сброса и с входом R RS- триггера, соединенного входом S с инверсным выходом переполнени  управл ющего счетчика и с первым входом элемента И, выход которого подключен к счетному входу управл ющего счетчика , а второй вход - к шине тактовой частоты.frequency, control counter RS-trigger, element AND, element C-NOT, element OR and multiplexer, the output of which is connected to the data input of the memory block, information inputs of the multiplexer are connected to the outputs of the binary counter, and address inputs are the inputs of the memory block and the outputs of the higher bits of the control counter, the output of the first bit of which is connected to the sample input of the memory block and the first input of the NAND element, the inverse output of the second bit of the control counter is connected to the control input of the block memory and wto The third input of the NAND element, the third input of which is connected to the direct output of the RS flip-flop, the output of the NAND element is connected to the gate input of the comparison unit connected to the reset input of the control counter and the output of the IPI element first the input of which is connected to the input bus, and the second to the reset bus and to the input R of the RS flip-flop connected by input S to the inverted overflow output of the control counter and to the first input of the And element whose output is connected to the counting input of the controlling counter, and the second input - to the bus bars Oh frequency. 2. Устройство по п.1, о т л и - чающеес  тем, что блок сравнени  содержит элемент НЕ, пер- .вый D-триггер, полусумматор, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ и второй D - триггер, выход которого подключен к выходу блока сравнени , стробирую- щий вход второго D-триггера . подключен к стробирующему входу первого D-триггера и стробирующему входу блока сравнени . D-вход второго D-триггера соединен с выходом элемента ИСКПЮЧАЩЕЕ ИЛИ, первый вход которого соединен с первым входом блока сравнени , а второй вход - с выходом суммы полусумматора, подключенного первым входом к второму входу блока сравнени , а вторым входом - к выходу первого D-триггера , вход D которого соединен с выходом переноса полусумматора, установочный вход S первого D-триггера соединен с входом сброса второго D-триггера и с выходом элемента НЕ, вход которого подключен к входу сброса блока сравнени .2. The device according to claim 1, of which the comparison block contains the element NOT, the first D-flip-flop, the half-adder, the EXCLUSIVE-OR element and the second D-flip-flop, the output of which is connected to the output of the comparator, gating input of the second D-flip-flop. connected to the gate input of the first D-flip-flop and the gate input of the comparison unit. The D input of the second D flip-flop is connected to the output of the EXTENDER OR element, the first input of which is connected to the first input of the comparison unit, and the second input to the output of the sum of half-adder connected by the first input to the second input of the comparison unit, and the second input to the output of the first D -trigger, the input D of which is connected to the transfer output of the half-adder, the installation input S of the first D-flip-flop is connected to the reset input of the second D-flip-flop and to the output of the NOT element whose input is connected to the reset input of the comparison unit. 1818 1515 YY гg 1717 гцIdHzId ггyy 19nineteen ьs WW Редактор А.КозоризEditor A. Kozoriz Составитель Ранов Техред М.ХоданичCompiled by Ranov Tehred M.Hodanich Заказ 898/59 Тираж 902ПодписноеOrder 898/59 Circulation 902 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д. Д/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab. d. D / 5 Производственно-полиграфическое предпри тие, г.Ужгород, ул.Проектна , АProduction and printing company, Uzhgorod, Projecto st., A Фиг. 2FIG. 2 Корректор Л.ПатайProofreader L. Patay
SU853976078A 1985-11-18 1985-11-18 Counting device with checking SU1298898A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853976078A SU1298898A1 (en) 1985-11-18 1985-11-18 Counting device with checking

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853976078A SU1298898A1 (en) 1985-11-18 1985-11-18 Counting device with checking

Publications (1)

Publication Number Publication Date
SU1298898A1 true SU1298898A1 (en) 1987-03-23

Family

ID=21205109

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853976078A SU1298898A1 (en) 1985-11-18 1985-11-18 Counting device with checking

Country Status (1)

Country Link
SU (1) SU1298898A1 (en)

Similar Documents

Publication Publication Date Title
SU1298898A1 (en) Counting device with checking
GB1339840A (en) Apparatus for decoding digital information
SU1529293A1 (en) Device for shaping test sequence
SU1257601A1 (en) Multichannel meter of time intervals in pulse trains
SU1621140A2 (en) Counting device with check
SU1080132A1 (en) Information input device
SU1334140A1 (en) Data input device
SU999140A1 (en) Code converter
SU1335968A1 (en) Signal generator
JPS5947364B2 (en) Preamble detection device
SU1314344A1 (en) Device for checking digital blocks
SU1425714A1 (en) Analyzer of electric signals
SU1115236A1 (en) Device for trouble-free counting of pulses
SU1425632A1 (en) Device for delaying multiplexed digital information
SU1249530A1 (en) Device for determining parameters of d.c. electric drives
RU2152685C1 (en) Multiple-channel pulse counter
SU1282107A1 (en) Information input device
SU1267402A1 (en) Device for selecting the given number of repetitions of binary numbers
SU1087982A1 (en) Translator from n-bit binary code to p-bit binary code
SU989558A1 (en) Device for parity check of binary code
SU1735884A1 (en) Data i/o adaptive device
SU1185394A1 (en) Storage
SU830386A1 (en) Microprogramme-control device
SU1254522A1 (en) Device for compressing information
SU1322256A1 (en) Device for sorting information