SU1679626A1 - Counting unit - Google Patents

Counting unit Download PDF

Info

Publication number
SU1679626A1
SU1679626A1 SU894764001A SU4764001A SU1679626A1 SU 1679626 A1 SU1679626 A1 SU 1679626A1 SU 894764001 A SU894764001 A SU 894764001A SU 4764001 A SU4764001 A SU 4764001A SU 1679626 A1 SU1679626 A1 SU 1679626A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
inputs
code
Prior art date
Application number
SU894764001A
Other languages
Russian (ru)
Inventor
Galina M Majorova
Vladimir V Andrianov
Original Assignee
Ni Ts Fiz T
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 Ni Ts Fiz T filed Critical Ni Ts Fiz T
Priority to SU894764001A priority Critical patent/SU1679626A1/en
Application granted granted Critical
Publication of SU1679626A1 publication Critical patent/SU1679626A1/en

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Description

Изобретение относится к устройствам импульсной техники и может быть использовано в системах автоматического контроляThe invention relates to devices, pulse technology and can be used in automatic control systems

управления, в вычислительных устройствах и цифровой измерительной аппаратуре для выполнения функций счета условных состояний, Цель изобретения - расширение функциональных возможностей путем обеспечения подсчета заданных кодовых комбинаций. Счетное устройство содержит счетчик 1, ϋ-триггер 2, цифровой компаратор 3, элементы И 5 и 6, элементы ИЛИ 7 и 8, формирователь 9, дополнительный счетчик 10 и элемент 11 постоянной памяти хранения последовательности заданных кодовых состояний. Устройство обеспечивает сравнение кодовых последовательностей на входе 4 с заданной и их подсчет и при несовпадении их формирует сигнал на выходе 14. 1 ил.control, in computing devices and digital measuring equipment to perform the functions of counting conditional states; The purpose of the invention is to expand the functionality by providing the count of given code combinations. The counting device contains counter 1, ϋ-flip-flop 2, digital comparator 3, elements AND 5 and 6, elements OR 7 and 8, driver 9, additional counter 10 and element 11 of the permanent memory storing the sequence of specified code states. The device provides a comparison of the code sequences at the input 4 with the given one, and their counting, and if they do not match, forms a signal at the output 14. 1 Il.

АОAO

1679626 А11679626 A1

, 33

Изобретение относится к устройствам импульсной техники и может быть использовано в системах автоматического контроля, управления, в вычислительных устройствах и цифровой измерительной аппаратуре для выполнения функций счета условных состояний.The invention relates to devices of pulse technology and can be used in automatic control systems, control, computing devices and digital measuring equipment to perform the functions of counting conditional states.

Целью изобретения является расширение функциональных возможностей путем обеспечения подсчета заданных кодовых комбинаций.The aim of the invention is to enhance the functionality by ensuring the counting of given code combinations.

На чертеже показана структурная схема счетного устройства. ,The drawing shows a structural diagram of the counting device. ,

