SU1226659A1 - Device for counting number of pulses in train - Google Patents
Device for counting number of pulses in train Download PDFInfo
- Publication number
- SU1226659A1 SU1226659A1 SU843813813A SU3813813A SU1226659A1 SU 1226659 A1 SU1226659 A1 SU 1226659A1 SU 843813813 A SU843813813 A SU 843813813A SU 3813813 A SU3813813 A SU 3813813A SU 1226659 A1 SU1226659 A1 SU 1226659A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- bus
- counter
- trigger
- Prior art date
Links
Landscapes
- Measurement Of Unknown Time Intervals (AREA)
- Manipulation Of Pulses (AREA)
Abstract
Изобретение может быть использовано в автоматике, телемеханике, измерительной и вычислительной технике . Цель изобретени -г расширение функциональных возможностей и помехозащищенности . Устройство содержит счетчики 1, 2,. 20, 21 и 25, управл емый делитель частоты 3, входы 4 управлени , ключи 5 и 9, тактовую шину 6, триггеры 7, 8 и 26, элементы 10, 22 и 29 ИЛИ, генератор 12 стробов с выходами 11, 14, 15 и 18, входную шину 13, элементы 16, 17, 19 и 27 И, шину 23 метки последнего импульса, шину 24 сброса, шину 28 метки первого импульса, шину 30 метки одиночного импульса и выходные .шины 31 и 32. Введение в устройство генератора 12 стробов, счетчиков 20, 21 и 25, триггера 7, элементов 16, 17, 19 и 27 И, элементов 22 и 29 ИЛИ и образование новых св зей между элементаТ1И обеспечивает возможность подсчета пропущенных импульсов.3 ил. (Л t3 2// /5 J8 17 27 о 25 to to Od Od СЛ CO gZI-J- QK-1 Id Фиг.1The invention can be used in automation, telemechanics, measurement and computing. The purpose of the invention is the expansion of functionality and noise immunity. The device contains counters 1, 2 ,. 20, 21 and 25, controlled frequency divider 3, control inputs 4, keys 5 and 9, clock bus 6, triggers 7, 8 and 26, elements 10, 22 and 29 OR, gate generator 12 with outputs 11, 14, 15 and 18, input bus 13, elements 16, 17, 19 and 27 I, bus 23 of the last pulse mark, reset bus 24, tire 28 of the first pulse mark, bus 30 of the single pulse mark and output buses 31 and 32. Introduction to the generator device 12 gates, counters 20, 21 and 25, trigger 7, elements 16, 17, 19 and 27 AND, elements 22 and 29 OR and the formation of new connections between the T1I element provides the possibility of counting the missing x pulses. 3 ill. (L t3 2 // / 5 J8 17 27 about 25 to to Od Od SL CO gZI-J- QK-1 Id Figure 1
Description
Изобретение относитс к импульсно технике и может быть использовано в автоматике, телемеханике, измерительной и вычислительной технике.The invention relates to a pulse technique and can be used in automation, telemechanics, measurement and computing technology.
Цель изобретени - расширение функциональных возможностей и помехо- запщщенности путем подсчета пропущенных импульсов в серии при одновременном повышении помехоустойчивости.The purpose of the invention is to enhance the functionality and noise immunity by counting the missed pulses in a series while improving noise immunity.
На фиг.1 приведена структурна электрическа схема устройства; на фиг.2 - временные диаграммы устройства работы; на фиг.З - временные диаграммы работы генератора стробов.Figure 1 shows the structural electrical circuit of the device; figure 2 - timing charts of the device; FIG. 3 shows timing diagrams of the gate generator operation.
Устройство содержит первьй 1 и второй 2 счетчики, управл емый делитель 3 частоты, входы 4 управлени которого соединены с выходами слоот- ветствующих разр дов второго счетчика 2 , а вход - с первым вькодом первого ключа 5 с запоминанием сигнала управлени , вход коммутации которого соединен.с тактовой шиной 6, а вход управлени - с инверсным выходом первого триггера Vj, вход установки в 1 которого со€ динен с входом установки в 1 второго триг гера 8 и первым выходом второго ключа 9 с запоминанием сигнала управлени , вход коммутации которого соединен с пр мым выходом второго триггера 8, второй выход - с первым входом первого элемента ИЛИ 10, а вход коммутации - с первым выходом 11 генератора 12 стробов, вход которого соединен с входной шиной 13, первый вьйсод П - с входом первого счетчика 1 второй 14 и третий 15 выходы - с первыми входами, первого 16 и второго 17 элементов И соответственно, четвертый выход 18 - с первьм входом третьего элемента И 19 и входом установки в О третьего счетчика 20, вход которого соединен с выходом третьего элемента И 19 и входом четвертого счетчика 21, а выход - с первым входом второго элемента ИЛИ 22 и шиной 23 метки последнего импульса . Второй вход второго элемента ИЛИ 22 соединен с шиной 24 сброса, а выход - с входами установки первого 1, второго 2, четвертого 2 и п того 25 счетчиков, управл емого делител частоты 3 и входами установки в О второго 8 и третьего 26 триггеров. Выход управл емого делител частоты 3 соединен с вторыми входами первого 16, второго 17 и третьего 19 элементов И и входом п того счетчика 25,The device contains the first 1 and second 2 counters, a controlled frequency divider 3, the control inputs 4 of which are connected to the outputs of the corresponding bits of the second counter 2, and the input with the first code of the first switch 5 with the memorization of the control signal whose switching input is connected. with the clock bus 6, and the control input with the inverse output of the first trigger Vj, the installation input 1 of which is connected to the installation input 1 of the second trigger 8 and the first output of the second key 9 with the control signal memorized not with the direct output of the second trigger 8, the second output with the first input of the first element OR 10, and the switching input with the first output 11 of the generator 12 gates, whose input is connected to the input bus 13, the first output P with the input of the first counter 1 second 14 and the third 15 outputs - with the first inputs, the first 16 and second 17 And elements, respectively, the fourth output 18 - with the first input of the third element And 19 and the installation input in About the third counter 20, the input of which is connected to the output of the third element And 19 and input the fourth counter 21, and the output - with the first I ode of the second element OR 22 and bus 23 marks the last pulse. The second input of the second element OR 22 is connected to the reset bus 24, and the output to the installation inputs of the first 1, second 2, fourth 2 and fifth 25 counters, controllable frequency divider 3 and installation inputs to the second 8 and third 26 triggers. The output of the controlled frequency divider 3 is connected to the second inputs of the first 16, second 17 and third 19 And elements and the input of the fifth counter 25,
5five
00
5five
00
5five
выход которого соединен с входом установки в 1 третьего триггера 26 и первым входом четвертого элемента И 27, второй вход которого соединен с инверсным выходом третьего триггера 26, а выход - с шиной 28 метки первого импульса, Второй выход первого ключа 5 с запоминанием сигнала управлени соединен с первым входом третьего элемента ИЛИ 29, второй вход которого соединен с выходом первого элемента И 16, а выход - с входом пр мого счета второго счетчика 2, вход обратного счета которого соединен с выходом второго элемента И 17, а выход - с шиной 30 метки одиночного импульса. Выходы первого 1 и четвертого 2 счетчиков соединены соответственно с первой 31 и второй 32 выходными шинами.the output of which is connected to the installation input to 1 of the third trigger 26 and the first input of the fourth element I 27, the second input of which is connected to the inverse output of the third trigger 26, and the output to the bus 28 of the first pulse, the second output of the first key 5 with the memory of the control signal is connected with the first input of the third element OR 29, the second input of which is connected to the output of the first element AND 16, and the output to the input of the direct count of the second counter 2, the input of the countdown of which is connected to the output of the second element And 17, and the output to the bus 30 of the label one nocturnal pulse. The outputs of the first 1 and fourth 2 meters are connected respectively to the first 31 and second 32 output buses.
Устройство работает следующим образом .The device works as follows.
В исходном состо нии триггеры 7, 8 и. 26, счетчики 1, 25 и 2 и управл емый делитель 3 частоты устанавливаютс в О импульсом, поступающим на шину 24 сброса. По этому же импульсу в счетчике 21 устанавливаетс дополнительный код суммы (т+1).In the initial state, the triggers 7, 8 and. 26, the counters 1, 25, and 2 and the controlled frequency divider 3 are set to O by a pulse arriving on the reset bus 24. For the same impulse, an additional sum code (t + 1) is set in the counter 21.
Импульсы, поступающие на входную шину (фиг.2 а), запускают генератор 12 стробов, который формирует на выходах П,14,15 и 18 строб-импульсы, эпюры которых приведены на фиг.З б, в,г. Период следовани входных импульсов в серии может измен тьс отImpulses arriving at the input bus (figure 2 a), start the generator 12 strobes, which forms the outputs P, 14,15 and 18 strobe pulses, the diagrams of which are shown in fig.Zb, c, d. The period of the input pulses in a series can vary from
серии к серии в пределах (Т series to series within (T
Число импульсов в серии М также моет измен тьс от серии к серии, причем отдельные импульсы или группы импульсов могут случайно пропадать (т - число подр д пропущенных импульсов). Интервалы между сери ми импульсов Т„ выбраны, исход из неравенстваThe number of pulses in the M series can also vary from series to series, and individual pulses or groups of pulses can accidentally disappear (t is the number of consecutive missed pulses). The intervals between the series of pulses T "are chosen based on the inequality
Т(т +1) ТT (t +1) t
МаксMax
(I)(I)
5050
На выходе генератора формируютс строб-импульсы (.фиг. 2 д) длительностьюAt the output of the generator, strobe pulses are formed (. FIG. 2 d) of duration
(2)(2)
.T,,, ,.T ,,,,
где 6т - заданна нестабильность периода .where 6m is a given period instability.
55 Импульсы на выходе I1 генератора 12 (фиг.З б) имеют длительность t,, большую, чем период тактовых импульсов tyy , и задержаны относительно55 The pulses at the output I1 of the generator 12 (fig.Zb) have a duration t ,, longer than the period of clock pulses tyy, and are delayed relative to
3131
входных- импульсов на врем , равное ЛТ,1 t, 2 input pulses at time equal to RT, 1 t, 2
Первый импульс с выхода 1I генератора 12 пропускаетс ключом 9 на единичные входы триггеров 8 и 7 устанавлива их в 1. Ключ 9 пропускает первь й импульс на первый выход полностью и запрещает его пропуск на второй выхрд. Тактовые импульсы с шины 6 пропускаютс ключом 5 на вход пр мого счета (реверсивного) счетчика 2 (фиг.2,3). При поступлений второго импульса серии на входную шину, на выходе генератора формируетс второй импульс, который пропускаетс ключом 9 на вход установки в О триггера 7, а импульсы с тактовой шины 6 начинают поступать иа второй вход ключа 5, т.е. на вход управл емого делител частоты 3. Коэффициент делени К определ етс кодом, накопленным к тому времени в счетчике 2 и подавае1« 1М на соответствующие входы управлени делител . 3. Таким образом, спуст врем Т K-t после поступлени второго импульса с выхода 11 генератора 12 на выходе делител 3 по вл етс сигнал переполнени .. Если следующий импульс во входной серии не пропущен, то импульс переполнени поступает на вход пр мого или обратного счета счетчика 2 и производит необходимую коррекцию кода счетчика 2 и на вход счетчика 25. Если же следующий иы- пульс пропущен, то импульс переполнени с выхода делител поступает через открытый элемент И 19 на входы счетчиков 21 (фиг.2 д) и 20, и также иа вход счетчика 25. В любом из двух случаев счетчик 25, отсчит ав m импульсов , формирует импульс, поступающий на шину 28. Этот импульс, задер- . жан.относительно первого импульса серии иа врем равное Т (т+1) (фиг.2 е) и служит меткой первого импульса серии . Остальные импульсы переполнени счетчика 25 блокируютс триггером 26 и элементом И 2 7.The first pulse from the output 1I of the generator 12 is passed with the key 9 to the single inputs of the flip-flops 8 and 7 sets them to 1. The key 9 passes the first pulse to the first output completely and prohibits its passage to the second output. The clock pulses from the bus 6 are transmitted by the key 5 to the input of the direct counting (reversing) counter 2 (Fig. 2.3). When the second pulse of the series arrives at the input bus, a second pulse is generated at the generator output, which is passed by the key 9 to the installation input to the O flip-flop 7, and the pulses from the clock bus 6 begin to receive the second input of the key 5, i.e. to the input of the controlled frequency divider 3. The division factor K is determined by the code accumulated by that time in counter 2 and supplied 1 1 1M to the corresponding control inputs of the divider. 3. Thus, after the time T Kt after the arrival of the second pulse from the output 11 of the generator 12, the overflow signal appears at the output of the divider 3. If the next pulse in the input series is not passed, the overflow pulse enters the forward or reverse counting counter 2 and makes the necessary correction of the counter code 2 and to the input of the counter 25. If the next pulse is missed, then the overflow pulse from the output of the divider goes through the open element 19 and to the inputs of the counters 21 (FIG. 2 d) and 20, and also counter input 25. In either of two Luciano counter 25, frame of reference aB m pulses, generates a pulse supplied to the bus 28. This pulse zader-. regarding the first impulse of the series and the time is equal to T (t + 1) (figure 2 e) and serves as a mark of the first impulse of the series. The remaining overflow pulses of the counter 25 are blocked by the trigger 26 and the AND 2 7 element.
Пропущенные импульсы подсчитываютс сче- чиками 20 и 21. Счетчик 20 обнул етс по приходу каждого иового импульса серии, а в коице серии, отсчитав (т+) импульс, переполн етс , и импульс его переполнени постзг пает на шину 23 (фиг.2 ж) и служит меткой конца серии импульсов, относительно последнего импульса которойThe missed pulses are counted by the counters 20 and 21. The counter 20 is zeroed by the arrival of each iid pulse of the series, and in the series call, counting (t +) the pulse, overflows, and the pulse of its overflow postzg falls on the bus 23 (FIG. ) and serves as a mark of the end of a series of pulses, relative to the last pulse of which
10ten
1515
266594 .266594.
он задержан на T (m+l). Кроме того, импульс переполнени счетчика 20 через элемент 22 поступает на входы ус- тановки триггеров 8,7 и 26, счетчиков 1,2 и 2 и 25 и делител 3 и приводит устройство в исходное состо ние , подготовив таким образом к обработке следующей серии импульсов. В счетчиках 1 и 21 к этому моменту накапливаютс коды числа импульсов в серии (без учета пропущенных) и числа пропущенных импульсов соответственно .he is arrested on T (m + l). In addition, the overflow pulse of the counter 20 through the element 22 enters the inputs of the installation of the triggers 8,7 and 26, the counters 1, 2 and 2 and 25 and the divider 3 and returns the device to its initial state, thus preparing for the processing of the next series of pulses . In counters 1 and 21, by this time, the codes for the number of pulses in a series (excluding the missed ones) and the number of missed pulses, respectively, accumulate.
Если в серии один импульс, то счетчик 2 переполн етс и вьщает импульс на шину 30 метки одиночного импульса и на входы сброса и установки элементов в исходное состо ние.If there is a single pulse in the series, then the counter 2 overflows and impulses the pulse to the bus 30 of the label of a single pulse and to the reset and set-up inputs of the elements.
Измерение периода Т по первому интервалу производилс с методической погрешностью &t +t, обусловленной квантованием. Накопление этой погрешности может привести к выходу импульсов переполнени делител 3 из пределов строба. Чтобы исключить возможность выхода, введены элементы И 16. и 17, элемент ИЛИ 29, обеспечивающие коррекцию кода периода Т в счетчике 2. При попадании импульса в левую половину строба (фиг.З в) добавл етс 1. к коду - (К+1). При попадании импульса в правую половину строба (фиг.З г) отнимаетс 1 от кода - (К-1). Пауза между полустробами выбираетс из услови t ty, чтобы исключить возможнрсть попадани импульса переполнени в оба полустроба. Погрешность не корректируетс при групповом пропуске из-за отсутстви полустробов, поэтому длительность iT-t,The measurement of period T over the first interval was made with a methodological error & t + t due to quantization. The accumulation of this error can lead to the output of the overflow pulses of the divider 3 from the strobe limits. In order to exclude the possibility of an exit, And 16. and 17 elements, an OR 29 element, are introduced to correct the period code T in counter 2. When a pulse hits the left half of the gate (FIG. 3 in), 1. is added to the code - (K + 1 ). When a pulse hits the right half of the strobe (Fig. 3 d), 1 is subtracted from the code (K-1). The pause between the half-gates is selected from the condition t ty to eliminate the possibility of an overflow pulse in both half-gates. The error is not corrected with a group pass due to the absence of semi-cuts, therefore the duration of iT-t,
2020
2525
30thirty
4040
4545
полустробаhalf gates
ii
вор ть условиюbreak condition
Т - tnT - tn
должна удовлет-must meet
m-jitjm-jitj
(3)(3)
Длительности строба, рассчитанные по формулам 2 и 3, могут отличатьс , поэтому необходимо выбирать большуюThe strobe durations calculated by formulas 2 and 3 may differ, therefore it is necessary to choose a large
из них.of them.
Предлагаемое устройство позвол ет подсчитывать число пропущенных импульсов в серии, предварительно их восстанавлива . При наличии пропус- ков импульсов в серии устройство не формирует ложных выходных импульсов. Техническими преимуществами предлагаемого устройства по сравиению с иэ вестным вл ютс расширенные функциональные возможности, а именно: наличие возможности определени числа пропущенных импульсов в серии, а также повышенна помехоустойчивость при пропусках входных импульсов.The proposed device makes it possible to count the number of missed pulses in a series, pre-restoring them. If there are gaps of pulses in a series, the device does not generate false output pulses. The technical advantages of the proposed device, as compared to the well-known ones, are enhanced functionality, namely: the possibility of determining the number of missed pulses in a series, as well as increased noise immunity when the input pulses are skipped.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843813813A SU1226659A1 (en) | 1984-11-19 | 1984-11-19 | Device for counting number of pulses in train |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU843813813A SU1226659A1 (en) | 1984-11-19 | 1984-11-19 | Device for counting number of pulses in train |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1226659A1 true SU1226659A1 (en) | 1986-04-23 |
Family
ID=21147231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU843813813A SU1226659A1 (en) | 1984-11-19 | 1984-11-19 | Device for counting number of pulses in train |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1226659A1 (en) |
-
1984
- 1984-11-19 SU SU843813813A patent/SU1226659A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское, свидетельство СССР № 790238, кл. Н 03 К 5/19, 1978. Авторское свидетельство СССР № 9934.64, кл. Н 03 К 5/19, 1981. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1593202B1 (en) | Period-to-digital converter | |
SU1226659A1 (en) | Device for counting number of pulses in train | |
SU1305737A1 (en) | Device for counting articles | |
SU1437859A1 (en) | Generator of random events flows | |
SU1622857A1 (en) | Device for checking electronic circuits | |
SU1307438A1 (en) | Device for measuring extrema of time intervals | |
SU1298750A1 (en) | Device for detecting contention in synchronized digital blocks | |
SU534859A1 (en) | Pulse selector for engine speed recorder | |
SU819968A1 (en) | Repetition rate scaler with fractional devision coefficient | |
SU1229970A1 (en) | Device for determining validity to transmission of binary information | |
SU917172A1 (en) | Digital meter of time intervals | |
SU1427369A1 (en) | Device for registering fault signals | |
SU1376083A1 (en) | Random event flow generator | |
SU1243017A1 (en) | Indication device | |
SU1246098A1 (en) | Device for checking digital units | |
SU1338019A1 (en) | Random-flow pulse generator | |
SU1234963A1 (en) | Automatic tracking divider of periods of pulsed signals | |
SU1260962A1 (en) | Device for test checking of time relations | |
SU853671A1 (en) | Device for checking reproduction signal phase distortions | |
SU924657A2 (en) | Short time interval meter | |
SU919090A1 (en) | Device for monitoring operation of counter with potential output | |
SU1035812A1 (en) | Device for checking linear tract of digital transmitting system | |
SU1307339A1 (en) | Digital speed meter for microprocessor systems | |
SU1288648A1 (en) | Digital analyzer of time intervals | |
SU947952A2 (en) | Pulse duration discriminator |