RU2652467C1 - Angle information converter - Google Patents

Angle information converter Download PDF

Info

Publication number
RU2652467C1
RU2652467C1 RU2016151365A RU2016151365A RU2652467C1 RU 2652467 C1 RU2652467 C1 RU 2652467C1 RU 2016151365 A RU2016151365 A RU 2016151365A RU 2016151365 A RU2016151365 A RU 2016151365A RU 2652467 C1 RU2652467 C1 RU 2652467C1
Authority
RU
Russia
Prior art keywords
input
output
inputs
outputs
interface
Prior art date
Application number
RU2016151365A
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 RU2016151365A priority Critical patent/RU2652467C1/en
Application granted granted Critical
Publication of RU2652467C1 publication Critical patent/RU2652467C1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

FIELD: calculating; counting.
SUBSTANCE: invention relates to exchange interface adapter units, its control and processing. Angle information converter comprises: microcontroller (MC), transceiver interface RS-485/RS-422, the main data bus, bus address of the subscriber, input and output buffer registers, according to the invention, two transceivers M2 with transformer galvanic isolation (PM2), multiplexed channel adapter (MCA) and interrupt driver (ID) are introduced, while the inputs and outputs of the PM2 form the inputs and outputs of the device's M2 interface, the input/output of the RS-485/RS-422 transceiver is connected to the subscriber's data line of the device, MCA input is connected to the subscriber address bus, the outputs are connected to the corresponding inputs of the buffer registers, and the inputs and outputs are connected to the corresponding inputs and outputs of the PM2, the inputs and outputs of the main data bus are connected to the corresponding MCA inputs and outputs, input and output buffer registers, the inputs of the ID are connected to the corresponding outputs of the MCA; MC input-output is connected to the corresponding inputs and outputs of the main data bus and RS-485/RS-422 transceiver, inputs are connected to USB converter port, ID outputs, MCA output and input are connected to data bus for programming, and outputs are connected to inputs of the subscriber of the device and inputs of the input and output buffer registers, output is connected to a data bus for controlling the cyclogram of exchange with specialized devices.
EFFECT: technical result is the expansion of the functionality of the converter, which allows direct and reverse transformation of the interface.
1 cl, 1 dwg

Description

Изобретение относится к области цифровой вычислительной техники, а именно к устройствам сопряжения интерфейсов обмена информацией, ее контроля и обработки.The invention relates to the field of digital computing, and in particular to devices for interfacing interfaces for the exchange of information, its control and processing.

Из уровня техники известен аналог предлагаемого технического решения «Устройство сопряжения с основным цифровым каналом» (свидетельство на полезную модель RU 50693 U1), который принят за прототип.The prior art is an analogue of the proposed technical solution "Interface with the main digital channel" (certificate for utility model RU 50693 U1), which is adopted as a prototype.

Устройство сопряжения с основным цифровым каналом содержит узел-переходник к порту RS-232, микроконтроллер AT89S53, программируемую логическую интегральную схему (ПЛИС), реализующую шину данных, шину адреса, регистр индикации, регистр скорости, регистр передачи основного цифрового канала (ОЦК), регистр принятых данных ОЦК, регистр передаваемых данных биимпульсного канала (БИ), регистр принимаемых данных биимпульсного канала, кодер ОЦК, декодер ОЦК, схему вставки старт-стопных импульсов, схему вырезки старт-стопных импульсов, схему настройки скорости канала передачи, схему настройки скорости канала приема, а также светодиодный индикатор состояния устройства, биимпульсный узел аналоговых приемопередатчиков, цепи связи с портом ОЦК, цепи связи с биимпульсным каналом.The interface device with the main digital channel contains an adapter node to the RS-232 port, an AT89S53 microcontroller, a programmable logic integrated circuit (FPGA) that implements a data bus, address bus, display register, speed register, main digital channel transfer register (BCC), register received BCC data, register of transmitted bi-pulse channel (BI) data, register of received bi-pulse channel data, BCC encoder, BCC decoder, start-stop pulse insertion circuit, start-stop pulse cut-out circuit, sk tuning circuit grow transmission channel, the reception channel speed setting circuit, and the LED status indicator device, analog transceivers biimpulsny node, loop port with BCC, circuit connection biimpulsnym channel.

