2.Преобразователь по п, 1, о т пич ающий с тем, что формирователь сигнала обратной св зи со™ держит элемент И, счетчик и дешифратор , выход которого вл етс выходом формиооватеп и соединен с одним 1182 75 входом элемента И, выход элемента И через счетчик соединен с входами дешифратора, при этом другой вход элемента И и установочный вход счетчика вл ютс соответственно счетным и установочным входами формировател .2. The converter according to claim 1, which is typical for the fact that the feedback signal generator co-holds the element AND, the counter and the decoder, the output of which is the output form and is connected to one 1182 75 input element AND, the output element AND through a counter connected to the inputs of the decoder, while the other input of the element AND and the installation input of the counter are respectively the counting and installation inputs of the imaging unit.
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в системах управле ни технологическими процессами при больших колебани х температуры окружающей среды и высоком уровне индустриальных помех в месте установки преобразовател . Цель изобретени - повышение поме хоустойчивости преобразовател . На фиг. 1 приведена структурна схема преобразовател ; на фиг. 2 схема формировател сигнала обратной СВЯЗИ на фиг. 3 - временные диагра мы, по сн ющие работу преобразовател Преобразователь содержит источник излучени , регул тор 2 тока, кодовый диск 3, фотоприемник 4, генератор 5 импульсов, формирователь 6 ШИМ-сигнала , элемент 7 сложени по модулю два, формирователь 8 сигнала обратной св зи, клеммы 9 блока питани . Формирователь 8 сигнала обратной св зи содержит элемент И 10, счетчик 11, дешифратор 12. Регул тор 2 тока состоит из резис тора и параллельно соединенного с ним транзистора п - р - п-типа,, коллектор шунтирующего транзистора соединен с выводом источника 1 излучени , эмиттер соединен с минусовой клеммой 9 блока питани , а база подключена к выходу формировател 8 сиг нала обратной св зи. Формирователь 6 ШИМ-сигнала содер жит элемент НЕ, выход которого соеди иен через раздепитбльньй конденсатор с.первым вьшодом фотоприемника 4, второй вьшод которого соединен с накопительным конденсатором и первым входом элемента И-НЕ. Второй вход элемента И-НЕ соединен с входом элемента НЕ и вл етс входом запуска формировател 6 ШИМ-сигнала. Таким образом внутреннее сопротивление фотоприемника 4 и накопительный конденсатор образуют врем задающую цепь формировател 6 ШИМ-сигнала, Преобразователь работает следующим образом. В положении, когда кодовьй диск 3 закрывает щель (фиг. 3, фрагмент темно), световой поток от источника 1 излучени не попадает на фотоприемник 4. Параметры врем задающей цепи выбраны такими, что длительность импульса на выходе формировател 6 ШИМ-сигнала больше длительности импульса, поступающего с генератора 5 импульсов. Но так как формирователь 6 ШИМ-сигнала построен на элементах И-НЕ, то длительность сформированных импульсов будет равна длительности импульсов, поступающих с генератора 5 импульсов. Поэтому на установочном входе формировател 8 сигнала обратной св зи устанавливаетс сигнал, разрешающий прохождение на его счетный вход импульсов с генератора 5 импульсов. При этом на выходе формировател 8 сигнала обратной св зи по вл етс напр жение , которое закрывает транзистор регул тора 2 тока и ток через источник 1 излучени определ етс сопротивлением, включенным последовательно с источником 1 излучени . По мере открьгоани щели уменьшаетс внутреннее сопротивление фотоприемника 4, что приводит к уменьшению посто нной времени врем задающей цепи, т.е. к уменьшению длительности импульса на выходе формировател 6 ШРМ-сигнала. Когда длительность импульса на выходе формировател 6 ИММ-сигнала станет меньше длительности импульса генератора 5 импульсов (см. фиг. 3 фрагмент светло). на выходе элемента 7 сложени по модулю два по витс сигнал, который поступает на установочный вход формировател 8 сигнала обратной св зи В результате этого информаци , посту пивша на счетный вход формировател 8 сигнала обратной св зи, стираетс и на его выходе по вл етс напр жение , открьшакщее шунтирующий транзистор регул тора 2 тока. Это приводит к увеличению тока, протекающего через источник 1 излучени . Возросший световой поток через фотоприемник 4 еще си-пьнее уменьшает .длительность импульса на выходе формировател 6 ШИМ-сигнала, и через сх му 7 сложени по модулю два удерживает на установочном входе формиро754 вател 8 сигнала обратной св зи такое состо ние, при котором информаци , поступающа на счетный вход формировател 8 сигнала обратной св зи, не запоминаетс . При закрывании щели кодовым диском 3 процесс изменени светового потока и длительности импульса модул тора 6 ШИМ протекает Б обратном пор дке. Использование в фотоэлектрическом преобразователе широтно-импульсной модул ции дл передачи информации с кодового диска позвол ет существенно уменьшить вли ние индустриальных помех на точность съема информации.The invention relates to automation and computing and can be used in process control systems with large fluctuations in ambient temperature and a high level of industrial interference at the installation site of the converter. The purpose of the invention is to increase the interference resistance of the converter. FIG. 1 shows a flowchart of a converter; in fig. 2 shows the feedback driver circuit of FIG. 3 - timing diagrams explaining the operation of the converter The converter contains a radiation source, a current regulator 2, a code disk 3, a photodetector 4, a pulse generator 5, a PWM signal driver 6, a modulo-element 7, a feedback signal generator zi, terminals 9 of the power supply. The shaper 8 of the feedback signal contains an element 10, a counter 11, a decoder 12. The current regulator 2 consists of a resistor and a n - p - n - type transistor connected in parallel with it, the shunt transistor collector is connected to the output of radiation source 1, The emitter is connected to the negative terminal 9 of the power supply unit, and the base is connected to the output of the driver 8 of the feedback signal. Shaper 6 of the PWM signal contains an element NOT, the output of which is connected via a separate capacitor with the first pin of the photodetector 4, the second pin of which is connected to the storage capacitor and the first input of the NAND element. The second input of the element is NOT connected to the input of the element and is not the trigger input of the PWM shaper 6. Thus, the internal resistance of the photodetector 4 and the storage capacitor form the time of the driving circuit of the PWM signal generator 6, the Converter operates as follows. In the position when the code disk 3 closes the slot (Fig. 3, fragment is dark), the luminous flux from the radiation source 1 does not fall on the photodetector 4. The parameters of the driving circuit are chosen such that the pulse duration at the output of the PWM signalizer 6 is longer than the pulse duration coming from the generator 5 pulses. But since the shaper of the 6 PWM signal is built on the elements of NAND, the duration of the generated pulses will be equal to the duration of the pulses coming from the generator of 5 pulses. Therefore, at the installation input of the feedback signal generator 8, a signal is established that permits the passage of pulses from the generator 5 pulses to its counting input. In this case, a voltage appears at the output of the feedback signal generator 8, which closes the transistor of the current regulator 2 and the current through the radiation source 1 is determined by the resistance connected in series with the radiation source 1. As the slit opens, the internal resistance of the photodetector 4 decreases, which leads to a decrease in the time constant of the driving circuit time, i.e. to a decrease in the pulse duration at the output of the imager 6 of the SHRM-signal. When the pulse duration at the output of the imager 6 of the IMM-signal becomes less than the pulse duration of the generator 5 pulses (see Fig. 3, the fragment is light). at the output of the modulo two element 7, a signal is produced which is fed to the installation input of the feedback signal shaper 8 As a result, the information sent to the counting input of the feedback shaper 8 is erased and a voltage appears at its output open shunt transistor of current regulator 2. This leads to an increase in the current flowing through the radiation source 1. The increased luminous flux through the photodetector 4 further reduces the pulse duration at the output of the PWM signal generator 6, and through modulo 7 addition modulo two it holds at the installation input of the feedback signal generator 8, such that the input to the counting input of the feedback signal conditioner 8 is not memorized. When the code disk 3 closes the gap, the process of changing the light flux and the pulse duration of the modulator 6 PWM proceeds in the reverse order. The use of a pulse width modulation for transmitting information from a code disk in a photoelectric converter allows one to significantly reduce the effect of industrial noise on the accuracy of information retrieval.