11 Изобретение относитс к сельскохоз йственному машиностроению и приборостроению и может быть использовано в производстве и заготовках при оценке качества зерна семенного и производственного назначени , а также дл контрол и автоматизации работы высевакжщх аппаратов се лок. Цель изобретени - повышение точности устройства. На фиг. 1 изображена функциональна схема устройства; на фиг. 2 и 3 соответственно схемы возможных реали заций регул тора 3 интенсивности излучени и элемента 12 пам ти. J Устройство содержит блок 1 синхронизации , генератор 2 импульсов, регул тор 3 интенсивности излучени , источник 4 излучени , фотодатчик 5, первый усилитель 6, первый компаратор 7, первый источник 8 опорного напр жени , второй компаратор 9, регистратор 10, детектор 11, элемент 12 пам ти, третий компаратор 13,второй источник 14 опорного напр жени , второй усилитель 15, ключ 16 и резистор 17 (нагрузка). Устройство дл счета сем н работает следующим образом. При включении устройства конденсато1р элемента 12 пам ти разр жен, . что обусловливает наличие на выходе элемента 12 нулевого напр жени , и элемент сравнени , сравнива с напр жением второго источника 14 опорного напр жени , подает разностный сигнал на второй усилитель 15, который управл ет регул тором 3 интенсивности излучени и заставл ет источник 4 излучени вьфабатывать излучение максимальной интенсивности. Это излучение воспринимаетс фотодатчиком с5, полученный сигнал усиливаетс пер вым усилителем 6 и поступает на первый компаратор 7. При превьшении амплитуды импульсов сигнала напр же . ни первого источника 8 опорного на пр жени первый компаратор 7 срабатывает и подключает к детектору 11 при помощи ключа 16 резистор 17.Сиг нал от первого, усилител 6 детектируетс детектором 11 и значение его подаетс на элемент 12 пам ти и измен етс до тех пор, пока не достиг . нет равенства с напр жением второго источника 14 опорного напр жени . Детектор 11 вл етс амплитудным детектором. При поступлении семени на линию оптической св зии перекрыти ее семенем амплитуда импульсов на входе первого компаратора 7 падает и при более низкой амплитуде, чем напр жение с первого источника 8 опорного напр жени первый компаратор 7 размыкает ключ 16. При этом изменение напр жени на элементе 12 пам ти и регулирование прекращаетс . Одновременно первый компаратор 7 разрешает работу второго компаратора 9, которьй считает импульсы генератора 2 импульсов, задержанные семенем, и по их количеству вьщает сигнал счета , определ ет их размер, так как генератор 2 импульсов синхронизирован устройством 1 синхронизации по скорости движени сем н. Результат работы второго компаратора 9 подаетс на регистратор 10. Дл раздельного счета сем н, следующих друг за другом, достаточно прохода между ними оптического импульса , который преобразуетс фотодатчиком 5 и первым усилителем 6, и при превышении полученного импульса напр жени первого источника 8 опорного напр жени , первый компаратор 7 дает команду на второй компаратор 9 дл раздельного их счета. При изменении коэффициента преобразовани источника 4 излучени ,фотодатчика 5, первого усилител 6, а также при изменении коэффициента пропускани оптической линии св зи, например, от запыленности, обратна св зь при помощи регул тора 3 интенсивности излучени компенсирует это изменение. Детектор 11 может быть выполнен в виде однопериодного выпр мител с удвоением напр жени как в приведенном примере, так и синхронного типа, управл емого от коммутатора 7 напр жени . Резистор 17 подключаетс через ключ 16 и к выходу детектора 11 только на период прохоткдени импульса большей амплитуды, чем величина первого опорного напр жени . Одновременно резистор 17 служит дл избирательного реагировани всего устройства на помеху и полезный сигнал. Посто нна времени цепи разр да , конденсатора элемента 12 пам ти выбираетс большей, чем врем пересечени началом и концом семени оптической линии св зи.11 The invention relates to agricultural machinery and instrument engineering and can be used in production and procurement in assessing the quality of grain for seed and production purposes, as well as for monitoring and automating the work of crop seed machines. The purpose of the invention is to improve the accuracy of the device. FIG. 1 shows a functional diagram of the device; in fig. 2 and 3, respectively, diagrams of possible implementations of the radiation intensity regulator 3 and the memory element 12. J The device contains a synchronization unit 1, a pulse generator 2, a radiation intensity regulator 3, a radiation source 4, a photo sensor 5, a first amplifier 6, a first comparator 7, a first source 8 of a reference voltage, a second comparator 9, a recorder 10, a detector 11, element 12 memory, the third comparator 13, the second source 14 of the reference voltage, the second amplifier 15, the key 16 and the resistor 17 (load). The device for counting seeds works as follows. When the device is turned on, the condenser of the memory element 12 is discharged,. which determines the presence of zero voltage at the output of the element 12, and comparing the element, comparing it with the voltage of the second source 14 of the reference voltage, sends a difference signal to the second amplifier 15, which controls the radiation intensity regulator 3 and causes the radiation source 4 to fail. maximum intensity. This radiation is sensed by the photocell c5, the received signal is amplified by the first amplifier 6 and fed to the first comparator 7. When the amplitudes of the signal pulses are exceeded. The first comparator 7 is triggered and connected to the detector 11 with the help of the switch 16 by a switch 16 and the resistor 17. The signal from the first amplifier 6 is detected by the detector 11 and its value is fed to the memory element 12 and is changed not yet reached. there is no equality with the voltage of the second source 14 of the reference voltage. The detector 11 is an amplitude detector. When a seed arrives at the optical link, the seed amplitude of the pulses at the input of the first comparator 7 drops and at a lower amplitude than the voltage from the first source 8 of the reference voltage, the first comparator 7 opens the switch 16. At the same time, the voltage change on the element 12 memory and regulation is terminated. At the same time, the first comparator 7 enables the second comparator 9, which counts the pulses of the generator 2 pulses delayed by the seed, and by their number enals the counting signal, determines their size, since the generator 2 of the pulses is synchronized by the seed speed synchronization device 1. The result of the operation of the second comparator 9 is applied to the recorder 10. For separate counting of the seeds following each other, an optical pulse between them is sufficient, which is converted by the photosensor 5 and the first amplifier 6, and when the received voltage pulse of the first source 8 of the reference voltage is exceeded The first comparator 7 gives a command to the second comparator 9 to split their bills. When changing the conversion coefficient of the radiation source 4, the photo sensor 5, the first amplifier 6, and also when the transmittance of the optical communication line changes, for example, from dust, feedback using the radiation intensity controller 3 compensates for this change. The detector 11 may be configured as a single-period voltage doubled rectifier in the example shown, as well as a synchronous type controlled from the voltage switch 7. The resistor 17 is connected via a switch 16 and to the output of the detector 11 only for the period of a pulse of greater amplitude than the magnitude of the first reference voltage. At the same time, the resistor 17 serves to selectively react the entire device to interference and the desired signal. The time constant of the discharge circuit, the capacitor of the memory element 12 is chosen greater than the time of crossing the beginning and end of the seed of the optical communication line.