Изобретение относитс к измерительной технш е и может быть использовано дл измерени длины движущихс объектов. Цель изобретени - повьппение точкости измерени путем исключени вли ни инерционности фотодатчиков. На чертеже изображена блок-схема устройства дл измерени длины движущихс объектов, Устройство содержит фотодатчик 1 и осветители 2, установленные вдоль зоны измерени , распределитель 3 импульсов , перва группа.выходов которого соединены с осветител ми, блок ключевых элементов, информационные входы которого подключены к выходам фотодатчиков 1, а управл ющие входык первой группе выходов распределите л 3, блок 5 счета, установочный вхо которого соединен с вторым выходом распределител 3, регистратор 6, включенный на выходе блока 5 счета, генератор 7, подключенный к входу распределител 3, элемент ИЛИ 8, входы которого соединены с выходами блока 4 ключевых элементов, элемент пам ти, первый вход которого подключен к выходу элемента ИЛИ 8, а второй вход - к третьему рыходу распределител 3, элемент И 10, первьш вхо которого соединен с выходом элемента 9 пам ти, второй вход - с четвертым вькодом распределител 3, а выход - с входом блока 5 счета. Устройство работает следующим образом. Очередной цикл измерени начинает с при поступлении запускающего -импульса с генератора 7 на вход распре делител 3, на втором выходе распределител 3 по вл етс импульс, который устанавливает блок 5 счета в исходное положение. В качестве исходного положени может быть нулевое состо ние либо значение базовой длины , если устройство используетс дл измерени части длины объекта. На выходах первой группы распределител 3 поочередно по вл ютс импульсы, каждый из которых зажигает соответст вующий излучающий элемент осветител 2 и открывает ключ блока 4, подкл ченный к тому из фотодатчиков 1, который оптически св зан с этим излуча юпщм элементом 2 осветител . Излучение с очередного излучающего элемента осйетител 2 попадает на один из фотодатчиков 1, если он не затемнен контролируемым объектом. При этом могут быть одновременно засвечены несколько фотодатчиков, на выходах которых формируютс электрические сигналы, сдвинутые во времени относительно импульсов с выходов первой группы- распределител 3 .вследствие инерционности элементов тракта преобразовани излучени в электрический сигнал . На первьш вход (D-вход) элемента 9 пам ти подаетс сигнал, прощедший через открытый ключ блока 4 ключе вых элементов, который отстает от сигнала на его втором входе (С-входе ), поступающего с третьего выхода распределител 3 импульсов, поэтому после сн ти последнего в элементе 9 пам ти дополн етс единичный сигнал, возникающий при засветке данного из фотодатчиков 1. Таким образом, сигналы с зетененных фотодатчиков 1 перевод т элемент 9 пам ти в нулевое состо ние, а сигналы р засвеченньгх фотодатчиков 1- в единичное состо ние . Состо ние элемента 9 пам ти в паузах между импульсами опроса одно-значно определ ет состо ние опрашиваемых фотодатчиков 1 Ейли очередной из опрашиваемых фотодатчиков 1 окажетс засвеченным, то в последующей паузе элемент И 10 будет закрыт , так как на его первьй вход поступает сигнал с инверсного выхода элемента 9 пам ти, а если предыдущий из опрашиваемых фотодатчиков затенен - то импульс счета с четвертого выхода распределител 3 через элемент И 10 поступит :на вход блока 5 счета. Таким образом , за один цикл на выходе элементов И 10 по вл етс столько импульсов , сколько затенено фотодатчиков 1. Эти импульсы подсчитьшаютс блоком 5 счета и определ ют длину измер емого объекта. В конце цикла измерени на п том выходе распределител 3 импульсов по вл етс импульс , по которому информаци из блока 5 счета переписьтаетс в регистратор 6.The invention relates to measurement technology and can be used to measure the length of moving objects. The purpose of the invention is to measure the measurement point by eliminating the inertia effect of the photosensors. The drawing shows a block diagram of a device for measuring the length of moving objects, the device contains a photo sensor 1 and illuminators 2 installed along the measurement zone, a distributor of 3 pulses, the first group of outputs connected to illuminators, a block of key elements whose information inputs are connected to the outputs photosensors 1, and the control inputs of the first group of outputs are distributed by l 3, counting block 5, the installation input of which is connected to the second output of distributor 3, the recorder 6 connected at the output of counting block 5, g generator 7 connected to the input of the distributor 3, the element OR 8, whose inputs are connected to the outputs of the block 4 key elements, the memory element, the first input of which is connected to the output of the element OR 8, and the second input to the third distributor of the distributor 3, element 10 , the first input of which is connected to the output of the memory element 9, the second input is connected with the fourth code of the distributor 3, and the output is connected to the input of the counting unit 5. The device works as follows. The next measurement cycle starts when the trigger pulse arrives from the generator 7 to the input of the distributor 3, a pulse appears at the second output of the distributor 3, which sets the counting unit 5 to the initial position. The zero position or the base length value can be used as the reference position if the device is used to measure a part of the object's length. Pulses appear alternately at the outputs of the first group of the distributor 3, each of which ignites the corresponding radiating element of the illuminator 2 and opens the key of the block 4 connected to that of the photosensors 1 which is optically connected with this radiation of the illuminator 2. The radiation from the next radiating element of the light source 2 falls on one of the photosensors 1, if it is not darkened by the object under control. In this case, several photosensors can be illuminated simultaneously, at the outputs of which electrical signals are formed that are shifted in time with respect to the pulses from the outputs of the first distributor group 3. Due to the inertia of the elements of the radiation-to-electrical conversion path. The first input (D-input) of the memory element 9 is given a signal that has passed through the public key of the block 4 key elements, which lags behind the signal at its second input (C-input) coming from the third output of the distributor 3 pulses, therefore after These last elements in memory element 9 are supplemented by a single signal arising from the illumination of this one from photo sensors 1. Thus, signals from green photo sensors 1 convert memory element 9 to zero, and light signals from photo photo sensors 1 to single state . The state of the memory element 9 in the pauses between the polling pulses uniquely determines the state of the polled photosensors 1 If the next of the polled photosensors 1 turns out to be lit, the And 10 element will be closed in the subsequent pause, since its first input receives a signal from the inverse the output of the memory element 9, and if the previous of the surveyed photosensors is shaded, then the counting pulse from the fourth output of the distributor 3 through the AND 10 element will arrive at the input of the counting unit 5. Thus, in one cycle, as many pulses appear at the output of the elements AND 10 as shaded by the photosensors 1. These pulses are counted by the counting unit 5 and the length of the object to be measured is determined. At the end of the measurement cycle, a pulse appears at the fifth output of the pulse distributor 3, according to which the information from the counting unit 5 is copied to the recorder 6.