Claims (1)
о со 12 Изобретение относитс к вычислительной технике и предназначено дл ввода информащ и. Цель изобретени - повьппение быст родействи устройства. На чертеже изображена схема предлагаемого устройства, г Устройство дл ввода информации содержит блок 1 коммутационных элементов , первую 2 и вторую 3 группы резисторов, источник 4 питани , первую 5 и вторую 6 группы компараторов первый 7 и второй 8 мультиплексоры, первый 9 и второй 10 счетчики, первы 11 и второй 12 элементы И, генератор 13 импульсов, второй 14 и первый 15 триггеры, третий элемент И 16, резис тор 17, компаратор 18, и третий триг гер 19. Устройство дл ввода информации работает следующим образом. В исходном состо нии триггеры 14 и 15 наход тс в нулевом, а третий триггер 19 - в произвольном состо ни х . Элементы И 11 и 12 закрыты запрещающим потенциалом с пр мых выходов триггеров 14 и 15. При подаче на вход устройства сиг нала Пуск третий триггер 19 устанавливаетс в нулевое, а первый 14 и второй 15 триггеры - в единичное состо ни , на выходе третьего элемента И 16 по вл етс уровень О, открываютс первый 11 и второй 12 элементы И. Импульсы с генератора 13 через первый элемент И 11 и второй элемент И 12 поступают соответственн на вход первого 9 и второго 10 счетчиков . Изменение состо ни первого 9 и второго 10 счетчиков вызывает последовательное подключение второго 8 и первого 7 мультиплексоров к выходам первой 5 и второй 6 групп компарато ров, -соответственно до тех пор, пока не будет нажата кака -либо кнопка блока 1 коммутационных элементов. В этом случае произойдет замьжание цепи: источник 4 питани , втора группа резисторов 3, горизонтальна и вертикальна шины блока 1 коммутационных элементов, перва группа резис торов 2, резистор 17, корпус. При этом на входах выбранных компараторо произойдут изменени уровней напр же ни , привод щие к их срабатыванию. На выходах последних по витс логиче ские сигналы, поступающие на один из 32 информационных входов первого 7 и второго 8 мультиплексоров. Пусть состо ние первого счетчика 9 совпадает с номером информационной шины второго мультиплексора 8, на ко торой по вилс сигнал раньше, чем состо ние второго счетчика 10 - с номером информационной П1ины первого мультиплексора 7, на которой по вилс сигнал. С выхода второго мультиплексора 8 поступает сигнал на R-вход первого триггера 15. Выход последнего закрывает первьй элемент И 11, в результате чего импульсы с генератора 13 импульсов перестают поступать на вход первого счетчика 9 и в нем хранитс код, соответствующий номеру вертикальной шины замкнутого коммутационного элемента. Второй счетчик 10 продолжает измен ть свое состо ние до тех пор, пока оно не совпадет с номером информационной шины первого мультиплексора 7, на которой находитс сигнал. В этом случае с выхода первого мультиплексора 7 поступает сигнал на R-вход второго триггера 14. Выход последнего закрывает второй элемент И 12, в результате чего импульсы с генератора 13 импульсов перестают поступать на вход второго счетчика 10 и в нем хранитс код, соответствующий номеру горизонтальной шины замкнутого коммутационного элемента . При других возможных ситуаци х работы устройства измен етс только последовательность по влени импульсов с выходов первого 7 и второго 8 мультиплексоров, а остальна часть схемы работает аналогично описанному. В любом случае после остановки счета счетчиков 9 и 10 в них наход тс коды, соответствующие номерам вертикальной и горизонтальной шин замкнутого коммутационного элемента, которые могут быть использованы длд, дальнейшей обработки и вл ютс выходными сигналами дл данного устройства. ; Кроме того, изменение О на 1 на выходе третьего элемента И 16 вл етс выходной командой устройства Готовность Дл приема кода следующей нажатой кнопки необходимо после считывани сформированного кода на вход устройства подать сигнал Пуск. Если одновременно замкнуты два или более коммутационных элемента, то происходит достаточное изме«ение уровн напр же312 ни на входе компаратора 18, которое приводит к его срабатыванию, в результате чего третий триггер 19 устанавливаетс в единичное состо ние и на его пр мом выходе по вл етс выходной сигнал устройства Сбой, а на инверсном - запрещающий уровень, поступающий на третий вход третьего элемента И. В результате на выходе последнего отсутствует выходна команда устройства Готовность. Таким образом, предлагаемое устройство позвол ет повысить быстродействие , так как счетчики, формирующие код Замкнутого коммутационного элемента , работают одновременно, Формулаиз обретени Устройство дл ввода информации, содержащее блок коммутационньпс элементов , генератор импульсов, три элемента И, два счетчика, первый мультиплексор , два триггера, выход генера тора импульсов подключен к первому входу первого и второго элементов И, выход первого элемента И соединен с входом первого счетчика, информационные выходы которого вл ютс информационными выходами первой группы уст3ройства , выход второго элемента И соединен с входом второго счетчика, информационные выходы которого соединены с адресными входами первого мультиплексора и вл ютс информационными выходами второй группы устройства , выходы первой группы блока коммутационных элементов соединены с информационными входами первого мультиплексора , отличающеес тем, что, с целью повышени быстродействи , в него введен второй мультиплексор , информационные выходы первого счетчика соединены с адресными входами второго мультиплексора, выходы второй группы блока коммутационных элементов соединены.с информационньми входами второго мультиплексора, выход которого соединен с R-входом первого триггера, S-вход триггеров вл етс входом Пуск устройства, выход первого мультиплексора подключен к Rвходу второго триггера, пр мой выход первого и второго триггеров соединены с вторым входом первого и второго элементов И соответственно, инверсный выход первого и второго триггеров соединены с первым и вторым входом третьего элемента И соответственно , выход которого вл етс выходом Готовность устройства.About with 12 The invention relates to computing and is intended to enter information and. The purpose of the invention is to increase the speed of the device. The drawing shows a diagram of the proposed device, g The device for inputting information contains a block 1 of switching elements, the first 2 and second 3 groups of resistors, the source 4 of power, the first 5 and second 6 groups of comparators, the first 7 and second 8 multiplexers, the first 9 and second 10 counters , the first 11 and second 12 elements are And, the pulse generator 13, the second 14 and first 15 triggers, the third element And 16, the resistor 17, the comparator 18, and the third trigger 19. The information input device works as follows. In the initial state, the triggers 14 and 15 are in the zero state, and the third trigger 19 is in an arbitrary state. Elements 11 and 12 are closed by the inhibitory potential from the direct outputs of the flip-flops 14 and 15. When the Start signal is applied to the device input, the third flip-flop 19 is set to zero, and the first 14 and second 15 flip-flops are set to one, 16 O level appears, the first 11 and second 12 elements of I are opened. The pulses from the generator 13 through the first element 11 and the second element 12 enter, respectively, at the input of the first 9 and second 10 counters. A change in the state of the first 9 and second 10 counters causes the second 8 and first 7 multiplexers to be connected in series to the outputs of the first 5 and second 6 comparators, respectively, until some button of the switching unit 1 is pressed. In this case, the circuit will be closed: power supply 4, the second group of resistors 3, the horizontal and vertical buses of the switching elements block 1, the first group of resistors 2, the resistor 17, the housing. In doing so, changes in levels will occur at the inputs of the selected comparators, leading to their triggering. At the outputs of the last Wits, logical signals are received at one of the 32 information inputs of the first 7 and second 8 multiplexers. Let the state of the first counter 9 coincide with the number of the information bus of the second multiplexer 8, which received the signal earlier than the state of the second counter 10 — with the number of the information type of the first multiplexer 7, which received the signal. From the output of the second multiplexer 8, a signal arrives at the R input of the first trigger 15. The output of the latter closes the first element 11 and as a result the pulses from the generator of 13 pulses cease to enter the input of the first counter 9 and the code corresponding to the vertical bus number of the closed switching is stored in it an item. The second counter 10 continues to change its state until it coincides with the information bus number of the first multiplexer 7 on which the signal is located. In this case, the output of the first multiplexer 7 receives a signal at the R input of the second trigger 14. The output of the latter closes the second element 12, as a result of which the pulses from the pulse generator 13 cease to flow to the input of the second counter 10 and the code corresponding to the horizontal number is stored in it bus closed switching element. In other possible situations of operation of the device, only the sequence of the appearance of pulses from the outputs of the first 7 and second 8 multiplexers changes, and the rest of the circuit operates in the same way as described. In any case, after stopping the counting of the counters 9 and 10, the codes corresponding to the vertical and horizontal bus numbers of the closed switching element, which can be used for further processing and are output signals for this device, are located in them. ; In addition, a change in O to 1 at the output of the third element AND 16 is an output command of the device Ready To receive the code of the next pressed button, after reading the generated code, the Start signal is sent to the device input. If two or more switching elements are simultaneously closed, a sufficient level change occurs on the voltage level 3112 or at the input of the comparator 18, which triggers it, as a result of which the third trigger 19 is set to a single state and the output signal of the device Failure, and on the inverse - the prohibiting level, which arrives at the third input of the third element I. As a result, the output of the latter has no output command of the Ready device. Thus, the proposed device allows to increase the speed, since the counters forming the code of the Closed switching element operate simultaneously. Formula for Acquisition A device for entering information containing a block of switching elements, a pulse generator, three And elements, two counters, the first multiplexer, two triggers The output of the pulse generator is connected to the first input of the first and second And elements, the output of the first And element is connected to the input of the first counter, whose information outputs are the information outputs of the first group of the device, the output of the second element I are connected to the input of the second counter, the information outputs of which are connected to the address inputs of the first multiplexer and are information outputs of the second group of the device, the outputs of the first group of the switching elements block are connected to the information inputs of the first multiplexer, different that, in order to improve speed, a second multiplexer is introduced into it, the information outputs of the first counter are connected to address inputs the second multiplexer, the outputs of the second group of the switching element block are connected to the information inputs of the second multiplexer, the output of which is connected to the R input of the first trigger, the S input of the trigger is input Starting the device, the output of the first multiplexer is connected to the R input of the second trigger, direct output the first and second triggers are connected to the second input of the first and second elements And, respectively, the inverse output of the first and second triggers are connected to the first and second inputs of the third element And, respectively Whose output is the output of the Ready.