Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури

ATmega series AVR microcontrollers (e.g., ATmega8A or ATmega16A) and ARM microcontrollers with a Cortex M3 core (e.g., STM32F103С8T6) are among the most popular controllers used in solving engineering problems related to servicing various fire and security alarm sensors and devices for metering hous...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Datum:2022
Hauptverfasser: Sadchenko, Andrey, Kushnirenko, Oleg, Kushnirenko, Nataliia, Sadchenko, Olha, Troyanskiy, Alexander
Format: Artikel
Sprache:Ukrainian
Veröffentlicht: PE "Politekhperiodika", Book and Journal Publishers 2022
Schlagworte:
Online Zugang:https://www.tkea.com.ua/index.php/journal/article/view/TKEA2022.4-6.17
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Назва журналу:Technology and design in electronic equipment

Institution

Technology and design in electronic equipment
id oai:tkea.com.ua:article-49
record_format ojs
spelling oai:tkea.com.ua:article-492025-08-11T09:09:07Z Implementation of Manchester codec for information transmission systems based on AVR and ARM architecture microcontrollers Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури Sadchenko, Andrey Kushnirenko, Oleg Kushnirenko, Nataliia Sadchenko, Olha Troyanskiy, Alexander optical network modem Manchester encoding hardware codec UART microcontroller AVR ARM оптична мережа модем манчестерське кодування апаратний кодек UART мікроконтролер архітектура AVR, ARM ATmega series AVR microcontrollers (e.g., ATmega8A or ATmega16A) and ARM microcontrollers with a Cortex M3 core (e.g., STM32F103С8T6) are among the most popular controllers used in solving engineering problems related to servicing various fire and security alarm sensors and devices for metering household and industrial power consumption. At the same time, to transfer the data via a twisted pair or AC voltage network, it needs to be encoded using Manchester 1 or Manchester 2 code, and said AVR and ARM microcontroller units (MCU) contain no hardware encoder and decoder for the Manchester code.The study aimed at solving the engineering problem of implementing the codec (encoder-decoder) of the Manchester code based on the hardware interfaces of low-performance microcontrollers.The direct implementation of the encoding algorithm with the Manchester code using a purely software-driven approach significantly decreases the information transfer rate. At the same time, among the hardware interfaces of the MCU, there is always a serial universal asynchronous data transceiver (UART). However, the UART data transfer protocol is not generally suitable for Manchester encoding and, therefore, needs to be software adapted.In order to adapt the UART protocol to the conditions of Manchester encoding, the 8N1 mode is selected at the hardware level, which means 8 data bits, 1 stop and 1 start bit. The software implementation of the encoder consists in the fact that out of the total possible volume of 256 code combinations, 16 are selected that satisfy the Manchester 2 code, while the start and stop conditions for data bytes transmitted in a row also satisfy the structure of the Manchester code.To maximize the efficiency of the program code, all code words are stored in the memory of the MCU in such a way that their serial number corresponds to the decimal interpretation of 4 bits of the input data. The decoding of the received data is also performed as efficiently as possible using the decoding table.The implementation of the software and hardware codec of the Manchester code significantly expands the scope of popular AVR and ARM microcontrollers and reduces the cost of the finished product by excluding any additional units that perform the function of encoding and decoding the Manchester code. Запропоновано алгоритм кодування та декодування кодом Манчестер інформації для інфрачервоних, оптичних та провідних каналів зв’язку на основі популярних мікроконтролерів — 8-розрядних сімейства AVR та 32-розрядних сімейства ARM за допомогою апаратного приймача-передавача UART, що працює в асинхронному режимі. Реалізація методу формування префіксного коду Манчестер дозволила досягти швидкості бітового потоку 1 Мбіт/с на мікроконтролерах ATmega16A та 4,5 Мбіт/с на основі STM32F103С8T6. PE "Politekhperiodika", Book and Journal Publishers 2022-12-16 Article Article Peer-reviewed Article application/pdf https://www.tkea.com.ua/index.php/journal/article/view/TKEA2022.4-6.17 10.15222/TKEA2022.4-6.17 Technology and design in electronic equipment; No. 4–6 (2022): Tekhnologiya i konstruirovanie v elektronnoi apparature; 17-24 Технологія та конструювання в електронній апаратурі; № 4–6 (2022): Технология и конструирование в электронной аппаратуре; 17-24 3083-6549 3083-6530 10.15222/TKEA2022.4-6 uk https://www.tkea.com.ua/index.php/journal/article/view/TKEA2022.4-6.17/41 Copyright (c) 2022.12.16 Technology and design in electronic equipment http://creativecommons.org/licenses/by/4.0/
institution Technology and design in electronic equipment
baseUrl_str
datestamp_date 2025-08-11T09:09:07Z
collection OJS
language Ukrainian
topic оптична мережа
модем
манчестерське кодування
апаратний кодек
UART
мікроконтролер
архітектура AVR
ARM
spellingShingle оптична мережа
модем
манчестерське кодування
апаратний кодек
UART
мікроконтролер
архітектура AVR
ARM
Sadchenko, Andrey
Kushnirenko, Oleg
Kushnirenko, Nataliia
Sadchenko, Olha
Troyanskiy, Alexander
Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури
topic_facet optical network
modem
Manchester encoding
hardware codec
UART
microcontroller
AVR
ARM
оптична мережа
модем
манчестерське кодування
апаратний кодек
UART
мікроконтролер
архітектура AVR
ARM
format Article
author Sadchenko, Andrey
Kushnirenko, Oleg
Kushnirenko, Nataliia
Sadchenko, Olha
Troyanskiy, Alexander
author_facet Sadchenko, Andrey
Kushnirenko, Oleg
Kushnirenko, Nataliia
Sadchenko, Olha
Troyanskiy, Alexander
author_sort Sadchenko, Andrey
title Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури
title_short Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури
title_full Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури
title_fullStr Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури
title_full_unstemmed Реалізація кодека Манчестер для систем передавання інформації на основі мікроконтролерів AVR- та ARM-архітектури
title_sort реалізація кодека манчестер для систем передавання інформації на основі мікроконтролерів avr- та arm-архітектури
title_alt Implementation of Manchester codec for information transmission systems based on AVR and ARM architecture microcontrollers
description ATmega series AVR microcontrollers (e.g., ATmega8A or ATmega16A) and ARM microcontrollers with a Cortex M3 core (e.g., STM32F103С8T6) are among the most popular controllers used in solving engineering problems related to servicing various fire and security alarm sensors and devices for metering household and industrial power consumption. At the same time, to transfer the data via a twisted pair or AC voltage network, it needs to be encoded using Manchester 1 or Manchester 2 code, and said AVR and ARM microcontroller units (MCU) contain no hardware encoder and decoder for the Manchester code.The study aimed at solving the engineering problem of implementing the codec (encoder-decoder) of the Manchester code based on the hardware interfaces of low-performance microcontrollers.The direct implementation of the encoding algorithm with the Manchester code using a purely software-driven approach significantly decreases the information transfer rate. At the same time, among the hardware interfaces of the MCU, there is always a serial universal asynchronous data transceiver (UART). However, the UART data transfer protocol is not generally suitable for Manchester encoding and, therefore, needs to be software adapted.In order to adapt the UART protocol to the conditions of Manchester encoding, the 8N1 mode is selected at the hardware level, which means 8 data bits, 1 stop and 1 start bit. The software implementation of the encoder consists in the fact that out of the total possible volume of 256 code combinations, 16 are selected that satisfy the Manchester 2 code, while the start and stop conditions for data bytes transmitted in a row also satisfy the structure of the Manchester code.To maximize the efficiency of the program code, all code words are stored in the memory of the MCU in such a way that their serial number corresponds to the decimal interpretation of 4 bits of the input data. The decoding of the received data is also performed as efficiently as possible using the decoding table.The implementation of the software and hardware codec of the Manchester code significantly expands the scope of popular AVR and ARM microcontrollers and reduces the cost of the finished product by excluding any additional units that perform the function of encoding and decoding the Manchester code.
publisher PE "Politekhperiodika", Book and Journal Publishers
publishDate 2022
url https://www.tkea.com.ua/index.php/journal/article/view/TKEA2022.4-6.17
work_keys_str_mv AT sadchenkoandrey implementationofmanchestercodecforinformationtransmissionsystemsbasedonavrandarmarchitecturemicrocontrollers
AT kushnirenkooleg implementationofmanchestercodecforinformationtransmissionsystemsbasedonavrandarmarchitecturemicrocontrollers
AT kushnirenkonataliia implementationofmanchestercodecforinformationtransmissionsystemsbasedonavrandarmarchitecturemicrocontrollers
AT sadchenkoolha implementationofmanchestercodecforinformationtransmissionsystemsbasedonavrandarmarchitecturemicrocontrollers
AT troyanskiyalexander implementationofmanchestercodecforinformationtransmissionsystemsbasedonavrandarmarchitecturemicrocontrollers
AT sadchenkoandrey realízacíâkodekamančesterdlâsistemperedavannâínformacíínaosnovímíkrokontrolerívavrtaarmarhítekturi
AT kushnirenkooleg realízacíâkodekamančesterdlâsistemperedavannâínformacíínaosnovímíkrokontrolerívavrtaarmarhítekturi
AT kushnirenkonataliia realízacíâkodekamančesterdlâsistemperedavannâínformacíínaosnovímíkrokontrolerívavrtaarmarhítekturi
AT sadchenkoolha realízacíâkodekamančesterdlâsistemperedavannâínformacíínaosnovímíkrokontrolerívavrtaarmarhítekturi
AT troyanskiyalexander realízacíâkodekamančesterdlâsistemperedavannâínformacíínaosnovímíkrokontrolerívavrtaarmarhítekturi
first_indexed 2025-09-24T17:30:18Z
last_indexed 2025-09-24T17:30:18Z
_version_ 1850410202256375808