SU1150760A1 - Device for counting number of pulses - Google Patents

Device for counting number of pulses Download PDF

Info

Publication number
SU1150760A1
SU1150760A1 SU833653666A SU3653666A SU1150760A1 SU 1150760 A1 SU1150760 A1 SU 1150760A1 SU 833653666 A SU833653666 A SU 833653666A SU 3653666 A SU3653666 A SU 3653666A SU 1150760 A1 SU1150760 A1 SU 1150760A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
bus
counter
Prior art date
Application number
SU833653666A
Other languages
Russian (ru)
Inventor
Евгений Ярославович Ваврук
Анатолий Николаевич Елагин
Вера Евгеньевна Тимофеенко
Александр Альдонович Филимонов
Original Assignee
Предприятие П/Я В-8751
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 Предприятие П/Я В-8751 filed Critical Предприятие П/Я В-8751
Priority to SU833653666A priority Critical patent/SU1150760A1/en
Application granted granted Critical
Publication of SU1150760A1 publication Critical patent/SU1150760A1/en

Links

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

УСТРОЙСТВО ДЛЯ ПОДСЧЕТА ЧИСЛА ИМПУЛЬСОВ, содержащее входную шину, генератор импульсов, первый триггер, первый и второй счетчики, блок сравнени  кодов, первый элемент И, первый элемент ИЛИ, блок установки , выход которого соединен с первым входом первого элемента ИЛИ и входом сброса первого счетчика, счетный вход которого соединен с входной шиной, а выходы - с первой группой входов блока сравнени  кодов, выход которого соединен с вторым входом первого э емента ШШ, а втора  группа входов - с выходами второго счетчика , вход, сброса которого соединен с выходом первого элемента ИЛИ, выход генератора импульсов соединен с первым входом первого элемента И, второй вход которого подключен к пр мому выходу первого триггера, а выход соединен с выходной шиной устройства , отличающеес  тем, что, с целью повьш1ени  надежности .работы устройства, в него введены второй и третий триггеры, второй элемент И, второй элемент ИЛИ и элемент НЕ, вход которого подключен к выходу первого элемента И, а выход соединен со счетным входом второго счетчика и тактовым входом третьего триггера, вход установки в ноль которого соединен с первыми входами пер (Л вого и второго элементов ИЛИ, а выход подключен к первому второс: го элемента, второй вход которого соединен с выходом первого элемента ИЛИ, а выход - со вторым входом второго элемента ИЛИ, выход которого соединен с входом установки в единицу второго триггера, информационный ел о J вход которого соединен с общей шиной, тактовый вход подключен к входной ь шине, а выход соединен с входом установки в ноль первого триггера, тактовый вход которого соединен с выходом генератора импульсов.A device for counting the number of impulses containing the input bus, pulse generator, the first trigger, the first and second counters, the code comparison unit, the first element AND, the first element OR, the installation unit, the output of which is connected to the first input of the first element OR and the reset input of the first counter The counting input of which is connected to the input bus, and the outputs are connected to the first group of inputs of the comparison unit, the output of which is connected to the second input of the first SH) element, and the second group of inputs to the outputs of the second counter, the input that is reset It is connected to the output of the first element OR, the output of the pulse generator is connected to the first input of the first element I, the second input of which is connected to the forward output of the first trigger and the output is connected to the output bus of the device, characterized in that, in order to increase the reliability of the device , the second and third triggers are entered into it, the second element is AND, the second element is OR, and the element is NOT, whose input is connected to the output of the first element AND, and the output is connected to the counting input of the second counter and the clock input of the third trigger, input set to zero which is connected to the first inputs of the first and second OR elements, and the output is connected to the first second element, the second input of which is connected to the output of the first OR element, and the output is connected to the second input of the second OR element, the output of which is with the installation input in the unit of the second trigger, informational about J whose input is connected to the common bus, the clock input is connected to the input bus, and the output is connected to the installation input to zero of the first trigger, the clock input of which is connected to the output of the imp generator lsov.

Description

