Claims (1)
о Изобретение относитс к автоматике и вычислительной технике и может быть использовано дл св зи оператора с электронной вычислительной машиной, в частности, в устройствах ввода информации в ЭВМ. Цель изобретени - повышение поме хозащищенности устройства. На фиг, 1 изображена структурна схема устройства ввода| на фиг. 2 временные диаграммы его работы. Устройство содержит оптоэлежтронную матрицу 1, светоприемники и светоизлучатели 2 и 3, генератор 4 имггульсов , счетчик 5, первый и второй дешифраторы 6 и 7, первьш и второй аналоговые мультиплексоры 8 и 9, усилители 10, первый и второй усилители 11 и 12 тока, первый и второй блоки 13 и 14 выборки и хранени , первый и второй компараторы 15 и IGj первый и второй аналоговые сумматоры 17 и 18, первый и второй триггеры 19 и 20, элементы 21 задержки, первый и второй одновибраторы 22 и 23, элемент И 24, первьй и второй регистры 25 и 26. Работа устройства осуществл етс ,в два этапа. Вначале происходит запись кода координаты касани X а затем код У . Работа устройства при записи координаты иллюстрируетс временным диаграммами / в:а фиг. 2, где вых. 4 - сигнал на выходе генератора 4, вых, 8 сигнал на выходе аналогового мультип-пексора 8, вых. 17 - сигнал на выходе сумматора 17, вых. 15 - сигнал на выходе; компаратора 15, вых, 19 - сигнал на пр пр мом выходе триггера 195 вых. 22 сигнал на выходе одновибратора 22. Переключение и опрос оптических каналов в матрице происходд т последо вательно во времени подачей соответствующего кода сигнала на управл ющи входы дешифратора 6 и аналогового мультиплексора 8 (состо ни счетчика разделены пунктирными лини г-ш) , Так как дешифратор дополнительно стробируетс сигналом с выхода генератора 4j то в начальньм момент времени опроса канала включаетс только светоприемник 2, который воспринимае сигнал внешней (паразитной) подсветки j которьй усиливаетс на усилителе 11 и запоминаетс в блоке 13 выборки и хранени (лог. 1 на его управл нщем входе). Затем во второй половине времени опроса канала включаетс соответствующий светоизлучатель 3 и сумма.рный уровень сигнал + помеха, усиленный на усил: 1теле 11, подаетс на первый вход компаратора 15. При по влении лог. О на управл ющем входе блок.13 выборки и хранени переходит в режим хранени уровн напр жени . Этот уровень с его выхода увеличиваетс на величину дУ с помощью сумматора 17 и подаетс на второй вход компаратора 15.-Если напр жение на первом входе компаратора 15 в этот момент превьшает напр жение на втором его входе, то на выходе его устанавливаетс уровень лог, О (сигнал от светоизлучател попал на сззетоприемник, пересечени нет) . Если жв уровень напр жени на первом входе меньше уровн на втором, то на выходе регистрируетс лог.1 (сигнал от светоизлучател не попал на светоприемник, есть пересечение луча). Логический уровень с выхода компаратора 15 записываетс в триггер 19 по приходу фронта 0-1 на С-вход. Лог, 1, записанна в триггер 19,, запускает одновибратор 22, который передним фронтом записьшает код канала, в котором зарегистрировано пересечение в выходной регистр 25. Выход одновибратора 22 будет находитьс в состо нии лог. 1 до тех пор, пока длитс пересечение какого-либо канала (на выходе триггеipa 19 возникают поддерживаюище импульсы ) , Таким образом сигнал на выходе одновибратора 22 фронтом 0-1 указывает на. начало пересечени излучени оптоэлектронной матри7да, а фронтом 1-0 - на конец пересечени . Б процессе пересечени одновибратор 22 блокирует устройство от записи ложных кодов при пересечении одновременно нескольких лучей. Запись кода У в регистр 26 происходит аналогично . При совпадении двух лог.1 элемент И 24 вырабатывает сигнал готовности информации. Благодар тому, что .при выборе каждого оптического канала вначале измер етс уровень внешней освещенности , а затем сравниваетс с уровнем помеха + сигнал, обеспечиваетс надежна работа устройства при широком диапазоне изменени внешней освещенности и большом разбросе фотоприемников по чувствительности. Экспериментальные исследовани макета устройства показали, что оно надежно работает при изменении внешней освещенности видимого спектра в диапазоне ЛЕ 0-5000 лк и различии на пор док чувствительности фототранзистора Формула изобретени Устройство дл ввода информации, содержащее генератор импульсов, счет чик, два дешифратора, усилители и оптоэлектронную матрицу, состо щую из светоизлучателей и светоприемников , расположенных по горизонтали и вертикали матрицы, выход генератора импульсов подключен к стробирующим входам первого и второго дешифраторов и входу счетчика выходы которого подключены к информационным входам первого и второго дещифраторов, выходы которых через усилители подключены к входам светоизлучителей, отличающеес тем, что, с целью повьппени помехозащищенности устройства, в него введены два усилител тока, два блока выборки и хранени , два аналоговых сумматора, два компаратора, два триггера, элемент задержки, два одновибратора, два регистра, элемент И и два анало говых мультиплексора, управл ющие входы которых подсоединены к выхода счетчика, а информационные входы входам светоприемников, входы перво и второго усилителей тока подключены к выходам первого и второго аналоговых мультиплексоров, а выходы - к информационным входам первого ивторого блоков выборки и хранени , а также к первым входам первого и второго компараторов, управл ю1цие входы первого и второго блоков выборки и хранени подключены к выходу генератора , а выходы подключены к первым входам первого и второго аналоговых сумматоров, выходы которых подключены к вторьм входам первого и второго компараторов, выходы которых подсоединены к входам данных первого и второго триггеров, выход генератора имt пульсов через элемент задержки подсоединен к синхровходам, а выходы , пр мой и инвертирующий, старшего разр да счетчика - к входам сброса первого и второго триггеров, выходы которых подключены к входам первого и второго одновибраторов, выходы которых подключены к первому и второму входам элемента И и к управл ющим входам первого и второго регистров, информационные входы которых соединены с вБпсодами счетчика, а выходы первого и второго регистров и выход элемента И вл ютс информационными и стробирующими выходами устройства соответственно, вторые входы первого и второго аналоговых сумматоров соединены с положительной щиной устройства.o The invention relates to automation and computer technology and can be used to communicate an operator with an electronic computer, in particular, in input devices for computers. The purpose of the invention is to increase the interference resistance of the device. Fig, 1 shows a block diagram of the input device | in fig. 2 time diagrams of his work. The device contains an optoelectronic matrix 1, light-receivers and light emitters 2 and 3, generator 4 imguls, counter 5, first and second decoders 6 and 7, first and second analog multiplexers 8 and 9, amplifiers 10, first and second amplifiers 11 and 12 current, first and the second blocks 13 and 14 of sampling and storage, the first and second comparators 15 and IGj the first and second analog adders 17 and 18, the first and second triggers 19 and 20, delay elements 21, the first and second one-shot 22 and 23, element 24, The first and second registers are 25 and 26. The device is operated in two tapa. First, the code for the contact coordinate X is recorded and then the code Y. The operation of the device during the recording of the coordinate is illustrated by time diagrams / in: and FIG. 2 where the out. 4 - signal at the generator output 4, o, 8 signal at the output of the analog multipap 8, o. 17 - the signal at the output of the adder 17, o. 15 - output signal; comparator 15, o, 19 - signal at the direct output of the trigger 195 o. 22 signal at the output of the one-shot 22. Switching and interrogation of optical channels in the matrix occur sequentially in time by applying the corresponding signal code to the control inputs of the decoder 6 and analog multiplexer 8 (the counter states are separated by dashed lines r-sh), since the decoder is additionally gated by the signal from the output of the generator 4j then, at the initial time of channel polling, only the light 2 is turned on, which perceives the signal of the external (parasitic) backlight j which is amplified on the amplifier 11 and zap It is recognized in block 13 of sampling and storage (log. 1 on its control input). Then, in the second half of the channel polling time, the corresponding light emitter 3 is switched on and the sum. Generic level signal + interference amplified by the amplifier: 1 TEL 11 is fed to the first input of the comparator 15. When a log appears. On the control input block 13, the sampling and storage goes into the voltage level storage mode. This level from its output is increased by the value of the control with the help of the adder 17 and is fed to the second input of the comparator 15.-If the voltage at the first input of the comparator 15 at this moment exceeds the voltage at its second input, then the output level is set to log, O (The signal from the light emitter hit the receiving receiver, there is no intersection). If the voltage level at the first input is less than the level at the second, then log.1 is recorded at the output (the signal from the light emitter did not reach the light detector, there is a beam crossing). The logic level from the output of the comparator 15 is written to the trigger 19 upon the arrival of the front 0-1 at the C input. The log, 1, recorded in the trigger 19, triggers the one-shot 22, which, with the leading edge, records the channel code in which the intersection is registered in the output register 25. The output of the one-shot 22 will be in the state log. 1 as long as the intersection of a channel lasts (at the output of trigger 19, support impulses occur), thus the signal at the output of the one-shot 22 by the front 0-1 indicates. the beginning of the intersection of the radiation of the optoelectronic matrix, and the front 1–0 - at the end of the intersection. In the crossing process, the one-shot 22 blocks the device from recording false codes when several beams cross simultaneously. Writing the code in the register 26 is similar. When two log.1 matches, element I 24 generates a readiness signal for information. Due to the fact that when choosing each optical channel, the level of ambient light is first measured, and then compared with the level of interference + signal, the device operates reliably with a wide range of changes in ambient light and a wide range of photodetectors in sensitivity. Experimental studies of the device layout have shown that it works reliably when the external illumination of the visible spectrum changes in the range of LE 0-5000 lux and the sensitivity difference of the phototransistor is invented by the invention Formula for inputting information containing a pulse generator, a counter, two decoders, amplifiers and an optoelectronic a matrix consisting of light emitters and light detectors arranged horizontally and vertically of the matrix, the output of the pulse generator is connected to the gate inputs of the first and volts of the decoder and the input of the counter whose outputs are connected to the information inputs of the first and second detectors, the outputs of which through amplifiers are connected to the inputs of light emitters, characterized in that, in order to increase the noise immunity of the device, two current amplifiers, two sampling and storage units, two analog adders, two comparators, two triggers, a delay element, two single-oscillators, two registers, an And element and two analog multiplexers, the control inputs of which are connected to the output of the counter, and the formation inputs to the inputs of the light-receivers, the inputs of the first and second current amplifiers are connected to the outputs of the first and second analog multiplexers, and the outputs to the information inputs of the first and second blocks of sampling and storage, as well as to the first inputs of the first and second comparators, controlling the inputs of the first and second blocks sampling and storage are connected to the generator output, and outputs are connected to the first inputs of the first and second analog adders, the outputs of which are connected to the second inputs of the first and second comparators, cat outputs These are connected to the data inputs of the first and second triggers, the output of the pulse generator through the delay element is connected to the synchronous inputs, and the outputs, direct and inverting, of the most significant bit of the counter - to the reset inputs of the first and second triggers, the outputs of which are connected to the inputs of the first and second one-shot, the outputs of which are connected to the first and second inputs of the element I and to the control inputs of the first and second registers, the information inputs of which are connected to the bps of the counter, and the outputs of the first and second registers and outputs AND gates are outputs strobe information and device, respectively, second inputs of first and second analog adder is connected to the positive schinoy device.
femfem
тt
Bbfx, fyBbfx fy
Вых. 8Out eight
Вш, 17 ВЫХ.19 Вш.15 Вы к.13 Вых. 22Vsh, 17 Vyh.19 Vsh.15 You k.13 Vyh. 22
Фие,Phie,