лей, вход третьего вентил подсоединен к источнику измерительного сигна ла, второй триггер, единичный вход которого соединен с зажимом начало измерени , а выход - с управл ющим входом второго вентил , второй счетчик , выход которого подключен к нуле вым входам первого и второго триггеров , введены четвертый вентиль, вход которого подсоединен к выходу третье го вентил , а выход - к управл ющему входу первого счетчика, п тый вентил вход которого подключен к источнику опорного сигнала, управл ющий - к выходу первого триггера, а выход ко входам установки в О первого счетчика и сумматора, управл ющему входу сумматора и первому счетному входу второго счетчика, датчик перерыва сигнала, первый выход которого подключен к управл ющему входу четвертого .вентил , -второй выход - ко входу установки в О сумматора и третий выход - к управл ющему входу второго счетчика , а вход - к источнику опорHOfo сигнала введены также блок усре нени и коррекции времени прив зки результата измерени , первые входы которого соединены с йыходами сумма ра, вторые входы - со вторыми выход ми второго счетчика, первый регистр входы которого подключены к выходам первого счетчика, а первые выходы ко входам введенного второго регист ра, блок сравнени , входы которого подсоединены к выходам первого и второго регистров, и выходы.- к пер му и второму счетным входам второго счетчика, третьим входам блока усред нени и коррекции времени прив зки результата усреднени и к управл ющим входам второго счетчика. На чертеже изображена структурна схема устройства измерени разности фаз сигналов. На схеме прин ты следующие обозн чени ; 1-5 - вентили, 6,7- счетчики 8,9 - регистры, 10 - сумматор, 11 блок усреднени и коррекции времени прив зки результата измерени , 12 блок сравнени , 13, 14 - триггеры, 15 - датчик перерыва, В исходном состо нии вентили 1,3 5,2 открыты, вентиль 4 - закрыт. Импульс н.ачало измерени , соответствующий началу интервала усреднени , устанавливает триггер 14 в положение , сигнал с выхода которого открывает вентиль 2. Первый после импульса начало измерени опорный импульс перебрасывает в .состо г ие , триггер 13. При этом открываютс вентили 1,3 и 5. Счетчик 6 начинает считать калибровочные тл пульсы. Проход щий через вентили 3 и 4 к-й измерительный импульс считы вает сумматор 10 значение т, записанное к втоку моменту в счетчике 6 обнул й его. При этом происходит запись числа т„, из регистра 8 в регистр 9. Одновременно числа т и , поступают в блок сравнени 11, выходной сигнал которого зависит от езультата сравнени этих чисел. Возможны три результата сравнени : «-.-.b-lfe где Р„„ - частота следовани калибровочных импульсов, Р„ - частота следовани опорных импульсов. в этом случае с выхода блока сравени ничего не поступает. к--.. Данна ситуаци соответствует случаю , когда в интервал между соседними опорными импульсами подано два измерительных импульса. В этом случае блок сравнени вырабатывает сигнал Р/у +1. К содержимому счетчика 7 при этом добавл етс 1. U-m Л1I к 1 For Это соответствует случаю, когда в интервал между соседними опорными имлульсами не попало ни одного измерительного импульса. В этом случае блок сравнени 11 вырабатывает сигнал Pj3 -1. Из содержимого счетчика 7 при этом вычитаетс 1. Здесь i - номер интервала непрерывной св зи на интервале усреднени , S - номер выполнени условий 2 или 3 на i-M интервале непрерывных измерений. Сигнал Р; поступает также в блок усреднени и коррекции времени прив зки результата измерени 11 и на управл ющие входы счетчика 7 дл считывани его содержимого п- в эти моменты времени в блок усреднени и коррекции времени прив зки результата измерени . Проход щий через вентиль 5 опорный импульс считывает число из сумматора 10 в блок усреднени 11 и об нул ет . счетчик б и сумматор 10. одновременно опорный импульс поступает на счетчик 7. Дри наличии перерыва в приеме измерительных импульсов на интервале усреднени Т датчик перерыва 15 закрывает вентиль 4, запреща считывание числа т из счетчика 6. Одновременно происходит обнуление сумматора 10 и считывание содержимого п счетчика 7. Во врем перерыва опорные импульсы продолжают поступать на счетчик 7. По окончании перерыва в момент прихода ближайшего опорного импульса открываетс вентиль 4,обнул етс сумматор 10 и считываетс содержимое счетчика 7. Блок сравнени 12 при наличии перерыва измерительного сигнала работает аналогично описанному ранее, с той лишь разницей , что значени т. и Шу означаю измерени , считанные в сумматор 10 до 1-го перерыва св зи и после перерыва , соответственно и вырабатываений блоком сравнени сигнал ±1 обозначаетс Р| . Измерени заканчиваютс при переполнении счетчика 7. Импульс переполнени перебрасывает триггера 13 и 14 в 0-е состо ние. Вентили 1, 3, 4 и 5 при этом закрываютс , .Следующий цикл измерений начнетс по приходу импульса начало измерени . Блок усреднени и коррекции време ни прив зки результата измерени 11 вычисл ет среднее на интервале Т значение задержки измерительных импульсов относительно опорных: . ,IR.)e:-4-, 10 - ..(, поправку к времени прив зки этого измерени : , и поправку к в случае, если фазова задержка измен етс на интервале усреднени по квадратичному закону () л(.,Ш г--;{ -4К-.ЧЖ1Кт - где X; - количество выполнени усло вий 2 или 3 на 1-м интерва ле непрерывных измерений; / ч, ч cf.te. Величины t, иЧср-йЧ выдаютс из блока 11 потребителю дл дальнейшей обработки. Дл нормальной работы настошдего устройства при перерыва : св зи Необходимо выполнение следующего услови i , - врем перерыва св зи. В случае, когда данное условие не выполн етс , блок 11 должно вычисл т поправку к величине Р по формуле: pJiKii Vi.K. 1 2atF где к - перва и втора производные фазы сигнала соответственно, а фигурные скобки означают округление до ближайшего целого. При этом величина Р( замен етс на Рс + -, . Таким образом, введение вентилей 4 и 5, датчика перерыва 15, регистров 8 и 9 блока сравнени 12 и блока усреднени и коррекции времени при в зки результата измерени 11 позво (л ет получить измерени без дополнительных ошибок при наличии на интёрвале усреднени одного или нескольких перерывов в приеме измерительного сигнсша, что обеспечивает псмехоустойчивость радиоизмерительных систем при воздействии импульсных и других помех, аналогично воздействующих на радиосистему. Форфлула изобретени Устройство дл измерени фазового сдвига сигнала, содержащее первый счетчик, счетный вход которого через первый вентиль подключен к источнику калибровочных импульсов, а выходы ко входам сумматора, первый триггер, единичный вход которого через второй вентиль подключен к источнику опорного сигнала, а выход - к- управл ющим ьходам первого и третьего вентилей , вход третьего вентил подсоединен к источнику измерительного сигнала, второй триггер, единичный вход которого соединен с зажимом начало измерени , а выход - с управл ющим входом второго вентил , второй счетчик, выход которого подключен к нулевым входам первого и второго триггеров, отличающеес тем, что, с целью пойы:шенй точности измерени , за счет обеспечени помехоустойчивости устройства от импульсных и аналогично дей ствующих на него пс лех, в него введены четвертый вентиль, вход которо го подсоединен к выходу третьего вентил , а выход - к управл ющему входу первого счетчика, п тый вентиль , вход которого подключен к источнику опорного сигнала, управл ющий вход - к выходу первого триггера, а выход - ко входам установки О первого счетчика и сумматора,. управл ющему входу сумматора и первому счетному входу второго счетчика, датчик перерыва сигнала, первый выход которого подключен к управл ющему |входу четвертого вентил , второй 1выход - ко вхс у установки О сумматора и третий выход - к управл ющему входу второго счетчика, а вход- к источнику опорного сигнала введены также блок усреднени и коррекции времени прив зки результата измере и , первые входы которого соединены с выходами сумматора, вторые входы The input of the third valve is connected to the measuring signal source, the second trigger, the single input of which is connected to the terminal, the beginning of the measurement, and the output to the control input of the second valve, the second counter, the output of which is connected to the zero inputs of the first and second triggers, is entered the fourth valve, the input of which is connected to the output of the third valve, and the output to the control input of the first counter, the fifth valve whose input is connected to the source of the reference signal, the control input to the output of the first trigger, and the output to the input installation in About the first counter and adder, the control input of the adder and the first counting input of the second counter, a signal interruption sensor, the first output of which is connected to the control input of the fourth. Ventil, -the second output - to the installation input in O of the adder and the third output - the control input of the second counter, and the input to the source of the signal's support, also entered a block for measuring and correcting the time of binding the measurement result, the first inputs of which are connected to the outputs the sum of pa, the second inputs - with the second outputs of the second counter, n the first register whose inputs are connected to the outputs of the first counter, and the first outputs to the inputs of the entered second register, the comparison unit, whose inputs are connected to the outputs of the first and second registers, and the outputs. to the first and second counting inputs of the second counter, to the third inputs of the block averaging and correction of the reference time of the averaging result and to the control inputs of the second counter. The drawing shows a block diagram of a device for measuring the phase difference of signals. The scheme is as follows; 1-5 - gates, 6,7- counters 8.9 - registers, 10 - adder, 11 averaging block and time correction for binding the measurement result, 12 comparison block, 13, 14 - triggers, 15 - interruption sensor, In the initial state The valves 1.3 and 5.2 are open, valve 4 is closed. The pulse of the measurement start, corresponding to the beginning of the averaging interval, sets trigger 14 to the position, the signal from the output of which opens valve 2. The first pulse after the pulse of the measurement, the reference pulse flips to stand, trigger 13. At the same time, valves 1.3 and 5. Counter 6 starts counting calibration pulses. A measuring impulse passing through the gates 3 and 4 reads the adder 10 the value of t recorded to the current moment in the counter 6 has embraced it. In this case, the number m is written, from register 8 to register 9. At the same time, the numbers m and, go to comparison block 11, the output signal of which depends on the result of comparing these numbers. Three comparison results are possible: “-.-. B-lfe where P„ „is the frequency of the following calibration pulses, P„ is the frequency of the following of the reference pulses. In this case, nothing comes from the output of the comparison block. K-- .. This situation corresponds to the case when two measuring pulses are applied to the interval between adjacent reference pulses. In this case, the comparison unit generates a signal R / y +1. At the same time, 1 is added to the contents of counter 7. U-m L1I to 1 For This corresponds to the case when not a single measuring pulse fell in the interval between adjacent reference impulses. In this case, the comparator unit 11 generates a signal Pj3 -1. It is subtracted from the contents of counter 7 here. Here i is the number of the continuous communication interval on the averaging interval, S is the number of fulfilling conditions 2 or 3 on the i-M interval of continuous measurements. Signal P; It also enters the averaging and correction block of the binding time of the measurement result 11 and the control inputs of the counter 7 for reading its contents n-at these times into the block of averaging and correcting the binding time of the measurement result. The reference pulse passing through the valve 5 reads the number from the adder 10 into the averaging block 11 and is read. the counter b and the adder 10. at the same time the reference pulse arrives at the counter 7. If there is an interruption in the reception of measuring pulses in the averaging interval T, the interruption sensor 15 closes the valve 4, prohibiting the reading of the number m from the counter 6. At the same time, the counter n is zeroed out 7. During the interruption, the reference pulses continue to flow to the counter 7. At the end of the interruption, valve 4 is opened at the moment of arrival of the nearest reference pulse, the adder 10 is zeroed and the contents of the counter are read 7. Comparison unit 12, in the presence of a measurement signal interruption, works as previously described, with the only difference that the values of T. and Shu mean the measurements read into the adder 10 before the 1st communication interruption and after the interruption, respectively, and the output of the comparison unit. ± 1 denotes P | . The measurement ends when the counter overflows 7. The overflow pulse transfers trigger 13 and 14 to the 0th state. Valves 1, 3, 4 and 5 are closed at the same time. The next measurement cycle will start when the pulse arrives. The averaging unit and the correction time of the reference of the measurement result 11 calculates the average value of the delay of the measurement pulses relative to the reference: on the interval T: , IR.) E: -4-, 10 - .. (, an amendment to the time of reference of this measurement:, and an amendment to if the phase delay varies on the average interval by the square law () l (., W g -; {-4К-.ЖЖ1Кт - where X; - the number of conditions 2 or 3 fulfilled on the 1st interval of continuous measurements; / h, h cf.te. Values of t, ICsr-H are given out from block 11 to the consumer for further processing. For normal operation of a desktop device during a break: communication The following condition i must be satisfied, - the time of communication break. In the case when this condition is not met, block 11 It is possible to calculate the correction to the value of P using the formula: pJiKii Vi.K. 1 2atF where k is the first and second derivatives of the signal phase, respectively, and curly brackets indicate rounding to the nearest integer. In this case, the value of P (replaced by Pc + -,. Thus, the introduction of valves 4 and 5, interruption sensor 15, registers 8 and 9 of comparator unit 12 and averaging unit and time correction when vising measurement result 11 allows you to obtain measurements without additional errors if there is one or more interruptions in the interval of averaging. in receiving measuring sig USA, which provides psmehoustoychivost of radio systems under the influence of pulse and other interference, a similar effect on the radio system. Formula of Invention A device for measuring the phase shift of a signal that contains the first counter, the counting input of which through the first gate is connected to the source of calibration pulses, and the outputs to the inputs of the adder, the first trigger, the single input of which through the second gate is connected to the source of the reference signal, and the output to - to the control inputs of the first and third valves, the input of the third valve is connected to the source of the measuring signal, the second trigger, the single input of which is connected to the terminal, the beginning of the measurement, and the output - control input of the second valve, the second counter, the output of which is connected to the zero inputs of the first and second flip-flops, characterized in that, for the purpose of control: accuracy of measurement, by ensuring the noise immunity of the device from the pulse and similarly acting on it, It introduced the fourth valve, the input of which is connected to the output of the third valve, and the output - to the control input of the first counter, the fifth valve, whose input is connected to the source of the reference signal, the control input - to the output of the first trigger , and output - to the inputs of the installation About the first counter and adder,. the control input of the adder and the first counting input of the second counter, a signal interruption sensor, the first output of which is connected to the control input of the fourth valve, the second output 1 to the accumulator O of the adder and the third output to the control input of the second counter, and input The averaging and time correction block was also added to the reference source and, the first inputs of which are connected to the outputs of the adder, the second inputs