RU2029352C1 - Data input/output device - Google Patents

Data input/output device Download PDF

Info

Publication number
RU2029352C1
RU2029352C1 SU5029859A RU2029352C1 RU 2029352 C1 RU2029352 C1 RU 2029352C1 SU 5029859 A SU5029859 A SU 5029859A RU 2029352 C1 RU2029352 C1 RU 2029352C1
Authority
RU
Russia
Prior art keywords
input
output
unit
information
control
Prior art date
Application number
Other languages
Russian (ru)
Inventor
Вадим Алексеевич Абрамов
Original Assignee
Вадим Алексеевич Абрамов
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Вадим Алексеевич Абрамов filed Critical Вадим Алексеевич Абрамов
Priority to SU5029859 priority Critical patent/RU2029352C1/en
Application granted granted Critical
Publication of RU2029352C1 publication Critical patent/RU2029352C1/en

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

FIELD: computer engineering. SUBSTANCE: device has interface units 1,7, synchronizing unit 2, pulse shapers 3, 5, control unit 4, pulse generator 6, registers 8,14, keyboard 9, coder 10, switch 11, display unit 12, decoder 15, and storage unit 16. EFFECT: improved design. 10 dwg

Description

Изобретение относится к автоматике и вычислительной технике, в частности к устройствам для ввода-вывода информации, пригодной для обработки в ЭВМ. The invention relates to automation and computer technology, in particular to devices for input-output of information suitable for processing in computers.

Известно устройство для двустороннего обмена информацией, содержащее генератор тактовой частоты, счетчик, первый и второй дешифраторы, ключи вызова, первую и вторую группы элементов И, элементы памяти, индикаторы, ключи ответа [1]. A device for two-way exchange of information containing a clock, a counter, first and second decoders, call keys, first and second groups of AND elements, memory elements, indicators, answer keys [1].

Недостатком этого устройства является необходимость передачи информации в параллельном коде и передачи строба по отдельной линии, что ограничивает функциональные возможности устройства при подключении к локальной вычислительной сети с использованием ЭВМ. The disadvantage of this device is the need to transmit information in parallel code and transmit the strobe on a separate line, which limits the functionality of the device when connected to a local area network using a computer.

Наиболее близким к изобретению техническим решением является устройство для ввода-вывода информации, содержащее клавиатуру, соединенную через шифратор и первый регистр с первым блоком сопряжения, формирователь импульсов, соединенный с первым блоком сопряжения, коммутатор, второй блок сопряжения, соединенный через дешифратор с блоком индикации, к первому входу которого подключен генератор импульсов, а второй вход соединен с вторым выходом второго регистра [2]. Closest to the invention, the technical solution is a device for input / output of information, comprising a keyboard connected via an encoder and a first register to the first interface unit, a pulse shaper connected to the first interface unit, a switch, a second interface unit connected through the decoder to the display unit, to the first input of which a pulse generator is connected, and the second input is connected to the second output of the second register [2].

Недостаток данного устройства заключается в том, что передача информации в нем амплитудно-модулированными посылками не обеспечивает передачу тактовой частоты по информационной линии связи, что снижает скорость обмена информацией и достоверность ее восстановления, т.е. ограничивает функциональные возможности устройства. The disadvantage of this device is that the transmission of information in it by amplitude-modulated transmissions does not provide a clock frequency transmission over the information communication line, which reduces the speed of information exchange and the reliability of its recovery, i.e. limits the functionality of the device.

Цель изобретения - расширение функциональных возможностей устройства для ввода-вывода информации путем обеспечения одновременной индикации регистрируемых состояний технологического процесса, а также повышение надежности его работы. The purpose of the invention is the expansion of the functionality of the device for input-output of information by providing simultaneous indication of the recorded states of the process, as well as improving the reliability of its operation.

Предложенное конструктивное выполнение устройства для ввода-вывода информации обуславливает расширение его функциональных возможностей, так как в отличие от прототипа введение второго формирователя импульсов и блока памяти позволяет обеспечить одновременную индикацию регистрируемых состояний технологического процесса, а введение блоков синхронизации и управления повышает надежность работы устройства за счет исключения ложного срабатывания при набеге фаз на элементах схемы устройства. Использование фотооптического считывателя позволяет благодаря перфорированным картам оперативно менять информацию, что также расширяет функциональные возможности устройства и повышает его надежность, так как исключает механические контакты. The proposed constructive implementation of the device for input / output of information leads to the expansion of its functionality, because, unlike the prototype, the introduction of a second pulse shaper and a memory unit allows for simultaneous indication of the recorded states of the process, and the introduction of synchronization and control units increases the reliability of the device due to the exception false operation during a phase incursion on the elements of the device circuit. Using a photo-optical reader allows perforated cards to quickly change information, which also extends the functionality of the device and increases its reliability, as it eliminates mechanical contacts.

