SU809258A1 - Pulse counting device - Google Patents

Pulse counting device Download PDF

Info

Publication number
SU809258A1
SU809258A1 SU792765350A SU2765350A SU809258A1 SU 809258 A1 SU809258 A1 SU 809258A1 SU 792765350 A SU792765350 A SU 792765350A SU 2765350 A SU2765350 A SU 2765350A SU 809258 A1 SU809258 A1 SU 809258A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
pulse
register
elements
Prior art date
Application number
SU792765350A
Other languages
Russian (ru)
Inventor
Владимир Леонидович Баранов
Original Assignee
Ордена Ленина Институт Кибернетикиан Украинской Ccp
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 Ордена Ленина Институт Кибернетикиан Украинской Ccp filed Critical Ордена Ленина Институт Кибернетикиан Украинской Ccp
Priority to SU792765350A priority Critical patent/SU809258A1/en
Application granted granted Critical
Publication of SU809258A1 publication Critical patent/SU809258A1/en

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Description

(54) УСТРОЙСТВО ДЛЯ СЧЕТА ИМПУЛЬСОВ(54) DEVICE FOR PULSE ACCOUNT

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в различных област х техники и про1ЛЛ11ленности дл  раздельной регистрации входных воздействий любой физической природы , поступающих одновременно по нес кольким параллельным каналам, например дл  раздельной регистрации количества производимой продукции различных типов и т.п. Известен счетчик импульсов, содержащий N+1 параллельных регистров и коммутатор каналов, где N - количество входных каналов 1. Недостаток этого многоканального счетчика импульсов заключаетс  в росте аппаратурных затрат пропорционально произведению количества вхо ных каналов на количество разр дов регистров, что привалит к существен ным аппаратурным затратам. Наиболее близким к предлагаемому  вл етс  устройство дл  счета импульсов , содержащее регистр, блок синхронизации, триггер, элементы задержки, логические элементы И, ИЛ НЕ, причем входные шины каждого канала подключены к первым входам соответственно группы элементов выходы которых подключены к первым входам группы элементов ИЛИ соответственно , блок синхронизации подключен первым каходом к первому входу первого элемента И и вторым выходом - ко вторым входам группы элементов И, триггер подключен нулевым выходом к первому входу второго элемента И и единичным входом - к выходу первого элемента И, второй вход которюго соединен с выходом первого элемента группы элементов ИЛИ 12 , Недостаток известного устройства - относительна  сложность его реализации. Цель изобретени  - упрощение устройства. Поставленна  цель достигаетс  тем, что в устройство дл  счета импульсов , содержащее регистр, блок синхронизации, выходы которого подключены к первому входу первого элемента И и к первым входам группы элементов И, вторые входы которой  вл ютс  входами устройства, выходы первой группы элементов И соединены с соответствующим входом группы элементов ИЛИ, выход первого элемента ИЛИ группы элементовThe invention relates to automation and computer technology and can be used in various technical and engineering fields to separately register input influences of any physical nature that arrive simultaneously through several parallel channels, for example for separately registering the amount of products of various types, etc. A pulse counter is known that contains N + 1 parallel registers and a channel switch, where N is the number of input channels 1. The disadvantage of this multichannel pulse counter is the increase in hardware costs in proportion to the number of injected channels and the number of register bits, which leads to significant hardware costs. The closest to the proposed device is a pulse counting device containing a register, a synchronization unit, a trigger, delay elements, AND, IL logic elements, the input buses of each channel being connected to the first inputs of a group of elements whose outputs are connected to the first inputs of a group of elements OR accordingly, the synchronization unit is connected by the first way to the first input of the first element I and the second output to the second inputs of the group of elements I, the trigger is connected by the zero output to the first input the second AND gate and a single input - to the output of the first AND gate, a second input connected to the output kotoryugo first member or group of elements 12, drawback of the known device - the relative complexity of its implementation. The purpose of the invention is to simplify the device. The goal is achieved by the fact that, in a pulse counting device, a register, a synchronization unit, the outputs of which are connected to the first input of the first element AND, and to the first inputs of the group of elements AND, the second inputs of which are inputs of the device, the outputs of the first group of elements AND are connected to the corresponding input of the group of elements OR, the output of the first element OR of the group of elements