Устройство сопряжения с основным цифровым каналом предназначено для прямого и обратного преобразования сигналов ОЦК в интерфейс С1-И, ОЦК в интерфейс RS-232, а также взаимного преобразования интерфейсов RS-232 и С1-И.The interface device with the main digital channel is designed for direct and reverse conversion of BCC signals to the C1-I interface, BCC to the RS-232 interface, as well as mutual conversion of RS-232 and C1-I interfaces.

Устройство обеспечивает следующие скорости обмена:The device provides the following exchange rates:

- по интерфейсу RS-232 - 57,6, 38,4, 19,2 и 9,6 кбит/с;- on the RS-232 interface - 57.6, 38.4, 19.2 and 9.6 kbps;

- по интерфейсу С1-И - 64, 48, 32, 16, 9,6, 4,8, 2,4 кбит/с;- on the C1-I interface - 64, 48, 32, 16, 9.6, 4.8, 2.4 kbit / s;

- по ОЦК (G703) - 64 кбит/с в противонаправленном и сонаправленном режимах.- according to BCC (G703) - 64 kbit / s in anti-directional and codirectional modes.

Режим работы определяется положением задающих микропереключателей либо настройками прикладного программного обеспечения.The operating mode is determined by the position of the master microswitches or by the settings of the application software.

Недостатками данного прототипа являются его малые функциональные возможности, не позволяющие осуществить преобразование и обмен информацией по каналам с наиболее перспективными и более скоростными интерфейсами передачи данных, а также отсутствие возможности промежуточной обработки, контроля данных и формирования сообщений в цифровой канал о недостоверности информации (в виде конкретного кода при нарушениях в обмене). Кроме того, прототип выполнен на импортной элементной базе.The disadvantages of this prototype are its small functionality that does not allow the conversion and exchange of information on channels with the most promising and faster data transfer interfaces, as well as the lack of the possibility of intermediate processing, data control and the formation of messages in a digital channel about the information inaccuracy (in the form of a specific code for violations in exchange). In addition, the prototype is made on imported components.

Задачей предлагаемого технического решения является расширение функциональных возможностей - не только прямое и обратное преобразование интерфейса М2 ЦБК (как наиболее перспективного интерфейса, как по аппаратным затратам, так и по надежности) в интерфейсы абонентов RS-485/RS-422, USB (возможны и SPI, 12С), но и промежуточную обработку данных, контроль правильности обмена и достоверности данных, формирование сообщений в цифровой канал о недостоверности информации (в виде конкретного кода при нарушениях в обмене). Кроме того, преобразователь угловой информации должен быть выполнен, в отличие от прототипа, на современной отечественной элементной базе с применением БИС.The objective of the proposed technical solution is to expand the functionality - not only the direct and reverse conversion of the M2 interface of the pulp and paper mill (both the most promising interface, both in terms of hardware costs and reliability) into the interfaces of RS-485 / RS-422, USB subscribers (SPIs are also possible , 12C), but also intermediate data processing, control of the correctness of the exchange and reliability of data, the formation of messages in a digital channel about the inaccuracy of information (in the form of a specific code for violations in the exchange). In addition, the angular information converter must be performed, unlike the prototype, on a modern domestic element base using LSI.

Заявленный технический результат достигается тем, что в преобразователь угловой информации, содержащий: микроконтроллер (МК), приемопередатчик интерфейса RS-485/RS-422, основную шину данных, шину адреса абонента, входной и выходной буферные регистры, согласно изобретению введены два приемопередатчика интерфейса М2 с трансформаторной гальванической развязкой (ПМ2), адаптер мультиплексного канала (АМК) и формирователь прерываний (ФП), при этом входы-выходы ГГМ2 образуют входы-выходы интерфейса М2 устройства, вход-выход приемопередатчика интерфейса RS-485/RS-422 соединен с линией данных абонента устройства, вход АМК соединен с шиной адреса абонента, выходы - с соответствующими входами буферных регистров, а входы-выходы соединены с соответствующими входами-выходами ПМ2, входы-выходы основной шины данных соединены с соответствующими входами-выходами АМК, входного и выходного буферных регистров, входы ФП соединены с соответствующими выходами АМК; МК входами-выходами соединен с соответствующими входами-выходами основной шины данных и приемопередатчика интерфейса RS-485/RS-422, входами - с портом USB преобразователя, выходами ФП, выходом АМК и входом - с шиной данных для программирования, а выходами - с входами абонента устройства и входами входного и выходного буферных регистров, а также выходом - с шиной данных для управления и формирования циклограмм обмена.The claimed technical result is achieved by the fact that in the angle information converter comprising: a microcontroller (MK), an RS-485 / RS-422 interface transceiver, a main data bus, a subscriber address bus, input and output buffer registers, according to the invention, two M2 interface transceivers are introduced with transformer galvanic isolation (PM2), multiplex channel adapter (AMC) and interrupt driver (FP), while the inputs and outputs of the GGM2 form the inputs and outputs of the device’s M2 interface, the input-output of the transceiver RS-485 / RS-422 is connected to the subscriber data line of the device, the AMC input is connected to the subscriber address bus, the outputs are connected to the corresponding inputs of the buffer registers, and the inputs and outputs are connected to the corresponding inputs and outputs of the PM2, the inputs and outputs of the main data bus are connected with the corresponding inputs and outputs of the AMC, input and output buffer registers, the inputs of the FP are connected to the corresponding outputs of the AMC; MK inputs and outputs are connected to the corresponding inputs and outputs of the main data bus and RS-485 / RS-422 interface transceiver, inputs - with the USB port of the converter, FP outputs, AMC output and input - with the data bus for programming, and outputs - with inputs the subscriber’s device and the inputs of the input and output buffer registers, as well as the output — with a data bus for controlling and generating exchange diagrams.