При наличии логической "1" в восьмом разряде кода информации, поступающей с второго выхода второго регистра на седьмой вход блока управления, согласно предлагаемой структурной схеме устройство для ввода-вывода информации в отличие от прототипа приобретает возможность автоматического контроля своей работоспособности по инициативе ЭВМ без участия оператора путем обеспечения возможности повторения цикла вывода информации, что усиливает полученный эффект, расширяя функциональные возможности устройства. If there is a logical “1” in the eighth category of the information code coming from the second output of the second register to the seventh input of the control unit, according to the proposed block diagram, the device for input-output of information, unlike the prototype, acquires the ability to automatically control its performance on the initiative of a computer without operator intervention by providing the possibility of repeating the cycle of information output, which enhances the effect, expanding the functionality of the device.

На фиг. 1 изображена структурная схема устройства для ввода-вывода информации; на фиг.2 показаны временные диаграммы, поясняющие работу устройства; на фиг.3 изображена схема второго блока сопряжения; на фиг.4 показаны временные диаграммы, поясняющие работу второго блока сопряжения; на фиг.5 изображена схема блока синхронизации; на фиг.6 - схема блока управления; на фиг.7 и 8 представлен алгоритм работы блока управления; на фиг.9 изображена схема первого блока сопряжения; на фиг.10 показаны временные диаграммы, поясняющие работу первого блока сопряжения. In FIG. 1 shows a block diagram of a device for input-output information; figure 2 shows a timing diagram explaining the operation of the device; figure 3 shows a diagram of a second pairing unit; 4 is a timing chart explaining the operation of the second interface unit; figure 5 shows a diagram of a synchronization unit; figure 6 - diagram of the control unit; Figures 7 and 8 show the operation algorithm of the control unit; figure 9 shows a diagram of a first pairing unit; 10 is a timing chart explaining the operation of the first interface unit.

Устройство для ввода,вывода информации содержит второй блок 1 сопряжения, блок 2 синхронизации, второй формирователь 3 импульсов, блок 4 управления, первый формирователь 5 импульсов, генератор 6 импульсов, первый блок 7 сопряжения, первый регистр 8, клавиатуру 9, шифратор 10, коммутатор 11, блок 12 индикации, фотооптический считыватель 13, второй регистр 14, дешифратор 15, блок 16 памяти. Временные диаграммы (фиг.2) обозначены позициями 17-25. The device for inputting and outputting information includes a second pairing unit 1, a synchronization unit 2, a second pulse shaper 3, a control unit 4, a first pulse shaper 5, a pulse generator 6, a first pairing unit 7, a first register 8, a keyboard 9, an encoder 10, a switch 11, a display unit 12, a photo-optical reader 13, a second register 14, a decoder 15, a memory unit 16. Timing diagrams (figure 2) are indicated by positions 17-25.

Для обеспечения работы устройства для ввода-вывода информации его предварительно подключают к каналу обмена с ЭВМ, заполненному синхросигналами, вырабатываемыми на стороне ЭВМ (фиг.2, 18). Эти синхросигналы поступают на первый вход второго блока 1 сопряжения. To ensure the operation of the device for input-output of information, it is pre-connected to an exchange channel with a computer filled with clock signals generated on the side of the computer (Fig.2, 18). These clock signals are fed to the first input of the second block 1 pairing.

Второй блок 1 сопряжения содержит (фиг.3) оптоэлектронный коммутатор 26, формирователь 27 импульсов, в качестве которого могут быть использованы два элемента НЕ, RS-триггер 28 и D-триггер 29. The second interface unit 1 contains (Fig. 3) an optoelectronic switch 26, a pulse shaper 27, which can be used as two elements NOT, RS-trigger 28 and D-trigger 29.

Второй блок 1 сопряжения работает следующим образом. The second block 1 pair is as follows.

Фазомодулированный импульсный сигнал в виде двуполярных импульсов тока от ЭВМ по двухпроводной симметричной линии связи поступает на вход оптоэлектронного коммутатора 26, который обеспечивает гальваническую развязку между ЭВМ и устройством для ввода,вывода информации и преобразует двуполярные импульсы тока (фиг.4, 30) в однополярные импульсы напряжения (фиг.4, 31 и 32). Однополярные импульсы напряжения поступают на первый выход второго блока 1 сопряжения и на первый и второй входы формирователя 27 импульсов, который, укорачивая длительность фронтов импульсов и инвертируя их по напряжению, со своих первого и второго выходов передает их соответственно на первый и второй входы RS-триггера 28. RS-триггер 28 на своем выходе фиксирует (фиг. 4, 33) текущее значение фазы входных импульсов и передает ее на первый вход (D-вход) D-триггера 29. На второй вход D-триггера (С-вход), являющийся вторым входом второго блока сопряжения, поступает синхросигнал Ф 5 (фиг. 4, 34), по переднему фронту которого происходит запись значения фазы, в результате чего на выходе D-триггера 29 формируется код принимаемой информации в потенциальном виде (фиг.4, 35), тем самым производя демодуляцию фазомодулированного сигнала, и направляется на второй выход второго блока сопряжения. Phase-modulated pulse signal in the form of bipolar current pulses from a computer through a two-wire symmetric communication line is fed to the input of an optoelectronic switch 26, which provides galvanic isolation between the computer and the device for inputting, outputting information and converts bipolar current pulses (Figs. 4, 30) into unipolar pulses voltage (Fig.4, 31 and 32). Unipolar voltage pulses are supplied to the first output of the second interface unit 1 and to the first and second inputs of the pulse shaper 27, which, shortening the duration of the pulse fronts and inverting them in voltage, from their first and second outputs transmits them respectively to the first and second inputs of the RS-flip-flop 28. The RS-trigger 28 at its output captures (Fig. 4, 33) the current value of the phase of the input pulses and transfers it to the first input (D-input) of the D-trigger 29. To the second input of the D-trigger (C-input), which is the second input of the second pairing unit, p the clock signal F 5 (Fig. 4, 34) is released, along the leading edge of which the phase value is recorded, as a result of which, at the output of the D-flip-flop 29, a code of received information is generated in a potential form (Figs. 4, 35), thereby performing phase modulation demodulation signal, and is sent to the second output of the second pairing unit.