или подключен ко второму входу первого элемента И,, выход которого соединен с единичным входом тригге™ ра, нулевой выход которого подключен к первому входу второго элемента И и элементы ИЛИ, НЕ и задеркки, введена группа элементов задержки, выходы регистра подключены соответственно к первому входу элемента ИЛИ и к нулевому входу триггера, единичный выход которого через первый элемент задержки соединен со вторым входог. элемента ИЛИ; выкод которого подключен ко второму входу второго элемента И, выход которого соединен со входом регистра, выходы всех последующих элементов ИЛИ группы элементов ИЛИ, кроме первого, через соответствующий элемент задержки подключен ко второзд- входу предыдущего элемента ИЛИ группы элементов ИЛИ, выход первого элемента ИЛИ группы элементов ИЛИ соединен с первым входом третьего элемента И, второй вход которого подключен к выходу элемента НЕ, вход которого соединен с выходом синхронизатора, выход третьего элеме5-1Тс1 И подключен ко второму входу последнего элемента ИЛИ гр у п гы э л емен тон ИЛИ or connected to the second input of the first element I, the output of which is connected to a single trigger input, the zero output of which is connected to the first input of the second element AND and OR, NOT and decelerating elements, a group of delay elements is entered, the register outputs are connected respectively to the first input element OR to the zero input of the trigger, a single output of which through the first delay element is connected to the second input. an OR element; the code of which is connected to the second input of the second element AND, the output of which is connected to the register input, the outputs of all subsequent OR elements of the OR group, except the first, through the corresponding delay element connected to the secondary input of the previous OR element of the OR element group, the output of the first OR element elements OR connected to the first input of the third element AND, the second input of which is connected to the output of the element NOT, the input of which is connected to the output of the synchronizer, the output of the third element 5-1Tc1 AND connected to the second the input of the last element or g y n e l gee Yemen tone or

На чертенке приведена структурна  схема устройства дл  счета импульсов ,The imp is a block diagram of a device for counting pulses

Устройство содержит рехистр 1, блок 2 синхронизал:;ии (, триггер 3, элемент 4 за,держки,- группу элементов 5 задержки, группу- элементов И б, группу элементов ИЛИ 7, элементы И 8-10, элемент ИЛИ 11, элемент НЕ 12 и входньзе шнны 13,The device contains a registrar 1, block 2 synchronized:; and (trigger 3, element 4 for, holder, - group of delay elements 5, group-elements AND b, group of elements OR 7, elements AND 8-10, element OR 11, element NOT 12 and entry 13,

Регистр 1 подключен инверсным выходом к нулевом у входу триггера 3, единичный выход которого подключен к входу элемента 4 задержки. Блок 2 синхронизации подключен первым выходом к первому входу первого элемента И 8 , второй вход которого соединен с выходом первого элемента групп элементов ИЛИ 7 и первым входом третьего элемента И 10. Триггер 3 подключен единичным входом первого элемента И 8 и нулевым выходом к первому входу второго элемента И 9,. выход которого соединен с входом регистра 1 . Пр мой выход регистра подключен к первому входу элемента ИЛИ 11, выход которого соединен со вторым входом второго элемента И 9, Выход элемента 4 задержки подключен ко второ ду входу элемента ИЛИ 11, Выход соответствующего элемента группы элементов И 6 подключен к первому входу соответствующего элемента группы элементов ИЛИ 7. Выход соответствующего элег тента группы элементов ИЛИ 7 канала соединен через элемент 5 задержки со вторым входом элемента группы ИЛИ 7 .последующего канала. Третий элементRegister 1 is connected by an inverted output to the zero input of trigger 3, whose single output is connected to the input of delay element 4. The synchronization unit 2 is connected by the first output to the first input of the first element AND 8, the second input of which is connected to the output of the first element of the groups of elements OR 7 and the first input of the third element AND 10. The trigger 3 is connected by the single input of the first element AND 8 and zero output to the first input of the second element and 9 ,. the output of which is connected to the input of the register 1. The direct register output is connected to the first input of the OR element 11, the output of which is connected to the second input of the second element AND 9, the output of delay element 4 is connected to the second input of the element OR 11, the output of the corresponding element of the group of elements 6 is connected to the first input of the corresponding element of the group OR elements 7. The output of the corresponding elegance of the group of OR 7 channel elements is connected through delay element 5 to the second input of the OR 7 element element of the next channel. Third element

и 10 подключен ко второму входу последнего элемента группы элементов ИЛИ 7 и вторым входом - к выходу элемента НЕ 12, выход которого соединен с первым выходом блока 2 синхронизации . Выходные шины 13 каждого канала подключены к первым входам группы элементов И б соответственно, вторые входы которых соединены со вторым выходом блока 2 синхронизацииand 10 is connected to the second input of the last element of the group of elements OR 7 and the second input to the output of the element NO 12, the output of which is connected to the first output of the synchronization unit 2. The output bus 13 of each channel is connected to the first inputs of the group of elements And b, respectively, the second inputs of which are connected to the second output of the synchronization unit 2

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

I В исходном состо нии регистр 1 очищен, а триггер 3 находитс  в нулевом , состо нии, в которое его устанавливает единичный сигнал инверсного выхода регистра 1.I In the initial state, register 1 is cleared, and trigger 3 is in zero, the state in which it is set by a single signal of the inverse output of register 1.

Блок 2 синхронизации вырабатывает по первому выходу синхронизации импульсы с частотойThe synchronization unit 2 produces pulses with a frequency at the first synchronization output

.(1) .(one)

где f - частота тактовых сигналов,where f is the frequency of the clock signals,

К - определ етс  ма симальным числом 2 регистрируемых импульсов по одному каналу, а по второму выходу - импульсы опроса с частотойK - is determined by the maximum number of 2 recorded pulses on one channel, and on the second output - polling pulses with frequency

F,f F, f

;2); 2)

