RU2566336C1 - METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR - Google Patents

METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR Download PDF

Info

Publication number
RU2566336C1
RU2566336C1 RU2014150594/08A RU2014150594A RU2566336C1 RU 2566336 C1 RU2566336 C1 RU 2566336C1 RU 2014150594/08 A RU2014150594/08 A RU 2014150594/08A RU 2014150594 A RU2014150594 A RU 2014150594A RU 2566336 C1 RU2566336 C1 RU 2566336C1
Authority
RU
Russia
Prior art keywords
input
multiplex
information exchange
output
outputs
Prior art date
Application number
RU2014150594/08A
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 RU2014150594/08A priority Critical patent/RU2566336C1/en
Application granted granted Critical
Publication of RU2566336C1 publication Critical patent/RU2566336C1/en

Links

Images

Abstract

FIELD: radio engineering, communication.
SUBSTANCE: device includes a multiplex communication channel controller, an internal interface communication main line, RAM, ROM, a reset device, a microprocessor, multiplex communication channel converters, multiplex communication channel transceivers, isolation transformers, multiplex communication channel matching devices, a terminal device address generator, a data converter, a control command generator, an auxiliary multiplex communication channel converter, a buffer gate, an auxiliary multiplex communication channel transceiver and a programming unit.
EFFECT: high reliability of data transmission.
2 cl, 2 dwg

Description

Изобретение относится к области систем обработки, хранения и передачи цифровых данных с возможностью обнаружения и исправления ошибок, также может применяться в вычислительных системах различного назначения для передачи информации между различными частями распределенных вычислительных систем.The invention relates to the field of processing systems, storage and transmission of digital data with the ability to detect and correct errors, can also be used in computer systems for various purposes to transfer information between different parts of distributed computing systems.

Известен способ (патент РФ №2163400 приоритет от 31.07.2000 «Комбинированный универсальный способ исправления одиночных ошибок при передаче информации биимпульсным кодом Манчестер II», МПК: G11В 20/18, Н03М 5/12, авторов Демченко О.Ф., Долженкова Н.Н., Поповича К.Ф., Школина В.П., Кодолы В.Г., опубл. 20.02.2001 бюл. №5), заключающийся в том, что определяют значение составляющих разрядов сигнала, передаваемого указанным кодом. В случае выявления одинаковых значений в каком-либо разряде фиксируют ошибку. Сигнал, передаваемый кодом Манчестер II, снабжен контрольным разрядом, значение которого устанавливают в зависимости от исходных значений информационных разрядов, задавая соответствующие характеристики указанного сигнала. Находят искаженную составляющую разряда, содержащего зафиксированную ошибку, по значениям других разрядов переданного сигнала с учетом указанных заданных характеристик и меняют ее значение.The known method (RF patent No. 2163400 priority from 07/31/2000 "Combined universal method for correcting single errors in the transmission of information by bi-pulse code Manchester II", IPC: G11B 20/18, H03M 5/12, authors Demchenko O.F., Dolzhenkova N. N., Popovich K.F., Shkolina V.P., Kodoly V.G., published on February 20, 2001, Bulletin No. 5), which consists in determining the value of the constituent bits of the signal transmitted by the specified code. In case of identifying the same values in any category, an error is recorded. The signal transmitted by the Manchester II code is equipped with a control bit, the value of which is set depending on the initial values of the information bits, setting the corresponding characteristics of the specified signal. The distorted component of the discharge containing the detected error is found from the values of the other bits of the transmitted signal, taking into account these specified characteristics, and its value is changed.

Недостатками данного способа являются низкая эффективность и надежность при необходимости осуществлении итеративной передачи данных во время обмена информацией.The disadvantages of this method are the low efficiency and reliability, if necessary, the implementation of iterative data transfer during the exchange of information.

Технический результат, на достижение которого направлено заявляемое изобретение, заключается в повышении эффективности и надежности передачи данных во время обмена информацией.The technical result, to which the claimed invention is directed, is to increase the efficiency and reliability of data transmission during the exchange of information.

Данные технические результаты достигаются тем, что в способе исправления ошибок при передаче информации биимпульсным кодом Манчестер II, заключающемся в том, что предварительно данные, передаваемые указанным кодом, разбивают на N частей, для каждой из которых формируют код Хэмминга, затем вычисляют контрольную сумму передаваемых данных и контрольную сумму набора полученных кодов Хэмминга, далее формируют кодограмму, включающую передаваемые данные, набор кодов Хэмминга и контрольные суммы передаваемых данных и набора кодов Хэмминга, затем вычисляют контрольную сумму кодограммы и формируют посылку из кодограммы и контрольной суммы кодограммы, при получении посылки вычисляют контрольную сумму выделенной из посылки кодограммы и сравнивают ее с полученной контрольной суммой кодограммы, если данные контрольные суммы кодограммы не совпадают, то из полученной посылки выделяют передаваемые данные и вычисляют их контрольную сумму и сравнивают ее с контрольной суммой передаваемых данных, выделенной из полученной посылки, в случае их несовпадения из посылки выделяют набор кодов Хэмминга, вычисляют его контрольную сумму и сравнивают с выделенной из посылки контрольной суммой набора кодов Хэмминга, при их совпадении выделяют из посылки набор кодов Хэмминга, с помощью которых исправляют ошибки полученных данных.These technical results are achieved by the fact that in the method for correcting errors in the transmission of information by the Manchester II bi-pulse code, which consists in preliminarily data being transmitted by the specified code is divided into N parts, for each of which a Hamming code is generated, then a checksum of the transmitted data is calculated and a checksum of the set of received Hamming codes, then form a codogram including the transmitted data, a set of Hamming codes and checksums of the transmitted data and a set of Hamming codes, then it calculates the checksum of the codogram and generates a package from the codogram and the checksum of the codogram; upon receipt of the package, the checksum of the codogram extracted from the package is calculated and compared with the received checksum of the codogram, if the data checksums of the codogram do not match, then the transmitted data is extracted from the received parcel and calculate their checksum and compare it with the checksum of the transmitted data extracted from the received package; if they do not match, a set of Hamming code, calculate its checksum and compare it with the checksum of the set of Hamming codes selected from the package; if they match, they select the set of Hamming codes from the package that correct the errors of the received data.

Формирование посылки указанного вида позволяет осуществлять своевременное выявление недостоверных кодограмм, что приводит к повышению скорости информационного обмена. А разбиение передаваемых данных на N частей и формирование проверочных битов кода Хемминга для каждой из них позволяет исправлять ошибки за одну итерацию передачи данных. Все это в совокупности позволят повысить эффективность и надежность передачи данных во время обмена информацией.The formation of the package of this type allows the timely identification of false codeograms, which leads to an increase in the speed of information exchange. Dividing the transmitted data into N parts and generating the check bits of the Hamming code for each of them allows you to correct errors in one iteration of the data transfer. All this together will improve the efficiency and reliability of data transmission during the exchange of information.

Известен адаптер мультиплексных каналов информационного обмена (патент РФ №2163728 приоритет от 29.02.2000 «Адаптер мультиплексных каналов информационного обмена», МПК: G06F 15/16, H04L 12/66, авторов Глушкина Е.З., Рубина Г.С., опубл. 27.02.2001 бюл. №6), содержащий первый и второй контроллеры мультиплексных каналов информационного обмена, первый и второй контроллеры внешней интерфейсной магистрали информационного обмена, первый, второй, третий и четвертый приемопередатчики мультиплексных каналов информационного обмена, первый, второй, третий и четвертый трансформаторы гальванической развязки, первый и второй микропроцессоры, первое и второе оперативные запоминающие устройства (ОЗУ), первое и второе постоянные запоминающие устройства (ПЗУ), первый и второй формирователи выходных разовых команд, первый и второй приемники входных разовых команд, формирователь сигнала сброса, формирователь сигнала исправности, буферный формирователь, первую и вторую внутренние интерфейсные магистрали информационного обмена, устройство ввода сигнала ручного сброса, входы-выходы первого, второго, третьего и четвертого мультиплексных каналов информационного обмена, первый и второй входы разовых команд, первый и второй выходы разовых команд, выход сигнала исправности, вход-выход внешней интерфейсной магистрали информационного обмена, устройство ввода сигнала ручного сброса.Known adapter multiplex channels of information exchange (RF patent No. 2163728 priority of 02.29.2000 "Adapter of multiplex channels of information exchange", IPC: G06F 15/16, H04L 12/66, authors Glushkina E.Z., Rubina G.S., publ. 02/27/2001 bulletin No. 6), containing the first and second controllers of multiplex channels of information exchange, the first and second controllers of the external interface trunk of information exchange, the first, second, third and fourth transceivers of multiplex channels of information exchange, the first, second, third and fourth tra galvanic isolation informants, the first and second microprocessors, the first and second random access memory (RAM), the first and second read-only memory (ROM), the first and second output single-instruction shapers, the first and second input one-time instruction receivers, a reset signal conditioner, a shaper serviceability signal, buffer driver, first and second internal interface information communication lines, manual reset signal input device, inputs, outputs of the first, second, third and The Fourth multiplex traffic channels, the first and second inputs of single commands, the first and second outputs are single commands, the output signal of serviceability, external input-output interface data exchange line, the input device a manual reset signal.