Изобретение относитсч к импульсной технике и может быть использовано в системах автоматического конт рол  и в измерительных приборах. Известно устройство дл  подсчета числа импульсов, содержащее две вход ные шины, генератор импульсов, триг гер, два счетчика, блок сравнени , два элемента И, блок установки .1 , Недостатком этого устройства  вл етс  неточность подсчета, св занна  с тем, что количество импульсов на его выходе всегда на единицу бол ше, чем содержимое первого счетчика Наиболее близким по технической сущности к предлагаемому  вл етс  устройство дл  подсчета числа импуль сов, содержащее входную шину, генератор импульсов, первьй триггер, первый и второй счетчики, блок сравнени  кодов, первый элемент И, первый элемент ИЛИ, блок установки, выход которого соединен с первым входом первого элемента ИЛИ и входом сброса первого счетчика, счетный вход которого соединен с входной шиной , а выходы - с первой группой входов блока сра1знени  кодов, выход которого соединен с вторьпч входом первого элемента ИЛИ, а втора  группа входов - с выходами второго счетчика , вход сброса которого соединен с выходом первого элемента ИЛИ, выход генератора импульсов соединен с первым входом первого элемента И, второй вход которого подключен к пр мому выходу первого триггера, а вькод соединен с выходной шиной устройства Сз. Недостатками известного устройства  вл ютс  возможность искажени  первого импульса на выходной шине, вследствие асинхронного поступлени  импульсов с выхода генератора импуль сов и импульсов по входной шине, укороченна  длительность последнего импульса на входной шине, котора  определ етс  временем срабатывани  счетчика, блока сравнени , элемента ИЛИ и триггера, а также ограничение на длительность входного импульса , котора  не должна превьш1ать половины периода следовани  импульсов с выхода генератора импульсов, так как в противном случае при регистрации первого входного импульса на выход устройства .ройдет более одного импульса. Цель изобретени  - повьпиение надежности работы устройства. Поставленна  цель достигаетс  тем, что в устройство дл  подсчета числа импульсов, содержащее входную шину, генератор импульсов, первый триггер, первый и второй счетчики, блок сравнени  кодов, первый элемент И, первьй элемент ИЛИ, блок установки , выход которого соединен с первым входом первого элемента ИЛИ и входом сброса первого счетчика, счетный вход которого соединен с входной шиной, а выходы - с первой группой входов блока сравневш  кодов, выход которого соединен с вторым входом первого элемента ИЛИ, а втора  группа входов - с выходами второго счетчика , вход сброса которого соединен с выходом первого элемента ИЛИ; выход генератора импульсов соединен с первым входом первого элемента И, второй вход которого подключен к пр мо.му выходу первого триггера, а выход соединен с выходной шиной устройства, введены второй и третий триггеры, второй элемент И, второй элемент ИЛИ и элемент НЕ, вход которого подключен к пыхбду первого элемента И, а выход соединен со счетным входом второго счетчика и тактовым входом третьего триггера, вход установки в ноль которого соединен с первыми входами первого и второго элементов ИЛИ, а выход подключен к первому входу второго элемента И, второй вход которого соединен с выходом первого элемента ИЛИ, а выход - со вторым входом второго элемента ИЛИ, выход которого соединен с входом установки в единицу второго триггера, информационньй вход которого соединен с общей шиной, тактовый вход подключен к входной шине, а выход соединен с входом установки в ноль первого триггера, тактовый вход которого соединен с выходом генератора импульсов. На фиг. 1 приведена функциональна  схема устройства; на фиг. 2 - временна  диаграмма его работы. Устройство содержит входную шину 1, первый 2 и второй 3 счетчики , блок 4 сравнени  кодов, блок 5 установки , первый элемент ИЛИ 6, первый элемент И 7, первьй триггер 8, генератор 9 импульсов, второй 10 и третий 11 триггеры, второй элемент И 12, второй элемент ИЛИ 13, элемент НЕ 14, выходную шину 15. Устройство работает следующим об разом. В исходном состо нии, после пода чи с блока 5 установки положительно го импульса установки (фиг. 2а) сче чики 2 и 3, а также третий триггер 11 сбрасываютс  в ноль, второй триг гер 10 устанавливаетс  в единичное состо ние (фиг. 2д) и своим выходом удерживает первый триггер 8 в нулевом состо нии (фиг.2е). Так как на выходах счетчиков 2 и 3 присутствую одинаковые нулевые коды, то на выхо де блока 4 сравнени  кодов по вл ет пбложительный потештиал (фиг. 2и), который вызывает по вление положительного потенциала на выходе перво го элемента ИЛИ 6, который подтверждает нулевое состо ние второго счетчика 3. В то же врем , поскольку третий триггер 11 находитс  в нулевом состо нии (фиг. 26), то положительный потенциал с выхода первого элемента ИЛИ 6 через второй элемент И 12 не проходит и на его выходе присутствует нулевой потенциал (фиг. 2 к), который поступает через второй элемент ИЛИ 13 на вход установки в единицу второго тригге1ра 10 и не блокирует его. При поступлении первого положительного импульса по входной шине 1 устройства (фиг. 2в), по его переднему фронту счетчик 2 измен ет свое состо ние. На выходе блока 4 по вл  етс  нулевой потенциал, который череэ первый элемент ИЛИ 6 снимает сигнал обнулени  второго счетчика 3 ( фиг. 2и). Одновременно по переднему фронту входного импульса второй триггер 10 устанавливаетс  в нулевое состо ние (фиг. 2д), тем самым снима  блокировку по установо ному входу с первого триггера 8. Генератор 9 импульсов формирует импульсы с периодом следовани  Т (фиг. 2г), по переднему фронту ближайшего из которых после сн ти  сигнала обнулени  первого триггера 8последний устанавливаетс  в единичное состо ние (фиг. 2е). Положительный потенциал с выхода первого триггера 8 открывает первьй элемент И 7 и на его выход проходит положительный импульс с выхода генератора 9импульсов, этот импульс поступает на выходную 15 шину устройства (фиг. 2ж) и через элемент НЕ 14 - н тактовый вход третьего триггера 11, своим задним фронтом перевод  его в единичное состо ние. Положительнаый потенциал с выхода триггера 11 (фиг. 26) открывает второй элемент И 12, подготавлива  тем самым цепь установки в единичное состо ние второго триггера 10. Кроме того, изменение потенциала с высокого уровн  на низкий на выходе элемента НЕ 14 измен ет состо ние второго счетчика на единицу и счетчики 2 и 3 оказываютс  в одинаковом состо нии, что приводит к по влению на выходе блока 4 сравнени  положительного потенциала (фиг. 2и), который через первый элемент ИЛИ 6 сбрасывает счетчик 3 в нулевое состо ние, и через открытый второй элемент И 12 (фиг. 2к) и второй элемент ИЛИ 13 устанавливает второй триггер 10 в единичное состо ние (фиг. 2д), первый триггер 8 переводитс  в нулевое состо ние (фиг. 2е), первый элемент И 7 закрываетс , запреща  прохождение на выходную 15 шину устройства импульсов с генератора 9 импульсов. При сбросе второго счетчика 3 в нулевое состо ние на выходе блока 4 сравнени  восстанавливаетс  нулевой потенциал (фиг. 2и). При поступлении второго импульса по входной 1 шине устройства на счетный вход первого 2 счетчика его содержимое увеличиваетс  еще на единицу и становитс  равным двум. При этом, аналогично вышеописанному, втррой триггер 10 устанавливаетс  в нулевое состо ние (фиг, 2д), первый триггер 8 устанавливаетс  в единичное состо ние (фиг. 2е) и импульсы с генератора 9 импульсов поступают на выходную 15 шину устройства. После поступлени  двух импульсов (фиг.2ж) осто ни  счетчиков 2 и 3 станов т  равными. Положительный импульс выхода блока 4 сравнени  (фиг. 2и) станавливает в нулевое состо ние торой счетчик 3, т.е. второй входной мпульс на шине 1 ..вызывает по вление а выходной 15 шине устройства вух импульсов. Далее счет моет продолжатьс  до заполнени  четчика 2, а затем счет повто ет .с . Технико-экономический эффект от спользовани  предлагаемого устройI1150760The invention relates to a pulse technique and can be used in automatic control systems and in measuring devices. A device for counting the number of pulses is known, which contains two input buses, a pulse generator, a trigger, two counters, a comparison unit, two AND elements, an installation block .1. The disadvantage of this device is the inaccuracy of the counting, because the number of pulses at its output is always one more than the contents of the first counter. The closest in technical essence to the proposed is a device for counting the number of pulses, containing an input bus, a pulse generator, the first trigger, the first and second counters, the code comparison unit, the first AND element, the first OR element, the installation unit, the output of which is connected to the first input of the first OR element and the reset input of the first counter, the counting input of which is connected to the input bus, and the outputs to the first group of inputs of the code comparison block, output which is connected to the second input of the first element OR, and the second group of inputs - to the outputs of the second counter, the reset input of which is connected to the output of the first element OR, the output of the pulse generator is connected to the first input of the first element AND, the second input cat The orogo is connected to the forward output of the first trigger, and the code is connected to the output bus of the Cz device. The disadvantages of the known device are the possibility of distortion of the first pulse on the output bus, due to the asynchronous arrival of pulses from the output of the pulse and pulse generator on the input bus, the shortened duration of the last pulse on the input bus, which is determined by the response time of the counter, comparator, element OR, and trigger as well as the limitation on the duration of the input pulse, which should not exceed half of the pulse duration period from the output of the pulse generator, since m the case of registration of the first input pulse to the output device .roydet more than one pulse. The purpose of the invention is to increase the reliability of the device. The goal is achieved in that the device for counting the number of pulses containing the input bus, pulse generator, first trigger, first and second counters, code comparison unit, first AND element, first OR element, installation unit, the output of which is connected to the first input of the first the OR element and the reset input of the first counter, the counting input of which is connected to the input bus, and the outputs - with the first group of inputs of the block with a comparison code, the output of which is connected to the second input of the first OR element, and the second group of inputs - with outputs the second counter, the reset input of which is connected to the output of the first element OR; the output of the pulse generator is connected to the first input of the first element And, the second input of which is connected to the direct output of the first trigger, and the output is connected to the output bus of the device, the second and third triggers, the second element AND, the second element OR and the element NOT, the input which is connected to pykhbda of the first element And, and the output is connected to the counting input of the second counter and the clock input of the third trigger, the input of which is set to zero is connected to the first inputs of the first and second elements OR, and the output is connected to the first input of the second about the element I, the second input of which is connected to the output of the first element OR, and the output to the second input of the second element OR, the output of which is connected to the installation input to the unit of the second trigger, whose information input is connected to the common bus, the clock input is connected to the input bus, and the output is connected to the installation input to zero of the first trigger, the clock input of which is connected to the output of the pulse generator. FIG. 1 shows a functional diagram of the device; in fig. 2 - time diagram of his work. The device contains an input bus 1, the first 2 and second 3 counters, block 4 comparison of codes, block 5 installation, the first element OR 6, the first element And 7, the first trigger 8, the generator 9 pulses, the second 10 and the third 11 triggers, the second element And 12, the second element OR 13, the element NOT 14, the output bus 15. The device operates as follows. In the initial state, after feeding from the installation unit 5, a positive installation pulse (Fig. 2a), the counters 2 and 3, as well as the third trigger 11 are reset to zero, the second trigger 10 is set to one (Fig. 2e) and its output keeps the first trigger 8 in the zero state (Fig. 2e). Since the identical zero codes are present at the outputs of counters 2 and 3, an adjective test (Fig. 2i) appears at the output of the code comparison block 4, which causes the appearance of a positive potential at the output of the first element OR 6, which confirms the zero state the second counter 3. At the same time, since the third trigger 11 is in the zero state (Fig. 26), the positive potential from the output of the first element OR 6 does not pass through the second element And 12 and there is a zero potential at its output (Fig 2 k), which act via a second OR gate 13 to a set input of the second unit trigge1ra 10 and does not block it. When the first positive impulse arrives at the input bus 1 of the device (Fig. 2c), along its leading edge, the counter 2 changes its state. At the output of block 4, a zero potential appears, which through the first element OR 6 removes the zero signal of the second counter 3 (Fig. 2i). At the same time, on the leading edge of the input pulse, the second trigger 10 is set to the zero state (Fig. 2e), thereby removing the lock on the set input from the first trigger 8. The pulse generator 9 generates pulses with a follow-up period T (Fig. 2d), along the front the closest front of which, after the zeroing signal of the first trigger 8 is removed, the last one is set to one (Fig. 2e). A positive potential from the output of the first trigger 8 opens the first element I 7 and a positive pulse from the generator output 9 pulses passes to its output, this pulse goes to the output 15 bus of the device (Fig. 2g) and through the element NOT 14 to the clock input of the third trigger 11, its back front translate it into a single state. The positive potential from the output of the trigger 11 (Fig. 26) opens the second element I 12, thereby preparing the installation circuit to the single state of the second trigger 10. In addition, a change in potential from a high level to a low at the output of the element 14 changes the state of the second a counter per unit and counters 2 and 3 turn out to be in the same state, which results in the appearance at the output of block 4 of the comparison of a positive potential (Fig. 2i), which, through the first element OR 6, resets counter 3 to the zero state, and through the open second element And 12 (Fig. 2k) and the second element OR 13 sets the second trigger 10 to the one state (Fig. 2e), the first trigger 8 is transferred to the zero state (Fig. 2e), the first And 7 element closes, prohibiting the passage to the output 15 bus device pulses from the generator 9 pulses. When the second counter 3 is reset to the zero state, the zero potential is restored at the output of the comparator unit 4 (Fig. 2i). When the second pulse arrives at the input 1 bus of the device at the counting input of the first 2 counter, its contents increase by one more and become equal to two. In this case, similarly to the above, the second trigger 10 is set to the zero state (FIG. 2d), the first trigger 8 is set to one state (FIG. 2e) and the pulses from the pulse generator 9 are sent to the output 15 bus of the device. After the arrival of two pulses (Fig. 2g), the counters 2 and 3 remain equal. The positive output pulse of the comparator unit 4 (Fig. 2i) sets the second counter to the zero state, i.e. The second input pulse on bus 1 .. causes the appearance of output pulses to the output bus 15 of the device. The score is then continued until the 2 is filled, and then the count is repeated. Technical and economic effect of the use of the proposed deviceI1150760

