RU2032214C1 - Data exchange controller - Google Patents

Data exchange controller Download PDF

Info

Publication number
RU2032214C1
RU2032214C1 RU93028497A RU93028497A RU2032214C1 RU 2032214 C1 RU2032214 C1 RU 2032214C1 RU 93028497 A RU93028497 A RU 93028497A RU 93028497 A RU93028497 A RU 93028497A RU 2032214 C1 RU2032214 C1 RU 2032214C1
Authority
RU
Russia
Prior art keywords
unit
outputs
inputs
controller
group
Prior art date
Application number
RU93028497A
Other languages
Russian (ru)
Other versions
RU93028497A (en
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 RU93028497A priority Critical patent/RU2032214C1/en
Application granted granted Critical
Publication of RU2032214C1 publication Critical patent/RU2032214C1/en
Publication of RU93028497A publication Critical patent/RU93028497A/en

Links

Images

Abstract

FIELD: computer engineering. SUBSTANCE: controller can be used for acquiring telemetering information from more than one entity, its processing, and transfer of check results for program telemetering of external subscriber control commands according to check results. Controller has processor unit, control unit, exchange control unit, check data acquisition unit, relay command receiving and transmitting units, serial asynchronous exchange unit, pulse command receiving and transmitting unit, serial interface units with external and internal acknowlegement, telemetering code output unit. EFFECT: enlarged class of solved problems. 2 dwg

Description

Изобретение относится к вычислительной технике и может быть использовано в качестве устройства управления объектами, обработки, полученной от внешних абонентов информации, обработки ее по заданным алгоритмам, передачи информации и команд управления внешним абонентам в виде релейных команд, импульсных команд последовательного кода. Контроллер может быть использован в качестве устройства для сбора телеметрической информации с нескольких объектов (до 192 сигналов), ее обработки и выдачи результатов контроля на программную телеметрию или команд управления внешним абонентам по результатам контроля. The invention relates to computer technology and can be used as a device for managing objects, processing information received from external subscribers, processing it according to specified algorithms, transmitting information and control commands to external subscribers in the form of relay commands, pulse commands of a serial code. The controller can be used as a device for collecting telemetric information from several objects (up to 192 signals), processing it and issuing control results to program telemetry or control commands to external subscribers according to the control results.

Известно устройство для обмена информацией, содержащее счетчик, стек регистров адреса, блок адресации памяти микрокоманд, блок памяти микрокоманд, блоки сопряжения, стек регистров уровня приоритета, тактовый генератор, блок приоритета, блок регистров данных, мультиплексор управления, дешифратор, блок управления, блок обработки очередей, блок регистров адреса, мультиплексор признаков результата, стек регистров признаков результата, блок оперативной памяти, мультиплексор адреса, регистр признаков результата, мультиплексор данных с соответствующими связями [1]. A device for exchanging information comprising a counter, a stack of address registers, an address block for microcommand memory, a memory block for microcommands, interface units, a stack of priority level registers, a clock generator, a priority block, a data register block, a control multiplexer, a decoder, a control unit, a processing unit queues, block of address registers, result attribute multiplexer, stack of result attribute registers, RAM block, address multiplexer, result attribute register, data multiplexer with corresponding etstvuyuschimi bonds [1].

Недостатком этого устройства являются ограниченные функциональные возможности. The disadvantage of this device is its limited functionality.

Наиболее близким к заявленному техническим решением является устройство для управления обменом информацией между ЭВМ и группой периферийных устройств, содержащее дешифратор адреса, ЭВМ, регистр обмена, коммутатор, блок выбора приоритета, блоки управления обменом. Closest to the claimed technical solution is a device for controlling the exchange of information between a computer and a group of peripheral devices, containing an address decoder, a computer, an exchange register, a switch, a priority selection unit, exchange control units.

К недостаткам устройства относятся невозможность получения и выдачи импульсных команд, получения и обработки контрольных сигналов внешних объектов. The disadvantages of the device include the impossibility of receiving and issuing pulse commands, receiving and processing control signals of external objects.

Цель изобретения - расширение класса решаемых задач. The purpose of the invention is the expansion of the class of tasks.

Поставленная цель достигается тем, что в устройство, содержащее блок обработки данных, соединенный двусторонней связью с блоком управления обменом, и блок прерывания, введены блок сбора контрольной информации, блок приема релейных команд, блок выдачи релейных команд, блок последовательного асинхронного обмена, блок приема и выдачи импульсных команд, последовательный интерфейсный блок с внешним квитированием, последовательный интерфейсный блок с внутренним квитированием и блок выдачи телеметрического кода, причем информационно-управляющие входы-выходы блока прерывания, блока сбора контрольной информации, блок приема релейных команд, блока выдачи релейных команд, блока последовательного асинхронного обмена, блока приема и выдачи импульсных команд, последовательного интерфейсного блока с внешним квитированием, последовательного интерфейсного блока с внутренним квитированием и блока выдачи телеметрического кода через внутреннюю магистраль соединены с соответствующими информационно-управляющими входами-выходами блока управления обменом, группа выходов блока выдачи релейных команд и группа входов блока приема релейных команд являются соответственно группой выходов и группой входов релейных команд контроллера, группы входов-выходов последовательного интерфейсного блока с внутренним квитированием и последовательного интерфейсного блока с внешним квитированием являются группами линейных входов-выходов контроллера, группа входов и группа выходов блока приема и выдачи импульсных команд являются соответственно группой входов и группой выходов импульсных команд контроллера, с первого по пятый входы-выходы блока последовательного асинхронного обмена являются соответствующими входами-выходами контроллера для подключения к внешним объектам, группа входов блока сбора контрольной информации является группой входов контроллера для подключения к контрольным выходам внешних объектов, группа входов, первая и вторая группы выходов, выходы строба и маркера блока выдачи телеметрического кода являются соответствующими одноименными группой входов, группами выходов и выходами контроллера. This goal is achieved by the fact that in the device containing the data processing unit connected by two-way communication with the exchange control unit, and the interrupt unit, a control information collection unit, a relay command reception unit, a relay command issuing unit, a serial asynchronous exchange unit, a reception unit and issuing pulse commands, a serial interface unit with external acknowledgment, a serial interface unit with internal acknowledgment and a telemetry code issuing unit, the input / outputs of the interrupt unit, the control information collection unit, the relay command reception unit, the relay command issuing unit, the asynchronous serial exchange unit, the pulse command reception and issuing unit, the serial interface block with external acknowledgment, the serial interface block with internal acknowledgment and the issuing block telemetry code through the internal trunk connected to the corresponding information-control inputs and outputs of the exchange control unit, the group of outputs of the block you Relay commands and the input group of the relay command receiving unit are respectively the group of outputs and the group of inputs of the relay command of the controller, the input-output groups of the serial interface block with internal acknowledgment and the serial interface block with external acknowledgment are the groups of linear inputs and outputs of the controller, the group of inputs and the group the outputs of the block receiving and issuing pulse commands are, respectively, the group of inputs and the group of outputs of the pulse commands of the controller, from the first to the fifth the inputs and outputs of the serial asynchronous exchange unit are the corresponding inputs and outputs of the controller for connecting to external objects, the group of inputs of the control information collection unit is the group of inputs of the controller for connecting to the control outputs of external objects, the group of inputs, the first and second groups of outputs, strobe and marker outputs telemetric code issuing units are the corresponding group of inputs of the same name, groups of outputs and controller outputs.

Признаки, отличающие заявленное устройство, в известных аналогах не обнаружены, следовательно, оно соответствует критериям новизны и изобретательского уровня. Signs that distinguish the claimed device in the known analogues are not found, therefore, it meets the criteria of novelty and inventive step.

На фиг. 1 изображена структурная схема предлагаемого контроллера; на фиг.2 - схема подключения к контроллеру внешних объектов. In FIG. 1 shows a structural diagram of the proposed controller; figure 2 - connection diagram to the controller of external objects.

Контроллер обмена содержит (фиг.1) устройство 1 ввода-вывода, блок 2 прерывания, блок 3 сбора контрольной информации, блок 4 приема релейных команд, блок 5 выдачи релейных команд, блок 6 последовательного асинхронного обмена, блок 7 приема и выдачи импульсных команд, последовательный интерфейсный блок 8 с внешним квитированием, последовательный интерфейсный блок 9 с внутренним квитированием, блок 10 управления обменом, блок 11 выдачи телеметрического кода, блок 12 обработки данных (процессор), постоянное запоминающее устройство (ПЗУ) 13, 14, 15, троированное программно-логическое устройство 16 с ОЗУ, внутреннюю магистраль 17. The exchange controller contains (Fig. 1) an input / output device 1, an interrupt unit 2, a control information collection unit 3, a relay command receiving unit 4, a relay command issuing unit 5, a serial asynchronous exchange unit 6, an impulse command receiving and issuing unit 7, serial interface unit 8 with external acknowledgment, serial interface unit 9 with internal acknowledgment, exchange control unit 10, telemetry code issuing unit 11, data processing unit 12 (processor), read-only memory (ROM) 13, 14, 15, troro This software logic unit 16 to the RAM, the internal manifold 17.

На фиг.2 изображены контроллер 18 обмена, приемное устройство 19 команд и управления, объект 20 управления, объект 21 контроля. Figure 2 shows the controller 18 exchange, the receiving device 19 commands and control, the object 20 of the control, the object 21 of the control.

Контроллер обмена является программируемым 16-разрядным устройством со специализированными ячейками обмена. Контроллер снабжается зашитой в ПЗУ программой "штатный тест самоконтроля" для автономной и штатной проверки в составе комплекса. Остальной объем ПЗУ прошивается штатной программой, предназначенной для работы контроллера в составе комплекса. The exchange controller is a programmable 16-bit device with specialized exchange cells. The controller is equipped with the “regular self-test” program wired in ROM for autonomous and standard verification as part of the complex. The rest of the ROM volume is flashed with a standard program designed to operate the controller as part of the complex.

Контроллер работает следующим образом. Контроллер включает три канала с поузловым перекрестным мажорированием логической части. Входные и выходные формирователи в блоках 3-9 и 11 частью троированы, а частью дублированы. The controller operates as follows. The controller includes three channels with node-wise cross majorization of the logical part. Input and output drivers in blocks 3–9 and 11 are partly tripled and partly duplicated.

Контроллер работает по программе зашитой в ПЗУ 13, 14, 15, здесь же по определенным адресам зашиваются константы, необходимые для работы. Связь между процессором 12 и устройством 1 ввода-вывода осуществляется при помощи команд пересылок из процессора и в него и управляющими кодами, сопровождающими эти команды. The controller works according to the program wired in ROM 13, 14, 15, here, at certain addresses, the constants necessary for operation are sewn up. The communication between the processor 12 and the input / output device 1 is carried out using the transfer commands from and to the processor and control codes accompanying these commands.

Блок 10 управления обменом предназначен для синхронизации и управления работой контроллера и выполнен на микросборке 831ЛУХ4Б-62. На вход блока 10 из устройства 16 поступают адреса, тактовые сигналы, цикловые метки. На основании анализа полученных сигналов блок 10 формирует на своих выходах, подключенных к магистрали 17, синхроимпульсы, сигнал "Пуск ВЧ" и сигнал прерывания в процессор "Пр4". The exchange control unit 10 is designed to synchronize and control the operation of the controller and is made on a micro-assembly 831LUH4B-62. The input of block 10 from the device 16 receives addresses, clock signals, cyclic labels. Based on the analysis of the received signals, block 10 generates at its outputs connected to the highway 17, clock pulses, the “Start RF” signal and the interrupt signal to the processor “Pr4”.

Блок 2 прерываний выполнен по бесприоритетной схеме и вырабатывает сигналы "Пр1", "Пр2", "Пр3", "Пр4" в устройство 16, а также формирует код прерывания абонента и выдает его в процессор 12. Блок выполнен на микросборке 831ЛУХ4Б-61. Блок имеет в своем составе триггеры, которые запоминают запросы от внешних абонентов. С помощью маски, формируемой программно, происходит маскирование прерываний. Каждому абоненту соответствует свой разряд в регистре маски блока 2. В результате маскирования на выходе блока 2 формируется один из сигналов Пр1, Пр2, Пр3. Сигнал Пр4 формируется блоком 2 при переполнении таймера в блоке 10 независимо от запрета и разрешения прерывания. Для анализа причины прерываний в блоке 2 имеется регистр кода прерываний, который анализируется устройством 16. Block 2 interrupts is made according to a non-priority scheme and generates signals "Pr1", "Pr2", "Pr3", "Pr4" to the device 16, and also generates an interrupt code for the subscriber and gives it to the processor 12. The block is made on micro-assembly 831LUKh4B-61. The block includes triggers that remember requests from external subscribers. Using a mask formed by software, masking of interrupts occurs. Each subscriber has their own bit in the mask register of block 2. As a result of masking, one of the signals Pr1, Pr2, Pr3 is generated at the output of block 2. The signal Pr4 is generated by block 2 when the timer overflows in block 10, regardless of the prohibition and permission to interrupt. To analyze the cause of interruptions, in block 2 there is an interrupt code register, which is analyzed by device 16.

Блок 3 сбора контрольной информации обеспечивает прием 192 одноканальных асинхронных сигналов или 64 трехканальных сигналов. Блок 3 выполнен на трех микросборках 831ЛУХ4Б-58. Входные контрольные сигналы блока 3 опрашиваются аппаратно по 32 разряда последовательно. В результате сверки полученных кодов блок 3 формирует сигнал прерывания. Block 3 collection of control information provides the reception of 192 single-channel asynchronous signals or 64 three-channel signals. Block 3 is made on three microassemblies 831LUH4B-58. The input control signals of block 3 are interrogated in hardware by 32 bits in series. As a result of verification of the received codes, block 3 generates an interrupt signal.

Блок 11 выдачи телеметрического кода предназначен для выдачи сигналов "Строб", "Маркер", а также параллельного 16-разрядного телеметрического кода и последовательного 16-разрядного (8рх2) аппаратного телеметрического кода. The telemetry code issuing unit 11 is intended for issuing the “Strobe”, “Marker” signals, as well as a parallel 16-bit telemetry code and a sequential 16-bit (8x2) hardware telemetry code.

Блок 11 выполнен на микросборке 831ЛУХ4Б-60. Программно контролируемые параметры контроллера по команде из устройства 16 передаются в регистр блока 11, с которого, промажорированные, через выходной формирователь поступают во внешнюю цепь. Смена телеметрических параметров происходит по очередной команде устройства 16. Сигнал "Маркер" используется для увеличения числа контролируемых параметров с 16 до 56 и содержит два разряда. Параметры могут быть статическими или изменяться от "маркера" к "маркеру". Block 11 is made on a microassembly 831LUH4B-60. The programmatically controlled parameters of the controller are transferred from the device 16 to the register of block 11, from which, advanced, through the output former enter the external circuit. Telemetry parameters are changed according to the next command of device 16. The “Marker” signal is used to increase the number of monitored parameters from 16 to 56 and contains two digits. Parameters can be static or vary from “marker” to “marker”.

Блок 4 приема релейных команд предназначен для приема восьми асинхронных релейных команд, каждая из восьми команд поступает на вход соответствующего входного регистра в блоке 4. Относительно переднего фронта поступившей релейной команды вырабатывается одиночный импульс, который запоминается в выходном регистре блока 4, номер каждого разряда которого соответствует номеру релейной команды. Считывание состояния выходного регистра блока 4 производится по команде устройства 16, после выполнения команды регистры обнуляются. Block 4 receiving relay commands is designed to receive eight asynchronous relay commands, each of eight commands is input to the corresponding input register in block 4. Relative to the leading edge of the received relay command, a single pulse is generated, which is stored in the output register of block 4, the number of each bit of which corresponds to relay command number. Reading the status of the output register of block 4 is carried out at the command of the device 16, after the execution of the command, the registers are reset.

С некоторой задержкой относительно переднего фронта поступившей релейной команды в блоке 4 вырабатывается сигнал прерывания, который через магистраль 17 поступает в блок 2 прерываний. После приема хотя бы одной команды формируется условие 1, которое снимается после считывания информации из выходного регистра блока 4. Блок 4 выполнен на микросборках 812УТХ3-3 и 831ЛУХ4Б-59. With some delay relative to the leading edge of the incoming relay command in block 4, an interrupt signal is generated, which through line 17 enters block 2 interrupts. After receiving at least one command, condition 1 is formed, which is removed after reading information from the output register of block 4. Block 4 is made on microassemblies 812UTX3-3 and 831LUH4B-59.

Блок 5 выдачи релейных команд предназначен для выдачи 32 релейных команд и выполнен трехканальным с мажорированием на выходе. Блок 5 выполнен на микросборках 812УТП3-28, 831ЛУХ4Б-5У и состоит из двух взаимонезависимых узлов, каждый из которых обеспечивает выдачу 16 релейных команд. Каждый узел содержит приемный и выходной регистры и узел управления (не показаны). Block 5 issuing relay commands is designed to issue 32 relay commands and is made three-channel with majorization at the output. Block 5 is made on microassemblies 812UTP3-28, 831LUKH4B-5U and consists of two interdependent nodes, each of which provides the issuance of 16 relay commands. Each node contains a receiving and output registers and a control node (not shown).

Информация из устройства 16 через блок 19 по магистрали 17 поступает в приемный регистр блока 5 тетрадами по команде устройства 16. После окончания этой команды информация из приемного регистра в блоке 5 переписывается параллельно в выходной регистр и далее поступает на выходы контроллера. Номер разряда выходного регистра соответствует номеру выдаваемой релейной команды. По концу команды устройства 16 выдается условие II, которое через время, необходимое для выдачи релейных команд, снимается, регистры блока 5 обнуляются. Если, игнорируя условие II, снова выдать 16-разрядную информацию из устройства 16 в приемный регистр блока 5, вышеуказанные операции повторяются снова. Таким образом, длительность релейных команд можно задавать программно. Information from the device 16 through the block 19 along the highway 17 enters the receiving register of the block 5 with tetrads by the command of the device 16. After the end of this command, information from the receiving register in the block 5 is copied in parallel to the output register and then goes to the controller outputs. The number of the output register bit corresponds to the number of the relay command issued. At the end of the command of the device 16, condition II is issued, which, after the time required for issuing the relay commands, is removed, the registers of block 5 are reset. If, ignoring condition II, again to send 16-bit information from device 16 to the receive register of block 5, the above operations are repeated again. Thus, the duration of relay commands can be set programmatically.

Блок 6 последовательного асинхронного обмена состоит из узла приема и узла выдачи. Узел приема предназначен для приема по двум байтам 16-разрядных информационных слов от внешнего абонента и их передачи параллельно-последовательным кодом в процессор 12. Узел приема выполнен на микросборке 831ЛУХ4Б-65 и содержит два входных регистра и узел управления (не показаны). Первый регистр работает только в режиме записи, второй - как в режиме записи, так и в режиме последовательного сдвига. Перепись информации из первого регистра во второй производится только в том случае, если в нем не хранится принятая информация. Последовательный сдвиг во втором регистре осуществляется по команде устройства 16 и служит для считывания информации, принятой от внешнего абонента в процессор 12. Считывание информации может производиться совместно с записью нового слова от абонента. Если оба регистра заполнены, то на выходе блока 6 формируется сигнал запрета приема информации от абонента. После считывания в устройство 16 хотя бы одного из принятых слов сигнал запрета снимается и происходит автоматическая перепись информации из первого регистра во второй. Предусмотрена также программная установка запрета приема информации. Block 6 serial asynchronous exchange consists of a receiving node and a node issuing. The receiving node is designed to receive two-byte 16-bit information words from an external subscriber and transmit them in parallel-serial code to the processor 12. The receiving node is made on the micro-assembly 831LUKh4B-65 and contains two input registers and a control node (not shown). The first register only works in recording mode, the second - both in recording mode and in sequential shift mode. The census of information from the first register to the second is carried out only if the received information is not stored in it. A sequential shift in the second register is carried out at the command of the device 16 and serves to read information received from an external subscriber to the processor 12. Information can be read in conjunction with the recording of a new word from the subscriber. If both registers are full, then at the output of block 6, a signal for blocking reception of information from the subscriber is generated. After reading at least one of the received words into the device 16, the prohibition signal is removed and the information is automatically transferred from the first register to the second. A software installation prohibiting the reception of information is also provided.

Узел выдачи предназначен для приема из устройства 16 последовательно-параллельным кодом 8-разрядного заявочного слова и 16-разрядных информационных слов и передачи параллельным 16-разрядным кодом абоненту. Узел выдачи выполнен на микросборке 831ДУХ4Б-65 и содержит два 16-разрядных регистра, 8-разрядный регистр и узел управления. Первый 16-разрядный и 8-разрядный регистры работают только в режиме последовательной записи информации, а второй 16-разрядный регистр - в режиме записи параллельного кода. В 8-разрядный регистр записывается по команде устройства 16 8-разрядная информация из процессора. В первый 16-разрядный регистр записывается 16-разрядная информация из процессора. Если второй 16-разрядныфй регистр не занят, то в него автоматически переписывается параллельным кодом слово из первого 16-разрядного регистра. Если во втором регистре имеется информационное слово, то перепись в него произойдет только после передачи хранящейся в нем информации абоненту. При заполнении первого и второго регистров информационными словами на выходе узла устанавливается потенциальный сигнал занятости узла. После передачи абоненту хотя бы одного слова сигнал занятости снимается. The issuing unit is designed to receive from the device 16 in serial-parallel code an 8-bit application word and 16-bit information words and transmit the parallel 16-bit code to the subscriber. The delivery unit is made on the micro-assembly 831DUKH4B-65 and contains two 16-bit registers, an 8-bit register and a control unit. The first 16-bit and 8-bit registers work only in sequential write mode, and the second 16-bit register works in parallel code write mode. In the 8-bit register is written at the command of the device 16 8-bit information from the processor. The first 16-bit register is written 16-bit information from the processor. If the second 16-bit register is not occupied, then the word from the first 16-bit register is automatically written to it in parallel code. If there is an information word in the second register, then a census will take place in it only after the information stored in it is transmitted to the subscriber. When filling the first and second registers with information words at the node output, a potential node busy signal is established. After at least one word is transmitted to the subscriber, the busy signal is removed.

Блок 7 приема и выдачи импульсных команд обеспечивает прием семи асинхронных дублированных сигналов и выдачу трех дублированных импульсных сигналов. Блок выполнен на микросборках 812УИП3-2Б и 831ЛУХ4Б-62 и представляет собой регистр и группу триггеров. Мажорированная информация из устройства 16 по его команде поступает в выходной регистр и далее на выходы контроллера. Прием импульсных команд происходит аналогично по команде устройства 16. Block 7 receiving and issuing pulse commands provides the reception of seven asynchronous duplicated signals and the issuance of three duplicated pulse signals. The block is made on microassemblies 812UIP3-2B and 831LUH4B-62 and is a register and a group of triggers. Majorized information from the device 16 at his command enters the output register and then to the outputs of the controller. The reception of impulse commands occurs similarly to the command of the device 16.

Последовательный интерфейсный блок 8 с внешним квитированием производит обмен информацией между контроллером и абонентом по тактовым импульсам абонента. The serial interface unit 8 with external acknowledgment carries out the exchange of information between the controller and the subscriber according to the clock pulses of the subscriber.

Обмен осуществляется в трех режимах:
- запись;
- квитирование,
- сверка времени.
Exchange is carried out in three modes:
- record;
- acknowledgment
- reconciliation of time.

Обмен во всех режимах производится двоичных 16-разрядным последовательным кодом. Включение каждого режима осуществляется релейными командами, окончание каждого режима происходит по релейной команде "Конец обмена". Exchange in all modes is done in binary 16-bit serial code. The inclusion of each mode is carried out by relay commands, the end of each mode occurs by the relay command "End of exchange".

От абонента в контроллер поступают три импульсных сигнала: "Маркер", "ТИ" - 16 тактовых импульсов, "I" - "Кв" - информация абонента. Из контроллера абоненту передаются пять импульсных сигналов : "СТВ" - требование выдачи, "СТП" - требование приема, "Да" - сигнал; "Инф. в КВ" - информация из контроллера; "1 сек" - метка времени. После получения "СТП" в режиме "Запись" абонент начинает выдавать в контроллер "ТИ" и информацию, которая записывается в регистр и сдвигается тактовыми импульсами. Устройство 16 по своей команде снимает информацию и передает ее на обработку. Блок 8 при этом готов для приема очередного слова от абонента. Далее производится анализ правильности приема информации, если результат положительный, то по команде процессора 12 блок 8 вырабатывает сигнал "Да". Three pulse signals are received from the subscriber to the controller: “Marker”, “TI” - 16 clock pulses, “I” - “Kv” - subscriber information. Five impulse signals are transmitted from the controller to the subscriber: "STV" - demand for delivery, "STP" - demand for reception, "Yes" - signal; "Inf. In HF" - information from the controller; "1 sec" is a timestamp. After receiving "STP" in the "Record" mode, the subscriber begins to issue information to the controller "TI" and which is recorded in the register and shifted by clock pulses. The device 16 at its command takes information and transfers it to processing. Block 8 is ready for receiving the next word from the subscriber. Next, an analysis is made of the correctness of the reception of information, if the result is positive, then at the command of processor 12, block 8 generates a "Yes" signal.

В режиме "Квитирование" разрешается прохождение "маркера" и формируется сигнал "СТВ". После получения сигнала "СТВ" тактовые импульсы поступают от абонента на сдвиг выходного регистра и формирование импульса "Инф. в Кв". In the "Acknowledgment" mode, the passage of the "marker" is allowed and the "STV" signal is generated. After receiving the “STV” signal, clock pulses are received from the subscriber to shift the output register and generate the “Inf.

В режиме "Сверка времени" дается разрешение на выдачу абоненту импульса одиночной метки "1 сек". После выдачи этой метки в блоке 7 устанавливается разрешение на прием "маркера" и дальше режим аналогичен режиму "Квитирование", но при этом выдается только два слова. In the "Time Reconciliation" mode, permission is given to give a subscriber a single mark "1 second". After issuing this mark in block 7, permission is set for receiving a “marker” and then the mode is similar to the “Acknowledgment” mode, but only two words are issued.

Последовательный интерфейсный блок 9 с внутренним квитированием осуществляет обмен информацией между контроллером и абонентом по тактирующим импульсам, вырабатываемым контроллером. The serial interface unit 9 with internal acknowledgment carries out the exchange of information between the controller and the subscriber according to the clock pulses generated by the controller.

Входными сигналами от абонента являются "СНО" - начало обмена, "СТВ" - требование выдачи, "СТП" - требование приема, "КС" - конец связи, "Инф. БВК" - информация абонента. Блок 9 выдает абоненту "ИС" - импульсы сопровождения, "Готов" - готовность, "Инф. в БВК" - выходная информация контроллера. Обмен начинается с сигнала "СНО", который воспринимается как сигнал прерывания. После обработки кода прерывания контроллер выдает сигнал "Готов". Получив его, абонент выдает на блок 9 сигнал "СТВ". Для формирования "ИС" и перепривязки входной информации абонента используются две серии синхроимпульсов. The input signals from the subscriber are "СНО" - the beginning of the exchange, "STV" - the demand for delivery, "STP" - the demand for reception, "KS" - the end of the connection, "Inf. BVK" - the information of the subscriber. Block 9 gives the subscriber "IS" - support pulses, "Ready" - readiness, "Inf. In BVK" - controller output information. The exchange begins with the signal "CHO", which is perceived as an interrupt signal. After processing the interrupt code, the controller issues a Ready signal. Having received it, the subscriber issues a "STV" signal to block 9. Two series of clock pulses are used to form the “IS” and re-bind the subscriber's input information.

Через время задержки контроллер выдает абоненту "ИС", в ответ на которые абонент начинает выдавать свою информацию, которая записывается в блоке 9. После 16-тактового импульса происходит сброс сигналов "СТВ" и "СТП". По сигналу "КС" можно начинать передачу информации в процессор по его команде. After the delay time, the controller gives the subscriber "IS", in response to which the subscriber begins to give out his information, which is recorded in block 9. After a 16-clock pulse, the "STV" and "STP" signals are reset. By the signal "KS", you can start transmitting information to the processor at his command.

По получении сигнала "СТП" формирование "ИС" и их счет до 16 производят аналогично. Информация из устройства 16 переписывается в выходной регистр блока 9, из которого последовательным кодом передается абоненту. После снятия информации блок переходит в исходное состояние. Блок 9 выполнен на микросборке 831ЛУХ4Б-57. Upon receipt of the "STP" signal, the formation of the "IS" and their count to 16 are carried out similarly. Information from the device 16 is copied to the output register of block 9, from which it is transmitted to the subscriber with a serial code. After the information is removed, the block returns to its initial state. Block 9 is made on a micro-assembly 831LUH4B-57.

Блок 10 управления обменом выполнен на микросборке ХАЗ.408.168. Вся принятая блоком 10 информация, поступающая по магистрали 17, хранится в регистрах. Все пересылки информации осуществляют по командам устройства 16. Синхронность обмена между устройствами 1 и 16 осуществляется не только выдачей синхроимпульсов, сигналов прерываний, но и опросом внешних условий. Опрос внешних условий производится устройством 16 по его команде. Условия формируются в блоках контроллера и передаются на вход блока 10, где сравниваются с содержимым регистров маски. Маскирование производится программно. После анализа условий производится передача информации в соответствии с командой. The exchange control unit 10 is made on the micro-assembly HAZ.408.168. All information received by block 10, incoming on the highway 17, is stored in the registers. All information transfers are carried out according to the commands of the device 16. Synchronization of the exchange between devices 1 and 16 is carried out not only by issuing clock pulses, interrupt signals, but also by polling the external conditions. Interrogation of external conditions is performed by the device 16 at his command. Conditions are formed in the controller blocks and transferred to the input of block 10, where they are compared with the contents of the mask registers. Masking is done programmatically. After analyzing the conditions, information is transferred in accordance with the command.

Самоконтроль контроллера обмена производится по программе, зашитой в ПЗУ 13, 14, 15. Программа запускается после включения питания и заканчивается выдачей финишного кода на выходах блока 11. Программа включает блоки проверки процессора, установки в "0" устройства 1 ввода-вывода, проверки ОЗУ с использованием набора контрольных кодов, проверки прошивки ПЗУ на совпадение контрольной суммы и блок проверки команд процессора. Self-monitoring of the exchange controller is carried out according to the program wired in ROM 13, 14, 15. The program starts after turning on the power and ends with the output code at the outputs of block 11. The program includes blocks for checking the processor, setting the input / output device 1 to 0, checking the RAM using a set of control codes, checking the ROM firmware for a checksum match, and a processor command verification block.

При положительном результате штатного теста самоконтроля после обнуления ОЗУ управление программно передается на выполнение штатной программы. При отрицательном результате происходит зацикливание программы теста с выдачей финишного кода каждые 5 с. With a positive result of a regular self-test, after zeroing the RAM, control is programmatically transferred to a regular program. If the result is negative, the test program loops with the output code every 5 seconds.

Таким образом, предлагаемый контроллер обладает расширенными функциональными возможностями, что позволяет повысить надежность его работы и номенклатуру подключаемых внешних объектов. Thus, the proposed controller has advanced functionality, which improves the reliability of its work and the range of connected external objects.

Claims (1)

КОНТРОЛЛЕР ОБМЕНА, содержащий блок обработки данных, соединенный двусторонней связью с блоком управления обменом, блок прерывания, отличающийся тем, что в контроллер введены блок сбора контрольной информации, блок приема релейных команд, блок выдачи релейных команд, блок последовательного асинхронного обмена, блок приема и выдачи импульсных команд, последовательный интерфейсный блок с внешним квитированием, последовательный интерфейсный блок с внутренним квитированиеми, и блок выдачи телеметрического кода, причем информационно-управляющие входы-выходы блока прерывания, блока сбора контрольной информации, блока приема релейных команд, блока выдачи релейных команд, блока последовательного асинхронного обмена, блока приема и выдачи импульсных команд, последовательного интерфейсного блока с внешним квитированием, последовательного интерфейсного блока с внутренним квитированием и блока выдачи телеметрического кода через внутреннюю магистраль соединены с соответствующими информационно-управляющими входами-выходами блока управления обменом, группа выходов блока выдачи релейных команд и группа входов блока приема релейных команд являются соответственно группой выходов и группой входов релейных команд контроллера, группы входов-выходов последовательного интерфейсного блока с внутренним квитированием и последовательного интерфейсного блока с внешним квитированием являются группами линейных входов-выходов контроллера, группа входов и группа выходов блока приема и выдачи импульсных команд являются соответственно группой входов и группой выходов импульсных команд контроллера, с первого по пятый входы-выходы блока последовательного асинхронного обмена являются соответствующими входами-выходами контроллера для подключения к внешним объектам, группа входов блока сбора контрольной информации является группой входов контроллера для подключения к контрольным выходам внешних объектов, группа входов, первая, вторая группы выходов, выходы строба и маркера блока выдачи телеметрического кода являются соответствующими одноименными группой входов, группами выходов и выходами контроллера. EXCHANGE CONTROLLER, comprising a data processing unit connected by two-way communication with the exchange control unit, an interrupt unit, characterized in that the control information collection unit, the relay command receiving unit, the relay command issuing unit, the serial asynchronous exchange unit, the receiving and issuing unit are introduced into the controller pulse commands, a serial interface unit with external acknowledgment, a serial interface unit with internal acknowledgment, and a telemetry code issuing unit, moreover, The inputs and outputs of the interrupt unit, the control information collection unit, the relay command receiving unit, the relay command issuing unit, the asynchronous serial communication unit, the pulse command receiving and issuing unit, the serial interface block with external acknowledgment, the serial interface block with internal acknowledgment and the issuing block the telemetry code through the internal trunk connected to the corresponding information-control inputs-outputs of the exchange control unit, the group of outputs of the unit relay command issuances and a group of inputs of a relay command receiving unit are respectively a group of outputs and a group of inputs of a relay command of a controller, a group of inputs and outputs of a serial interface block with internal acknowledgment and a serial interface block with external acknowledgment are groups of linear inputs and outputs of the controller, a group of inputs and a group the outputs of the block for receiving and issuing pulse commands are, respectively, the group of inputs and the group of outputs of the pulse commands of the controller, from the first to the fifth the input-outputs of the serial asynchronous exchange unit are the corresponding inputs and outputs of the controller for connecting to external objects, the group of inputs of the control information collection unit is the group of inputs of the controller for connecting to the control outputs of external objects, the group of inputs, the first, second groups of outputs, strobe outputs and the markers of the telemetric code issuing unit are the corresponding group of inputs of the same name, groups of outputs and outputs of the controller.
RU93028497A 1993-05-28 1993-05-28 Data exchange controller RU2032214C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU93028497A RU2032214C1 (en) 1993-05-28 1993-05-28 Data exchange controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU93028497A RU2032214C1 (en) 1993-05-28 1993-05-28 Data exchange controller

Publications (2)

Publication Number Publication Date
RU2032214C1 true RU2032214C1 (en) 1995-03-27
RU93028497A RU93028497A (en) 1996-09-27

Family

ID=20142292

Family Applications (1)

Application Number Title Priority Date Filing Date
RU93028497A RU2032214C1 (en) 1993-05-28 1993-05-28 Data exchange controller

Country Status (1)

Country Link
RU (1) RU2032214C1 (en)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N 1702378, кл. G -6F 13/00, 1989. *
Авторское свидетельство СССР N 1711170, кл. G 06F 13/00, 1989. *

Similar Documents

Publication Publication Date Title
RU2032214C1 (en) Data exchange controller
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1695289A1 (en) Device for computing continuously-logical functions
SU1144109A1 (en) Device for polling information channels
SU1193682A1 (en) Interprocessor communication device
SU1564635A1 (en) Device for interfacing subscribers with m computers
SU1418727A1 (en) Device for data exchange between processor and peripherals
SU1283760A1 (en) Control device for microprocessor system
SU1614016A1 (en) Data input device
SU1274002A1 (en) Associative storage
SU1283780A1 (en) Interface for linking microcomputer with peripheral unit
SU1352496A1 (en) Device for interfacing processor with memory
SU783784A1 (en) Device for collecting data from two-position sensors
SU1193655A1 (en) Serial code-to-parallel code converter
SU1280645A1 (en) Interphase for linking multiblock memory with processor and input-output equipment
SU1188743A1 (en) Device for simulating checked object
SU947910A2 (en) Logic storing device
SU1179358A1 (en) Interface for linking information sources with computer
RU2071111C1 (en) Control device
SU1305689A1 (en) Device for checking data processing system
SU1019448A2 (en) Data receiving and ordering control device
SU1238091A1 (en) Information output device
SU1101834A1 (en) Device for determining graph characteristics
SU1347097A1 (en) Memory with program correction
RU1837303C (en) Peripheral interface device