На фиг. 1 приведена структурная схема устройства преобразования угловой информации. Для питания устройства используется источник вторичного питания (DC/DC) (1).In FIG. 1 is a structural diagram of a device for converting angular information. A secondary power source (DC / DC) (1) is used to power the device.

Преобразователь угловой информации содержит: ПМ2 по основному (ОК) и резервному (РК) каналам (2.1 и 2.2), приемопередатчик по интерфейсам RS-485/RS-422 (3), адаптер мультиплексного канала (4), реализующий функцию приема последовательного кода интерфейса М2, его преобразования в параллельный цифровой код и обратное его преобразование при передаче данных, основная шина данных (5), входной и выходной буферные регистры (6.1 и 6.2), формирователь прерываний (7), микроконтроллер (8), шина адреса абонента (9), шина данных для программирования (10), шина данных для управления (11), цепи связи: с ЦВК, с ПЭВМ, с ДУС.The angular information converter contains: PM2 on the main (OK) and backup (RK) channels (2.1 and 2.2), a transceiver on RS-485 / RS-422 interfaces (3), a multiplex channel adapter (4) that implements the function of receiving a serial interface code M2, its conversion to parallel digital code and its inverse conversion during data transmission, the main data bus (5), input and output buffer registers (6.1 and 6.2), interrupt driver (7), microcontroller (8), subscriber address bus (9 ), data bus for programming (10), data bus for control niya (11), communication chains: with CVC, with PC, with TLS.

Преобразователь угловой информации предназначен для сопряжения интерфейсов абонентов - датчиков угловой скорости (ДУС) (RS-485/RS-422) в интерфейс М2 ЦВК, интерфейса USB ПЭВМ в интерфейс М2 ЦВК, прямого и обратного сигнала в параллельный 8- разрядный цифровой код, а также для контроля достоверности принимаемой с ДУСов информации и формирования при нарушениях в обмене сообщения с признаком недостоверности данных.The angle information converter is designed to interface subscriber interfaces - angular velocity sensors (RS) (RS-485 / RS-422) to the M2 interface of the CVC, the USB PC interface to the M2 interface of the CVC, the forward and reverse signals into a parallel 8-bit digital code, and also to control the reliability of the information received from the CRS and to generate messages with violations in the exchange of messages with a sign of data inaccuracy.

Устройство обеспечивает следующие скорости обмена:The device provides the following exchange rates:

- по интерфейсам RS-485/ RS-422 - от 9600 до 460800 бит/с;- via RS-485 / RS-422 interfaces - from 9600 to 460800 bit / s;

- по интерфейсу USB - 1,5 Мбит/с, 12 Мбит/с;- via USB - 1.5 Mbps, 12 Mbps;

- по интерфейсу М2 со стороны ЦВК - 1 Мбит/с.- on the M2 interface from the side of the CVC - 1 Mbps.

Скорость обмена по интерфейсам RS-485/RS-422, USB может задаваться:The exchange rate on the RS-485 / RS-422, USB interfaces can be set:

- программно при прошивке ПЗУ программ МК;- software when flashing ROM programs MK;

- путем перепрограммирования ПЗУ программ в составе устройства;- by reprogramming the ROM of the programs in the device;

