Изобретение относитс к импульсн технике и монет быть использовано в автоматизированных системах управле ни и контрол , в частности в контрольно-испытательной аппаратуре. Известен селектор импульсов по длительности, содержащий генератор импульсов, выход которого соединен с первыми входами первого и второг элементов совпадени , выходы которы соединены соответственно с входом .суммировани первого и входом вычитани второго импульсов, информационные входы которого соеди нены с выходами третьего элемента совпадени ,- входы которого соединен с выходами регистра хранени и блоком вычитани -кодов, инверсным выходом триггера и выходом четвертого элемента совпадени , первый вход которого, соединен с выходом блока сравнени кодов непосредственно, .а второй вход - с входом сброса первого счетчика импульсов через первый .элемент задержки и через формирователь импульсов - с вторым входом первого элемента совпадени и входной шиной устройства, причем выход четвертого элемента совпадени чере второй элемент задержки соединен с входом запуска триггера, вход сброг са которого соединен с выходом второго счетчика импульсов, а пр мой выход - с выходной шиной устройства и вторым входом второго элемента сов падени ij . Недостаток устройства заключаетс в возможности селекции импульсов лишь .фиксированной длительности, ве личина которой (в виде кода) поступает от устройства управлени на вход регистра хранени . Наиболее близким по технической сущности к предлагаемому вл етс селектор импульсов по длительности, содержащий генератор импульсов, первый и второй счетчики импульсов, блок сравнени кодов и формирователь импульсов, вход которого соединен с входной шиной устройства и первым входом первого элемента совпадени , .выход которого соединен со счетным . входом первого счетчика импульсов, вход сброса которого через элемент задержки соединен с выходом формировател импульсов и первым входом второго элемента срвпадени , второй вход которого соединен с выходом блока сравнени кодов, первые инфор мационние входы которого соединены с информационными выходами первого счетчика импульсов, а вторые информацнонныевходы - с информационными выходами второго счетчика импульсов счетный вход которого соединен с выходом третьего элемента совпадени первый вход которого соединен с шиной порога селекции, а второй - с вторым входом первого элемента сов-- падени и выходом генератора импульсов 2 . Недостаток известного устройства заключаетс в том, что оно не обеспечивает селекции импульса максимальной длительности из серии импульсов с переменной длительностью. Цель изобретени - расширение функциональных возможностей путем выделени импульса максимальной длительности из серии импульсов4 Поставленна цель достигаетс тем, что в селектор импульсов по длительности, содержащий генератор импульсов, первый и второй счетчики импульсов, блок сравнени кодов и формирователь импульсов, вход которо- го соединен с входной шиной, введены третий счетчик импульсов, дешифратор, мультиплексор и преобразователь кода во временной интервал, при этом счетный вход первого счетчика импульсой подключен к выходу генератора импульсов , вход которого соединен с входной шиной, счетным входом третьего счетчика импульсов, причем выхОд формировател импульсов подключен к управл ющим входам первого, второго и третьего счетчиков импульсов , информационные выходы первого и второго счетчиков импульсов подключены к информационным входам мультиплексора и блока сравнени кодов, выход которого св зан с управл ющим входом мультиплексора, информационные йыходы которого соединены с информационными входами второго счетчика импульсов и преобразовател кода во временной интервал, управл ющий вход которого подключен к выходу.дешифратора и входу сброса третьего счетчика импульсов, информационные выходы которого подключены к входу дешифратора. На чертеже представлена структурна схема селектора импульсов по длительности. Селектор содержит генератор I импульсов , первый 2 и второй 3 счетчики импульсов, блок 4 сравнени кодов и формирователь 5 импульсов, третий счетчик б импульсов, дешифратор 7, мультиплексор 8 и преобразователь 9 кода во временной интервал, при этом счетный вход первого счетчика 2 импульсов подключен к выходу генератора i, вход которого соединен с входной шиной 10, счетным входом третьего счетчика 6 и входом формировател 5, выход которого подключен к управл ющим входам счетчиков 2, 3 и. б, информационные выходы первого.2 и второго 3 счетчиков подключены к информационным входам мультиплексора 8 и блока 4, выход которого св зан G управл ющим входо мультиплексора 8, информационные вы ходы которого соединены с информационными входами второго счетчика 3 и преобразовател 9, управл ющий вход которого подключен к выходу де шифратора 7 и входу сброса третьего счетчика 6, инфо|с лационные выход которого подключены к входу дешифра тора .7..... .„ .. Селектор импульсов по .длительност работает следующим образом/ При включении питани формировав тель 5 выдает импульс на установку счетчиков 2, 3 и 6 в исходное соето ние . С началом серки импульсов длительность первого импульса с помощью генератора 1 преобразуетс в пропорциональный ему код, который в блоке 4 сравниваетс с кодом на выходе счетчика 3, Счетчик 3 в исходном состо нии устанавливаетс в ноль, поэтому блок 4 выдает сигнал о том, что код счетчика 2 больше кода счетчика 3. По этому сигналу на выход мультиплексора 8, а следовательно , вход счетчика 3 поступает код со счетчика 2, который записываетс в счетчик 3 по окончаний первого импульса из серии. По окончании второго импульса в счетчик 3 записываетс код, пропорцио:нальный длительности большего импульса , т«.ё. в счетчике 3 всегда хранитс код, пропорциональный длительности максимального импульса. По окончании серии импульсов дешифратор 7 выдает сигнал в счетчик 6 и преобразователь 9, при этом счетчик 6 устанавливаетс в исходное (нулевое) состо ние, а преобразователь 9 повтор ет импульс максималь .ной длительности из серии импульсов. Таким образом, предлагаемый селектор импульсов по длительности обеспечивает выделение импульса максимальной длительности из серии входных импульсов при сохранении длительности отселектированнйго импульса на выходе устройства. Устройство -может быть использовано в контрольно -испытатель ной аппаратуре дл анализа данных о времени замыкани скольз щих контактов датчика , который расположен на вращающемс валу. Применение устройства в дес тки раз сокращает врем испытани и упрсацает аппаратуру контрол ,The invention relates to a pulse technique and coins to be used in automated control and monitoring systems, in particular in test equipment. A pulse selector is known in duration, containing a pulse generator, the output of which is connected to the first inputs of the first and second coincidence elements, the outputs of which are connected respectively to the input of summing the first and the subtraction input of the second pulses, the information inputs of which are connected to the outputs of the third matching element, inputs which is connected to the outputs of the storage register and the subtraction-codes block, the inverse trigger output and the output of the fourth match element, the first input of which is connected to the output The second input unit — with the reset input of the first pulse counter through the first delay element and through the pulse driver — with the second input of the first coincidence element and the device bus, the output of the fourth coincidence element being the second delay element connected to the input triggering, the input of which is connected to the output of the second pulse counter, and the direct output to the output bus of the device and the second input of the second element ij of the coincidence. The drawback of the device lies in the possibility of selecting only pulses of fixed duration, the value of which (in the form of a code) comes from the control device to the input of the storage register. The closest in technical essence to the present invention is a pulse selector in duration, comprising a pulse generator, first and second pulse counters, a code comparison unit and a pulse shaper, the input of which is connected to the input bus of the device and the first input of the first coincidence element, the output of which is connected to countable. the input of the first pulse counter, the reset input of which through a delay element is connected to the output of the pulse generator and the first input of the second match element, the second input of which is connected to the output of the code comparison unit, the first information inputs of which are connected to the information outputs of the first pulse counter, and the second information inputs with information outputs of the second pulse counter, the counting input of which is connected to the output of the third coincidence element; the first input of which is connected to the threshold bus se projection, and the second - to a second input of the first element sov-- incidence and output of the pulse generator 2. A disadvantage of the known device is that it does not provide for the selection of a pulse of maximum duration from a series of pulses with a variable duration. The purpose of the invention is to expand the functionality by separating a pulse of maximum duration from a series of pulses4. The goal is achieved by the fact that the pulse selector has the duration, containing the pulse generator, the first and second pulse counters, the code comparison unit and the pulse driver, the input of which is connected to the input pulse. bus, entered the third pulse counter, the decoder, the multiplexer and the code converter in the time interval, while the counting input of the first counter pulse connected to the output pulse generator, the input of which is connected to the input bus, the counting input of the third pulse counter, the output of the pulse former connected to the control inputs of the first, second and third pulse counters; the information outputs of the first and second pulse counters are connected to the information inputs of the multiplexer and the code comparison unit, the output of which is connected to the control input of the multiplexer, whose information outputs are connected to the information inputs of the second pulse counter and the converter to It is located in the time interval, the control input of which is connected to the output of the decoder and the reset input of the third pulse counter, the information outputs of which are connected to the input of the decoder. The drawing shows a structural diagram of the pulse selector for the duration. The selector contains a generator of I pulses, the first 2 and second 3 pulse counters, block 4 compare codes and shaper 5 pulses, the third counter b pulses, decoder 7, multiplexer 8 and the converter 9 code in the time interval, the counting input of the first counter 2 pulses connected to the generator output i, the input of which is connected to the input bus 10, the counting input of the third counter 6 and the input of the imaging unit 5, the output of which is connected to the control inputs of the counters 2, 3 and. b, the information outputs of the first 2. and second 3 counters are connected to the information inputs of the multiplexer 8 and block 4, the output of which is connected to the G control input of the multiplexer 8, the information outputs of which are connected to the information inputs of the second counter 3 and the converter 9, the control input which is connected to the output of the de-encoder 7 and the reset input of the third counter 6, the informational output of which is connected to the input of the descrambler .7 ...... „.. Pulse selector for. Duration works as follows / When turning on the power forms Charger 5 gives an impulse to install counters 2, 3 and 6 into the initial connection. With the onset of the pulse, the duration of the first pulse is converted by the generator 1 into a proportional code, which in block 4 is compared with the code at the output of counter 3, the counter 3 is reset to zero in the initial state, therefore block 4 generates a signal that the counter code 2 is greater than counter 3 code. This signal at the output of multiplexer 8, and therefore the input of counter 3, receives the code from counter 2, which is written to counter 3 after the first pulse from the series ends. At the end of the second pulse, a code is written into the counter 3, proportional to the duration of the larger pulse, m. Counter 3 always stores a code proportional to the maximum pulse duration. At the end of the pulse train, the decoder 7 outputs a signal to counter 6 and converter 9, the counter 6 is set to the initial (zero) state, and converter 9 repeats the pulse of maximum duration from the pulse train. Thus, the proposed pulse selector by duration ensures the selection of a pulse of maximum duration from a series of input pulses while maintaining the duration of the selected pulse at the output of the device. The device can be used in test equipment to analyze the closure time of the sliding contacts of the sensor, which is located on the rotating shaft. The use of the device reduces the test time by a factor of ten and controls the control equipment,