Однополярные импульсы напряжения с первого выхода второго блока 1 сопряжения поступают на вход блока 2 синхронизации для выработки им синхросигналов для всего устройства для ввода-вывода информации, что позволяет обеспечить надежность его работы. Unipolar voltage pulses from the first output of the second interface unit 1 are fed to the input of the synchronization unit 2 to generate clock signals for the entire device for input-output information, which ensures the reliability of its operation.

Блок 2 синхронизации (фиг.5) содержит элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 36, выходом соединенный с интегрирующей RC-цепью 37, элементы НЕ 38, 39, двоичный счетчик 40 на два, элементы ИЛИ-НЕ 41, 42. Он вырабатывает синхросигналы Ф1, Ф2, Ф3, Ф4, Ф5, Ф6 и направляет синхросигнал Ф1 с первого своего выхода на первый вход второго формирователя 3 импульсов, выполненного, например, на базе одновибратора, и вторые входы блока 4 управления и первого формирователя 5 импульсов, выполненного, например, на базе D-триггера, синхросигнал Ф2 с второго своего выхода на второй вход генератора 6 импульсов, в качестве которого может быть использовано, например, соединение счетчиков, и третий вход блока 4 управления, синхросигнал Ф3 с третьего своего выхода на вторые входы первого блока 7 сопряжения, синхросигнал Ф4 с четвертого своего выхода на третий вход первого блока 7 сопряжения, синхросигнал Ф5 с пятого своего выхода на второй вход второго блока 1 сопряжения и четвертый вход первого блока 7 сопряжения, синхросигнал Ф с шестого своего выхода на второй вход второго регистра 14, в качестве которого может быть использован, например, сдвиговый регистр. Synchronization block 2 (Fig. 5) contains an EXCLUSIVE OR 36 element connected by an output to an integrating RC circuit 37, elements NOT 38, 39, a binary counter 40 for two, elements OR-NOT 41, 42. It generates clock signals F1, F2, Ф3, Ф4, Ф5, Ф6 and directs the clock signal Ф1 from its first output to the first input of the second pulse shaper 3, made, for example, on the basis of a single vibrator, and the second inputs of the control unit 4 and the first shaper 5, made, for example, on the basis of D trigger, Ф2 clock signal from its second output to the second input of the generator and 6 pulses, for which, for example, a connection of counters can be used, and the third input of the control unit 4, the clock signal Ф3 from its third output to the second inputs of the first block 7, the clock signal Ф4 from its fourth output to the third input of the first block 7 , the clock signal F5 from its fifth output to the second input of the second block 1 of the pair and the fourth input of the first block 7 of the pair, the clock signal F from its sixth output to the second input of the second register 14, which can be used, for example, dvigovy register.

Элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 36 и интегрирующая цепь 37 блока 2 синхронизации исключают высокочастотные помехи и чередование фаз входных импульсов, поступивших с первого выхода второго блока 1 сопряжения, и выдают на четвертый выход блока 2 синхронизации синхросигнал Ф4 (фиг.2, 19), а на пятый и шестой выходы блока синхронизации поступает этот же соответственно инверсный Ф5 и прямой отформированный Ф6 сигналы. The EXCLUSIVE OR element 36 and the integrating circuit 37 of the synchronization unit 2 exclude high-frequency interference and phase rotation of the input pulses received from the first output of the second interface unit 1, and output the synchronization signal Ф4 to the fourth output of the synchronization unit 2 (Figs. 2, 19), and to the fifth and the sixth outputs of the synchronization unit receives the same inverse F5 and direct formed F6 signals, respectively.