- по интерфейсу USB ПЭВМ задание скорости обмена ДУС.- via the USB PC interface, the task of the exchange speed of the remote control system.

Инициализация работы устройства осуществляется выдачей из ЦВК по интерфейсу М2 ОК или М2 РК командного слова (КС1) со словом данных (СД1), при условии совпадения адреса абонента (4…8)р КС1, с адресом абонента, установленным на шине адреса абонента (первый вход АМК), через внешний соединитель устройства.Initialization of the device’s operation is carried out by issuing a control word (KC1) with a data word (CD1) from the CVC via the M2 OK or M2 RK interface, provided that the subscriber’s address (4 ... 8) p KS1 matches the subscriber’s address set on the subscriber’s address bus (first AMC input), through the external connector of the device.

КС1 со словом данных (Ф1 ГОСТ) поступает на ПМ2 ОК, который преобразует фазоманипулированный код М2 в биполярный, поступающий на вход АМК, который в свою очередь преобразует информацию из последовательного биполярного кода на входе в параллельный цифровой код на выходе. Переключение на обмен по РК осуществляется ЦВК при любом из нарушений протокола обмена по ОК интерфейса М2 согласно ГОСТ.KC1 with the data word (GOST F1) is sent to PM2 OK, which converts the phase-shifted code M2 into a bipolar code supplied to the input of the AMC, which in turn converts information from a serial bipolar code at the input to a parallel digital code at the output. Switching to exchange in the Republic of Kazakhstan is carried out by the CVC in case of any violation of the exchange protocol in the M2 OK interface according to GOST.

По сигналу WRA (запись), который также формируется АМК на первом выходе, производится запись СД1 из АМК во входной буферный регистр. Сигналы управления CS (чтение), «прием/передача» (направление обмена), и код подадреса (принятый по КС1), формируемые АМК на втором, третьем и четвертом выходах, передаются на первый, второй и третий входы ФП, который по результату их анализа формирует и выдает в МК сигнал прерывания INTO. Сигнал CS передается также на первый вход выходного буферного регистра. Кодовой комбинацией СД1 определяется один из следующих режимов работы устройства:The WRA signal (recording), which is also generated by the AMC at the first output, records CD1 from the AMC into the input buffer register. The CS control signals (read), “receive / transmit” (exchange direction), and the subaddress code (received by KC1) generated by the AMC on the second, third, and fourth outputs are transmitted to the first, second, and third FP inputs, which, based on their The analysis generates and issues the INTO interrupt signal to the MC. The CS signal is also transmitted to the first input of the output buffer register. The code combination of SD1 determines one of the following operating modes of the device:

- опрос угловой информации с ДУС и ее передача в ЦВК;- interrogation of angular information from the CRS and its transmission to the CEC;

- настройка технических характеристик ДУС (через второй вход-выход приемопередатчика интерфейса RS-485/RS-422, для опроса мгновенной или средней угловой скорости, частоты опроса, формата обмена);- setting the technical characteristics of the CRS (through the second input-output of the RS-485 / RS-422 interface transceiver, for polling the instantaneous or average angular velocity, polling frequency, exchange format);

- выбор констант для расчета контрольной суммы принимаемой из различных типов ДУС информации и соответствующей циклограммы обмена.- selection of constants for calculating the checksum of the information received from various types of TLS and the corresponding exchange sequence diagram.

МК по сигналу прерывания INTO анализирует:MK on the interrupt signal INTO analyzes:

- код подадреса и переходит на соответствующую подпрограмму формирования циклограммы обмена с ДУС;- subaddress code and switches to the corresponding subroutine of the formation of the cyclogram of exchange with the DOS;

- слово данных (СД1), которое поступает на первый вход-выход МК через основную шину данных из входного буферного регистра по сигналу EZM, поступающему во входной буферный регистр из МК, и определяет соответствующие константы для расчета контрольной суммы принимаемой из ДУС информации.- a data word (СД1), which is supplied to the first input-output of the MC through the main data bus from the input buffer register by the EZM signal received in the input buffer register from the MC, and determines the corresponding constants for calculating the checksum of the information received from the CRS.