Первый вход-выход первого контроллера мультиплексных каналов информационного обмена соединен с первым входом-выходом первого приемопередатчика мультиплексного канала информационного обмена (МКИО), а второй вход-выход соединен с первым входом-выходом второго приемопередатчика МКИО. Вторые входы-выходы первого и второго приемопередатчиков МКИО соединены соответственно с первым и вторым трансформаторами гальванической развязки, выходы которых являются соответственно выходами и первого и второго МКИО адаптера мультиплексных каналов информационного обмена. Интерфейсные входы выходы первого контроллера мультиплексных каналов информационного обмена, первого микропроцессора, первого ОЗУ, первого ПЗУ, а также первый интерфейсный вход-выход первого контроллера внешней интерфейсной магистрали информационного обмена соединены между собой при помощи первой внутренней интерфейсной магистрали информационного обмена. Выход разовых команд первого контроллера мультиплексных каналов информационного обмена соединен с входом первого формирователя выходных разовых команд, выход которого является первым выходом разовых команд адаптера мультиплексных каналов информационного обмена, вход разовых команд первого контроллера мультиплексных каналов информационного обмена соединен с выходом первого приемника входных разовых команд, вход которого является первым входом разовых команд адаптера мультиплексных каналов информационного обмена. Второй интерфейсный вход-выход первого контроллера внешней интерфейсной магистрали информационного обмена соединен с первым входом-выходом буферного формирователя, второй вход-выход которого является входом-выходом внешней интерфейсной магистрали информационного обмена адаптера мультиплексных каналов информационного обмена. Первый вход-выход второго контроллера мультиплексных каналов информационного обмена соединен с первым входом-выходом третьего приемопередатчика МКИО, второй вход-выход второго контроллера мультиплексных каналов информационного обмена соединен с первым входом-выходом четвертого приемопередатчика МКИО, вторые входы-выходы третьего и четвертого приемопередатчиков мультиплексных каналов информационного обмена соединены соответственно с третьим и четвертым трансформаторами гальванической развязки, выходы которых являются соответственно выходами третьего и четвертого МКИО адаптера мультиплексных каналов информационного обмена. Интерфейсные входы-выходы второго контроллера мультиплексных каналов информационного обмена, второго микропроцессора, второго ОЗУ, второго ПЗУ, а также первый интерфейсный вход-выход второго контроллера внешней интерфейсной магистрали информационного обмена соединены между собой при помощи второй внутренней интерфейсной магистрали информационного обмена. Выход разовых команд второго контроллера мультиплексных каналов информационного обмена соединен с входом второго формирователя выходных разовых команд, выход которого является вторым выходом разовых команд адаптера мультиплексных каналов информационного обмена, вход разовых команд второго контроллера мультиплексных каналов информационного обмена соединен с выходом второго приемника входных разовых команд, вход которого является вторым входом разовых команд адаптера мультиплексных каналов информационного обмена. Второй интерфейсный вход-выход второго контроллера внешней интерфейсной магистрали информационного обмена соединен с первым входом-выходом буферного формирователя. Первый выход первого контроллера внешней интерфейсной магистрали информационного обмена соединен с первым входом формирователя сигнала сброса, первый выход второго контроллера внешней интерфейсной магистрали информационного обмена соединен со вторым входом формирователя сигнала сброса, выход устройства ввода сигнала ручного сброса соединен с третьим входом формирователя сигнала сброса, выход формирователя сигнала сброса соединен с первой и второй внутренними интерфейсными магистралями информационного обмена. Второй выход первого контроллера внешней интерфейсной магистрали информационного обмена соединен с первым входом формирователя сигнала исправности, второй выход второго контроллера внешней интерфейсной магистрали информационного обмена соединен со вторым входом формирователя сигнала исправности, выход формирователя сигнала исправности является выходом сигнала исправности адаптера мультиплексных каналов информационного обмена.The first input-output of the first controller of multiplex channels of information exchange is connected to the first input-output of the first transceiver of the multiplex channel of information exchange (MKIO), and the second input-output is connected to the first input-output of the second transceiver MKIK. The second inputs and outputs of the first and second MKIO transceivers are connected respectively to the first and second transformers of galvanic isolation, the outputs of which are respectively the outputs of the first and second MKIO adapters of multiplex communication channels. The interface inputs and outputs of the first controller of multiplex channels of information exchange, the first microprocessor, the first RAM, the first ROM, as well as the first interface input-output of the first controller of the external interface highway of information exchange are interconnected using the first internal interface highway of information exchange. The output of one-time commands of the first controller of multiplex channels of information exchange is connected to the input of the first driver of output multiplex channels of information, the output of which is the first output of one-time commands of the adapter of multiplex channels of information exchange, the input of one-time commands of the first controller of multiplex channels of information exchange is connected to the output of the first receiver of input one-time commands, input which is the first input of one-time adapter commands multiplexed channels of information exchange. The second interface input-output of the first controller of the external interface highway of the information exchange is connected to the first input-output of the buffer driver, the second input-output of which is the input-output of the external interface highway of the information exchange adapter of the multiplex communication channels. The first input-output of the second controller of multiplex channels of information exchange is connected to the first input-output of the third transceiver MKIO, the second input-output of the second controller of multiplex channels of information exchange is connected to the first input-output of the fourth transceiver MKIO, the second inputs and outputs of the third and fourth transceivers of multiplex channels information exchange are connected respectively to the third and fourth transformers of galvanic isolation, the outputs of which are respectively The outputs of the third and fourth MKIO adapter multiplexed channels of information exchange. The interface inputs and outputs of the second controller of multiplex channels of information exchange, the second microprocessor, the second RAM, the second ROM, as well as the first interface input-output of the second controller of the external interface highway of information exchange are interconnected using the second internal interface highway of information exchange. The output of the one-time commands of the second controller of multiplex channels of information exchange is connected to the input of the second driver of the output of one-time commands, the output of which is the second output of one-time commands of the adapter of multiplex channels of information exchange, the input of the one-time commands of the second controller of multiplex channels of information exchange is connected to the output of the second receiver of the input one-time commands, input which is the second input of one-time adapter commands multiplexed channels of information exchange. The second interface input-output of the second controller of the external interface highway of information exchange is connected to the first input-output of the buffer driver. The first output of the first controller of the external interface of the data exchange is connected to the first input of the reset signal shaper, the first output of the second controller of the external interface of the data exchange is connected to the second input of the reset signal shaper, the output of the input device of the manual reset signal is connected to the third input of the reset signal shaper, the output of the shaper a reset signal is connected to the first and second internal interface information communication lines. The second output of the first controller of the external interface highway of information exchange is connected to the first input of the health signal conditioner, the second output of the second controller of the external interface highway of information exchange is connected to the second input of the health signal conditioner, the output of the conditioner of the health signal is the output of the health signal of the adapter of multiplexed information exchange channels.