Двоичный счетчик 40 на два и логические элементы ИЛИ-НЕ 41, 42 обеспечивают поступление на первый и второй выходы блока 2 синхронизации соответственно сигналов Ф1 и Ф2 (фиг.2, 20 и 21). Двухфазная синхронизация сигналами Ф1 и Ф2, разнесенными по времени, с несовпадающими фронтами позволяет повысить надежность срабатывания блоков устройства для ввода-вывода информации, исключая неоднозначность выработки сигналов управления во время переходных коммутационных процессов используемых логических элементов. Binary counter 40 for two and logical elements OR NOT 41, 42 provide the first and second outputs of synchronization unit 2, signals F1 and F2, respectively (Figs. 2, 20 and 21). Two-phase synchronization of signals Ф1 and Ф2, spaced in time, with mismatching edges allows to increase the reliability of operation of the units of the device for input-output information, eliminating the ambiguity of the generation of control signals during transient switching processes of the used logic elements.

Двоичный счетчик 40 на два также выдает на третий выход блока 2 синхронизации сигнал Ф3 длительностью, равной расстоянию между передними фронтами сигналов Ф1 и Ф2, что позволяет обеспечить функционирование первого регистра 8 и первого блока 7 сопряжения. The binary counter 40 two also gives the signal Ф3 with a duration equal to the distance between the leading edges of the signals Ф1 and Ф2 to the third output of the synchronization block 2, which ensures the functioning of the first register 8 and the first pairing unit 7.

Для изменения состояния технологического процесса необходимо передать в ЭВМ определенную команду: "влево", "охлаждение", "поворот 90". Для этого оператор нажимает и отпускает кнопку, соответствующую этой команде, на клавиатуре 9. В момент нажатия замкнутые контакты кнопки обеспечивают прохождение импульса напряжения через шифратор 10 при наличии на его втором входе синхросигнала Ф7, поступающего с второго выхода генератора 6 импульсов. По переднему фронту этого импульса напряжения шифратор 10 выставляет на своем первом выходе двоичный восьмиразрядный параллельный код (одно слово) нажатой кнопки, поступающий на информационные входы первой группы коммутатора 11. To change the state of the technological process, it is necessary to transfer a certain command to the computer: "left", "cooling", "turn 90". To do this, the operator presses and releases the button corresponding to this command on the keyboard 9. At the time of pressing, the closed contacts of the button ensure the passage of the voltage pulse through the encoder 10 if there is a clock signal F7 at its second input coming from the second output of the pulse generator 6. On the leading edge of this voltage pulse, the encoder 10 sets up on its first output a binary eight-bit parallel code (one word) of the pressed button, which goes to the information inputs of the first group of the switch 11.

Одновременно с выдачей кода кнопки клавиатуры 9 шифратор 10 с второго своего выхода выдает команду "останов" в виде логической "1" на первый вход первого формирователя 5 импульсов (фиг.2, 22). Строб "СТРБ 1" логической "1" с первого выхода первого формирователя 5 импульсов (фиг.2, 23) поступает на третий вход шифратора 10, останавливая шифрацию, и на первые входы блока 4 управления, запуская его, генератора 6 импульсов, запуская его. Генератор 6 импульсов с первого своего выхода подает сигнал на первый вход блока 12 индикации, выполненного, например, на светодиоде, включающее индикацию срабатывания нажатой кнопки. Simultaneously with the issuance of the code of the keyboard button 9, the encoder 10 from its second output issues a stop command in the form of a logical "1" to the first input of the first pulse shaper 5 (Figs. 2, 22). The gate "STRB 1" logical "1" from the first output of the first pulse shaper 5 (Fig.2, 23) is fed to the third input of the encoder 10, stopping encryption, and to the first inputs of the control unit 4, starting it, the pulse generator 6, starting it . The pulse generator 6 from its first output sends a signal to the first input of the display unit 12, made, for example, on an LED, including an indication of the operation of the pressed button.

Одновременно с выходом строба "СТРБ 1" с первого выхода первого формирователя 5 импульсов с его второго выхода на четвертый вход блока 4 управления поступает этот же строб, но претерпевший инверсию - "СТРБ 2" в виде логического "0". Simultaneously with the output of the strobe "STRB 1" from the first output of the first pulse shaper 5 from its second output, the same strobe enters the fourth input of the control unit 4, but it undergoes inversion - "STRB 2" in the form of a logical "0".

Блок 4 управления (фиг.6) включает D-триггеры 43, 47, 50, четырехвходовый элемент И-НЕ 44, элементы И-НЕ 45, 49, трехразрядный двоичный счетчик 46, элемент ИЛИ-НЕ 48. The control unit 4 (FIG. 6) includes D-flip-flops 43, 47, 50, a four-input AND-NOT 44 element, AND-NOT 45, 49 elements, a three-digit binary counter 46, an OR-NOT 48 element.