По импульсу синхронизации МК ДУС фиксирует текущее значение угловой информации (скорости) и передает ее по линии данных на вход приемопередатчика интерфейса RS-485/RS-422, с выхода которого данные принимает МК в буфер приема типа FIFO, проверяет достоверность принятой от абонента информации по угловой скорости путем вычисления контрольной суммы принятых данных и ее сравнения с контрольной суммой, сопровождающей информацию, при нарушении правил обмена с ДУС устройство формирует и передает в ЦВК константу в виде кода 7FFF (как признак недостоверности данных) по всем трем осям ДУС, при правильности обмена информация из буфера приема типа FIFO переписывается в ОЗУ МК для последующей ее передачи в ЦВК. Для подготовки к опросу угловой информации со стороны ЦВК по интерфейсу М2 МК формирует и передает в выходной буферный регистр, сигнал WRM и переписывает первые два байта данных через первый вход-выход в выходной буферный регистр.According to the synchronization pulse, the MCS DUS captures the current value of the angular information (speed) and transmits it via the data line to the input of the RS-485 / RS-422 interface transceiver, from the output of which the data is received by the MC in the FIFO type receive buffer, checks the accuracy of the information received from the subscriber the angular velocity by calculating the checksum of the received data and comparing it with the checksum that accompanies the information, in case of violation of the rules for exchanging with the remote control system, the device generates and transmits to the CVC a constant in the form of a 7FFF code (as an indication is unreliable minute data) in all three axes TLS, when the correctness of the information exchange reception FIFO type buffer in the RAM is rewritten for MK its subsequent transfer to the CIC. To prepare for the polling of angular information from the CVC via the M2 interface, the MK generates and transmits the WRM signal to the output buffer register and transcribes the first two bytes of data through the first input-output to the output buffer register.

Опрос угловой информации производится по КС2 (Ф2 ГОСТ), поступающему из ЦВК через ПМ2 ОК на вход АМК.The angular information is polled according to KS2 (GOST F2), received from the CVC through PM2 OK to the AMK input.

По КС2 код подадреса и сигналы управления CS (чтение), «прием/передача» (направление обмена), формируемые АМК, на формирователь прерываний, который по результату их анализа формирует и выдает в МК сигналы прерывания INT1. Количество сигналов прерывания INT1 определяется форматом данных (разрядностью) массива данных по угловой скорости ДУС.According to KS2, the subaddress code and control signals CS (read), “receive / transmit” (exchange direction) generated by the AMC, to the interrupt driver, which, based on their analysis, generates and issues INT1 interrupt signals to the MC. The number of interrupt signals INT1 is determined by the data format (bit capacity) of the data array according to the angular velocity of the TLS.

По первому сигналу INT1 ранее подготовленные для передачи данные (16р) из выходного буферного регистра, через основную шину данных записываются в буферный регистр АМК и передаются через ПМ2 ОК или ПМ2 РК по интерфейсу М2 ОК или М2 РК в ЦВК, далее по концу данного сигнала INT1 МК читает из внутреннего ОЗУ следующие 16p данных и записывает их в выходной буферный регистр.According to the first INT1 signal, data (16p) previously prepared for transmission from the output buffer register is written to the AMK buffer register through the main data bus and transmitted through the PM2 OK or PM2 RC through the M2 OK or M2 RC interface to the CVC, then at the end of this signal INT1 MK reads the following 16p data from internal RAM and writes it to the output buffer register.

По второму сигналу и последующим до шестого INT1 процедура обмена аналогична с первым INT1.According to the second signal and subsequent to the sixth INT1, the exchange procedure is similar to the first INT1.

По шестому сигналу INT1 (после процесса передачи СД6 по интерфейсу М2) МК переписывает вновь из ОЗУ первые два байта данных ДУС в выходной буферный регистр. Необходимость данной операции предусматривается для возможности повторного опроса угловой информации ДУС (в случае когда протокол обмена по ОК интерфейса М2 признан ЦВК не соответствующим ГОСТ, опрос повторяется по РК).According to the sixth signal INT1 (after the transfer of SD6 via the M2 interface), the MK rewrites the first two bytes of the DOS data from RAM to the output buffer register. The need for this operation is provided for the possibility of re-polling the angular information of the TLS (in the case where the exchange protocol for OK interface M2 is recognized by the CVC as not compliant with GOST, the survey is repeated for the Republic of Kazakhstan).