Счетное устройство содержит счетчик 1, β-триггер 2, цифровой компаратор 3, первая группа входов которого соединена с группой информационных входов 4, два элемента И 5 и 6, два элемента ИЛИ 7 и 8, формирователь 9, дополнительный счетчик 10 и элемент 11 постоянной-памяти хранения последовательности заданных кодовых состояний, тактовый вход 12 устройства соединен с входом "равно” цифрового компаратора 3, с инверсным динамическим тактовым входом β-триггера 2 и с первым входом первого элемента И 5. второй вход которого соединен с прямым выходом βтриггера 2 и первым входом второго элемента И 6, выход которого соединен с первым входом первого элемента ИЛИ 7, выход которого соединен с входом сброса β-триггера 2, β-вход которого соединен с шиной 13 единичного логического сигнала, выход первого элемента И 5 является управляющим выходом 14 устройства и соединен с первым входом второго элемента ИЛИ 8, выход которого соединен с входом сброса счетчика 1, прямой динамический счетный вход которого соединен с выходом "равно" цифрового компаратора 3, который соединен с вторым входом второго элемента И 6, вторая группа входов цифрового компаратора 3 соединена с выходами элемента 11 постоянной памяти, дополнительный выход которого соединен с входом формирователя 9 и с тактовым входом дополнительного счетчика 10, информационные входы которого являются выходом 15 кода количества кодовых последовательностей, выход формирователя 9 соединен со вторым входом второго элемента ИЛИ 8, а выходы счетчика 1 соединены с адресными входами элемента 11 постоянной памяти, а третий вход второго элемента ИЛИ 8'соединен с шиной 16 сброса устройства, которая соединена с входом сброса дополнительного счетчика 10.The counting device contains a counter 1, β-trigger 2, digital comparator 3, the first group of inputs of which is connected to the group of information inputs 4, two elements AND 5 and 6, two elements OR 7 and 8, driver 9, additional counter 10 and element 11 constant - memory of storing the sequence of given code states, the clock input 12 of the device is connected to the input "equal to" digital comparator 3, with the inverse dynamic clock input β-trigger 2 and the first input of the first element And 5. whose second input is connected to the direct output β of the trigger 2 and the first input of the second element AND 6, the output of which is connected to the first input of the first element OR 7, the output of which is connected to the reset input of the β flip-flop 2, the β input of which is connected to the bus 13 of a single logical signal, the output of the first element And 5 is controlling output 14 of the device and connected to the first input of the second element OR 8, the output of which is connected to the reset input of the counter 1, the direct dynamic counting input of which is connected to the output "equal to" digital comparator 3, which is connected to the second input of the second element And 6, the second a group of inputs of the digital comparator 3 is connected to the outputs of the element 11 of permanent memory, the auxiliary output of which is connected to the input of the former 9 and the clock input of the additional counter 10, whose information inputs are the output 15 of the code sequence number code, the output of the former 9 is connected to the second input of the second element OR 8, and the outputs of counter 1 are connected to the address inputs of the element 11 of permanent memory, and the third input of the second element OR 8 ′ is connected to the reset bus 16 of the device, which is connected to By resetting the additional counter 10.

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

16796261679626

В элемент 11 памяти заносится перед началом работы заданная кодовая комбинация. Если эта кодовая комбинация постоянна, то этот элемент может быть реализован в виде масочного ПЗУ или ПЗУ с пережиганием. Если она может иногда изменяться, целесообразно реализовать его в виде микросхемы с ультрафиолетовым или электрическим стиранием. В качестве этого элемента можно также использовать и микросхемы ОЗУ, учитывая, что в процессе работы информация в нем не изменяется.In the element 11 of the memory is entered before the start of the specified code combination. If this code combination is constant, then this element can be implemented as a masked ROM or a ROM with burning. If it can sometimes change, it is advisable to implement it in the form of a chip with ultraviolet or electric erasure. You can also use RAM chips as this element, given that the information in it does not change during the operation.

Особенностью последовательности кодов, занесенной в элемент 11, является то, что на дополнительном выходе формируется единичный логический сигнал только для последнего из кодов в этой последовательности.The peculiarity of the sequence of codes listed in element 11 is that a single logical signal is generated at the additional output only for the last of the codes in this sequence.

