Изобретение относитс к измерительной технике и может быть исполь зовано дл измерени частоты следовани импульсов произвольной длител ности. Известно устройство дл измерени частоты следовани импульсов, содержащее генератор эталонной частоты , два временных селектора, два счетчика, два триггера, два элемента И И . Недостатком известного устройства вл етс низка точность измерений , так как врем измерени в нем не всегда кратно периоду импульсов измер емой частоты. Наиболее близким по технической сущности к данному вл етс устройство дл измерени частоты следовани импульсов, содержащее счетчик измер емой частоты, счетчик эталонной частоты, первый м второй селекторы , генератор импульсов эталонной частоты, элемент И и триггер, пр мой выход которого подключен к первым входам первого и второго селекторов , выходы которых соединены со счетными входами счетчика измер емой частоты, и счетчика эталонной частоты соответственно, выход генератора импульсов эталонной частоты подключен к второму входу второго селектора, входна шина устройства соединена с вторым входом первого селектора, выход счетчика эталонной частоты через элемент И подключен к управл ющему R-входу триггера {2 Недостс1тком устройства вл етс то, что при измерении частоты импульсной конечной длительности врем измерени не всегда кратно перио ду импульсов измер емой частоты. Это вызвано тем, что конец интервал измерений определен лишь с точность до длительности импульсов измер емой частоты. Это приводит к снижению точности измерений. Цель изобретени - повышение точ ности измерени , Поставленна цель достигаетс те что в устройство дл измерени частоты следовани импульсов, содержащее первый и второй селекторы, счет чик эталонной частоты, счетчик изме р емой частоты, элемент И, генерато импульсов эталонной частоты и триггер , пр мой выход которого подключе к первым входам первого и второго селекторов, выходы которых соединены со входами счетчика измер емой частоты и счетчика эталонной частоты соответственно, выход генератора импульсов эталонной частоты подключен к второму входу второго селектора, входна шина устройства соединена с вторым входом первого селектора, выход счетчика эталонной частоты через элемент И подключен к управл ющему R-входу триггера, введены элементы ИЛИ и элемент И-НЕ, выход которого подключен к счетному входу триггера, инверсный выход триггера соединен с вторым входом элемента И и первым входом элемента ИЛИ, второй вход которого соединен с выходом старшего разр да счетчика эталонной частоты, выход элемента ИЛИ соединен с первым входом элемента И-НЕ, второй вход которого подключен к входной шине устройства , а третий вход - к шине запуска ,. , На фиг, 1 изображена блок-схема устройства; на фиг. 2 - временна диаграмма, по сн юща его работу. Устройство дл измерени частоты следовани импульсов содержит генератор 1 импульсов эталонной частоты, триггер 2, первый селек- ;; тор 3, второй.селектор 4, счетчик 5 эталонной частоты, счетчик 6 измер емой частоты, элементы И-НЕ 7, ИЛИ 8, И 9, входную шину 10, шину запуска 11, . Пр мой выход триггера 2 подключен к первым входам первого и второго селекторов 3 и 4, выходы которых соединены со счетными входами счетчика 6 измер емой частоты и счетчика 5 эталонной частоты соответственно , выход генератора 1 импульсов эталонной частоты подключен к второму входу второго селектора 4, входна шина 10 соединена с вторым входом первого селектора 3 и первым входом элемента И-НЕ 7, выход счетчика 5 эталонной частоты через элемент И 9 Подключен к управл ющему R-входу триггера 2, выход элемента И-НЕ 7 подключен к счетному входу триггера 2, инверсный выход которого соединен с вторым входом элемента И 9 и первым входом элемента ИЛИ 8, второй вход которого соединен с выходом старшего разр да счетчика 5 эталонной частоты, выход элемента ИЛИ 8 соединен с первым входом элемента И-НЕ 7, третий вход которого подключен к шине запуска 11 Устройство работает следующим образом. Измерение частоты начинаетс после обнулени счетчика 5, счетчика 6 и триггера 2 (цепи обнулени на фиг. 1 не показаны) и подачи сигнала начала измерени Пуск (и.,фиг.2) на шину 11. В исходном состо нии селекторы 3 и 4 закрыты, элемент ИНЕ 7 открыт сигналом уровн 1 с инверсного выхода триггера 2. Импульсы измер емой частоты (U, фиг. 2) по шине 10 поступают на вход устройства . Проинвертированный импульс измер емой частоты (U, фиг. 2) поступает на счетный вход триггера 2, который измен ет свое состо ние при изменении сигнала на его счетном входе с уровн О на 1 в момент времени t (л , фиг. 2), т.-е. на заднем фронте импульса измер емой частоты, передний фронт которого соответствует моменту времени t. Таким образом, независимо, в какой момент времени периода измер емой частоты будет подан сигнал начала измерени Пуск (Uc Фиг. 2), начало формировани мерного интервала всегда будет совпадать с задним фронтом (окончанием) импульса измер емой частоты. С момента времени t селекторы 3 и 4 открьшаютс . На счет чик 6 начинают проходить импульсы измер емой частоты, а на счетчик 5 импульсы эталонной частоты от генера тора 1, С этого же момента времени элемент И-НЕ 7 закрыт, так как на об входа элемента ИЛИ 8 поступают сигналы уровнем О. Таким образом, последующие импульсы измер емой частоты не воздействуют на триггер 2. Это будет продолжатьс до тех пор, пока на выходе счетчика 5 не по витс сигнала (U., фиг. 2) с уровнем t, который, пройд элемент РШИ 8, вновь откроет элемент И-НЕ 7. Аналогично Проинвертированный импульс измер емой частоты (U, фиг. 2) внов поступит на счетный вход триггера 2 и изменит его состо ние в момент времени t (Ua, фиг. 2), т.е. на зад нем фроуте импульса измер емой часто ты. При этом селекторы 3, 4 закрываютс и измерение заканчиваетс . Сигналы с уровнем l, пройд элемент И 9, поступают на управл ющий R-вход триггера 2 и блокируют его дальнейшую работу, т.е. последующие импульсы измер емой частоты не воздействуют на триггер 2, хо.т. элемент И-НЕ остаетс в открытом состо нии . На выходе элемента И 9 по вл етс сигнал уровнем 1 Готовность, свидетельствующий о завершении процесса измерени . В результате в счетчике 6 оказыва1етс записанным .число периодов измер емой частоты п, а в счетчике 5 число импульсов N, поступивших с генератора 1 импульсов эталонной частоты за врем измерени Tj,, . В предложенном устройстве врем измерени всегда равно сумме перио-гдов измер емой частоты зарегистрированных счетчиком 6, т.е. Врем измерени равно N периодам эталонной частоты f , зафиксированных на счетчике (делителе) 5 частоты , т.е. Из соотношений (1) и (2) следует, что измер ема частота равна отношению числа полных периодов измер емой частоты и их суммарной длительности, т.е. Й этПри этом начало и конец формировани мерного интервала по времени всегда жестк-о прив заны к задним фронтам импульсов измер емой частоты и не завис т ни от длительности импульсов , ни от их периода, т.е.. врем измерени всегда кратно периоду импульсов измер емой частоты. Следовательно , снижаетс погрешность измерений. Таким образом, благодар дополнительному введению элементов И-НЕ, ИЛИ и новых св зей предлагаемое устройство обеспечивает измерение частоты следовани импульсов любой длительности с точностью до периода эталонной частоты, в то врем как известные устройства могут достигать такой точности измерени только при малой длительности измер емых импульсов.The invention relates to a measuring technique and can be used to measure the pulse frequency of arbitrary duration. A device for measuring the pulse frequency is known, comprising a reference frequency generator, two time selectors, two counters, two triggers, two AND elements. A disadvantage of the known device is the low measurement accuracy, since the measurement time in it is not always a multiple of the pulse period of the measured frequency. The closest in technical essence to this is a device for measuring the pulse frequency, containing a measured frequency counter, a reference frequency counter, the first meter of the second selector, a reference frequency generator, the And element and a trigger, the forward output of which is connected to the first inputs of the first and the second selectors, the outputs of which are connected to the counting inputs of the measured frequency counter, and the reference frequency counter, respectively, the output of the reference frequency pulse generator is connected to the second input at the second selector, the input bus of the device is connected to the second input of the first selector, the output of the reference frequency counter is connected to the control R-input of the trigger {2 The disadvantage of the device is that when measuring the frequency of the pulsed finite duration, the measurement time is not always a multiple of period do pulses measured frequency. This is because the end of the measurement interval is determined only to the accuracy of the pulse duration of the measured frequency. This leads to a decrease in measurement accuracy. The purpose of the invention is to improve the accuracy of the measurement. The goal is achieved in that the device for measuring the pulse frequency, containing the first and second selectors, the reference frequency counter, the counter of the measured frequency, the element And, the generator of the pulses of the reference frequency and trigger, direct the output of which is connected to the first inputs of the first and second selectors, the outputs of which are connected to the inputs of the meter of the measured frequency and the counter of the reference frequency, respectively, the output of the generator of the pulse of the reference frequency is connected en to the second input of the second selector, the device input bus is connected to the second input of the first selector, the output of the reference frequency counter is connected via an AND element to the R control input of the trigger, the OR elements are entered, and the NAND element, the output of which is connected to the trigger input of the trigger, the inverse trigger output is connected to the second input of the AND element and the first input of the OR element, the second input of which is connected to the high-level output of the reference frequency counter, the output of the OR element is connected to the first input of the NAND element, the second input of which of the input device connected to the bus, and the third input - to start bus. , Fig, 1 shows a block diagram of the device; in fig. 2 is a timing diagram explaining his work. A device for measuring the pulse frequency contains a generator 1 pulses of the reference frequency, trigger 2, the first selection ;;; torus 3, second. selector 4, counter 5 of the reference frequency, counter 6 of the measured frequency, elements NE 7, OR 8, AND 9, input bus 10, start bus 11,. The direct output of trigger 2 is connected to the first inputs of the first and second selectors 3 and 4, the outputs of which are connected to the counting inputs of the measured frequency counter 6 and the reference frequency counter 5, respectively, the output of the generator 1 pulses of the reference frequency is connected to the second input of the second selector 4, the input bus 10 is connected to the second input of the first selector 3 and the first input of the NE-7 element, the output of the counter 5 of the reference frequency through the AND 9 element is connected to the control R input of the trigger 2, the output of the AND-NE element 7 is connected to the count input of a trigger Era 2, the inverse output of which is connected to the second input of the AND 9 element and the first input of the OR element 8, the second input of which is connected to the high-order output of the counter 5 of the reference frequency, the output of the OR element 8 is connected to the first input of the NAND 7 element, the third input which is connected to the launch bus 11 The device operates as follows. Frequency measurement starts after zeroing the counter 5, counter 6 and trigger 2 (zero circuit in Fig. 1 is not shown) and sending the start signal (and Fig. 2) to bus 11. In the initial state, selectors 3 and 4 are closed The INE 7 element is opened by a level 1 signal from the inverse output of the trigger 2. The pulses of the measured frequency (U, Fig. 2) are fed through the bus 10 to the input of the device. The inverted pulse of the measured frequency (U, Fig. 2) arrives at the counting input of trigger 2, which changes its state when the signal at its counting input changes from O to 1 at time t (l, Fig. 2), t . at the trailing edge of the measured frequency pulse, the leading edge of which corresponds to the time instant t. Thus, regardless of the point in time of the measured frequency period, the start measurement signal will be given (Uc Fig. 2), the beginning of the formation of the measuring interval will always coincide with the trailing edge (end) of the measured frequency pulse. From time t, selectors 3 and 4 are unlocked. At the counter 6, the pulses of the measured frequency begin to pass, and at the counter 5 the pulses of the reference frequency from the generator 1, From the same point in time, the AND-NOT 7 element is closed, since signals O are received at the input of the element OR 8. Thus , the subsequent pulses of the measured frequency do not affect trigger 2. This will continue until the output of counter 5 does not receive a signal (U., Fig. 2) with a level t, which, having passed through RSHI element 8, will again open the element AND-NOT 7. Similarly, the Inverted Pulse of the Measured Frequency (U, Fig. 2) is clearly will go to the counting input of the trigger 2 and change its state at the moment of time t (Ua, Fig. 2), i.e. on the backside of it, the pulse of the frequency being measured. At the same time, the selectors 3, 4 are closed and the measurement ends. The signals with the level l, pass element 9, go to the control R input of trigger 2 and block its further operation, i.e. subsequent pulses of the measured frequency do not act on trigger 2, x.t. the AND-NOT element remains open. At the output of element 9, a signal appears at level 1 Ready, indicating the completion of the measurement process. As a result, in the counter 6 it turns out to be recorded the number of periods of the measured frequency n, and in the counter 5 the number of pulses N received from the generator 1 of the pulses of the reference frequency during the measurement time Tj ,,. In the proposed device, the measurement time is always equal to the sum of the periods of the measured frequency recorded by the counter 6, i.e. The measurement time is N periods of the reference frequency f recorded on the counter (divider) 5 frequencies, i.e. From relations (1) and (2) it follows that the measured frequency is equal to the ratio of the number of full periods of the measured frequency and their total duration, i.e. At the same time, the beginning and the end of the formation of a measured time interval are always rigidly attached to the falling edges of the measured frequency pulses and do not depend on the pulse duration or on their period, i.e. the measurement time is always a multiple of the measurement pulse period frequency. Therefore, the measurement error is reduced. Thus, due to the additional introduction of elements of NAND, OR and new connections, the proposed device provides measurement of the pulse frequency of any duration with an accuracy of the reference frequency period, while the known devices can achieve such measurement accuracy only with a short duration of measured pulses. .