Недостатками данного устройства является невысокая скорость обработки информационного сигнала, а также возможность получения информационного сигнала в недостоверном виде по причине отсутствия устройства согласования приемо-передающего канала связи.The disadvantages of this device is the low processing speed of the information signal, as well as the ability to receive the information signal in an unreliable form due to the lack of a matching device for the transmit-receive communication channel.

Технические результаты, на достижение которых направлено изобретение, заключаются в повышении надежности и расширении функциональных возможностей.The technical results to which the invention is directed are to increase reliability and expand functionality.

Данные технические результаты достигаются тем, что в устройстве передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, содержащем внутреннюю интерфейсную магистраль информационного обмена, с которой соединены контроллер мультиплексных каналов информационного обмена, оперативное запоминающее устройство, постоянное запоминающее устройство, устройство сброса и микропроцессор, первый и второй приемопередатчики мультиплексного канала информационного обмена, входы-выходы которых соединены соответственно с первыми входами-выходами первого и второго трансформаторов гальванической развязки, буферный формирователь, формирователь команд управления, новым является то, что дополнительно введены формирователь адреса оконечного устройства, первый и второй преобразователи мультиплексного канала информационного обмена, первое и второе устройства согласования мультиплексного канала информационного обмена, преобразователь вспомогательного мультиплексного канала информационного обмена, приемопередатчик вспомогательного мультиплексного канала информационного обмена, преобразователь данных и устройство программирования, вход-выход которого соединен с первым входом-выходом микропроцессора, второй вход-выход которого соединен с первым входом-выходом преобразователя вспомогательного мультиплексного канала информационного обмена, второй вход-выход которого соединен с первым входом-выходом приемопередатчика вспомогательного мультиплексного канала информационного обмена, второй вход-выход которого является входом-выходом вспомогательного мультиплексного канала информационного обмена устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, вход формирователя адреса оконечного устройства является входом устройства передачи информации биимпульсным кодом Манчестер II, а выход соединен с первым входом контроллера мультиплексных каналов информационного обмена, второй и третий входы которого соединены соответственно с выходами первого и второго преобразователей мультиплексного канала информационного обмена, первые входы которых соединены соответственно с первыми выходами первого и второго приемопередатчиков мультиплексного канала информационного обмена, вторые выходы которых соединены соответственно со вторыми входами второго и первого преобразователей мультиплексного канала информационного обмена, а входы соединены соответственно с первым и вторым выходами контроллера мультиплексных каналов информационного обмена, вторые входы-выходы первого и второго трансформаторов гальванической развязки соединены соответственно с первыми входами-выходами первого и второго устройств согласования мультиплексного канала информационного обмена, вторые входы-выходы которых являются соответственно входами-выходами первого и второго мультиплексных каналов информационного обмена устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, при этом буферный формирователь, формирователь команд управления и преобразователь данных соединены с внутренней интерфейсной магистралью информационного обмена.These technical results are achieved in that in a Manchester II bi-impulse code information transmission device with error correction, which contains an internal interface highway for information exchange, to which a multiplex communication channel controller, random access memory, read-only memory, reset device and microprocessor are connected, the first and the second transceiver of the multiplex channel of information exchange, the inputs and outputs of which are connected respectively to the first the inputs and outputs of the first and second galvanic isolation transformers, the buffer driver, the control command generator, the new one is that the addresser of the terminal device, the first and second converters of the multiplex communication channel, the first and second matching devices of the multiplex communication channel, and the auxiliary converter are added multiplex channel of information exchange, transceiver auxiliary multiplex channel info communication exchange, data converter and programming device, the input-output of which is connected to the first input-output of the microprocessor, the second input-output of which is connected to the first input-output of the converter of the auxiliary multiplex information exchange channel, the second input-output of which is connected to the first input-output transceiver auxiliary multiplex channel information exchange, the second input-output of which is the input-output of the auxiliary multiplex channel information about the exchange of an information transmission device with a bi-pulse code Manchester II with error correction, the input of the address generator of the terminal device is the input of a device for transmitting information with a bi-pulse code Manchester II, and the output is connected to the first input of the controller of multiplex channels of information exchange, the second and third inputs of which are connected respectively to the outputs of the first and second converters of the multiplex channel of information exchange, the first inputs of which are connected respectively with the first outputs of the first o and the second transceivers of the multiplex channel of information exchange, the second outputs of which are connected respectively to the second inputs of the second and first converters of the multiplex channel of information exchange, and the inputs are connected respectively to the first and second outputs of the controller of multiplex channels of information exchange, the second inputs and outputs of the first and second transformers of galvanic junctions are connected respectively to the first inputs and outputs of the first and second multiplex about an information exchange channel, the second inputs and outputs of which are respectively the inputs and outputs of the first and second multiplex channels of information exchange of a bi-pulse code Manchester II information transmission device with error correction, while the buffer driver, control command generator and data converter are connected to the internal interface of the information sharing.

За счет применения первого и второго устройств согласования мультиплексного канала информационного обмена обеспечивается защита от синфазных помех, что повышает надежность работы самого устройства и передачи данных. Применение микропроцессора в совокупности с дополнительно введенными блоками позволяет производить проверку достоверности и восстановление полученных данных. Применение программатора позволяет производить изменение настроек программного обеспечения микропроцессора. Применение формирователя адреса оконечного устройства позволяет при использовании нескольких устройств реализовывать многозадачную систему обработки информации, тем самым увеличивая скорость информационного обмена. Все это в совокупности расширяет функциональные возможности.Due to the use of the first and second devices for matching the multiplex channel of information exchange, protection is provided from common mode interference, which increases the reliability of the device itself and data transmission. The use of a microprocessor in conjunction with additionally introduced blocks allows the verification and restoration of the received data. The use of the programmer allows you to change the settings of the microprocessor software. The use of the address generator of the terminal device allows using several devices to implement a multitasking information processing system, thereby increasing the speed of information exchange. All this together expands the functionality.

На фиг. 1 представлена функциональная блок-схема устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок. На фиг. 2 представлен алгоритм обработки и анализа полученной посылки, где CRC - контрольная сумма.In FIG. 1 is a functional block diagram of a Manchester II bi-pulse information transmission device with error correction. In FIG. Figure 2 shows the algorithm for processing and analyzing the received package, where CRC is the checksum.

Устройство передачи информации биимпульсным кодом Манчестер II с исправлением ошибок (фиг. 1) содержит контроллер 1 мультиплексных каналов информационного обмена, внутреннюю интерфейсную магистраль 2 информационного обмена, ОЗУ 3, ПЗУ 4, устройство 5 сброса, микропроцессор 6, первый 7 и второй 8 преобразователи МКИО, первый 9 и второй 10 приемопередатчики МКИО, первый 11 и второй 12 трансформаторы гальванической развязки, первое 13 и второе 14 устройства согласования МКИО, формирователь 15 адреса оконечного устройства, преобразователь 16 данных, формирователь 17 команд управления, преобразователь 18 вспомогательного МКИО, буферный формирователь 19, приемопередатчик 20 вспомогательного МКИО, устройство 21 программирования.The device for transmitting information with a bi-pulse code Manchester II with error correction (Fig. 1) contains a controller 1 for multiplex information exchange channels, an internal interface highway 2 for information exchange, RAM 3, ROM 4, a reset device 5, a microprocessor 6, the first 7 and second 8 MKIO converters , the first 9 and second 10 MKIO transceivers, the first 11 and second 12 galvanic isolation transformers, the first 13 and second 14 of the MKIO matching device, the address generator 15 of the terminal device, the data converter 16, forms rovatel 17 control commands, the inverter 18, the auxiliary MKIO, buffer driver 19, a transceiver 20 MKIO auxiliary device 21 programming.