В МК предусмотрена стыковка с ПЭВМ по интерфейсу USB, которая позволяет при отработочных испытаниях задавать через второй вход-выход приемопередатчика интерфейса скорость обмена, соответствующую интерфейсу RS-485/RS-422; режим работы ДУС (синхронный, асинхронный); выходную информацию (средняя скорость, мгновенная скорость, ускорение), а также реализована возможность с помощью ПЭВМ через порт USB формировать на шине данных для управления циклограммы обмена.The MK provides for docking with a PC via the USB interface, which allows during testing tests to set the exchange rate corresponding to the RS-485 / RS-422 interface through the second input-output of the interface transceiver; DOS operation mode (synchronous, asynchronous); the output information (average speed, instantaneous speed, acceleration), as well as the possibility is realized using a PC via the USB port to form on the data bus to control the exchange pattern.

Для возможности внесения изменений в программу прошивки ПЗУ МК, которым определяются циклограммы обмена устройства в ЦВК, на входе устройства организована шина данных для программирования, для сигналов управления и данных, поступающих с внешнего программатора.For the possibility of making changes to the firmware of the ROM ROM MK, which determines the cyclograms of the device’s exchange in the CVC, a data bus for programming is organized at the input of the device for control signals and data coming from an external programmer.

Таким образом, заявлен преобразователь угловой информации, содержащий МК, приемопередатчик интерфейса RS-485/RS-422, основную шину данных, шину адреса абонента, входной и выходной буферные регистры. Отличительная особенность заключается в том, что введены два приемопередатчика интерфейса М2 с трансформаторной гальванической развязкой (ПМ2), адаптер мультиплексного канала (АМК) и формирователь прерываний (ФП), при этом первые входы-выходы ПМ2 образуют входы-выходы интерфейса М2 преобразователя, первый вход-выход приемопередатчика интерфейса RS-485/RS-422 соединен с линией данных абонента преобразователя, АМК первым входом соединен с шиной адреса абонента, а первым и вторым входами-выходами соединен соответственно со вторыми входами-выходами ПМ2, первым выходом - с первым входом входного буферного регистра; первый вход-выход основной шины данных соединен с третьим входом-выходом АМК, а второй вход-выход - с первыми входами-выходами входного и выходного буферных регистров; первый, второй и третий входы ФП соединены соответственно со вторым, третьим и четвертым выходами АМК; первый вход-выход ФП соединен со вторым входом-выходом входного буферного регистра, первый вход выходного буферного регистра соединен со вторым выходом АМК; МК первым входом-выходом соединен с третьим входом-выходом основной шины данных, первым входом - с портом USB преобразователя, вторым входом-выходом - со вторым входом-выходом приемопередатчика интерфейса RS-485/RS-422, первым выходом - с входом абонента преобразователя, вторым выходом - со вторым входом входного буферного регистра, вторым входом - с четвертым выходом АМК, третьим и четвертым входами - с первым и вторым выходами ФП, третьим выходом - со вторым входом выходного буферного регистра, четвертым выходом - с шиной данных для управления и формирования циклограмм обмена, пятым входом - с шиной данных для программирования.Thus, the angular information converter is claimed containing MK, RS-485 / RS-422 interface transceiver, main data bus, subscriber address bus, input and output buffer registers. A distinctive feature is that two M2 interface transceivers with transformer galvanic isolation (PM2), a multiplex channel adapter (AMC) and an interrupt driver (FP) are introduced, while the first inputs and outputs of PM2 form the inputs and outputs of the M2 converter interface, the first input - the output of the RS-485 / RS-422 interface transceiver is connected to the subscriber’s data line of the converter, the AMC is connected to the subscriber’s address bus by the first input, and connected to the second I / O, respectively, by the first and second inputs / outputs MI PM2, the first output - with the first input of the input buffer register; the first input-output of the main data bus is connected to the third input-output of the AMC, and the second input-output is connected to the first inputs and outputs of the input and output buffer registers; the first, second and third FP inputs are connected respectively to the second, third and fourth outputs of the AMC; the first input-output of the FP is connected to the second input-output of the input buffer register, the first input of the output buffer register is connected to the second output of the AMC; MK the first input-output is connected to the third input-output of the main data bus, the first input - with the USB port of the converter, the second input-output - with the second input-output of the RS-485 / RS-422 interface transceiver, the first output - with the input of the converter , the second output - with the second input of the input buffer register, the second input - with the fourth output of the AMC, the third and fourth inputs - with the first and second outputs of the FP, the third output - with the second input of the output buffer register, the fourth output - with a data bus for control and for cyclograms of exchange, the fifth input - with a data bus for programming.