ства заключаетс  в повышении надеж- на своем выходе сигналы без искажени  ности его работы, так как предлага- и заданной длительности, определ емой емое устройство позвол ет формировать частотой генератора импульсов.The aim is to increase the reliability of its output signals without distorting its operation, since the proposed and predetermined duration determined by the device allows it to be generated by the frequency of the pulse generator.

46ходма  u/e/f/a46 u / e / f / a

/5/five

/4/four

/ быходнаи иеима/ bye yeim

Claims (1)

УСТРОЙСТВО ДЛЯ ПОДСЧЕТА ЧИСЛА ИМПУЛЬСОВ, содержащее входную шину, генератор импульсов, первый триггер, первый и второй счетчики, блок сравнения кодов, первый элемент И, первый элемент ИЛИ, блок установки, выход которого соединен с первым входом первого элемента ИЛИ и входом сброса первого счетчика, счетный вход которого соединен с входной шиной, а выходы - с первой группой входов блока сравнения кодов, выход которого соединен с вторым входом первого элемента ИЛИ, а вторая группа входов - с выходами второго счетчика, вход, сброса которого соединен с выходом первого элемента ИЛИ, вы ход генератора импульсов соединен с первым входом первого элемента И, второй вход которого подключен к прямому выходу первого триггера, а выход соединен с выходной шиной устройства, отличающее ся тем, что, с целью повышения надеж· ности работы устройства, в него введе ны второй и третий триггеры, второй элемент И, второй элемент ИЛИ и элемент НЕ, вход которого подключен к выходу первого элемента И, а выход соединен со счетным входом второго счетчика и тактовым входом третьего триггера, вход установки в ноль которого соединен с первыми входами первого и второго элементов ИЛИ, а выход подключен к первому вкоду второго элемента, второй вход которого соединен с выходом первого элемента ИЛИ, а выход - со вторым входом второго элемента ИЛИ, выход которого соединен с входом установки в единицу второго триггера, информационный вход которого соединен с общей шиной, тактовый вход подключен к входной шине, а выход соединен с входом установки в ноль первого триггера, тактовый вход которого соединен с выходом генератора импульсов.A device for counting the number of pulses containing an input bus, pulse generator, first trigger, first and second counters, a code comparison unit, a first AND element, a first OR element, an installation unit whose output is connected to the first input of the first OR element and the reset input of the first counter whose counting input is connected to the input bus, and the outputs are connected to the first group of inputs of the code comparison unit, the output of which is connected to the second input of the first OR element, and the second group of inputs is to the outputs of the second counter, the input of which is reset inen with the output of the first element OR, the output of the pulse generator is connected to the first input of the first element And, the second input of which is connected to the direct output of the first trigger, and the output is connected to the output bus of the device, characterized in that, in order to increase the reliability of operation device, the second and third triggers, the second AND element, the second OR element, and the NOT element, the input of which is connected to the output of the first AND element and the output is connected to the counting input of the second counter and the clock input of the third trigger, are entered into it whose zero is connected to the first inputs of the first and second OR elements, and the output is connected to the first input of the second element, the second input of which is connected to the output of the first OR element, and the output - to the second input of the second OR element, the output of which is connected to the unit input to unity the second trigger, the information input of which is connected to the common bus, the clock input is connected to the input bus, and the output is connected to the installation input to zero of the first trigger, the clock input of which is connected to the output of the pulse generator.
SU833653666A 1983-10-18 1983-10-18 Device for counting number of pulses SU1150760A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU833653666A SU1150760A1 (en) 1983-10-18 1983-10-18 Device for counting number of pulses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU833653666A SU1150760A1 (en) 1983-10-18 1983-10-18 Device for counting number of pulses