Контроллер 1 мультиплексных каналов информационного обмена, ОЗУ 3, ПЗУ 4, устройство 5 сброса, микропроцессор 6, буферный формирователь 19, преобразователь 16 данных и формирователь 17 команд управления соединены с внутренней интерфейсной магистралью 2 информационного обмена. Вход 22 формирователя 15 адреса оконечного устройства является входом устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, а выход соединен с первым входом контроллера 1 мультиплексных каналов информационного обмена. Второй и третий входы контроллера 1 мультиплексных каналов информационного обмена соединены соответственно с выходами первого 7 и второго 8 преобразователей МКИО, первые входы которых соединены соответственно с первыми выходами первого 9 и второго 10 приемопередатчиков МКИО, вторые выходы которых соединены соответственно со вторыми входами второго 8 и первого 7 преобразователей МКИО, а входы соединены соответственно с первым и вторым выходами контроллера 1 мультиплексных каналов информационного обмена. Входы-выходы первого 9 и второго 10 приемопередатчиков МКИО соединены соответственно с первыми входами-выходами первого 11 и второго 12 трансформаторов гальванической развязки, вторые входы-выходы которых соединены соответственно с первыми входами-выходами первого 13 и второго 14 устройств согласования МКИО, вторые 23 и 24 входы-выходы которых являются соответственно входами-выходами первого и второго мультиплексных каналов информационного обмена устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок. Вход-выход устройства 21 программирования соединен с первым входом-выходом микропроцессора 6, второй вход-выход которого соединен с первым входом-выходом преобразователя 18 вспомогательного МКИО. Второй вход-выход преобразователя 18 вспомогательного МКИО связи соединен с первым входом-выходом приемопередатчика 20 вспомогательного МКИО. Второй вход-выход приемопередатчика 20 вспомогательного МКИО является входом-выходом 25 вспомогательного МКИО устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок.The controller 1 of the multiplex channels of information exchange, RAM 3, ROM 4, a reset device 5, a microprocessor 6, a buffer driver 19, a data converter 16 and a control command generator 17 are connected to the internal interface 2 of the information exchange. The input 22 of the terminal address generator 15 of the terminal device is the input of the Manchester II bi-pulse code information transmission device with error correction, and the output is connected to the first input of the controller 1 of the multiplex communication channels. The second and third inputs of the controller 1 of the multiplex communication channels are connected respectively to the outputs of the first 7 and second 8 MKIO transducers, the first inputs of which are connected respectively to the first outputs of the first 9 and second 10 MKIO transceivers, the second outputs of which are connected respectively to the second inputs of the second 8 and first 7 MKIK transducers, and the inputs are connected respectively to the first and second outputs of the controller 1 multiplexed channels of information exchange. The inputs and outputs of the first 9 and second 10 MKKO transceivers are connected respectively to the first inputs and outputs of the first 11 and second 12 galvanic isolation transformers, the second inputs and outputs of which are connected respectively to the first inputs and outputs of the first 13 and second 14 MKKO matching devices, the second 23 and 24 inputs and outputs of which are respectively inputs and outputs of the first and second multiplex channels of information exchange of a bi-pulse code Manchester II bi-pulse code information transmission device with error correction. The input-output of the programming device 21 is connected to the first input-output of the microprocessor 6, the second input-output of which is connected to the first input-output of the converter 18 of the auxiliary ICIE. The second input-output of the Converter 18 auxiliary ICIE communication is connected to the first input-output of the transceiver 20 of the auxiliary MKIO. The second input-output of the transceiver 20 of the auxiliary MKIO is the input-output 25 of the auxiliary MKIO of the information transmission device bi-pulse code Manchester II with error correction.

Контроллер 1 мультиплексных каналов информационного обмена обеспечивает информационный обмен в формате, соответствующем ГОСТ 26765.52-87. Контроллер 1 мультиплексных каналов информационного обмена может быть построен посредством модуля мультиплексного канала.The controller 1 multiplexed channels of information exchange provides information exchange in a format that complies with GOST 26765.52-87. The controller 1 multiplex channels of information exchange can be built through the module multiplex channel.

Внутренняя интерфейсная магистраль 2 информационного обмена может быть реализована на трех многоразрядных шинах: шине данных, шине адреса и шине управления.The internal interface bus 2 information exchange can be implemented on three multi-bit buses: data bus, address bus and control bus.

ОЗУ 3 предназначено для хранения переменной информации и промежуточных результатов обработки данных. ОЗУ 3 может быть построено посредством микросхемы памяти, обеспечивающей временное хранение определенного объема информации.RAM 3 is designed to store variable information and intermediate data processing results. RAM 3 can be built using a memory chip that provides temporary storage of a certain amount of information.

ПЗУ 4 предназначено для хранения служебной информации, необходимой для работы микропроцессора 6. ПЗУ 4 может быть построено посредством микросхемы памяти, обеспечивающей долгосрочное хранение определенного объема информации.ROM 4 is designed to store service information necessary for the microprocessor 6. ROM 4 can be built using a memory chip that provides long-term storage of a certain amount of information.

Устройство 5 сброса обеспечивает подачу сигнала, близкого к потенциалу земли, длительностью не менее 50 мс, и обеспечивает перевод микропроцессора 6 в начальное состояние, что в целом защищает устройство от сбоев при кратковременном падении напряжения. Устройство 5 сброса может быть построено посредством D-триггера, транзистора, стабилитрона, диода, конденсатора и пяти резисторов.The reset device 5 provides a signal close to the potential of the earth with a duration of at least 50 ms, and ensures the transfer of the microprocessor 6 to its initial state, which generally protects the device from failures during a short-term voltage drop. The reset device 5 can be constructed by means of a D-flip-flop, a transistor, a zener diode, a diode, a capacitor, and five resistors.

Микропроцессор 6 обеспечивает обработку цифровой информации и управление процессом этой обработки. Выбор конкретного микроконтроллера обусловлен требуемым объемом обработки и объемом информации.The microprocessor 6 provides the processing of digital information and process control of this processing. The choice of a specific microcontroller is determined by the required processing volume and the amount of information.

Первый 7 и второй 8 преобразователи МКИО обеспечивают коммуникацию приемо-передающих интерфейсов с целью оптимизации схемотехнического построения. Первый 7 и второй 8 преобразователи МКИО могут быть построены посредством логических элементов "Исключающее ИЛИ".The first 7 and second 8 MKKO converters provide communication of transceiver interfaces in order to optimize circuit design. The first 7 and second 8 ICKO converters can be built using exclusive OR logic elements.

Первый 9 и второй 10 приемопередатчики МКИО обеспечивают преобразование кодов парафазного сигнала, полученных из первого 11 и второго 12 трансформатора гальванической развязки, в сигналы интерфейса UART. Первый 9 и второй 10 приемопередатчики МКИО могут быть построены посредством приемопередатчика кода Манчестер II.The first 9 and second 10 MKIO transceivers provide the conversion of the paraphase signal codes obtained from the first 11 and second 12 galvanic isolation transformers into UART interface signals. The first 9 and second 10 MKIO transceivers can be built using the Manchester II code transceiver.

Первый 11 и второй 12 трансформаторы гальванической развязки обеспечивают защиту от воздействия синфазных помех и предотвращения появления паразитных токов в шине информационной земли. Первый 11 и второй 12 трансформаторы гальванической развязки могут быть построены (сформированы) посредством импульсного трансформатора.The first 11 and second 12 galvanic isolation transformers provide protection against common-mode interference and prevent spurious currents in the information earth bus. The first 11 and second 12 galvanic isolation transformers can be built (formed) by a pulse transformer.

Первое 13 и второе 14 устройство согласования МКИО обеспечивают согласование параметров длинной линии связи. Первое 13 и второе 14 устройство согласования МКИО могут быть построены посредством резисторов.The first 13 and second 14 coordination device MKIO provide coordination of parameters of a long communication line. The first 13 and second 14 matching device ICIE can be built using resistors.

Формирователь 15 адреса оконечного устройства обеспечивает формирование аппаратным способом значение адреса и подадреса соответствующего оконечного устройства, участвующего в информационном обмене. Формирователь 15 адреса оконечного устройства может быть построен посредством четырехканальных формирователей.Shaper 15 addresses of the terminal device provides the formation in hardware of the value of the address and subaddress of the corresponding terminal device participating in the information exchange. Shaper 15 addresses of the terminal device can be built by means of four-channel shapers.

