SU1163334A1 - Device for calculating ratio of time intervals - Google Patents
Device for calculating ratio of time intervals Download PDFInfo
- Publication number
- SU1163334A1 SU1163334A1 SU833639671A SU3639671A SU1163334A1 SU 1163334 A1 SU1163334 A1 SU 1163334A1 SU 833639671 A SU833639671 A SU 833639671A SU 3639671 A SU3639671 A SU 3639671A SU 1163334 A1 SU1163334 A1 SU 1163334A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- counter
- output
- inputs
- counting
- Prior art date
Links
- 230000000875 corresponding Effects 0.000 claims abstract description 7
- 238000009434 installation Methods 0.000 claims abstract description 7
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 1
Abstract
УСТРОЙСТВО ДЛЯ ШЧИСЛЕНИЯ ОТНОШЕНИЯ ВРЕМЕННЫХ ИНТЕРВАЛОВ,содержащее генератор импульсов, первый и второй счетчики, элемент ИЛИ, одновибратор, счетчик результата, первый и второй элементы И, первые входы которых подключены к выходу генератора импульсов, вторые входы элементов И соединены соответственно с первым и вторым информационными входами устройства, а выходы со счетными входами первого и второго счетчиков соответственно, о тличающеес тем, что, с целью упрощени устройства, в нем выходы разр дов первого счетчика, полненного вычитающим, подключены к входам соответствующих разр дов второго счетчика, выход переполнений которого подключен к первому входу элемента ИЛИ, второй вход которого соединен с первым информационным входом устройства и установочным входом второго счетчика, (Л выход элемента ИЛИ соединен с вхос дом одновибратора, выход которогр подключен к управл ющему входу записи второго счетчика и счетному входу счетчика результата. сь 00 со 00 4A DEVICE FOR CALCULATING THE RELATION OF TIME INTERVALS, containing a pulse generator, the first and second counters, the OR element, the one-shot, the result counter, the first and second And elements, the first inputs of which are connected to the output of the pulse generator, the second inputs of the And elements are connected respectively to the first and second information inputs of the device, and outputs with counting inputs of the first and second counters, respectively, differing in that, in order to simplify the device, there are outputs of bits of the first counter filled with the subtractors are connected to the inputs of the corresponding bits of the second counter, the output of overflows of which is connected to the first input of the OR element, the second input of which is connected to the first information input of the device and the installation input of the second counter, (L the output of the OR element is connected to the inlet of the single vibrator, the output of which is connected to the control input of the second counter and the counting input of the result counter. 00 from 00 4
Description
1 Изобретение относитс к автоматике и вычислительной технике и может быть использовано в информационно-измерительных системах дл построени специализированных вычислительных устройств с врем импульсной формой представлени информации Известно устройство дл вычислени временных интервалов, содержа- щее генератор импульсов, первый и , второй элементы И, первый и второй счетчики, линию задержки, элемент сравнени кодов и счетчик результат счетньй вход которого соединен с входом установки счетчика и с выходом элемента сравнени кодов, входы которого соединены с информационными выходами первого и второго счетчиков , счетные входы которых соединены соответственно с выходами первогр и второго элементов И, первые входы которых соединены с выходом генератора импульсов, второй вход первого элемента И соединен с первым информационным входом устройства, второй вход второго элемента И соединен через линию задержки с вторым информационным входом устройства .ij. Недостатком этого устройства вл етс необходимость временного сдви га импульса с длительностью, равной наибольшему интервалу, из-за чего увеличиваетс врем вычислений отношени временных интервалов. Наиболее близким по технической сущности к изобретению вл етс устройство дл вычислени отношени временных интервалов, содержащее генератор импульсов, счетчик результата , одновибратор, элемент сравнени кодов, элемент НЕ, элемент ИЛИ, первый и второй счетчики импульсов, первый и второй элементы И, первые входы которого соединены с выходом генератора импульсов, второй вход второго элемента И соединен с вторым информационным входом устройствл , второй вход первого элемента И соединен с первым информационным входом устройства, входом одновибратора и входом второго элемента И, выход котррого подключен к счетному входу второго счетчика, выход перво го элемента И подключен к счетному входу первого счетчика, входы элемента сравнени кодов подключены со ответйтвенно к выходам разр дов пер вого и второго счетчиков, выход схе 342 мы сравнени кодов подключен к входу установки второго счетчика и к первому входу элемента ИЛИ, второй вход которого подключен к выходу одновибратора , а выход элемента ИЛИ соединен со счетным входом счетчика результата С2. Недостатком известного устройства вл етс сложность схемы, обусловленна необходимостью использовани элемента сравнени кодов и элемента НЕ. Цель изобретени - упрощение устройства . . Поставленна цель достигаетс тем что в устройстве дл вычислени отношени временных интервалов, содержащем генератор импульсов, первый и второй счетчики, элемент ИЛИ, одновибратор, счетчик результата, первый и второй элементы И, первые входы которых подключены к выходу генератора импульсов, вторые входы - со счетньми входами первого и второго счетчиков cooтвeтcтвeннo выходы разр дов первого счетчика, вьшолнеиного вычитающим, подключены к входам соответствующих разр дов второго счетчика, выход переполнеНИИ которого подключен к первому входу элемента ИЛИ, второй вход которого соединен с первым информационным входом устройства и установочным входом второго счетчика, вы- i ход элемента ИЛИ соединен с входом одновибратора, выход которого подключен к управл ющему входу записи второго счетчика и счетному входу счетчика результата. На фиг. 1 показана структурна схема предлагаемого устройства; на фиг. 2 - временные диаграммы его работы. I Устройство содержит генератор 1 импульсов, выход которого подключен к первому входу первого элемента И 2, второй вход которого соединен с первым информационным входом устройства, а выход - со счетным входом первого счетчика 3 импульсов , выполненного вычитающим, второй элемент И 4, входы которого соединены с вькодом генераторе импульсов и вторым информационным входом устройства, а выход - со счетным входом второго счетчика 5 импуль-сов , входы разр дов которого соединены с информационными выходами раз31 The invention relates to automation and computer technology and can be used in information-measuring systems for building specialized computing devices with a time pulse form of information representation. A device for calculating time intervals, comprising a pulse generator, the first and second elements, And, the first and the second counters, the delay line, the code comparison element and the result counter, the counting input of which is connected to the counter installation input and to the output of the comparison element to odes, the inputs of which are connected to the information outputs of the first and second counters, the counting inputs of which are connected respectively to the outputs of the primary and second elements And, the first inputs of which are connected to the output of the pulse generator, the second input of the first element And connected to the first information input of the device, the second input of the second element I is connected via a delay line to the second information input of the device .ij. A disadvantage of this device is the need for a time shift of the pulse with a duration equal to the longest interval, which increases the computation time of the ratio of time intervals. The closest in technical essence to the invention is a device for calculating the ratio of time intervals, comprising a pulse generator, a result counter, a one-shot, a code comparison element, a NOT element, an OR element, first and second pulse counters, first and second AND elements, the first inputs of which connected to the output of the pulse generator, the second input of the second element And is connected to the second information input of the device, the second input of the first element And is connected to the first information input of the device, input The one-vibrator and the input of the second element are And, the output of which is connected to the counting input of the second counter, the output of the first element And is connected to the counting input of the first counter, the inputs of the comparison code element are connected with the output of the bits of the first and second counters, the output of the 342 circuit code comparison is connected to the installation input of the second counter and to the first input of the OR element, the second input of which is connected to the one-shot output, and the output of the OR element is connected to the counting input of the C2 result counter. A disadvantage of the known device is the complexity of the circuit, due to the need to use the element of comparison of codes and element NOT. The purpose of the invention is to simplify the device. . The goal is achieved by the fact that in the device for calculating the ratio of time intervals, containing the pulse generator, the first and second counters, the OR element, the one-shot, the result counter, the first and second AND elements, the first inputs of which are connected to the output of the pulse generator, the second inputs are countable. The inputs of the first and second counters correspond to the outputs of the bits of the first counter, the wavelength of the subtractor, connected to the inputs of the corresponding bits of the second counter, the output of which is connected to the first at the input of the OR element, the second input of which is connected to the first information input of the device and the installation input of the second counter, the output of the OR element is connected to the input of the one-vibrator, the output of which is connected to the control input of the second counter and the counting input of the result counter. FIG. 1 shows a block diagram of the proposed device; in fig. 2 - time diagrams of his work. I The device contains a pulse generator 1, the output of which is connected to the first input of the first element 2, the second input of which is connected to the first information input of the device, and the output to the counting input of the first counter of 3 pulses performed subtractive, the second element 4 of which inputs are connected with the pulse code generator and the second information input of the device, and the output with the counting input of the second counter 5 pulses, the bit inputs of which are connected to the information outputs 3
р дов первого счетчика, а выход переполнений - с первым входом элемента ИЛИ 6, второй вход которого соединен с первой входной шиной устройства и установочным входом (Р J второго счетчика, а выход - с входом одновибратора 7, выход которого подключен к. управл ющему входу второго счетчика и счетному входу счетчика 8 результата.the rows of the first counter, and the output of the overflows - with the first input of the element OR 6, the second input of which is connected to the first input bus of the device and the installation input (P J the second counter, and the output to the input of the one-vibrator 7, the output of which is connected to the control input the second counter and the counting input of the counter 8 result.
Устройство работает следук цим образом .The device works in the following way.
На первый и второй информационные входы устройства подаютс врем импульсные сигналы, имеющие длительности , соответствующие временным интервалам Т и Tj, отношение которых требуетс вычислить (фиг,2а,б). Импульсы высокой (образцовой ) частоты с выхода генератора 1 проход т через первый элемент И 2 на вычитающий счетчик 3, который в течение времени Т подсчитывает эти импульсы Сфиг,2в), В момент времени, соответствующий окончанию указанного интервала, код в счетчике 3 становитс равнымThe first and second information inputs of the device are supplied with time pulse signals having durations corresponding to time intervals T and Tj, the ratio of which is required to be calculated (Fig. 2a, b). Pulses of high (exemplary) frequency from the output of generator 1 pass through the first element I 2 to subtractive counter 3, which counts these pulses Sfig, 2c) during time T. At the time corresponding to the end of the specified interval, the code in counter 3 becomes equal to
N NT,, где NT. Т,- fo,NT, where NT. T, - fo,
n - число разр дов счетчика 3; f(,- частота импульсов генератора 1,n is the number of bits of counter 3; f (, is the frequency of the pulse generator 1,
Счетчик 5 в течение временного интервала Т принудительно усташовлен в О (по входу R) первым врем импульсным сигналом, поэтому онне считает импульсы генератора 1, хот они и проход т на его счетный вход через открыт элемент И 4,Counter 5 during the time interval T is forcibly set to O (at input R) by the first time as a pulse signal, therefore it does not count generator 1 pulses, although they pass to its counting input through an opened AND 4,
В момент времени, соответствую щий окончанию временного интервала X, , одновибратор 7 по заднему фронту первого врем импульсного сигналаAt the moment of time corresponding to the end of the time interval X, the one-shot 7 on the falling edge of the first time of the pulse signal
3334Л3334Л
поступающего на его вход через элемент ИЛИ 6, формирует короткий импульс (фиг,2д, который подаетс на управл ющий вход счетчика 5 и разрешает перенос на входы его разр дов кода N из счетчика 3, подаетс на счетчик 8 результата и подсчитываетс им. Это означает, что в больший временной интервал 1 уло-arriving at its input through the element OR 6, forms a short pulse (Fig 2d, which is fed to the control input of counter 5 and allows the transfer of the code N to the inputs of its bits from counter 3, is fed to the result counter 8 and counted by it. This means that in a longer time interval of 1
10 жилс один временной интервал Т, Одновременно снимаетс принудительна установка в О счетчика 5, и . он начинает подсчитывать импульсы генератора 1, начина с занесенного10 times one time interval T; At the same time, the installation in O of counter 5 is removed, and. it starts counting the pulses of the generator 1, starting with the entered
15 в него кода N (фиг,2г), 15 into its code N (FIG. 2d),
После того, как счетчик 5 подсчитает число импульсов, равное N, он переполн етс по заднему фронту сигнала с выхода его старшего разр да,After the counter 5 counts the number of pulses equal to N, it overflows on the trailing edge of the signal from the output of its high bit,
20 св занного с одновибратором через элемент ИЛИ 6,одновибратор внорь формирует короткий импульс (фиг,2д), который разрешает (по управл ющему входу счетчика 5) перенос в счетчик 5 кода N из счетчика 3 и запись в счетчик 8 результата (это означает что в больший временной -интервал Т уложилс второй временной интервал Т),20 associated with the one-shot through the element OR 6, the one-shot loudspeaker generates a short pulse (FIG. 2d), which allows (via the control input of counter 5) transfer to counter 5 of the N code from counter 3 and write to the result counter 8 (this means that in a larger time interval —T, laid down the second time interval T),
30 Дальнейша последовательность операций аналогична указанной выше. Процесс вычислений заканчиваетс в момент времени, соответствующий окончанию Т, при этом в счетчике 8 результата фиксируетс код, пропорциональный целой части отношени временных интервалов.30 The following sequence of operations is similar to the above. The calculation process ends at the point in time corresponding to the end of T, while in the counter 8 of the result a code proportional to the integer part of the ratio of time intervals is fixed.
Таким образом, предложенное устройство обеспечивает заданную точQ ность и другие метрологические характеристики , оно проще по конструкции , что повышает надежность, уменьшает стоимость и потребл емую мощность .Thus, the proposed device provides specified accuracy and other metrological characteristics; it is simpler in design, which increases reliability, reduces cost, and consumes power.
а 5a 5
ГтRm
Счет начиаатс с кодаAccount starts with code
К,TO,
1 Ч1 h
it it
... I... I
VV
1Г-1Г1G-1G
Фиг. гFIG. g
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833639671A SU1163334A1 (en) | 1983-09-01 | 1983-09-01 | Device for calculating ratio of time intervals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU833639671A SU1163334A1 (en) | 1983-09-01 | 1983-09-01 | Device for calculating ratio of time intervals |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1163334A1 true SU1163334A1 (en) | 1985-06-23 |
Family
ID=21080841
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU833639671A SU1163334A1 (en) | 1983-09-01 | 1983-09-01 | Device for calculating ratio of time intervals |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1163334A1 (en) |
-
1983
- 1983-09-01 SU SU833639671A patent/SU1163334A1/en active
Non-Patent Citations (1)
Title |
---|
1. Авторское свидетельство СССР № 579628, кл. G 06 G 7/16, 1977. 2. Авторское свидетельство СССР и 698006, кл. G 06 G 7/16, 1979 (прототип). * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1163334A1 (en) | Device for calculating ratio of time intervals | |
SU945971A1 (en) | Pulse shaper | |
SU1319028A1 (en) | Digital pulse repetition frequency multiplier | |
SU1156070A1 (en) | Device for multiplying frequency by code | |
SU1298743A1 (en) | Random process generator | |
SU1273954A1 (en) | Pulse-position function generator | |
SU961140A1 (en) | Pulse recurrence rate to code integrating converter | |
SU999042A1 (en) | Device for comparing numbers with tolerance | |
SU1325471A1 (en) | Evenly distributed random number generator | |
SU1465804A1 (en) | Follow-up frequency meter | |
SU1591010A1 (en) | Digital integrator | |
SU1095089A1 (en) | Digital frequency meter | |
SU1231595A1 (en) | Digital multiplier of frequency of periodic signals | |
SU677095A1 (en) | Number code- to-pulse recurrence frequency converter | |
SU1381502A1 (en) | Digital frequency multiplier | |
SU1403357A1 (en) | Digital time discriminator | |
SU978098A1 (en) | Time interval converter | |
SU1149233A1 (en) | Timer | |
SU1649572A1 (en) | Computing unit for calculation of time interval relation | |
SU1451832A1 (en) | Variable-frequency pulser | |
SU1102031A1 (en) | Analog-to-digital servo converter | |
SU913325A1 (en) | Digital meter of digital magnetic recording time intervals | |
SU1431069A1 (en) | Divider of pulse repetition rate | |
SU1310822A1 (en) | Device for determining the most significant digit position | |
SU1658169A1 (en) | Device for determining arithmetic average magnitude |