Перед началом работы сигналом на шине 16 устройство устанавливается в исходное состояние, т.е. счетчики 1, 10 и триггер 2 сбрасываются в нулевое состояние. На входы 4 поступает последовательность входных кодов, а на вход 12 - сопровождающая ее последовательность тактовых (синхронизирующих) импульсов. При совпадении кодов на входе компаратора и при наличии инверсного тактового (синхронизирующего) импульса на выходе компаратора формируется сигнал, который считается счетчиком Г. Одновременно триггер 2 переключается в единичное состояние по поступлению тактового сигнала, и при совпадении кодов с некоторой задержкой, определяемой элементами И 6 и ИЛИ 7, этот триггер возвращается в нулевое состояние. Код на выходе счетчика 1 изменяется, и на выходе элемента 11 памяти формируется следующий код из заданной импульсной последовательности. После этого устройство ожидает прихода этого кода на входы 4. После завершения заданной кодовой последовательности на выходе формируется сигнал, который запускает формирователь 9 и подсчитывается счетчиком 10. Последний обеспечивает подсчет количества кодовых последовательностей, поступивших на вход.Before starting the signal on the bus 16, the device is set to its original state, i.e. counters 1, 10 and trigger 2 are reset to zero. The inputs 4 receive a sequence of input codes, and the input 12 - the accompanying sequence of clock (clock) pulses. When the codes at the comparator input coincide and if there is an inverse clock (synchronizing) pulse, a signal is generated at the comparator output, which is considered to be counter G. At the same time trigger 2 switches to one state upon receipt of the clock signal, and if the codes coincide with a certain delay determined by And 6 elements and OR 7, this trigger returns to the zero state. The code at the output of counter 1 is changed, and at the output of memory element 11, the following code is generated from the specified pulse sequence. After that, the device waits for the arrival of this code at the inputs 4. After the specified code sequence is completed, a signal is generated at the output, which starts the shaper 9 and is counted by the counter 10. The latter ensures the count of the number of code sequences received at the input.

Если в некоторый момент времени код на входах 4 не совпадает с заданным на выходе элемента 11, триггер 2 не сбрасывается в нулевое состояние, и после окончания тактового импульса на выход 14 поступает единичный сигнал, свидетельствующий о нарушении в последовательности кодов, по; ступающих на вход. Этот сигнал может быть использован внешними устройствами для регистрации нарушения во входной импульсной последовательности. Этот сигнал также поступает на входы сброса счетчика 1,If at some time the code at inputs 4 does not coincide with that specified at the output of element 11, trigger 2 is not reset to the zero state, and after the clock pulse ends, output 14 receives a single signal indicating a violation in the code sequence, but; stepping on the entrance. This signal can be used by external devices to register a violation in the input pulse sequence. This signal also goes to the reset 1 inputs of the counter,

5five

16796261679626

66

устанавливая его в нулевое состояние, что обеспечивает в дальнейшем синхрониза- * цию работы устройства с входной последовательностью, т.е. устройство ожидает появления первого из кодов в заданной им- 5 пульсной последовательности.setting it to the zero state, which ensures further synchronization of the device operation with the input sequence, i.e. the device expects the appearance of the first of the codes in a given pulse sequence.

Устройство обеспечивает контроль входной кодовой последовательности, синхронизацию с ней и подсчет как числа кедов в ней, так и числа кодовых последовательностей, и может быть использовано в устройствах программно-логического управления, контрольно-измерительной аппаратуре и вычислительной аппаратуре для счета и контроля сигналов на шинах.The device provides control of the input code sequence, synchronization with it and counting both the number of shoes in it, and the number of code sequences, and can be used in software-logic control devices, instrumentation and computing equipment for counting and monitoring signals on buses.

Claims (1)