Блок 4 управления организует последовательную передачу на первый вход первого регистра 8 с выхода коммутатора 11 информации в виде двоичного параллельного кода, состоящего из трех восьмиразрядных слов, поступающей с первого выхода шифратора 10 о коде нажатой кнопки на первый вход коммутатора 11, а с выходов фотооптического считывателя 13 информации, заданной его перфорированными картами, соответственно на информационные входы второй группы коммутатора 11 под управлением двухразрядного кода, поступающего на вход фотооптического считывателя 13, и адресный вход коммутатора 11 с первого выхода блока 4 управления в соответствии с алгоритмом его работы (фиг. 7 и 8). The control unit 4 organizes serial transmission to the first input of the first register 8 from the output of the switch 11 of information in the form of a binary parallel code consisting of three eight-bit words coming from the first output of the encoder 10 about the pressed button code to the first input of the switch 11, and from the outputs of the photo-optical reader 13 of the information specified by its perforated cards, respectively, to the information inputs of the second group of the switch 11 under the control of a two-bit code supplied to the input of the photo-optical reader 13 and the address input of the switch 11 from the first output control unit 4 in accordance with the algorithm of its operation (Figs. 7 and 8).

Поступившая под управлением блока 4 управления при наличии на его втором и третьем входах синхросигналов Ф1 и Ф2 информация с выхода коммутатора 11 на первый вход регистра 8 фиксируется в нем под управлением сигнала "Запись", поступающего на его третий вход с второго выхода блока 4 управления, и преобразуется регистром 8 из параллельного кода в последовательный. Информация в последовательном коде в виде потенциального сигнала с первого выхода первого регистра 8 (фиг.2, 17) поступает на первый вход первого блока 7 сопряжения. The information received under the control of the control unit 4, when the second and third inputs of the clock signals F1 and F2 are available, the information from the output of the switch 11 to the first input of the register 8 is recorded in it under the control of the “Record” signal received at its third input from the second output of the control unit 4, and is converted by register 8 from parallel to serial code. Information in a serial code in the form of a potential signal from the first output of the first register 8 (Fig.2, 17) is fed to the first input of the first block 7 of the pair.

Первый блок сопряжения (фиг.9) содержит элементы ИСКЛЮЧАЮЩЕЕ ИЛИ 51, 52 элемент И-НЕ 53, 54, элемент НЕ 55, элемент 56 токозадающих резисторов. The first interface unit (Fig. 9) contains the elements EXCLUSIVE OR 51, 52 element AND NOT 53, 54, element NOT 55, element 56 current-carrying resistors.

Первый блок сопряжения работает следующим образом. The first pairing unit operates as follows.

Код передаваемой на ЭВМ информации в потенциальном виде (фиг.10, 57) с первого входа первого блока 7 сопряжения поступает на первые входы элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 51, 52 с одновременным поступлением на второй вход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 51 синхросигнала Ф4 (фиг.10, 58). Одновременно на второй вход элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 52 поступает тот же, но инвертированный синхросигнал Ф5. На выходах элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 51 и 52 в соответствии с их функцией формируются сигналы, отличающиеся по фазе от входных сигналов синхронизации (происходит фазоимпульсная модуляция), в зависимости от логического уровня информации на первых входах элементов ИСКЛЮЧАЮЩЕЕ ИЛИ 51 и 52. Наличие логической "1" на этих входах переворачивает фазу сигналов синхронизации на 180о, а наличие логического "0" , не переворачивает фазы сигналов синхронизации. Одновременно на вход элемента НЕ 55 поступает сигнал ФЗ синхронизации, который, претерпев инверсию (фиг.10, 59) в элементе НЕ 55, поступает на вторые входы элементов И-НЕ 53 и 54, стробируя прохождение сигналов с их первых входов на их выходы (фиг.10, 60 для выхода элемента И-НЕ 53; 61 для выхода элемента И-НЕ 54). Сигнал с выхода элементов И-НЕ 53 и 54 поступает на первый и второй соответственно входы элемента 56 токозадающих резисторов с последующей передачей фазомодулированного импульсного сигнала (фиг. 10, 62) в виде двуполярных импульсов тока с выхода первого блока 7 сопряжения в симметричную двухпроводную линию ЭВМ. The code of the information transmitted to the computer in potential form (Fig. 10, 57) from the first input of the first interface unit 7 is supplied to the first inputs of the EXCLUSIVE OR 51, 52 elements with the simultaneous input of the EXCLUSIVE OR 51 element of the F4 clock signal (Fig. 10, 58 ) At the same time, the same but inverted clock signal Ф5 is supplied to the second input of the EXCLUSIVE OR 52 element. At the outputs of the EXCLUSIVE OR elements 51 and 52, in accordance with their function, signals are generated that differ in phase from the synchronization input signals (phase-modulation occurs), depending on the logical level of information at the first inputs of the elements EXCLUSIVE OR 51 and 52. The presence of logical "1" at these inputs inverts the phase of the synchronization signals by 180 °, and the presence of a logical “0” does not invert the phases of the synchronization signals. At the same time, the input of the FZ synchronization signal arrives at the input of the HE 55 element, which, having undergone inversion (FIGS. 10, 59) in the HE 55 element, goes to the second inputs of the AND-NOT 53 and 54 elements, gating the passage of signals from their first inputs to their outputs ( 10, 60 for the output of the AND-NOT element 53; 61 for the output of the AND-NOT element 54). The signal from the output of AND-NOT elements 53 and 54 is fed to the first and second inputs of the element 56 of the current-setting resistors, followed by the transmission of a phase-modulated pulse signal (Fig. 10, 62) in the form of bipolar current pulses from the output of the first block 7 to the symmetrical two-wire computer line .

