11 Изобретение относитс к автомати ке и вычислительной технике и может быть использовано в аппаратуре дл ввода дискретной информации. Известно устройство дл ввода информации , содержащее последовательно соединенные клавиатуру, блок кодировани , блок защиты от дребезга и триггер, нулевой вход которого подключен к блоку кодировани , а единич ный вход соединен с выходом блока защиты от дребезга, элемент И, один из входов которого подключен к выход триггера, а другой вход соединен с выходом блока защиты от дребезга и группа элементов И, одни из входов которых соединены с блоком кодировани , а другие входы подключены к выходу элемента И Cl 3. Недостаток этого устройства ограниченна область применени , так как информаци передаетс ЭВМ, пока нажата клавиша. Наиболее близким к предлагаемому по технической сущности вл етс уст ройство дл ввода информации, содержащее блок индикации, блок коммутационных элементов и шифратор 12. Недостаток известного устройства - пониженна помехозащищенность. Цель изобретени - повышение помехозащищенности устройства. Указанна цель достигаетс тем, что в устройство дл ввода информации , содержащее блок индикации, блок коммутационных элементов и шифратор введены элементы односторонней проводимости и дешифратор, аноды элементов односторонней проводимости через блок коммутационных элементов соединены с шиной нулевого потенциала , катоды - с соответствующими входами блока- индикации и с выходами дешифратора, информационные входы и вход управлени которого подключены к выходам шифратора, которые вл ютс выходами устройства, входы шифратора соединены с анодами элементов односторонней проводимости. На чертеже приведена структурна схема предлагаемого устройства. Устройство содержит блок 1 коммутационных элементов, шифратор 2, дешифратор 3, блок 4 индикации, элемен ты 5 односторонней проводимости. Устройство работает следующим образом. . Шифратор имеет К - входов, п- разр дов выходов достоверной кодированной информации и один выход Сбой недостоверной информации. Дешифратор имеет п- разр дов, К - выходов и вход стробировани . В исходном состо нии на одном из К - выходов дешифратора 3 низкий уровень , который через элементы 5 поступает на К- входов шифратора 2, где кодируетс как достоверна информаци в п-разр дов, при этом на выходе Сбой низкий уровень. Этот низкий уровень поступает на вход стробировани дешифратора 3, на п-входы последнего поступает также достоверный код с шифратора 2. На выходе дешифратора подтверждаетс тот же низкий уровень. Устройство находитс в устойчивом состо нии, и низкий уровень выхода дешифратора зажигает элемент индикации , индициру тем самым исправность устройства и кодируемую информацию . В этот момент времени все коммутационные элементы разомкнуты. При замыкании одного из коммутационных элементов блока 1 на К-входе шифратора 2 устанавливаетс низкий уровень , и низкий уровень поступает с дешифратора 3, на выходе шифратора 2 снимаетс код с ti-разр дов, и устанавливаетс высокий уровень на выходе Сбой. Этот высокий уровень поступает на вход стробировани дешифратора 3, запира его. На К-выходах дешифратора 3 устанавливаетс высокий уровень, он и поступает на вход шифратора 2. Таким образом, на входе шифратора 2 устанавливаетс единственно низкий уровень от коммутационного элемента 1. На К-выхрде шифратора 2 по вл етс код замкнутого коммутационного элемента 1, и на выходе Сбой по вл етс низкий уровень , который вновь открывает дешифратор 3, на вход которого поступает код с шифратора 2. На выходе дешифратора по вл етс низкий уровень, который через диоды 5 поступает на вход шифратора и замкнутого коммутационного элемента 1. Последний размыкаетс , но низкий уровень с дешифратора 3 на входе шифратора 2 остаетс . Устройство устанавливаетс в новое устойчивое состо ние, и выход дешифратора 3 зажигает новый элемент индикации, соответствующий коммутационному элементу. 3 10951 Элементы 5 служат дл исключени зажигани элементов индикации блока 4 от коммутационных элементов. Элементы индикации зажигаютс только от выхода дешифратора 3. В ка-5 честве элементов индикации могут быть использованы также и элементы 5, если их заменить на светодиоды . Предлагаемое устройство исключаетЮ ошибки от дребеэга контактов коммутационных элементов, так как быстродействие устройства вьш1е, чем колебани контактов коммутационных элементов 1. Первое замыкание устанав-is ливает устройство в новое состо ние и подтверждает на коммутационном элементе низкий уровень. Случайное 14 нажатие двух и более клавиш шифратор 2 кодирует как Сбой. При отпускании клавиши устройство переходит в устойчивое состо ние, соответствующее последнему замкнутому коммутационному элементу блока 1. При отказе шифратора 2 или дешифратора 3 устройство перестает находитьс в устойчивом состо нии, и элемент индикации блока 4 отражает эту неисправность . Положительный эффект предлагаемого устройства заключаетс в повьштенной помехоустойчивости вследствие определенного числа устойчивых состо ний из всего множества входных комбинаций кодов.11 The invention relates to automation and computing and can be used in equipment for input of discrete information. A device for inputting information is known, comprising a serially connected keyboard, a coding unit, a bounce protection unit and a trigger, the zero input of which is connected to the coding unit, and a single input connected to the output of the bounce protection unit, an element I, one of the inputs of which is connected to the trigger output and the other input are connected to the output of the chatter protection unit and a group of elements AND, one of the inputs of which is connected to the coding unit, and the other inputs are connected to the output of the element AND Cl 3. The disadvantage of this device is limiting Chennai field of application, since the computer information is transmitted until the key is pressed. The closest to the proposed technical entity is a device for entering information, containing a display unit, a block of switching elements and an encoder 12. A disadvantage of the known device is its reduced noise immunity. The purpose of the invention is to improve the noise immunity of the device. This goal is achieved by introducing one-way conduction elements and a decoder into the input device containing the display unit, the switching element unit and the encoder, the anodes of the one-way conduction element are connected to the zero potential bus through the switching element unit, and the cathodes to the corresponding inputs of the display unit and with the outputs of the decoder, the information inputs and the control input of which are connected to the outputs of the encoder, which are the outputs of the device, the inputs of the encoder connection Enes with anodes of unilateral conductivity elements. The drawing shows a block diagram of the proposed device. The device contains a block 1 of switching elements, an encoder 2, a decoder 3, a block 4 of indication, elements 5 of one-sided conductivity. The device works as follows. . The encoder has K - inputs, p-bits of outputs of reliable coded information and one output. Failed unreliable information. The decoder has p-bits, K - outputs and gating input. In the initial state, one of the K-outputs of the decoder 3 has a low level, which through elements 5 goes to the K-inputs of the encoder 2, where it is encoded as reliable information in n-bits, while the output has a low level. This low level arrives at the gating input of the decoder 3, the p-inputs of the latter also receive a valid code from the encoder 2. The same low level is confirmed at the output of the decoder. The device is in a steady state, and the low level of the output of the decoder lights the display element, thereby indicating the health of the device and the information being encoded. At this time, all switching elements are open. When one of the switching elements of block 1 is closed, a low level is set at the K-input of the encoder 2, and a low level comes from the decoder 3, the code from the encoder 2 is removed from the ti-bits, and a high level is set at the output Failure. This high level goes to the gate input of the decoder 3, locking it. On the K-outputs of the decoder 3 a high level is established, it arrives at the input of the encoder 2. Thus, the only low level from the switching element 1 is established at the input of the encoder 2. The code of the closed switching element 1 appears on the K-vykhrde of the encoder 2, and a low level appears at the output Fault that re-opens the decoder 3, the input of which receives the code from encoder 2. At the output of the decoder a low level appears which through diodes 5 enters the input of the encoder and the closed switching element 1. The last is opened, but the low level from the decoder 3 at the input of the encoder 2 remains. The device is set to a new steady state, and the output of the decoder 3 lights the new display element corresponding to the switching element. 3 10951 Elements 5 serve to exclude the ignition of the display elements of the unit 4 from the switching elements. Display elements are lit only from the output of the decoder 3. As the display elements, elements 5 can also be used if they are replaced with LEDs. The proposed device eliminates errors from the contact-plate drepeeg, since the device’s speed is higher than the oscillations of the contacts of the switching elements 1. The first closure sets the device to a new state and confirms a low level on the switching element. Random 14 press two or more keys encoder 2 encodes as Fail. When the key is released, the device goes into the steady state corresponding to the last closed switching element of block 1. If the encoder 2 or decoder 3 fails, the device ceases to be in steady state, and the indication element of block 4 reflects this fault. The positive effect of the proposed device is a higher noise immunity due to a certain number of stable states from the entire set of input code combinations.