Формула изобретенияClaim Счетное устройство, содержащее счетчик, О-триггер, цифровой компара- 20 тор, первая группа входов которого соединена с группой информационных входов, отличающееся тем, что, с целью расширения функциональных возможностей, путем обеспечения подсчета за- 25 данных последовательностей кодовых комбинаций, в него введены два элемента И, два элемента ИЛИ, формирователь, дополнительный счетчик и элемент постоянной памяти хранения последовательности заданных кодовых состояний, тактовыйA counting device containing a counter, an O-flip-flop, a digital comparator 20, the first group of inputs of which is connected to a group of information inputs, characterized in that, in order to expand its functionality, by ensuring the count of 25 given sequences of code combinations, Two AND elements, two OR elements, a driver, an additional counter, and a permanent memory element for storing a sequence of specified code states, are introduced. вход устройства соединен с входом "равно1' цифрового компаратора, с инверсным динамическим таковым входом ϋ-триггера и с первым входом первого элемента И, второй вход которого соединён с прямым выходом О-триггера и первым входом второго элемента И, выход которого соединен с первым входом первого элемента ИЛИ, выход которого соединен с входом сброса ϋ-тригге10 ра, ϋ-вход которого соединен с шиной единичного логического сигнала, выход первого элемента И является управляющим выходом устройства и соединен с первым входом второго элемента ИЛИ, выход второ15 го элемента ИЛИ соединен с входом сброса счетчика, прямой динамический счетный вход которого соединен с выходом "равно" цифрового компаратора, который соединен с вторым входом второго элемента И, вторая группа входов цифрового компаратора соединена с выходами элемента постоянной памяти, дополнительный выход которого соединен с входом формирователя и с тактовым входом дополнительного счетчика, информационные выходы которого являются выходом кода количества кбдовых последовательностей, выход формирователя соединен с вторым входом второго элемента ИЛИ, а выходы счетчика соединены с 3θ адресными входами элемента постоянной памяти.the device input is connected to the input "is 1 'of the digital comparator, with the inverse dynamic input of the ϋ-flip-flop and with the first input of the first element And, the second input of which is connected to the direct output of the O-trigger and the first input of the second element And whose output is connected to the first the input of the first OR element, the output of which is connected to the reset input of the три-flip-flop 10, the input of which is connected to the single logic signal bus, the output of the first element AND is the control output of the device and connected to the first input of the second element OR, the output of the second element OR is connected to the reset input of the counter, the direct dynamic counting input of which is connected to the output "equal" to the digital comparator, which is connected to the second input of the second element And, the second group of inputs of the digital comparator is connected to the outputs of the permanent memory element whose additional output is connected with the input of the driver and with the clock input of the additional counter, whose information outputs are the output of the code of the number of cbdov sequences, the output of the driver is connected to the second the second input of the second OR element, and the counter outputs are connected to the 3θ address inputs of the permanent memory element.
SU894764001A 1989-10-25 1989-10-25 Counting unit SU1679626A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU894764001A SU1679626A1 (en) 1989-10-25 1989-10-25 Counting unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU894764001A SU1679626A1 (en) 1989-10-25 1989-10-25 Counting unit

Publications (1)

Publication Number Publication Date
SU1679626A1 true SU1679626A1 (en) 1991-09-23

Family

ID=21482045

Family Applications (1)

Application Number Title Priority Date Filing Date
SU894764001A SU1679626A1 (en) 1989-10-25 1989-10-25 Counting unit

Country Status (1)

Country Link
SU (1) SU1679626A1 (en)

Similar Documents

Publication Publication Date Title
SU1679626A1 (en) Counting unit
SU1650090A1 (en) Device for psychologic studies
SU1640822A1 (en) Frequency-to-code converter
SU1633489A1 (en) Counter with arbitrary odd scale
SU993460A1 (en) Scaling device
SU1599858A1 (en) Device for cyclic interrogation of initiative signals
SU1106013A1 (en) Analog-to-digital converter
SU1104495A2 (en) Input-output controller
SU1679625A1 (en) Counting unit
SU921094A1 (en) Decimal counter
SU1280603A1 (en) Information input device
SU799120A1 (en) Pulse shaping and delaying device
SU1656548A1 (en) Data output device
SU1374414A1 (en) Variable-frequency pulser
SU1758844A1 (en) Former of pulse sequence
SU951718A1 (en) Device for counting number of pulses
SU1142829A1 (en) Device for sorting numbers
SU930751A1 (en) Pulse train discriminating device
SU1193658A1 (en) Device for comparing binary numbers
SU447711A1 (en) Device for decoding a pulse code
SU1531215A1 (en) Pulse counter in maximum fibonacci codes
SU1088109A1 (en) Pulse-repetition-period discriminator
SU1368853A1 (en) Device for measuring time intervals
SU1580542A1 (en) Pulse shaper
SU1091351A1 (en) Pulse frequency divider having adjustable pulse duration