2К2K

где К - количество входных каналов.where K is the number of input channels.

Регистр 1 выполн ет функцию задержки импульсных сигналов на врем Register 1 performs the function of delaying the pulse signals for a time

- Е-К- f - Е-К- f

ц- F fЧt-F fH

и имеет возможность хранить динамическим способом К двоичных кодов по п разр дов в каждом.and has the ability to store dynamically K binary codes in n bits each.

В исходном состо нии второй элемент И 9 открыт по первому входу единичным сигналом нулевого выхода триггера 3, а на втором входе элемента ИЛИ 11 через элемент 4 задержки действует нулевой сигнал единичного выхода триггера 3. Таким образом , цепь циркул ции последовательных двоичных кодов с пр мого выхода регистра 1 на его.-,вход замкнута. Исходное состо ние устройства сохран етс  до поступлени  по входным шинам 13 последовательностей импульсовIn the initial state, the second element AND 9 is open at the first input by a single signal of the zero output of trigger 3, and at the second input of the element OR 11, through the delay element 4, a zero signal of the single output of trigger 3 acts. Thus, the circuit of serial binary codes from the forward the output of register 1 on its .-, the input is closed. The initial state of the device is maintained until 13 pulse sequences are received through the input buses.

Claims (1)

Предположим, что в момент действи  импульса опроса, поступаклцего со второго выхода блока 2 синхронизации на вторые входы всех элементов И 6, на все входные шины 13 поступают счетные импульсы. В этом случае срабатывают все элементы И б, с выхода KOTOptJx импульсные сигналы поступают на первые входы элементов ИЛИ.7. Счетный импульс первого канала с выхода первого элемента ИЛИ 7 поступает на второй вход первого элемента И 8 и первый вход третьего элемента И 10. В это врем  на первом выходе блока 2 синхронизации действует синхронизирующий импульс, который поступает на первый вход первого элемента И 8, открыва  его, и через элемент НЕ 12 закрывает по второму входу третий элемент И 10. Таким образом, счетный импульс первого канала проходит на выход первого элемента И 8, устанавлива  триггер 3 в единичное состо ние, а на выход третьего элемента И 10 не поступает. Установка триггера 3 в единичное состо ние приводит к запиранию второго элемента И 9 по первому входу и к действию единичного сигнала единичного выхода три гера 3 на втором входе элемента ИЛИ 11, спуст  врем  задержки элементом 4, которое равно длительности импульса . Триггер 3 возвращает в нулевое состо ние единичный сигнал инверсного выхода регистра 1 в момент считывани  нулевого кода младшего разр да двоичного кода первого кана ла. Возврат триггера 3 в единичное состо ние приводит к формированию на выходе второго элемента И 9 импу сного сигнала, так как по первому входу он открываетс  единичным сигналом нулевого выхода триггера 3, а на втором входе второго элемента 9 на врем  длительности импульса эл ментом задержки 4 через элемент ИЛИ 11 поддерживаетс  единичный сигнал предыдущего единичного состо ни  тр гера. Импульсный сигнал с выхода второго элемента И 9 записываетс  в регистр 1 по месту первого разр да двоичного кода первого канала, остальные (нулевые) разр ды которого переписываютс  без изменени  с пр мого выхода регистра 1 на его вход через элементы ИЛИ 11 и И 9. В это врем  счетные импульсы вто рого и всех последующих каналов цир кулируют в регистре, образованном последовательным соединением элемен тов задержки 5 на один период такто вой частоты и элементов ИЛИ 7; Цепь циркул ции этого регистра закыкаетс  через третий элемент И 10, который открыт по второму входу элемент НЕ,. 12 ввиду отсутстви  синхронизиру щих импульсов на первом выходе блока 2 синхронизации. Параметры многоканального счетчи ка импульсов выбираютс  такими,чтобы выполн лось соотношение ,(4) где п - количество разр дов двоично го кода одного канала, К - количество входных каналов. Соотношение (4) обеспечивает задержку импульсного сигнала в цепи циркул ции регистра, образованного последовательным соединением элемен тов задержки 5, элементов ИЛИ 7 и третьего элемента И 10, на врем  Та -9Соотношение (5) обеспечивает сов ,падение на входах первого элемента И 8 счетного импульса второго канала с синхрониэирукадим импульсом, действующим на первом выходе блока 2 синхронизации с частотой f/n,K моменту считывани  с выхода регистра 1 младшего разр да п-разр дного двоичного кода второго канала. Таким образом, триггер 3 установитс  в единичное состо ние счетным сигналом второго канала к моменту считывани  с выхода регистра 1 младшего разр да двоичного кода второго канала. Счетный сигнал второго канала стираетс . В результате запирани  третьего элемента И 10 по второму входу синхронизирующим сигналом первого выхода блока 2 синхронизации, действующим через элемент НЕ 12. Суммирование счетного импульса второго канала с двоичным кодом второго канала регистра 1 выполн етс  таким же образом, как суммирование счетного импульса первого канала, благодар  формированию на выходе второго элемента И 9 импульсного сигнала по месту первого, начина  с младшего разр да, нулевого кода,который в виде импульсного сигнала на инверсном выходе регистра 1 возвращает триггер 3 в нулевое состо ние. Причем, при единичном состо нии триггера второй элемент И 9 закрыт, что обеспечивает стирание всех единиц до первого нулевого кода. CyNiMHpOBaHHe счетных импульсов остальных каналов с соответствующиьш двоичными кодами регистра 1 выполн етс  аналогичным образом. К моменту времени действи  следующего импульса опроса на втором выходе блока 2 синхронизации все К двоичных кодов в регистре 1 увеличиваетс  на единицу, а регистр, образованный последовательным соединением элементов 5 задержки, элементов ИЛИ 7 и третьего элемента И 10, бует очищен от счетных импульсов пре-. дъадущего опроса входных шин 13. В дальнейшем устройство работает аналогичным образом. Технико-экономические преимущества предлагаемого многоканального счетчика импульсов заключаетс  з простоте реализации. Формула изобретени  Устройство дл  счета импульсов, одержащее регистр, блок синхрониации , выходы которого подключены первому входу первого элемента И к первым входам группы элементов , вторые входы которой-  вл ютс  ходами устройства, выходы первой руппы элементов И соединены с соотетствующим входом группы элементовSuppose that at the time of the interrogation pulse, received from the second output of the synchronization unit 2, the counting pulses are sent to all input buses 13 on the second inputs of all And 6 elements. In this case, all the elements AND b are triggered, from the output of KOTOptJx the pulse signals are sent to the first inputs of the elements OR.7. The counting pulse of the first channel from the output of the first element OR 7 is fed to the second input of the first element AND 8 and the first input of the third element AND 10. At this time, the first output of the synchronization unit 2 has a synchronizing pulse that arrives at the first input of the first element And 8, opening it, and through the element NOT 12 closes the third element AND 10 through the second input. Thus, the counting pulse of the first channel passes to the output of the first element And 8, sets the trigger 3 into one state, and does not arrive at the output of the third element And 10. Setting the flip-flop 3 to the single state causes the second element 9 to lock on the first input and triggers 3 on the second input of the OR 11 element, after the delay time of element 4, which is equal to the pulse duration. The trigger 3 returns to the zero state a single signal of the inverse output of register 1 at the moment of reading the zero code of the low-order bit of the binary code of the first channel. Returning the flip-flop 3 to a single state leads to the formation at the output of the second element I 9 of an impulse signal, since at the first input it opens with a single signal the zero output of flip-flop 3, and at the second input of the second element 9 for the duration of the pulse by the delay element 4 after the element OR 11 is supported by a single signal of the previous single state of the tracker. The pulse signal from the output of the second element And 9 is written into register 1 at the place of the first bit of the binary code of the first channel, the remaining (zero) bits of which are written without changing from the direct output of register 1 to its input through the elements OR 11 and AND 9. this time, the counting pulses of the second and all subsequent channels are circulated in a register formed by the series connection of the delay elements 5 for one cycle of the frequency and the elements of OR 7; The circulation circuit of this register is terminated through the third element AND 10, which is open at the second input element NOT ,. 12 due to the absence of synchronizing pulses at the first output of the synchronization unit 2. The parameters of the multichannel pulse counter are chosen such that the relation is satisfied, (4) where n is the number of bits of the binary code of one channel, K is the number of input channels. The relation (4) provides for the delay of the pulse signal in the register circulation circuit formed by the series connection of the delay elements 5, the elements OR 7 and the third element AND 10 for a time Ta -9 Ratio (5) ensures the drop at the inputs of the first element And 8 of the counting pulse of the second channel with synchronization of the pulse acting on the first output of the synchronization unit 2 with the frequency f / n, K the moment of reading from the output of the register 1 low-order n-bit binary code of the second channel. Thus, the trigger 3 will be set to the single state by the counting signal of the second channel by the moment of reading from the register 1 output of the lower bit of the binary code of the second channel. The counting signal of the second channel is erased. As a result, the third element 10 is locked by the second input by the synchronization signal of the first output of the synchronization unit 2 acting through the element NO 12. The summation of the counting pulse of the second channel with the binary code of the second channel of register 1 is performed in the same way as the summation of the counting pulse of the first channel, thanks to the formation at the output of the second element And 9 of the pulse signal at the place of the first, starting with the low-order bit, zero code, which in the form of a pulse signal at the inverse output of register 1 returns t rigger 3 to zero state. Moreover, with a single state of the trigger, the second element And 9 is closed, which ensures that all units are erased to the first zero code. CyNiMHpOBaHHe of the counting pulses of the other channels with the corresponding binary codes of register 1 is performed in a similar way. By the time of the next polling pulse on the second output of synchronization unit 2, all K binary codes in register 1 are increased by one, and the register formed by the series connection of delay elements 5, OR elements 7 and the third element AND 10, is cleared from counting pulses . The next polling of the input tires 13. Subsequently, the device operates in a similar way. The technical and economic advantages of the proposed multi-channel pulse counter consist of ease of implementation. The invention of the device for counting pulses, register-keeping, synchronization unit, the outputs of which are connected to the first input of the first element and to the first inputs of a group of elements, the second inputs of which are device strokes, the outputs of the first group of elements And are connected to the corresponding input of the group of elements
SU792765350A 1979-05-14 1979-05-14 Pulse counting device SU809258A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU792765350A SU809258A1 (en) 1979-05-14 1979-05-14 Pulse counting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU792765350A SU809258A1 (en) 1979-05-14 1979-05-14 Pulse counting device