Техническим результатом является расширение функциональных возможностей преобразователя, позволяющее не только прямое и обратное преобразование интерфейса, но и промежуточную обработку данных, а также осуществление контроля правильности обмена и достоверности данных, формирование сообщения в цифровой канал о недостоверности информации.The technical result is to expand the functionality of the converter, allowing not only direct and inverse transformation of the interface, but also intermediate data processing, as well as monitoring the accuracy of the exchange and reliability of data, forming a message in a digital channel about the information inaccuracy.

Claims (1)

Преобразователь угловой информации, содержащий микроконтроллер (МК), приемопередатчик интерфейса RS-485/RS-422, основную шину данных, шину адреса абонента, входной и выходной буферные регистры, отличающийся тем, что введены два приемопередатчика интерфейса М2 с трансформаторной гальванической развязкой (ПМ2), адаптер мультиплексного канала (АМК) и формирователь прерываний (ФП), при этом первые входы-выходы ПМ2 образуют входы-выходы интерфейса М2 преобразователя, первый вход-выход приемопередатчика интерфейса RS-485/RS-422 соединен с линией данных абонента преобразователя, АМК первым входом соединен с шиной адреса абонента, а первым и вторым входами-выходами соединен соответственно со вторыми входами-выходами ПМ2, первым выходом - с первым входом входного буферного регистра; первый вход-выход основной шины данных соединен с третьим входом-выходом АМК, а второй вход-выход - с первыми входами-выходами входного и выходного буферных регистров; первый, второй и третий входы ФП соединены соответственно со вторым, третьим и четвертым выходами АМК; первый вход-выход ФП соединен со вторым входом-выходом входного буферного регистра, первый вход выходного буферного регистра соединен со вторым выходом АМК; МК первым входом-выходом соединен с третьим входом-выходом основной шины данных, первым входом - с портом USB преобразователя, вторым входом-выходом - со вторым входом-выходом приемопередатчика интерфейса RS-485/RS-422, первым выходом - с входом абонента преобразователя, вторым выходом - со вторым входом входного буферного регистра, вторым входом - с четвертым выходом АМК, третьим и четвертым входами - с первым и вторым выходами ФП, третьим выходом - со вторым входом выходного буферного регистра, четвертым выходом - с шиной данных для управления и формирования циклограмм обмена, пятым входом - с шиной данных для программирования.An angular information converter containing a microcontroller (MK), an RS-485 / RS-422 interface transceiver, a main data bus, a subscriber address bus, input and output buffer registers, characterized in that two M2 interface transceivers with transformer galvanic isolation (PM2) are introduced , the multiplex channel adapter (AMC) and the interrupt driver (FP), while the first inputs and outputs PM2 form the inputs and outputs of the M2 converter interface, the first input-output of the RS-485 / RS-422 interface transceiver is connected to the data line nent converter AMC first input coupled to the local bus address, and first and second inputs-outputs connected respectively to second inputs-outputs PM2, the first output - to the first input of the input buffer register; the first input-output of the main data bus is connected to the third input-output of the AMC, and the second input-output is connected to the first inputs and outputs of the input and output buffer registers; the first, second and third FP inputs are connected respectively to the second, third and fourth outputs of the AMC; the first input-output of the FP is connected to the second input-output of the input buffer register, the first input of the output buffer register is connected to the second output of the AMC; MK the first input-output is connected to the third input-output of the main data bus, the first input - with the USB port of the converter, the second input-output - with the second input-output of the RS-485 / RS-422 interface transceiver, the first output - with the input of the converter , the second output - with the second input of the input buffer register, the second input - with the fourth output of the AMC, the third and fourth inputs - with the first and second outputs of the FP, the third output - with the second input of the output buffer register, the fourth output - with a data bus for control and for cyclograms of exchange, the fifth input - with a data bus for programming.
RU2016151365A 2016-12-27 2016-12-27 Angle information converter RU2652467C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2016151365A RU2652467C1 (en) 2016-12-27 2016-12-27 Angle information converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2016151365A RU2652467C1 (en) 2016-12-27 2016-12-27 Angle information converter

Publications (1)

Publication Number Publication Date
RU2652467C1 true RU2652467C1 (en) 2018-04-26

Family

ID=62045607

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2016151365A RU2652467C1 (en) 2016-12-27 2016-12-27 Angle information converter

Country Status (1)