Преобразователь 16 данных обеспечивает согласование контроллера 1 мультиплексных каналов информационного обмена и микропроцессора 6. Преобразователь 16 данных может быть построен посредством регистров и четырехканальных формирователей.The data converter 16 provides coordination of the controller 1 of the multiplex communication channels and the microprocessor 6. The data converter 16 can be constructed by means of registers and four-channel shapers.

Формирователь 17 команд управления обеспечивает формирование ответной команды на запрос состояния. Формирователь 17 команд управления может быть построен посредством четырехканальных формирователей.Shaper 17 control commands provides the formation of a response command to a status request. Shaper 17 control commands can be built using four-channel shapers.

Преобразователь 18 вспомогательного МКИО обеспечивает преобразование выходных сигналов, принимаемых от микропроцессора 6, из сигналов интерфейса UART в коды вспомогательных интерфейсов. Преобразователь 18 вспомогательного МКИО может быть построен посредством интерфейсных преобразователей.The Converter 18 auxiliary MKIO provides the conversion of the output signals received from the microprocessor 6 from the signals of the UART interface to the codes of the auxiliary interfaces. The transformer 18 of the auxiliary ICIE can be built by means of interface converters.

Буферный формирователь 19 обеспечивает формирование управляющих команд для преобразователя 16 данных. Буферный формирователь 19 может быть построен посредством D-триггера.The buffer driver 19 provides the formation of control commands for the data converter 16. Buffer driver 19 may be constructed by means of a D-trigger.

Приемопередатчик 20 вспомогательного МКИО обеспечивает прием и передачу информации в канале вспомогательного устройства. Приемопередатчик 20 вспомогательного МКИО может быть построен посредством триггеров Шмитта-инверторов, логических элементов "2ИЛИ-НЕ" и резисторов.The transceiver 20 of the auxiliary MKIO provides information reception and transmission in the channel of the auxiliary device. The auxiliary transceiver 20 of the auxiliary ICIE can be constructed by means of Schmitt-inverters, logic gates "2OR-NOT" and resistors.

Устройство 21 программирования обеспечивает настройку и изменение программного обеспечения микропроцессора 6. Устройство 21 программирования может быть построено посредством интерфейсных преобразователей.The programming device 21 provides tuning and modifying the software of the microprocessor 6. The programming device 21 can be constructed by means of interface converters.

Способ исправления ошибок при передаче информации биимпульсным кодом Манчестер II осуществляется при работе устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок следующим образом.A method for correcting errors in transmitting information with a bi-pulse code Manchester II is carried out when the device for transmitting information with a bi-pulse code Manchester II with error correction as follows.

Работа устройства основывается на совокупности программных и аппаратных средств микропроцессорной системы.The operation of the device is based on a combination of software and hardware of a microprocessor system.

С источника питания (на фигуре не показан) поступает напряжение, равное +5 B, которое необходимо для функционирования устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок.A voltage equal to +5 V is supplied from the power source (not shown in the figure), which is necessary for the operation of the information transmission device by the Manchester II bi-pulse code with error correction.

Запуск микропроцессора 6 и контроллера 1 мультиплексных каналов информационного обмена осуществляется подачей на вход сигнала общего сброса импульса, сформированного устройством 5 сброса.The launch of the microprocessor 6 and the controller 1 of the multiplex channels of information exchange is carried out by applying to the input of the signal of the total reset pulse generated by the reset device 5.

1. Передача информации по мультиплексному каналу.1. Information transmission on the multiplex channel.

На вход приемопередатчика 20 вспомогательного МКИО по входу-выходу 25 вспомогательного МКИО поступает информационная посылка, включающая команду о начале обмена данными и передаваемые данные по входам-выходам 23 и 24 первого и второго мультиплексных каналов информационного обмена.At the input of the transceiver 20 of the auxiliary MKIO at the input-output 25 of the auxiliary MKIO receives an information package, including a command to start data exchange and the transmitted data at the inputs and outputs 23 and 24 of the first and second multiplex channels of information exchange.

Приемопередатчик 20 вспомогательного МКИО передает полученную информационную посылку преобразователю 18 вспомогательного МКИО.The transceiver 20 of the auxiliary ICEC transmits the received information package to the converter 18 of the auxiliary ICEC.

Преобразователь 18 вспомогательного МКИО преобразует полученную информационную посылку из вспомогательного интерфейса в интерфейс UART.The converter 18 of the auxiliary ICEC converts the received information package from the auxiliary interface to the UART interface.

Микропроцессор 6 считывает с преобразователя 18 вспомогательного МКИО преобразованную информационную посылку и посредством ОЗУ 3 формирует передаваемую посылку.The microprocessor 6 reads the converted information packet from the converter 18 of the auxiliary ICEC and through the RAM 3 forms the transmitted packet.

Формирование передаваемой посылки заключается в следующем.The formation of the transmitted package is as follows.

Данные, передаваемые биимпульсным кодом Манчестер II, разбивают на N частей. Количество частей зависит от длины передаваемых данных и предъявляемой к ним надежности. Для каждой из N частей передаваемых данных формируют набор проверочных битов кода Хемминга. Формирование проверочных битов кода Хэмминга осуществляют алгоритмическим преобразованием, (см., например, Питерсон У., Уэлдон Э «Коды, исправляющие ошибки»: Пер. с англ.М.: Мир, 1976, 600 с.).The data transmitted by the bi-pulse code of Manchester II is divided into N parts. The number of parts depends on the length of the transmitted data and the reliability presented to them. For each of the N parts of the transmitted data, a set of check bits of the Hamming code is formed. The formation of the check bits of the Hamming code is carried out by algorithmic conversion (see, for example, Peterson W., Weldon E. “Error Correcting Codes”: Translated from English, Moscow: Mir, 1976, 600 pp.).

При необходимости передачи 8 бит информации формируется код Хэмминга b1b2a1b3a2a3a4b4a5a6a7a8, где а1а2а3а4а5а6а7а8 - информационные биты, b1b2b3b4 - проверочные биты. Проверочные биты рассчитываются по формулам:If necessary, the transmission of 8 bits of information generated Hamming code b 1 b 2 a 1 b 3 a 2 a 3 a 4 b 4 a 5 a 6 a 7 a 8, wherein a 1 a 2 a 3 a 4 a 5 a 6 a 7 a 8 - information bits, b 1 b 2 b 3 b 4 - test bits. Check bits are calculated using the formulas:

Figure 00000001
Figure 00000001

При приеме информации без ошибки приведенные уравнения верны.When receiving information without error, the above equations are correct.

При отрицательном результате проверки по ниже приведенным формулам рассчитывается синдром ошибки Si:If the test result is negative, the error syndrome S i is calculated using the formulas below:

Figure 00000002
Figure 00000002

По результатам расчета формируется вектор ошибки S4, S3, S2, S1, однозначно указывающий на номер бита, принятого с ошибкой. Необходимо изменить значение бита с номером S4, S3, S2, S1 на противоположное.According to the calculation results, an error vector S 4 , S 3 , S 2 , S 1 is formed , which unambiguously indicates the number of bits received with an error. It is necessary to change the value of the bit with the number S 4 , S 3 , S 2 , S 1 to the opposite.