Publications (1)

Publication Number Publication Date
SU809258A1 true SU809258A1 (en) 1981-02-28

Family

ID=20827366

Family Applications (1)

Application Number Title Priority Date Filing Date
SU792765350A SU809258A1 (en) 1979-05-14 1979-05-14 Pulse counting device

Country Status (1)

Country Link
SU (1) SU809258A1 (en)

Similar Documents

Publication Publication Date Title
GB1053189A (en)
SU1356251A1 (en) Device for separating cycle synchronization signal
RU1786675C (en) Device for cycle synchronization
SU1509957A1 (en) Device for selecting indicators of object images
SU1160563A1 (en) Device for counting pulses
SU1270764A1 (en) Device for determining sample median
SU1631509A1 (en) Multicycle recirculating time-to-number converter
SU1425825A1 (en) Variable countrown rate frequency divider
SU1468251A1 (en) Converter of time intervals to digital code
SU1277387A2 (en) Pulse repetition frequency divider
SU1129723A1 (en) Device for forming pulse sequences
SU1085005A2 (en) Cyclic synchronization device
RU2061U1 (en) MANAGER OF CONTROL CODE SEQUENCES
SU1721809A1 (en) Voltage rectangular pulse-train converter
SU1695389A1 (en) Device for shifting pulses
SU1124437A1 (en) Device for phasing electronic telegraph receiver
SU790231A1 (en) Pulse train monitoring device
SU684710A1 (en) Phase-pulse converter
SU463234A1 (en) Device for dividing cycle time into fractional number of intervals
SU1665526A1 (en) Digital data receiving device
SU1550503A1 (en) Device for shaping clock signals
SU1594701A1 (en) Manchester code decoder
SU822178A1 (en) Binary number comparator
SU1174919A1 (en) Device for comparing numbers
SU1003319A1 (en) Device for synchronizing pulses