Publications (1)

Publication Number Publication Date
SU1150760A1 true SU1150760A1 (en) 1985-04-15

Family

ID=21085915

Family Applications (1)

Application Number Title Priority Date Filing Date
SU833653666A SU1150760A1 (en) 1983-10-18 1983-10-18 Device for counting number of pulses

Country Status (1)

Country Link
SU (1) SU1150760A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Казаринов JO.H. Расчет элементов импульсных и цифровых схем радиотехнических устройств. М., Высша школа, 1976, с. 333, рис. 11.10. 2. Авторское свидетельство СССР № 951718, кл. Н 03 К 23/24, 1980 (прототип). *

Similar Documents

Publication Publication Date Title
SU1150760A1 (en) Device for counting number of pulses
SU1679625A1 (en) Counting unit
SU1511853A1 (en) Converter of pulse train into square pulse
SU834848A1 (en) Pulse train generator
SU1522383A1 (en) Digital pulse generator
SU1758844A1 (en) Former of pulse sequence
SU1368853A1 (en) Device for measuring time intervals
SU947952A2 (en) Pulse duration discriminator
SU411628A1 (en)
SU395989A1 (en) Accumulating Binary Meter
SU1115225A1 (en) Code-to-time interval converter
SU961140A1 (en) Pulse recurrence rate to code integrating converter
SU1347182A1 (en) Self-monitoring computing device
SU447711A1 (en) Device for decoding a pulse code
SU894681A1 (en) Device for detecting pulse loss
SU1283976A1 (en) Number-to-pulse repetition period converter
SU1088109A1 (en) Pulse-repetition-period discriminator
SU1269122A1 (en) Device for comparing numbers
SU1434430A1 (en) Generator of uniformly distributed random numbers
SU1088107A1 (en) Digital frequency multiplier
SU970670A1 (en) Pulse duration discriminator
SU799120A1 (en) Pulse shaping and delaying device
SU953620A2 (en) Time interval meter
SU1056190A1 (en) Device for determining difference of two numbers
SU1760466A1 (en) Analyzer of voltage change sign