Первый регистр 8 по окончании передачи информации в первый блок 7 сопряжения вырабатывает сигнал "Готов передатчик", передаваемый им со своего второго выхода на пятый вход блока 4 управления для организации блоком управления очередного цикла передачи информации через коммутатор 11. На этом цикл вывода одного слова заканчивается. The first register 8, at the end of the transmission of information to the first pairing unit 7, generates a “Ready transmitter” signal, transmitted by it from its second output to the fifth input of the control unit 4, for the control unit to organize another information transfer cycle through the switch 11. This completes the single-word output cycle .

После вывода трех слов устройство для ввода,вывода информации заканчивает цикл вывода информации в ЭВМ о нажатой кнопке в соответствии с алгоритмом работы (фиг. 7) блока 4 управления (фиг.6). По окончании цикла вывода трех слов блок 4 управления с третьего своего выхода выставляет разрешающий потенциал на третий вход первого формирователя 5 импульсов, благодаря которому на первом и втором выходах первого формирователя 5 одновременно происходит переход строба "СТРБ 1" в логический "0", а строба "СТРБ 2" ,, в логическую "1". Логический "0" на третьем входе шифратора 10 разрешает шифрацию, а логическая "1" на четвертом входе блока 4 управления подготавливает его к следующему циклу своей работы, тем самым приводя устройство для ввода-вывода информации в исходное состояние для возможности нажатия кнопки. After the output of three words, the device for inputting, outputting information ends the cycle of outputting information to the computer about the pressed button in accordance with the algorithm of operation (Fig. 7) of the control unit 4 (Fig.6). At the end of the three-word output cycle, the control unit 4, from its third output, sets the resolving potential to the third input of the first pulse shaper 5, due to which at the first and second outputs of the first shaper 5, the gate "STRB 1" goes to logical "0" and the strobe "STRB 2", to the logical "1". Logical "0" at the third input of the encoder 10 allows encryption, and logical "1" at the fourth input of the control unit 4 prepares it for the next cycle of its operation, thereby bringing the device for input-output of information to its original state for the possibility of pressing a button.

После обработки полученной информации ЭВМ выдает через симметричную двухпроводную линию связи в устройство для ввода-вывода информации ответную или инициативную команду на индикацию состояния. Команда в последовательном коде поступает на первый вход второго блока 1 сопряжения. При наличии на втором входе второго блока сопряжения синхросигнала Ф5, поступающего с пятого выхода блока 2 синхронизации, во втором блоке сопряжения происходит фазоимпульсная демодуляция импульсного сигнала, направляемого с его второго выхода на первый вход второго регистра 14, где происходит его преобразование из последовательного кода в параллельный при поступлении на второй вход второго регистра сигнала синхронизации Ф6 с шестого выхода блока 2 синхронизации. По заполнении второго регистра 14 поступившей информацией (восьмиразрядным словом) он вырабатывает на своем первом выходе сигнал "Готов приемник", который поступает на шестой вход блока 4 управления и одновременно на второй вход второго формирователя 3 импульсов, запуская его. After processing the received information, the computer issues a response or initiative command to indicate the status through the symmetrical two-wire communication line to the device for input-output of information. The command in serial code is supplied to the first input of the second block 1 pairing. If there is a second input block of the second interface block of the clock signal Ф5 coming from the fifth output of the synchronization unit 2, a phase-pulse demodulation of the pulse signal from the second output to the first input of the second register 14 takes place in the second interface unit, where it is converted from serial to parallel upon receipt of the second input of the second register of the synchronization signal F6 from the sixth output of synchronization unit 2. When the second register 14 is filled with the received information (eight-bit word), it generates at its first output a “Ready receiver” signal, which is fed to the sixth input of the control unit 4 and simultaneously to the second input of the second pulse shaper 3, starting it.

В момент выработки вторым формирователем импульсов на своем первом выходе сигнала строб "СТРБ 3", поступающего на первый вход дешифратора 15, происходит разрешение на дешифрацию. В дешифраторе 15 происходит дешифрация восьмиразрядного кода, поступившего на его второй вход с второго выхода второго регистра 14. At the moment the second pulse shaper generates, at its first signal output, the strobe "STRB 3" supplied to the first input of the decoder 15, permission to decrypt takes place. In the decoder 15 is the decryption of the eight-bit code received at its second input from the second output of the second register 14.