После формирования всех наборов проверочных битов кода Хемминга вычисляют контрольные суммы передаваемых данных и сформированного набора проверочных битов кода Хемминга, например (см. Генри С. Уоррен, мл. Глава 5. Подсчет битов // Алгоритмические трюки для программистов = Hacker′s Delight. - M.: Вильямс, 2007. - 288 с.). (Далее данные контрольные суммы называются эталонными).After the formation of all sets of Hamming code check bits, the checksums of the transmitted data and the generated set of Hamming code check bits are calculated, for example (see Henry C. Warren, ml. Chapter 5. Counting bits // Algorithmic tricks for programmers = Hacker’s Delight. - M .: Williams, 2007 .-- 288 p.). (Hereinafter, these checksums are called reference).

Далее формируют кодограмму из передаваемых данных, сформированного набора проверочных битов кода Хемминга, контрольной суммы передаваемых данных, контрольной суммы сформированного набора проверочных битов кода Хемминга. После формирования кодограммы вычисляют контрольную сумму кодограммы.Next, a codogram is formed from the transmitted data, the generated set of check bits of the Hamming code, the checksum of the transmitted data, the checksum of the generated set of check bits of the Hamming code. After the formation of the codogram, the checksum of the codogram is calculated.

Формируют посылку, включающую в себя кодограмму и контрольную сумму кодограммы.A package is formed that includes the codogram and the checksum of the codogram.

Затем микропроцессор 6 передает преобразователю 16 данных сформированную передаваемую посылку, а формирователю 17 команд управления кодограмму на формирование данных для контроллера 1 мультиплексных каналов информационного обмена.Then, the microprocessor 6 transmits the generated transmitted packet to the data converter 16, and a codogram for generating data for the controller 1 of the multiplexed information exchange channels to the driver 17 of the control commands.

Формирователь 17 команд управления формирует данные, содержащие разрешение на обмен информаций по мультиплексным каналам информационного обмена.Shaper 17 control commands generates data containing permission for the exchange of information on multiplexed channels of information exchange.

Формирователь 15 адреса оконечного устройства формирует данные, содержащие адрес и подадрес данного оконечного устройства.Shaper 15 address of the terminal device generates data containing the address and subaddress of this terminal device.

Сформированные формирователем 17 команд управления и формирователем 15 адреса оконечного устройства данные передаются контроллеру 1 мультиплексных каналов информационного обмена.The data generated by the driver 17 of the control commands and the driver 15 of the terminal device data is transmitted to the controller 1 of the multiplexed information exchange channels.

Контроллер 1 мультиплексных каналов информационного обмена, получив данные, сформированные формирователем 17 команд управления и формирователем 15 адреса оконечного устройства, и команду на разрешение обмена посылкой по мультиплексным каналам информационного обмена, считывает с преобразователя 16 данных передаваемую посылку.The controller 1 of the multiplexed data exchange channels, having received the data generated by the driver 17 of the control commands and the driver 15 of the address of the terminal device, and the command to allow the exchange of the package via the multiplexed channels of information exchange, reads the transmitted packet from the data converter 16.

Далее контроллер 1 мультиплексных каналов информационного обмена формирует посылку в соответствии с ГОСТ Ρ 52070-2003 и передает ее на первый 9 и второй 10 приемопередатчики МКИО.Next, the controller 1 of the multiplex channels of information exchange generates a package in accordance with GOST Ρ 52070-2003 and transmits it to the first 9 and second 10 transceivers MKIO.

Первый 9 и второй 10 приемопередатчики МКИО, преобразовав посылку в вид парафазного сигнала, передают его на первый 11 и второй 12 трансформаторы гальванической развязки.The first 9 and second 10 MKIO transceivers, having converted the package into the form of a paraphase signal, transmit it to the first 11 and second 12 transformers of galvanic isolation.

Первый 11 и второй 12 трансформаторы гальванической развязки передают посылку в виде парафазного сигнала через первое 13 и второе 14 устройства согласования МКИО на входы-выходы 23 и 24 первого и второго мультиплексных каналов информационного обмена.The first 11 and second 12 galvanic isolation transformers transmit the parcel in the form of a paraphase signal through the first 13 and second 14 of the MKIO matching device to the inputs and outputs 23 and 24 of the first and second multiplex communication channels.

2. Прием информации по мультиплексному каналу.2. Reception of information on the multiplex channel.

На вход приемопередатчика 20 вспомогательного МКИО по входу-выходу 25 вспомогательного канала связи поступает команда о начале обмена данными по входам-выходам 23 и 24 первого и второго мультиплексных каналов информационного обмена устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок.At the input of the transceiver 20 of the auxiliary MKIO at the input-output 25 of the auxiliary communication channel, a command is received to begin exchanging data on the inputs and outputs 23 and 24 of the first and second multiplex channels of information exchange of the bi-pulse code Manchester II information transmission device with error correction.

Приемопередатчик 20 вспомогательного МКИО передает полученную команду преобразователю 18 вспомогательного МКИО.The transceiver 20 of the auxiliary MCF transmits the received command to the converter 18 of the auxiliary MCF.

Преобразователь 18 вспомогательного МКИО преобразует полученную команду из вспомогательного интерфейса в интерфейс UART.The converter 18 auxiliary ICF converts the received command from the auxiliary interface to the UART interface.

Микропроцессор 6 считывает преобразованную команду, после чего передает формирователю 17 команд управления кодограмму на формирование данных для контроллера 1 мультиплексных каналов информационного обмена, содержащих разрешение на обмен информации по первому и второму мультиплексным каналам информационного обмена.The microprocessor 6 reads the converted command, and then transmits to the driver 17 control commands a codogram for generating data for the controller 1 of the multiplex information exchange channels containing permission to exchange information on the first and second multiplex information exchange channels.

Формирователь 17 команд управления формирует данные содержащие разрешение на обмен информацией по первому и второму мультиплексным каналам информационного обмена.Shaper 17 control commands generates data containing permission to exchange information on the first and second multiplex channels of information exchange.

Формирователь 15 адреса оконечного устройства формирует данные содержащие адрес и подадрес данного оконечного устройства.Shaper 15 address of the terminal device generates data containing the address and subaddress of this terminal device.

Сформированные формирователем 17 команд управления и формирователем 15 адреса оконечного устройства данные передаются контроллеру 1 мультиплексных каналов информационного обмена.The data generated by the driver 17 of the control commands and the driver 15 of the terminal device data is transmitted to the controller 1 of the multiplexed information exchange channels.

Микропроцессор 6 передает контроллеру 1 мультиплексных каналов информационного обмена команду на разрешение на обмен данными по первому и второму мультиплексным каналам информационного обмена.The microprocessor 6 transmits to the controller 1 multiplexed channels of information exchange command for permission to exchange data on the first and second multiplexed channels of information exchange.

Контроллер 1 мультиплексных каналов информационного обмена, получив данные, сформированные формирователем 17 команд управления и формирователем 15 адреса оконечного устройства, и команду на разрешение обмена посылкой по первому и второму мультиплексным каналам информационного обмена, формирует посылку в соответствии с ГОСТ Ρ 52070-2003 из данных, полученных от формирователя 17 команд управления, и передает их на первый 9 и второй 10 приемопередатчики первого и второго мультиплексных каналов информационного обмена.The controller 1 of the multiplex information exchange channels, having received the data generated by the driver 17 of the control commands and the driver 15 of the address of the terminal device, and the command to allow the exchange of the package on the first and second multiplex communication channels, generates the package in accordance with GOST Ρ 52070-2003 from the data received from the shaper 17 control commands, and transmits them to the first 9 and second 10 transceivers of the first and second multiplex channels of information exchange.

Первый 9 и второй 10 приемопередатчики, преобразовав посылку в вид парафазного сигнала, передают его на первый 11 и второй 12 трансформаторы гальванической развязки.The first 9 and second 10 transceivers, converting the package into a paraphase signal, transmit it to the first 11 and second 12 transformers of galvanic isolation.

Первый 11 и второй 12 трансформаторы гальванической развязки передают посылку в виде парафазного сигнала через первое 13 и второе 14 устройства согласования МКИО на входы-выходы 23 и 24.The first 11 and second 12 transformers of galvanic isolation transmit the parcel in the form of a paraphase signal through the first 13 and second 14 of the MKIO matching device to the inputs and outputs 23 and 24.

После этого с входов-выходов 23 и 24 на первый 11 и второй 12 трансформаторы гальванической развязки через первое 13 и второе 14 устройства согласования МКИО поступает посылка от внешних устройств, содержащая кодограмму и ее контрольную сумму, сформированную указанным выше способом.After that, from the inputs-outputs 23 and 24 to the first 11 and second 12 transformers of galvanic isolation, through the first 13 and second 14 of the MKIO matching device, a package from external devices containing a codogram and its checksum formed in the above manner is received.

С первого 11 и второго 12 трансформаторов гальванической развязки данная посылка поступает в первый 9 и второй 10 приемопередатчики МКИО.From the first 11 and second 12 galvanic isolation transformers, this package goes to the first 9 and second 10 transceivers MKIO.

Первый 9 и второй 10 приемопередатчики МКИО, преобразовав посылку из парафазного сигнала в сигнал интерфейса UART, передают ее в контроллер 1 мультиплексных каналов информационного обмена.The first 9 and second 10 transceivers MKIO, converting the package from the paraphase signal into the signal of the UART interface, transmit it to the controller 1 of the multiplex communication channels.

Контроллер 1 мультиплексных каналов информационного обмена обрабатывает данную посылку и передает ее преобразователю 16 данных, выставляя буферному формирователю 19 сигнал о приеме информации по первому и второму мультиплексным каналам информационного обмена.The controller 1 of the multiplexed channels of information exchange processes this package and transmits it to the data converter 16, exposing the buffer former 19 to receive information on the first and second multiplex channels of information exchange.

Буферный формирователь 19 сообщает микропроцессору 6 о том, что контроллер 1 мультиплексных каналов информационного обмена обработал и передал посылку, полученную по перовому и второму мультиплексным каналам информационного обмена, и передает (выставляет флаг) разрешение преобразователю 16 данных на обмен полученной от контроллера 1 мультиплексных каналов информационного обмена посылкой.The buffer driver 19 informs the microprocessor 6 that the controller 1 of the multiplex communication channels processed and transmitted the package received on the first and second multiplex communication channels, and transmits (sets the flag) permission to the data converter 16 for exchanging information received from the controller 1 of the multiplex communication channels exchange package.

Микропроцессор 6 посредством ОЗУ 3 обрабатывает и анализирует полученную посылку.The microprocessor 6 through RAM 3 processes and analyzes the received package.

Обработка и анализ полученной посылки (фиг. 2) заключается в следующем.Processing and analysis of the received package (Fig. 2) is as follows.

Выделяют из полученной посылки кодограмму и вычисляют ее контрольную сумму, которую затем сравнивают с полученной (эталонной) контрольной суммой кодограммы. При совпадении контрольных сумм кодограммы передаваемые данные выделяют из посылки и передают по вспомогательному МКИО.A codogram is extracted from the received parcel and its checksum is calculated, which is then compared with the received (reference) codogram checksum. When the checksum of the codogram coincides, the transmitted data is extracted from the package and transmitted via the auxiliary ICIE.

В случае несовпадения контрольных сумм кодограммы из посылки выделяют переданные данные и вычисляют контрольную сумму переданных данных, которую сравнивают с эталонной контрольной суммой переданных данных, выделенной из полученной посылки. При совпадении контрольных сумм передаваемых данных, передаваемые данные (далее - данные) выделяют из посылки и передают по вспомогательному МКИО.In case of mismatch of the checksums of the codogram from the package, the transmitted data is extracted and the checksum of the transmitted data is calculated, which is compared with the reference checksum of the transmitted data extracted from the received package. If the checksums of the transmitted data coincide, the transmitted data (hereinafter referred to as the data) is extracted from the package and transmitted via the auxiliary ICEC.

В случае несовпадения контрольных сумм данных выделяют набор проверочных битов кода Хемминга и вычисляют контрольную сумму набора проверочных битов кода Хемминга. Данную контрольную сумму набора проверочных битов кода Хемминга сравнивают с эталонной контрольной суммой набора проверочных битов кода Хемминга, выделенной из полученной посылки. При совпадении контрольных сумм набора проверочных битов кода Хемминга обратным алгоритмическим преобразованием восстанавливают данные и передают по вспомогательному МКИО.If the data checksums do not match, a set of Hamming code check bits is extracted and a checksum of the Hamming code check bit set is calculated. This checksum of the set of Hamming code check bits is compared with the reference checksum of the set of Hamming code check bits extracted from the received package. If the checksums of the set of test bits of the Hamming code coincide, the data is restored by the inverse algorithmic transformation and transmitted via the auxiliary ICEC.

После обработки и анализа полученной посылки микропроцессор 6 передает полученные данные посредством преобразователя 18 вспомогательного МКИО и приемопередатчика 20 вспомогательного МКИО на вход-выход 25 вспомогательного МКИО.After processing and analysis of the received package, the microprocessor 6 transmits the received data through the auxiliary transformer 18 of the auxiliary ICEC and the transceiver 20 of the auxiliary ICEC to the input-output 25 of the auxiliary ICEC.

В случае несовпадения контрольных сумм набора проверочных битов кода Хемминга производят повторный информационный обмен сформированной посылки.In case of mismatch of the checksums of the set of check bits of the Hamming code, repeated information exchange of the generated package is performed.

Claims (2)

1. Способ исправления ошибок при передаче информации биимпульсным кодом Манчестер II, заключающийся в том, что предварительно данные, передаваемые указанным кодом, разбивают на N частей, для каждой из которых формируют код Хэмминга, затем вычисляют контрольную сумму передаваемых данных и контрольную сумму набора полученных кодов Хэмминга, далее формируют кодограмму, включающую передаваемые данные, набор кодов Хэмминга, контрольную сумму передаваемых данных и контрольную сумму набора кодов Хэмминга, затем вычисляют контрольную сумму кодограммы и формируют посылку из кодограммы и контрольной суммы кодограммы, при получении посылки вычисляют контрольную сумму выделенной из посылки кодограммы и сравнивают ее с полученной контрольной суммой кодограммы, если данные контрольные суммы кодограммы не совпадают, то из полученной посылки выделяют передаваемые данные и вычисляют их контрольную сумму и сравнивают ее с контрольной суммой передаваемых, выделенной из полученной посылки, в случае их несовпадения из посылки выделяют набор кодов Хэмминга, вычисляют его контрольную сумму и сравнивают с выделенной из посылки контрольной суммой набора кодов Хэмминга, при их совпадении выделяют из посылки набор кодов Хэмминга, с помощью которых восстанавливают полученные данные.1. A method for correcting errors in the transmission of information by a Manchester II bi-pulse code, which consists in the fact that the data transmitted by the specified code are preliminarily divided into N parts, for each of which a Hamming code is generated, then a checksum of the transmitted data and a checksum of the set of received codes are calculated Hamming, then form a codogram including the transmitted data, a set of Hamming codes, a checksum of the transmitted data and a checksum of a set of Hamming codes, then a checksum is calculated code grams and form a package from the codogram and the checksum of the codogram; upon receipt of the package, the checksum of the codogram extracted from the package is calculated and compared with the received codogram checksum; if the data checksums of the codogram do not match, then the transmitted data is extracted from the package and the checksum is calculated and compare it with the checksum transmitted, extracted from the received package, if they do not match, the set of Hamming codes is extracted from the package, its checksum is calculated mmu and compared with the checksum of the set of Hamming codes selected from the parcel; if they coincide, a set of Hamming codes is extracted from the parcel, with which the received data is restored. 2. Устройство передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, содержащее внутреннюю интерфейсную магистраль информационного обмена, с которой соединены контроллер мультиплексных каналов информационного обмена, оперативное запоминающее устройство, постоянное запоминающее устройство, устройство сброса и микропроцессор, первый и второй приемопередатчики мультиплексного канала информационного обмена, входы-выходы которых соединены соответственно с первыми входами-выходами первого и второго трансформаторов гальванической развязки, буферный формирователь, формирователь команд управления, отличающееся тем, что дополнительно введены формирователь адреса оконечного устройства, первый и второй преобразователи мультиплексного канала информационного обмена, первое и второе устройства согласования мультиплексного канала информационного обмена, преобразователь вспомогательного мультиплексного канала информационного обмена, приемопередатчик вспомогательного мультиплексного канала информационного обмена, преобразователь данных и устройство программирования, вход-выход которого соединен с первым входом-выходом микропроцессора, второй вход-выход которого соединен с первым входом-выходом преобразователя вспомогательного мультиплексного канала информационного обмена, второй вход-выход которого соединен с первым входом-выходом приемопередатчика вспомогательного мультиплексного канала информационного обмена, второй вход-выход которого является входом-выходом вспомогательного мультиплексного канала информационного обмена устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, вход формирователя адреса оконечного устройства является входом устройства передачи информации биимпульсным кодом Манчестер II, а выход соединен с первым входом контроллера мультиплексных каналов информационного обмена, второй и третий входы которого соединены соответственно с выходами первого и второго преобразователей мультиплексного канала информационного обмена, первые входы которых соединены соответственно с первыми выходами первого и второго приемопередатчиков мультиплексного канала информационного обмена, вторые выходы которых соединены соответственно со вторыми входами второго и первого преобразователей мультиплексного канала информационного обмена, а входы соединены соответственно с первым и вторым выходами контроллера мультиплексных каналов информационного обмена, вторые входы-выходы первого и второго трансформаторов гальванической развязки соединены соответственно с первыми входами-выходами первого и второго устройств согласования мультиплексного канала информационного обмена, вторые входы-выходы которых являются соответственно выходами-выходами первого и второго мультиплексных каналов информационного обмена устройства передачи информации биимпульсным кодом Манчестер II с исправлением ошибок, при этом буферный формирователь, формирователь команд управления и преобразователь данных соединены с внутренней интерфейсной магистралью информационного обмена. 2. The device for transmitting information with a bi-pulse code Manchester II with error correction, containing an internal interface highway for information exchange, which is connected to the controller of the multiplex communication channels, random access memory, read-only memory, a reset device and a microprocessor, the first and second transceivers of the multiplex communication channel the inputs and outputs of which are connected respectively to the first inputs and outputs of the first and second transformers galvanic isolation, a buffer driver, a driver of control commands, characterized in that the driver of the address of the terminal device, the first and second converters of the multiplex communication channel, the first and second matching devices of the multiplex communication channel, the converter of the auxiliary multiplex communication channel, the transceiver of the auxiliary multiplex are additionally introduced communication channel, data converter and device programming, the input-output of which is connected to the first input-output of the microprocessor, the second input-output of which is connected to the first input-output of the converter of the auxiliary multiplex information exchange channel, the second input-output of which is connected to the first input-output of the transceiver of the auxiliary multiplex information exchange channel the second input-output of which is the input-output of the auxiliary multiplex channel of the information exchange of the bi-pulse information transmission device the error correction code Manchester II, the input of the terminal device address generator is the input of the Manchester II bi-pulse code information transmission device, and the output is connected to the first input of the multiplex communication channel controller, the second and third inputs of which are connected respectively to the outputs of the first and second multiplex channel converters information exchange, the first inputs of which are connected respectively with the first outputs of the first and second transceivers of the multiplex channel ala information exchange, the second outputs of which are connected respectively to the second inputs of the second and first converters of the multiplexed information exchange channel, and the inputs are connected respectively to the first and second outputs of the controller of the multiplexed information exchange channels, the second inputs and outputs of the first and second galvanic isolation transformers are connected respectively to the first the inputs and outputs of the first and second devices for matching the multiplex channel of information exchange, the second inputs and outputs which are, respectively, the outputs of the first and second outputs multiplexed traffic channels biimpulsnym code information transfer device Manchester II error correction, the buffer generator, generator control commands and data converter connected with the inner manifold interface information exchange.
RU2014150594/08A 2014-12-12 2014-12-12 METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR RU2566336C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2014150594/08A RU2566336C1 (en) 2014-12-12 2014-12-12 METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2014150594/08A RU2566336C1 (en) 2014-12-12 2014-12-12 METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR

Publications (1)

Publication Number Publication Date
RU2566336C1 true RU2566336C1 (en) 2015-10-20

Family

ID=54327710

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2014150594/08A RU2566336C1 (en) 2014-12-12 2014-12-12 METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR

Country Status (1)

Country Link
RU (1) RU2566336C1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2712647C1 (en) * 2019-01-21 2020-01-30 Российская Федерация, от имени которой выступает Государственная корпорация по атомной энергии "Росатом" (Госкорпорация "Росатом") Receiving channel of manchester signal with automatic adjustment for communication line length (versions)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1149263A1 (en) * 1982-12-09 1985-04-07 Киевский Ордена Трудового Красного Знамени Завод Электронных Вычислительных И Управляющих Машин Device for detecting and correcting errors
US4744086A (en) * 1985-06-05 1988-05-10 Etablissement Public De Diffusion Dit Telediffusion De France Process for the transmission in blocks of digital information words with error correction capability
SU1591189A1 (en) * 1988-03-10 1990-09-07 Penzenskij Polt Inst Signal decoder
US5903581A (en) * 1995-05-30 1999-05-11 Imazu; Ryuzo Method of detecting and correcting transmission error of digital signals
RU2163400C1 (en) * 2000-07-31 2001-02-20 Демченко Олег Федорович Universal hybrid method for single error correction in data transmission using binary-pulse manchester ii code
RU2163728C1 (en) * 2000-02-29 2001-02-27 Общество с ограниченной ответственностью "Авионика-Вист" Data exchange multiplex channel adapter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SU1149263A1 (en) * 1982-12-09 1985-04-07 Киевский Ордена Трудового Красного Знамени Завод Электронных Вычислительных И Управляющих Машин Device for detecting and correcting errors
US4744086A (en) * 1985-06-05 1988-05-10 Etablissement Public De Diffusion Dit Telediffusion De France Process for the transmission in blocks of digital information words with error correction capability
SU1591189A1 (en) * 1988-03-10 1990-09-07 Penzenskij Polt Inst Signal decoder
US5903581A (en) * 1995-05-30 1999-05-11 Imazu; Ryuzo Method of detecting and correcting transmission error of digital signals
RU2163728C1 (en) * 2000-02-29 2001-02-27 Общество с ограниченной ответственностью "Авионика-Вист" Data exchange multiplex channel adapter
RU2163400C1 (en) * 2000-07-31 2001-02-20 Демченко Олег Федорович Universal hybrid method for single error correction in data transmission using binary-pulse manchester ii code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2712647C1 (en) * 2019-01-21 2020-01-30 Российская Федерация, от имени которой выступает Государственная корпорация по атомной энергии "Росатом" (Госкорпорация "Росатом") Receiving channel of manchester signal with automatic adjustment for communication line length (versions)

Similar Documents

Publication Publication Date Title
EP2460086B1 (en) Device identifier selection
KR102094878B1 (en) Semiconductor Memory Apparatus and Operating Method Thereof
US9294300B2 (en) Token based communication in daisy chain configured battery management devices
KR101711698B1 (en) Method for processing data, and data processing apparatus
US8667185B2 (en) Method and device for communication between a master and a number of slaves according to a serial communication protocol, in particular of the open drain type
US11321492B2 (en) Hardware secure element, related processing system, integrated circuit, device and method
CN105786736A (en) Method, chip and device for multi-chip cascading
US9934120B2 (en) Method and apparatus for updating a system on chip (SOC) image from a host computer system without using DMA
CN107293330B (en) Method and system for performing simulation verification on Random Access Memory (RAM)
RU2566336C1 (en) METHOD OF CORRECTING ERRORS WHEN TRANSMITTING INFORMATION VIA Manchester-II DOUBLE-PULSE CODE AND DEVICE THEREFOR
EP3404573B1 (en) Hardware secure element, related processing system, integrated circuit and device
EP2942714B1 (en) Monitoring method, monitoring apparatus, and electronic device
US20130136135A1 (en) Method and Device for Securing Data Packets to be Transmitted via an Interface
US20160055890A1 (en) Semiconductor device, battery monitoring system, and address setting method of semiconductor device
KR20170142398A (en) Apparatus and Method thereof Gateway
CN112882989A (en) Protocol processing system and protocol data processing method
CN102545953A (en) UART (Universal Asynchronous Receiver/Transmitter) function extension circuit and control method thereof
US10566998B2 (en) Data conversion apparatus
CN106549728A (en) A kind of data receiver method and device
CN106528392A (en) Aurora protocol-based B3G (beyond third generation) testing tool
CN114303106A (en) Transmission of diagnostic and/or parametric data between a control module and an input/output module
RU72772U1 (en) MAIN CONTROLLER MODULE OF THE SERIAL INTERFACE
JP2016146605A (en) On-vehicle communication device
CN103973581A (en) Method, device and system for processing message data
US20190222355A1 (en) Method, Sensor, and Controller for Transmitting a Data Packet from a Sensor to a Controller