Claims (2)
Поставленна цель достигаетс тем, что в устройство дл ввода информации, содержащее матрицу коммутационных элементов , горизонтальные шины которой соединены с одним входом мультиплексора , а вертикальные - с выходами дешифратора , другие входы мультиплексора и входы дешифратора соединены с соответствующими выходами счетчика и одними выходами устройства, выход мультиплексора соединен с первым входом первого триггера, выход которо.го соединен с входом первого refrepaTOpa импульсов, KOTOjioro соединен со входогл счотшшп, гч.о/юиы второй к третий тргалоры, пторой генератор 11М1тул зСОЕ, первый и второй элементы И, первый вход второго триггера соединен с выходом первого триггера, а BTOpovl вхоп - с входом устройства, выход второго триггера соединен с другим выходом устройства и входсм второго генератора импульсов, один выход которого соединен с первым входом третьего триггера и с первым входом первого элементаИ , второй вход которого соединен с выходом мультиплексора, а выход - с вторым входом третьего триггера, выход которого соединен с первым входом второго элемента И, второй вход которого соединен с другим выходом второго генератора импульсов, а выход- с вторым ; входом первого триггера. На чертеже изображена функииональгна схема устройства.. Устройство содержит матрицу 1 коммутационных элементов, мультиплексор 2, деши4ратор 3, счетчик 4, первый триггер 5, первый генератор 6 импульсов, второй триггер 7, второй генератор 8 импульсов, первый элемент И 9, третий триггер 10, второй элемент И 11, вход 12 устройства, один выход 13 устройства, другой выход 14 устройства. Устройство работает следующим образодМ . , С первого генератора 6 импульсы поступают на вход счетчика 4, одни из выходов 9 оторого управл ют работой мультцн плексора 2, а другие погйслючены ко вхо- дам дешифратора 3. При работающем первом генераторе 6 импульсов мультиплексором 2 совместно с дешифратором. 3 производитс последовательный опрос каждого коМ1у1утапионного элемента матрицы При нажатой клавише натрииы 1 в момен когда код на выходе счетчика 4 соответствует коду вводщуюго в ЭВМ символа, на выходе мультиплексора 2 по вл етс сигнал, который вл етс нестационарным из-за дребезга контактов нажатой клавиши в По этому сигналу первый триггер 5 устанавливаетс в единичное состо {ше и запрещает работу первого генератора 6 импульсов. По переднему фронту сигнала с выхода триггера 5 срабатывает (по аинамическому входу) триггер 7, с выхода которого сигнал поступает на выход 14 устройства сигнализирует ЭВМ о готовности устройства и останавливает рабо ту второго генератора 8 импульсов. Одно временно фикстфуетс на счетчшс.е 4, код ввоцимого в ЭЕ5М сим.вопа. Как только прои.зво.шт ввод копа и выпоет на вход устройства сигнал синхронизации ввода данных, второй триггер 7 сбрасывоет с и разрешает работу второго генерато ра 8 импульсов. Если ввод данных в ЭВМ происходит после того, как кл1авиша отжата и дребезг контактов, возникающий при отжатии клавиши закончилс , то по переднему фронту первого положительного импульса, поступающего с первого выхода второго генератора 8 импульсов, устанавливаетс ( по первому динамическому входу) в едикичное состо ние третий триггер 10, который через второй элемент И 11 разрешает сброс первого триггера 5 по заднему фрон-г ту этого же импульса. Если ввод данньтх в ЭВМ происходит до отжати клавиши или во врем дребезга контактов (возникающего при нажатии нли опускании клавишпн ), то третий триггер 1О,устанавлива сь в единичное состо ние по положительному фронту импульса второго генератора 8, тут же сбрасываетс сигналом, поступающим на его второй установочный вход с мультиплексора 2 через первый элемент И 9. Тем самым на данном периоде следовани импульсов второго генератора 8 первый триггер 5 не сбрасываетс . Надежность работы устройства высока при обеспечении условий: f де г--|4 частота следовани импульсов второго генератора 8, f - частота дребезга контактов. Таким образом, первый триггер. 5 устанавливаетс в единичное состо ние до тех пор, пока не завершитс ввод данных в ЭВМ и не закончитс дребезг контактов при отжатийи клавиши. Это позвол ет держать неизмешгым код на счетчике 3 требуемое врем , при этом исключаетс повторный ввод кода в ЭВМ или ввод ошибочного кода при дребезге контактов, а также при случайном нажатии соседних с нажатой клавиши. ПоложительнЬ1й эффект предлагаемого устройства, по сравнению с известным, заключаетс в обеспечении возможности асинхронной работы с ЭВМ и повышении надежности устройства при наличии дребезга контактов клавиш . Формула изобретени Устройство дл ввода информации, содержащее матршту коммутационных элементов , горизонтальные шиго) которой i otimнены с одними входами .-/гу/ч.тигиижАрп, 59 а вертикальные - с выходами дешифратора другие входы мультиплексора и входы дешифратсфа соединены с соответствующими выходами счетчика и одними выходами устройства, выход мультиплексора соединен с первым входом первого триггера , выход которого соединен с входом первого генератора импульсов, выход которого соединен со входом счетчи-i ка, отличающеес тем, что, с целью повышени надежности устройст ва, в него введены второй и третий триггеры , второй генератор импульсов, первый и второй элементы И, первый вход второго триггера соединен свыходом первого триггера, -а второй вход - с входом устройства, выход второго триггера соединен с другим выходом устройства и входом второго генератора импульсов, одинThe goal is achieved by the fact that the input device contains a matrix of switching elements, the horizontal buses of which are connected to one input of the multiplexer, and the vertical buses - to the outputs of the decoder, the other inputs of the multiplexer and the inputs of the decoder are connected to the corresponding outputs of the counter and one output of the device, the output the multiplexer is connected to the first input of the first trigger, the output of which is connected to the input of the first refreptopa of pulses, KOTOjioro is connected to the input of the second, third to third trhalors, the second generator 11M1tul ZSOE, the first and second elements are And, the first input of the second trigger is connected to the output of the first trigger, and BTOpovl Vkhop - to the device input, the output of the second trigger is connected to another output of the device and the input of the second pulse generator, one output of which is connected to the first input of the third trigger and the first input of the first element, the second input of which is connected to the multiplexer output, and the output to the second input of the third trigger, the output of which is connected to the first input of the second element And, the second input to the second is connected to another output of the second pulse generator, and the output to the second; the entrance of the first trigger. The drawing shows a functional diagram of the device .. The device contains a matrix of 1 switching elements, a multiplexer 2, a remote controller 3, a counter 4, the first trigger 5, the first generator 6 pulses, the second trigger 7, the second generator 8 pulses, the first element 9, the third trigger 10 , the second element And 11, the input 12 of the device, one output 13 of the device, the other output 14 of the device. The device works as follows. From the first generator 6, the pulses are fed to the input of the counter 4, one of the outputs 9 controls the operation of the cartoon plexer 2, and the others are connected to the inputs of the decoder 3. With the first generator working, 6 pulses are used by the multiplexer 2 together with the decoder. 3 sequential polling of each matrix element of the matrix is performed. When the sodium 1 key is pressed at the moment when the code at the output of counter 4 corresponds to the code entered into the computer symbol, a signal appears at the output of multiplexer 2, which is non-stationary due to the bounce of the pressed key in This signal, the first trigger 5 is set to one state {above and prohibits the operation of the first generator of 6 pulses. On the leading edge of the signal from the output of the trigger 5, a trigger 7 is triggered (by the dynamic input), from which the signal arrives at the output 14 of the device, signals the computer that the device is ready and stops the second generator 8 pulses. At the same time, it is fixed on the counting code 4, the code entered into the SIM in the E5M. As soon as the cop input enters the device input signal, the second trigger 7 resets and enables the second generator 8 pulses to work. If data entry into the computer occurs after the key is pressed and contact bounce occurs when the key is released, the leading edge of the first positive pulse coming from the first output of the second generator 8 is set (by the first dynamic input) to the individual state the third trigger 10, which through the second element 11 and allows the reset of the first trigger 5 along the trailing edge of the same pulse. If data input into the computer occurs before the key is pressed or during contact bounce (when the key is pressed down), the third trigger 1O sets to one on the positive edge of the second generator pulse 8, is immediately reset by the signal applied to it the second setup input from multiplexer 2 through the first element AND 9. Thus, in this period of the pulses of the second generator 8, the first trigger 5 is not reset. The reliability of the device is high while ensuring the conditions: f de r - | 4 the pulse frequency of the second generator 8, f is the frequency of contact bounce. So the first trigger. 5 is set to one until the input of data into the computer is completed and the contact bounce is completed when the key is released. This allows you to keep the code on the counter 3 uninterrupted for the required time, thus preventing re-entering the code in the computer or entering an erroneous code when the contacts bounce, as well as by accidentally pressing the neighbors with the key pressed. The positive effect of the proposed device, as compared with the known one, is to provide the possibility of asynchronous work with a computer and to increase the reliability of the device in the presence of bounce of the contacts of the keys. Claims of the Invention A device for inputting information containing a matrix of switching elements, horizontal shigo) of which i otimneny with one inputs .- / gu / h.higiArp, 59 and vertical - with outputs of the decoder, other inputs of the multiplexer and inputs of the decoder are connected to the corresponding outputs of the counter and one the outputs of the device, the multiplexer output is connected to the first input of the first trigger, the output of which is connected to the input of the first pulse generator, the output of which is connected to the input of the counter-i ka, characterized in that In order to increase the reliability of the device, the second and third triggers are entered into it, the second pulse generator, the first and second elements are And, the first input of the second trigger is connected to the output of the first trigger, - and the second input is connected to the device input, the output of the second trigger is connected to another output of the device and the input of the second pulse generator, one
HiJHij
1 3 выход которого соединен с первым входом третьего триггера и с первым входом персого элемента И, второй вход которого соединен с выходом мультиплексора , а выход - со вторым входом третьего триггера, выход которого соединен с первым входом второго элемента И, второй вход которого соединен с другим выходом второго генератора импульсов, а выход - со вторым входом первого триггера. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР № 398941, кл. G 06 F 3/02, 1972. 1 3 the output of which is connected to the first input of the third trigger and to the first input of the persian element And, the second input of which is connected to the multiplexer output, and the output to the second input of the third trigger, the output of which is connected to the first input of the second element And, the second input of which is connected to the other output of the second pulse generator, and the output with the second input of the first trigger. Sources of information taken into account in the examination 1. USSR author's certificate number 398941, cl. G 06 F 3/02, 1972.
2.Авторское свидетельство СССР № GG9350, кл. QO6F. 3/О2, 1978 (прототип).2. USSR Author's Certificate No. GG9350, cl. QO6F. 3 / O2, 1978 (prototype).