При наличии логической "1" в восьмом разряде кода информации, поступающей с второго выхода второго регистра 14 на седьмой вход блока 4 управления, на четвертом выходе блока управления вырабатывается команда, поступающая на четвертый вход первого формирователя 5 импульсов, эквивалентная команде "останов", поступающей на первый вход первого формирователя 5 импульсов с второго выхода шифратора 10, т.е. цикл вывода информации из устройства ввода-вывода информации повторяется, но теперь уже по инициативе ЭВМ, без участия оператора и задействования клавиатуры 9, что позволяет обеспечить достижение дополнительного эффекта, а именно обеспечить автоматический контроль работоспособности устройства для ввода-вывода информации по программе ЭВМ. If there is a logical “1” in the eighth digit of the code of information coming from the second output of the second register 14 to the seventh input of the control unit 4, a command is generated at the fourth output of the control unit that arrives at the fourth input of the first pulse shaper 5, equivalent to the “stop” command received to the first input of the first driver 5 pulses from the second output of the encoder 10, i.e. the information output cycle from the information input-output device is repeated, but now already at the initiative of the computer, without the participation of the operator and keyboard 9, which ensures an additional effect, namely, to ensure automatic monitoring of the operability of the device for input-output of information using the computer program.

По окончании сигнала "СТР 3" второй формирователь 3 импульсов на своем втором выходе формирует сигнал "Конец чтения", который, поступая на третий вход второго регистра 14, разрешает ему прием очередной информации. At the end of the signal "STR 3" the second pulse shaper 3 at its second output generates a signal "End of reading", which, entering the third input of the second register 14, allows it to receive the next information.

Дешифрованный код из дешифратора 15 поступает на вход блока 16 памяти и запоминается. С выхода блока 16 памяти сигнал, соответствующий командам от ЭВМ, например "охлаждение", "поворот 90" и т.д., поступает на второй вход блока 12 индикации, включая или выключая индикатор. На этом цикл ввода информации закончен. The decrypted code from the decoder 15 is fed to the input of the memory unit 16 and is stored. From the output of the memory unit 16, a signal corresponding to commands from the computer, for example, "cooling", "turn 90", etc., is supplied to the second input of the display unit 12, turning the indicator on or off. This completes the information input cycle.

Выполнение устройства для ввода-вывода информации описанным выше образом обеспечивает расширение его функциональных возможностей за счет одновременной индикации регистрируемых состояний технологического процесса, а также повышение надежности работы за счет использования двухфазной синхронизации. The implementation of the device for input-output of information in the manner described above provides an extension of its functionality due to the simultaneous indication of the recorded states of the process, as well as increased reliability due to the use of two-phase synchronization.

Claims (1)

