SU985776A1 - Data input device - Google Patents
Data input device Download PDFInfo
- Publication number
- SU985776A1 SU985776A1 SU802996560A SU2996560A SU985776A1 SU 985776 A1 SU985776 A1 SU 985776A1 SU 802996560 A SU802996560 A SU 802996560A SU 2996560 A SU2996560 A SU 2996560A SU 985776 A1 SU985776 A1 SU 985776A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- register
- output
- outputs
- counter
- Prior art date
Links
Landscapes
- Input From Keyboards Or The Like (AREA)
Description
Изобретение относится к автоматике и вычислительной технике и может быть использовано в устройствах управления.The invention relates to automation and computer technology and can be used in control devices.
Известны устройства для ввода информации, характерной особенностью которых является использование клавиатуры, состоящей из отдельных кнопок, присоединенных к шифратору [11.Недостатком таких устройств являет'* ся высокая сложность шифратора при большом числе кнопок.Known devices for entering information, a characteristic feature of which is the use of a keyboard consisting of separate buttons attached to the encoder [11. The disadvantage of such devices is the high complexity of the encoder with a large number of buttons.
Известно также устройство, содержащее клавиатуру, представляющую собой матрицу кнопок, горизонтальные шины которой соединены с входами мультиплексора, генератор импульсов, ёчетчик^. выходы которого подключены к адресным входам мультиплексора и к дешифратору, выходы которого соединены с вертикальными шинами клавиатуры. Кроме того, устрой2 ство содержит элемент И, элемент задержки' и триггер [2].It is also known a device containing a keyboard, which is a matrix of buttons, the horizontal buses of which are connected to the inputs of the multiplexer, a pulse generator, a counter ^. the outputs of which are connected to the address inputs of the multiplexer and to the decoder, the outputs of which are connected to the vertical buses of the keyboard. In addition, the device contains an AND element, a delay element ', and a trigger [2].
Недостатком известного устройства является то, что при случайном нажатии-одновременно на две' или несколько кнопок, соединенных с разными вертикальными шинами клавиатуры, происходит объединение выходов в дешифраторе, что приводит к снижению надежности, так как для большинства существующих микросхем такой режим работы недопустим, применение же дишифратора, допускающего объединение по выходу, существенно усложf5 нит схему.A disadvantage of the known device is that by accidentally pressing two or more buttons simultaneously connected to different vertical keyboard buses, the outputs in the decoder are combined, which leads to a decrease in reliability, since for most existing circuits this mode of operation is unacceptable, however, a decoder that allows output combining significantly complicates the f5 nit circuit.
Цель изобретения - повышение надежности устройства.The purpose of the invention is to increase the reliability of the device.
Поставленная цель достигается тем, что в устройство для ввода ин20 формации, содержащее клавиатуру, выходы которой соединены с соответствующими одними входами первого и второго мультиплексоров, другие входыThis goal is achieved by the fact that in the device for inputting information 20 containing a keyboard, the outputs of which are connected to the corresponding one inputs of the first and second multiplexers, other inputs
985776 4 которых соединены с соответствующими одними выходами счетчика, генератор импульсов, триггер, выход которого соединен с первым входом первого элемента И, введены второй элемент И, элемент ИЛИ, первый и второй регистры, выходы первого и второго мультиплексоров соединены с входами второго элемента И, выход которого соеди ших разрядов счетчика поступают на первый мультиплексор 2, в соответствии с которыми он опрашивает горизонтальные шины клавиатуры 1. Вертикальные шины клавиатуры' опрашивает второй мальтиплексор 3 в соответствии с кодами.с младших разрядов счетчика 4. При нажатии какой-либо кнопки выдаются нулевые уровни на одну из нен с первым входом триггера, вторым ю входом первого элемента И и первым входом элемента ИЛИ, второй вход которого соединен с вторым входом триггера, одним входом первого регистра и другим выходом счетчика, вход которого соединен с третьим входом второго мультиплексора и выходом генератора импульсов, одни выходы счетчика соединены с одними входами второго регистра, второй и третий входы которого соединены с выходами первого элемента И и элемента ИЛИ соответственно, а выходы соединены с другими входами первого регистра.985776 4 of which are connected to the corresponding outputs of the counter, a pulse generator, a trigger, the output of which is connected to the first input of the first element And, the second element And, the OR element, the first and second registers, the outputs of the first and second multiplexers are connected to the inputs of the second element And, the output of which the connected bits of the counter go to the first multiplexer 2, in accordance with which it polls the horizontal buses of the keyboard 1. The vertical buses of the keyboard 'polls the second maltiplexer 3 according to the code mi from the lower digits of the counter 4. When a button is pressed, zero levels are issued to one of the NENs with the first input of the trigger, the second input of the first AND element and the first input of the OR element, the second input of which is connected to the second input of the trigger, one input of the first register and another output of the counter, the input of which is connected to the third input of the second multiplexer and the output of the pulse generator, one output of the counter is connected to one of the inputs of the second register, the second and third inputs of which are connected to the outputs of the first element And ent OR, respectively, and the outputs are connected to other inputs of the first register.
На чертеже приведена схема предлагаемого устройства.The drawing shows a diagram of the proposed device.
Устройство содержит организованную в виде матрицы кнопок клавиатуру 1, горизонтальные шины которой присоединены к первому мультиплексору 2, вертикальные шины - к второму мультиплексору 3, адресные входы мультиплексоров 2 й 3 присоединены к выходам счетчика 4 и входам второго регистра 5, выходы которо- ч го присоединены к первому регистру 6. Вход счетчика 4 соединен с генератором 7 импульсов. Выходы мультиплексоров соединены с вторым элементом И 8, выход которого соединен с входом первого элемента И 9, триггеру 10 и входу элемента ИЛИ 11, второй вход которого соединен с выходом Перенос счетчика 4, входом записи первого регистра 6 и входом Сброс?1 триггера 10, выход которого соединен с первым входом первого элемента И 9, выход которого соединен с входом Сброс второго регистра 5, вход записи которого присоединен к выходу элемента ИЛИ 11. Вход синхронизации второго мультиплексора соединен с генератором 7 импульсов.The apparatus comprises an organized in a matrix keyboard buttons 1, wherein the horizontal bus connected to the first multiplexer 2, the vertical bus - a second multiplexer 3, the address inputs of the multiplexers 2 minutes 3 connected to the outputs of the counter 4 and the second inputs of the register 5, the outputs of attached kotoro- h to the first register 6. The input of the counter 4 is connected to a pulse generator 7. The outputs of the multiplexers are connected to the second element And 8, the output of which is connected to the input of the first element And 9, the trigger 10 and the input of the element OR 11, the second input of which is connected to the output Transfer counter 4, the input of the first register 6 and the input Reset? 1 trigger 10, the output of which is connected to the first input of the first element And 9, the output of which is connected to the input of the Reset of the second register 5, the recording input of which is connected to the output of the element OR 11. The synchronization input of the second multiplexer is connected to the pulse generator 7.
Устройство работает следующим образом.The device operates as follows.
Генератор 7 имрульсов выдает импульсы на счетчик 4, коды со старгоризонтальных шин и одну из вертикальных шин клавиатуры 1, на пересечении которых находится нажатая кнопка. Когда мультиплексоры 2 и 3 при опросе доходят до этих шин, на 15 их выходах появляются две логические единицы, на выходе второго элемента И 8 также появляется логическая единица, которая через элемент ИЛИ 11 поступает на вход записи вто20 рого регистра 5, и в него записывается текущее значение кода со счет· чика 4, соответствующее номеру нажатой кнопки. По заднему фронту импульса со второго элемента И 8 триг.25 гер 10 устанавливается в единицу.Imrulse generator 7 gives out pulses to counter 4, codes from the horizontal buses and one of the vertical buses of keyboard 1, at the intersection of which is the pressed button. When the multiplexers 2 and 3 during the polling reach these buses, two logical units appear at their 15 outputs, at the output of the second AND 8 element, a logical unit also appears, which through the OR 11 element goes to the input of the second register 5 recording, and is written to it current code value with counter 4 corresponding to the number of the pressed button. On the trailing edge of the pulse from the second element And 8 trigger 25 ger 10 is set to one.
По окончании цикла опроса клавиатуры 1, когда на счетчике 4 устанавливается нулевой код, на его выходе переноса появляется импульс, сбрасываю30 щий триггер 10, переписывающий в первый регистр 6 код из второго регистра 5 и через элемент ИЛИ 11, записывающий во второй регистр 5 нулевой . код из счетчика 4.At the end of the keyboard 1 polling cycle, when a zero code is set on counter 4, an impulse appears on its transfer output, resetting trigger 10, transferring code from the second register 5 to the first register 6 and writing zero to the second register 5 through the OR element 11. code from counter 4.
35 Таким образом, по окончании цикла опроса код, соответствующий нажатой кнопке, оказывается в первом регистре 6, откуда он поступает в ЭВМ, а второй регистр 5 и триггер 10 об40 нулены, и цикл опроса повторяется. Для предотвращения записи ошибочного кода при случайном нажатии одновременно двух или более кнопок служит первый элемент И 9 и триггер 10, 45 который устанавливается· в единицу после обнаружения первой нажатой кнопки, т.е. наличия сигнала на одной горизонтальной и одной вертикаль ной шине клавиатуры 1. После установ 50 ки триггера 10 в единицу на первом входе первого элемента И 9 присутствует логическая единица и если в течении дальнейшего опроса второй.элемент И 8 вновь зафиксирует совпаде55 ние сигналов с одной из вертикальных и одной из горизонтальных шин клавиатуры 1, то на обоих входах эле· мента И 9, а следовательно, и на его выходе будут логические единицы, ко· торые сбросят в нуль код в регистре 5. 35 Thus, at the end of the polling cycle, the code corresponding to the pressed button is in the first register 6, from where it enters the computer, and the second register 5 and trigger 10 are reset to zero, and the polling cycle is repeated. To prevent the recording of an erroneous code when two or more buttons are accidentally pressed simultaneously, the first element And 9 and trigger 10, 45 are used, which is set to one after the first button is pressed, i.e. the presence of a signal on one horizontal and one vertical bus of the keyboard 1. After setting 50 triggers 10 to one, there is a logical unit on the first input of the first element And 9 and if during the next poll the second element And 8 again records 55 signals coinciding with one from the vertical and one of the horizontal buses of the keyboard 1, then on both inputs of the And 9 element, and therefore on its output, there will be logical units that will reset the code in register 5 to zero.
Таким образом, если в данном цикле опроса зафиксировано нажатие нескольких кнопок, то запись ненулевого кода в регистр 6 не производится.Thus, if several buttons are pressed in this polling cycle, a non-zero code is not written to register 6.
Использование изобретения позволяет повысить надежность предлагаемого устройства при небольшом усложнении схемы.Using the invention improves the reliability of the proposed device with a slight complication of the circuit.
Так,чтобы сделать известное устройство нечувствительным к одновременному нажатию нескольких кнопок, требуется деталь, либо развязку кнопок в матрице клавиатуры, что требу-, ет введения до одного-двух дополнительных элементов на каждую кнопку, либо выполнять дешифратор на дискретных элементах или специальных микросхемах, например, с открытым коллектором, что в обоих случаях существенно усложняет схему.So, in order to make the known device insensitive to pressing several buttons simultaneously, a part is required, either a decoupling of the buttons in the keyboard matrix, which requires the introduction of up to one or two additional elements for each button, or a decoder must be implemented on discrete elements or special microcircuits, for example , with an open collector, which in both cases significantly complicates the circuit.
В предлагаемом же устройстве результат достигается значительно мен ь- 25 шим усложнением схе'мы.In the proposed device, the result is achieved by significantly less complicating the circuit.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802996560A SU985776A1 (en) | 1980-10-24 | 1980-10-24 | Data input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU802996560A SU985776A1 (en) | 1980-10-24 | 1980-10-24 | Data input device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU985776A1 true SU985776A1 (en) | 1982-12-30 |
Family
ID=20923207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU802996560A SU985776A1 (en) | 1980-10-24 | 1980-10-24 | Data input device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU985776A1 (en) |
-
1980
- 1980-10-24 SU SU802996560A patent/SU985776A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU985776A1 (en) | Data input device | |
US4193038A (en) | Key input apparatus | |
SU1571593A1 (en) | Device for checking digital units | |
SU690476A1 (en) | Device for sequential discriminating of "ones" from n-digit binary code | |
SU1660154A1 (en) | Device for pulse recording and driving | |
JPS6212518B2 (en) | ||
RU1786483C (en) | Input device | |
SU383048A1 (en) | TWO-SHIFT RELEASE SHIFT WITH DETECTION | |
SU981982A1 (en) | Data input device | |
SU1725394A1 (en) | Counting device | |
SU1553927A1 (en) | Apparatus for checking correct connection of electric wiring | |
SU656107A2 (en) | Digital information shifting device | |
SU1444744A1 (en) | Programmable device for computing logical functions | |
SU1160387A1 (en) | Information input device | |
SU1354412A1 (en) | Light-touch keyboard | |
SU785862A1 (en) | Information input arrangement | |
SU1300459A1 (en) | Device for sorting numbers | |
SU1285454A1 (en) | Interface for linking electronic computer with digital sensors | |
SU670958A2 (en) | Telemetry information processing device | |
SU684539A1 (en) | Arrangement for taking logarithms of numbers | |
SU1410013A1 (en) | Data input device | |
SU1553980A1 (en) | Device for checking logic units | |
SU679985A1 (en) | Device for correcting arythmetic errors | |
RU1798901C (en) | Single-pulse frequency multiplier | |
SU983695A1 (en) | Data input device |