Claims (2)
При нажатии каж,цый клавиш клавиатуры 1 формирует на своих кодовых выходах код, который определ етс функциональным назначением данного клавиша , и на своем признаковом выходе сигнал Признак нажати данного клавиша . При нажатии любого клавиша, независимото от очередности,код с его выходов через соответствующую группу входов 5 устройства подаетс на входы коммутатора 19, а сигнал нажати этого клавиша через соответствующий вход 6 устройства поступает на формирователь 7, который формирует дл каждого клавиша два импульса - по переднему и заднему фронтам потенциального сигнала нажати , что соответствует нажатию и отжатию данного клавиша . Импульс нажати клавиша формируетс на соответствующем выходе второй группы выходов формировател 7, а импульс отжати - на соответствующем выходе первой группы выходов формировател 7. Импульс нажати клавиша с выхода формировател 7 подаетс на единичный вход соответствующего разр да регистра 8 и устанавливает этот разр д в единичное состо ние Сигнал с выхода данного разр да подаетс на блок 18, что указывает на контроль данного клавиша, на первый вход соответствующего элемента И блока 12, что разрешает его открывание , и через элемент ИЛИ 10 - на первый вход элемента И 14. На второР вход элемента И 14 подаетс разрешающий потенциал с инверсного выхода элемента ИЛИ-НЕ 11. Элемент И 14 открываетс и запускает генератор 15, с выхода которого импульсы поступают на счетный вход счетчика 16. Период импульсов выбираетс так, чтобы за врем периода производилось одно переключение коммутатора 19 и сравнение кодов в блоке 21. Счетчик последовательно измен ет свое состо ние, при этом последовательно измен ютс адреса опрашиваемых чеек на входах кодирующего элемента 20. Эталон-ные коды с выходов элемента 20 подаютс на первые входы блока 21. Одновременно , состо ни счетчика 16 декодируютс дешифратором 17. Сигналы с выходов дешифратора 17 управл ют коммутатором 19, который последовательно подключает кодовые выходы клавишей ко вторым входам блока 21. Кроме того, сигналы с выходов дешифратора подаютс на входы соответствующих элементов И блоков 12 и 13. При достижении счетчиком 16 состо ни , соответствующего адресу нажатого клавиша, сигнал с соответствующего выхода дешифратора 17 открывает соответствующий элемент И блока 12, подготовленный к работе сигналом с выхода регистра 8, и подключает через коммутатор 19 кодовые выходыэтого клавиша ко вторым входам блока 21 Сигнал с выхода сработавшего элемента И блока 12 через элемент ИЛИ-НЕ 11 закрывает элемент И 14. При этом блокируетс генератор 15 и счетчик 16с дешифратором 17 остаютс в состо ни1Г , соответствующем нажатому клавишу . При исправности нажатого клавиша код - контролируемый и эталонный на входах блока 21 совпадают. Сигнал совпадени подаетс с выхода блока 21 на вторые входы элементов И блока 13. При этом открываетс элемент И блока 13, первый вход которого возбужден сигналом с выхода дешифратора 17, соответствующего нажатому клавишу . Сигнал с выхода элемента И блока 13 поступает на нулевой вход соответствующего разр да регистра 8 и.обнул ет эт.от разр д. При срабатывании разр да регистра 8 снимаетс сигнал с входа блока индикации 18, что свидетельствует об исправности клавища. При этом закрываетс элемент ИЛИ 10, снимаетс сигнал с первого входа элемента И 14 и закрываетс соот ветствующий элемент И блока 12, что приводит к открыванию элемента ИЛИНЕ 11 и подаче сигнала разрешени н второй вход элемента И 14, который возвращаетс в исходное закрытое со сто ние. В случае неисправности про вер емого клавиша, когда формируемы им код не совпадает с эталонным, си нал совпадени блоком 21 не формиру етс . При этом соответствующий егистра 8 не обнул етс , а соответствующий элемент И блока 12 оста етс открытым и через элемент ИЛИ НЕ 11 удерживает элемент И 14 и генератор 15 в закрытом состо нии, пр чем счетчик 16 и дешифратор 17 сохран ют состо ние, соответствующее нажатому неисправному клавишу. При отжатии клавиша импульс отжати с выхода формировател 7 поступает че рез элемент ИЛИ 9 на вход сброса счетчика 16 и обнул ет его, при это устройство возвращаетс в исходное состо ние. Аналогично работает устройство при контроле группы клавиш с фиксированным положением, но отличаетс тем, что перед проверкой генератор 15 отключаетс ключом 22 от элемента И 14, а после нажати группы провер емых клавиш генератор 15 вновь подключаетс к элементу И 14. Введение в устройство дл контрол клавиатуры генератора импульсов, коммутатора, формировател импульсов , регистра, элемента совпадени , элементов ИЛИ, ИЛИ-НЕ, двух групп элементов И, ключа с их св з ми позвол ет повысить быстродействие устройства и увеличить достоверность контрол за счет обеспечени клавишей в любой очередности и за счет исключени ошибок оператора при контроле . Формула изобретени Устройство дл контрол клавиатуры , содержащее блок индикации, счетчик , выходы которого подключены к соответствующим входам кодирующего элемента, выходы которого соответственно соединены с первыми входами блока сравнени , отличающ е е с тем, что, с целью повышени быстродействи устройства и увеличени достоверности контрол , в него введены ключ, генератор импульсов , коммутатор, формирователь импульсов , регистр, дешифратор, элемент И, первый и второй элементы ИЛИ, элемент ИЛИ-НЕ, первый и второй блоки элементов И, вторые входы блока сраввни соединены с соответствующими выходами коммутатора, информационные входы которого соответственно подключены к первым входам устройства , входы формировател импульсов соответственно соединены со вторыми входами устройства, первые выходы формировател импульсов соединены с соответствующими входами первого элеента ИЛИ, выходы которого подключены к установочному входу счетчика, вторые выходы формировател импульсов соединены с единичными входами соответствующих разр дов регистра, выходы которого подключены к соответствующим входам блока индикации, к одним входам первого блока элементов Инк соответствующим входам второго элемента ИЛИ, выход которого соединен с первым входом элемента И, выход которого через последовательно соединенные ключ и генератор импульсов подключен к счетному входу счетчика, выходы которого соответственно соединены с входами дешифратора, выходы которого подключены к другим входг1м первого и второго блоков элементов И и к соответствующим адресным входам коммутатора , одни входы второго блока элементов И соединены с выходом блока сравнени , а выходы - с нулевыми вхоДс1ми соответствующих разр дов регистра . Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР № 600559, кл.&ОбР 11/00, 1978. When you press each key of the keyboard 1, at its code outputs a code is generated that is determined by the functional purpose of this key, and at its sign output a signal is pressed to press this key. When you press any key, regardless of sequence, the code from its outputs through the corresponding group of inputs 5 of the device is fed to the inputs of the switch 19, and the signal of pressing this key through the corresponding input 6 of the device goes to the driver 7, which generates two pulses for each key and the leading edge of the potential signal of pressing, which corresponds to pressing and pressing this key. The keystroke pulse is generated at the corresponding output of the second group of outputs of the imaging unit 7, and the spin pulse is formed at the corresponding output of the first group of outputs of the imaging unit 7. The pressing impulse key from the output of the imaging unit 7 is applied to the single input of the corresponding register bit 8 and sets this bit into a single state The signal from the output of this bit is supplied to block 18, which indicates the control of this key, to the first input of the corresponding element AND block 12, which allows its opening, and through the element OR 10 - at the first input of the element AND 14. At the second input of the element 14, the resolving potential is fed from the inverse output of the element OR NOT 11. Element 14 opens and starts the generator 15, from the output of which pulses arrive at the counting input of the counter 16. Pulse period is selected so that during the period of time, one switch of switch 19 and comparison of codes in block 21 are performed. The counter successively changes its state, and the addresses of the polled cells at the inputs of the coding element 20 are sequentially changed. The outputs of element 20 are fed to the first inputs of block 21. At the same time, the states of counter 16 are decoded by decoder 17. Signals from outputs of decoder 17 control switch 19, which sequentially connects the code outputs by key to second inputs of block 21. In addition, signals from outputs of decoder are supplied to the inputs of the corresponding elements And blocks 12 and 13. When the counter 16 reaches the state corresponding to the address of the key pressed, the signal from the corresponding output of the decoder 17 opens the corresponding element And block 12, distorted by a signal from the output of register 8, and connects through the switch 19 the code outputs of this key to the second inputs of block 21 The signal from the output of the triggered element AND of block 12 through the element OR-NOT 11 closes the element And 14. At the same time, the generator 15 and the counter 16c are blocked by the decoder 17 remain in the 1G state corresponding to the key pressed. With the health of the pressed key code - controlled and the reference at the inputs of block 21 are the same. The coincidence signal is supplied from the output of block 21 to the second inputs of elements AND of block 13. This opens element And of block 13, the first input of which is excited by a signal from the output of decoder 17 corresponding to the key pressed. The signal from the output of the element And block 13 is fed to the zero input of the corresponding register bit 8, and it stops this from the bit. When the register bit 8 is triggered, the signal from the display unit 18 is removed, indicating that the key is healthy. At the same time, the element OR 10 is closed, the signal from the first input of element 14 is removed and the corresponding element of block 12 is closed, which leads to the opening of element ILINE 11 and giving a permission signal to the second input of element 14, which returns to the original closed . In the event of a malfunction of the progressed key, when the code generated by it does not match the reference one, a match of block 21 is not generated. In this case, the corresponding register 8 does not zero, and the corresponding element of AND of block 12 remains open and, through the element OR NOT 11, keeps the element 14 and the generator 15 in the closed state, so that the counter 16 and the decoder 17 retain the state corresponding to the pressed key. faulty key. When the key is released, the impulse is released from the output of the former 7 through the element OR 9 to the reset input of the counter 16 and zeroed it, and this device returns to its initial state. The device works similarly when controlling a group of keys with a fixed position, but differs in that before testing the generator 15 is turned off by key 22 from AND 14, and after pressing the group of checked keys, generator 15 is again connected to AND 14. Introduction to the keyboard control device pulse generator, switch, pulse generator, register, coincidence element, OR, OR NOT elements, two groups of AND elements, a key with their connections allows to increase the device speed and increase the reliability of ntrol by providing the key in any order and by eliminating operator error in the control. Apparatus of the Invention A device for controlling a keyboard, comprising an indication unit, a counter, the outputs of which are connected to the corresponding inputs of a coding element, the outputs of which are respectively connected to the first inputs of the comparison unit, in order to improve the speed of the device and increase the reliability of control, A key, a pulse generator, a switch, a pulse shaper, a register, a decoder, an AND element, the first and second OR elements, an OR-NOT element, the first and second blocks of elements are entered into it. , the second inputs of the unit are connected to the corresponding outputs of the switch, the information inputs of which are respectively connected to the first inputs of the device, the inputs of the pulse generator, respectively, are connected to the second inputs of the device, the first outputs of the pulse former are connected to the corresponding inputs of the first element OR, the outputs of which are connected to the installation input of the counter , the second outputs of the pulse generator are connected to the single inputs of the corresponding register bits, the outputs of which are connected to the corresponding inputs of the display unit, to the same inputs of the first block of elements Inc. to the corresponding inputs of the second element OR, the output of which is connected to the first input of the AND element, the output of which is connected through the serially connected key and pulse generator to the counter input of the counter, the outputs of which are respectively connected to the inputs the decoder, the outputs of which are connected to other inputs of the first and second blocks of the And elements and to the corresponding address inputs of the switch, one input of the second block of And elements oedineny yield comparing unit, and outputs - zero vhoDs1mi respective bit register rows. Sources of information taken into account during the examination 1. USSR author's certificate No. 600559, class & obR 11/00, 1978.
2.Авторское свидетельство СССР 631992, кл, Q06 Р 11/00, 1978. 2. Authors certificate of the USSR 631992, class, Q06 R 11/00, 1978.