УСТРОЙСТВО ДЛЯ ВВОДА-ВЫВОДА ИНФОРМАЦИИ, содержащее клавиатуру, шифратор, первый формирователь импульсов, генератор импульсов, блок индикации, первый и второй блоки сопряжения, первый и второй регистры, коммутатор, дешифратор, выход первого блока сопряжения является выходом устройства, вход второго блока сопряжения - входом устройства, отличающееся тем, что в него введены второй формирователь импульсов, блок управления, блок синхронизации, блок памяти, фотооптический считыватель, причем выходы клавиатуры соединены с информационными входами шифратора, выходы группы которого соединены с информационными входами первой группы коммутатора, выходы которого соединены с информационными входами первого регистра, информационный выход которого соединен с информационным входом первого блока сопряжения, выход шифратора соединен с первым информационным входом первого формирователя импульсов, первый выход которого соединен с первым управляющим входом шифратора, первым входом блока управления и входом запуска генератора импульсов, первый выход которого соединен с управляющим входом блока индикации, второй выход - с вторым управляющим входом шифратора, информационные выходы группы второго блока сопряжения соединены с входами блока синхронизации, информационный выход второго блока сопряжения - с информационным входом второго регистра, выход которого соединен с первым входом запуска второго формирователя импульсов и шестым входом блока управления, выходы группы второго регистра соединены с информационными входами дешифратора, выходы которого соединены с входами блока памяти, выходы которого соединены с информационными входами блока индикации, один из выходов группы второго регистра соединен с седьмым входом блока управления, первый выход второго формирователя импульсов соединен с управляющим входом дешифратора, а второй выход - с управляющим входом второго регистра, первый выход блока синхронизации соединен с вторым входом запуска второго формирователя импульсов, вторым входом блока управления и тактовым входом первого формирователя импульсов, второй выход соединен с управляющим входом генератора импульсов и третьим входом блока управления, третий выход соединен с входом сдвига первого регистра и первым управляющим входом первого блока сопряжения, четвертый выход - с вторым управляющим входом первого блока сопряжения, пятый выход - с третьим управляющим входом первого блока сопряжения и управляющим входом второго блока сопряжения, а шестой выход - с входом сдвига второго регистра, первый выход блока управления соединен с адресным входом коммутатора и входом фотооптического считывателя, выходы которого соединены с информационными входами второй группы коммутатора, второй выход блока управления соединен с входом записи первого регистра, выход переполнения которого соединен с пятым входом блока управления, третий выход которого соединен с входом сброса первого формирователя импульсов, четвертый выход соединен с вторым информационным входом первого формирователя импульсов, второй выход которого соединен с четвертым входом блока управления. DEVICE FOR INFORMATION INPUT-OUTPUT, comprising a keyboard, an encoder, a first pulse shaper, a pulse generator, an indication unit, the first and second interface units, first and second registers, a switch, a decoder, the output of the first interface unit is the output of the device, the input of the second interface unit is the device input, characterized in that a second pulse shaper, a control unit, a synchronization unit, a memory unit, a photo-optical reader are introduced into it, and the keyboard outputs are connected to the information input the encoder, the group outputs of which are connected to the information inputs of the first group of the switch, the outputs of which are connected to the information inputs of the first register, the information output of which is connected to the information input of the first pairing unit, the encoder output is connected to the first information input of the first pulse shaper, the first output of which is connected to the first control input of the encoder, the first input of the control unit and the trigger input of the pulse generator, the first output of which is connected to the control in the display unit, the second output is with the second control input of the encoder, the information outputs of the group of the second interface unit are connected to the inputs of the synchronization unit, the information output of the second interface unit is connected to the information input of the second register, the output of which is connected to the first start input of the second pulse shaper and the sixth input of the control unit, the outputs of the second register group are connected to the information inputs of the decoder, the outputs of which are connected to the inputs of the memory unit, the outputs of which are connected to mation inputs of the display unit, one of the outputs of the second register group is connected to the seventh input of the control unit, the first output of the second pulse shaper is connected to the control input of the decoder, and the second output is connected to the control input of the second register, the first output of the synchronization block is connected to the second start input of the second shaper pulses, the second input of the control unit and the clock input of the first pulse shaper, the second output is connected to the control input of the pulse generator and the third input of the control unit the third output is connected to the shift input of the first register and the first control input of the first interface unit, the fourth output is to the second control input of the first interface unit, the fifth output is to the third control input of the first interface unit and the control input of the second interface unit, and the sixth output is with the shift input of the second register, the first output of the control unit is connected to the address input of the switch and the input of the photo-optical reader, the outputs of which are connected to the information inputs of the second group of the switch, w A control unit output is connected to a recording input of the first register, the overflow output of which is connected to the fifth input of the control unit, the third output of which is connected to the reset input of the first pulse shaper, the fourth output is connected to the second information input of the first pulse shaper, the second output of which is connected to the fourth input control unit.
SU5029859 1992-02-27 1992-02-27 Data input/output device RU2029352C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU5029859 RU2029352C1 (en) 1992-02-27 1992-02-27 Data input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU5029859 RU2029352C1 (en) 1992-02-27 1992-02-27 Data input/output device

Publications (1)

Publication Number Publication Date
RU2029352C1 true RU2029352C1 (en) 1995-02-20

Family

ID=21598142

Family Applications (1)

Application Number Title Priority Date Filing Date
SU5029859 RU2029352C1 (en) 1992-02-27 1992-02-27 Data input/output device

Country Status (1)

Country Link
RU (1) RU2029352C1 (en)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
1. Авторское свидетельство СССР N 1096677, кл. G 08C 19/16, 1984. *
2. Авторское свидетельство СССР N 935937, кл. G 06F 3/02, 1982. *

Similar Documents

Publication Publication Date Title
RU2029352C1 (en) Data input/output device
US3491202A (en) Bi-polar phase detector and corrector for split phase pcm data signals
KR850002530A (en) Signal transmitter
RU2025049C1 (en) Device for decoding of group codes
SU1290556A1 (en) Device for transmission and reception of discrete signals
SU496550A1 (en) Multi-channel input device
SU1161948A1 (en) Interface for linking computer with communication channel and peripheral unit
SU766015A1 (en) Level distributing device
SU907569A1 (en) Serial code receiver
RU2023309C1 (en) Device for receiving telecontrol programs
SU1352443A1 (en) Information transmission device
SU1037233A1 (en) Data input device
SU1215167A1 (en) Device for synchronizing pulses
SU1562948A1 (en) Method of sequential transmission and reception of digital information and device for effecting same
KR0137957Y1 (en) Transcoding circuit
ES415110A1 (en) Sequential data transmission system with insertion of slow-sequence operations
SU1187197A1 (en) Device for reception of supervisory indication signals
RU2042183C1 (en) Device for input/output information for digital control system
SU696441A1 (en) Binary number comparing and converting device
SU902296A1 (en) Device for receiving and transmitting discrete information
SU1007189A1 (en) Device for time division of pulse signals
SU1172060A1 (en) Device for decoding double-current frequency-shift keyed signals
RU2032201C1 (en) Digital control system input/output module
SU406173A1 (en) DEVICE FOR THE CONTROL OF ELECTRICAL CONNECTION CORRECTNESS
RU2030115C1 (en) Electronic key of morse code