Country Link
RU (1) RU2652467C1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900397A (en) * 2020-06-22 2022-01-07 鸣志电器(太仓)有限公司 Device for realizing reverse connection self-adaptive switching of RS-485 signal line
RU226732U1 (en) * 2024-02-12 2024-06-19 Российская Федерация, от имени которой выступает Министерство обороны Российской Федерации On-board digital computing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4760525A (en) * 1986-06-10 1988-07-26 The United States Of America As Represented By The Secretary Of The Air Force Complex arithmetic vector processor for performing control function, scalar operation, and set-up of vector signal processing instruction
RU24060U1 (en) * 2001-11-19 2002-07-20 Федеральное государственное унитарное предприятие "Научно-производственное предприятие "Рубин" BI-PULSE SIGNAL CONVERSION DEVICE
RU50693U1 (en) * 2005-08-01 2006-01-20 Открытое акционерное общество "Научно-производственное предприятие "Рубин" (ОАО "НПП "Рубин") BASIC INTERFACE DEVICE
SU1840345A1 (en) * 1983-06-20 2006-09-27 Нижегородский научно-исследовательский институт радиотехники Angular information converter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1840345A1 (en) * 1983-06-20 2006-09-27 Нижегородский научно-исследовательский институт радиотехники Angular information converter
US4760525A (en) * 1986-06-10 1988-07-26 The United States Of America As Represented By The Secretary Of The Air Force Complex arithmetic vector processor for performing control function, scalar operation, and set-up of vector signal processing instruction
RU24060U1 (en) * 2001-11-19 2002-07-20 Федеральное государственное унитарное предприятие "Научно-производственное предприятие "Рубин" BI-PULSE SIGNAL CONVERSION DEVICE
RU50693U1 (en) * 2005-08-01 2006-01-20 Открытое акционерное общество "Научно-производственное предприятие "Рубин" (ОАО "НПП "Рубин") BASIC INTERFACE DEVICE

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113900397A (en) * 2020-06-22 2022-01-07 鸣志电器(太仓)有限公司 Device for realizing reverse connection self-adaptive switching of RS-485 signal line
RU226732U1 (en) * 2024-02-12 2024-06-19 Российская Федерация, от имени которой выступает Министерство обороны Российской Федерации On-board digital computing device

Similar Documents

Publication Publication Date Title
ES2281564T3 (en) DATA TRANSMISSION PROCEDURE, SERIAL BUS SYSTEM AND CONNECTION UNIT FOR A PASSIVE BUS USER.
CN104954096B (en) A kind of high-speed synchronous serial communication data transmission method of one master and multiple slaves
ES2567268T3 (en) Communication system and procedure for the transmission of isochronous data in real time
US10924541B2 (en) Low-power and low-latency device enumeration with cartesian addressing
CN203376745U (en) Multi-channel radio-frequency signal synchronous acquisition system based on PXIe bus
RU2652467C1 (en) Angle information converter
CN104991880B (en) A kind of FC AE ASM Communication Cards based on PCI E interfaces
CN101310314B (en) Control/monitor signal transmission system
CN104678809B (en) Generally applicable sensor control device and system
WO2024120267A1 (en) Multi-interface conversion device and vehicle
CN211860526U (en) Audio signal's processing circuit and equipment
TW201336201A (en) Interface circuits for cascade and series battery management and methods thereof
WO2013040998A1 (en) System and method for single channel position control source to control time division multiplexing circuit strobe
RU50693U1 (en) BASIC INTERFACE DEVICE
CN103401540B (en) Based on the Programmable pulse width generator of TMS320VC5402 chip
CN210380893U (en) Topology board card and topology system
CN211956461U (en) Serial data communication circuit and system
CN104021108A (en) Communication equipment based on PROFIBUS-DP protocol
CN204423022U (en) Can general purpose transducer opertaing device and system
RU140982U1 (en) REMOTE DEVICE ADAPTER CHIP
CN112698614A (en) User side logic controller for reading and writing any byte
RU2476924C1 (en) Apparatus for interfacing control system with control object
CN208547710U (en) The communication apparatus of short baseline positioning and short baseline positioning device
CN112769659A (en) Topology board card and topology system
RU50699U1 (en) AUTOMATED SYSTEM FOR TRANSMISSION AND RECEIVING OF INFORMATION ON CONSUMPTION OF ENERGY RESOURCES

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20191228

NF4A Reinstatement of patent

Effective date: 20210809

PC43 Official registration of the transfer of the exclusive right without contract for inventions

Effective date: 20220325