{"title":"Uart-Usb转换器串行数据通信的可靠性","authors":"Nikola Cakić, A. Zigic, Srđan Milosavljević","doi":"10.5937/zeint32-41677","DOIUrl":null,"url":null,"abstract":"During the design of the device that is based on a central microcontroller for measurements and an additional computer for graphical presentation and storage of measurement results, it often happens that there are not enough available USB ports. Therefore the need for using particular serial converters arises. This paper presents the results of reliability testing of serial UART-USB communication using UM232R converter. The development environment Tiva TM4C1294XL microcontroller Launchpad sends temperature measurement results using UART communication to UM232R converter which is connected to ROCK PI 4 single board computer via USB interface. The user application is based on Java programming language and jSerialComm library. The communication is tested using packets of 100, 1 000 i 10 000 arrays of 50 characters. Time intervals used for tests are 10mS, 100mS, 500mS, and 1s. Each test is repeated 10 times to improve test validity. The average data loss is 50%, while the proposed algorithm reduced the loss up to 30%.","PeriodicalId":31629,"journal":{"name":"Zbornik Radova Elektrotehnicki Institut Nikola Tesla","volume":"72 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"The reliability of serial data communication using Uart-Usb converter\",\"authors\":\"Nikola Cakić, A. Zigic, Srđan Milosavljević\",\"doi\":\"10.5937/zeint32-41677\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"During the design of the device that is based on a central microcontroller for measurements and an additional computer for graphical presentation and storage of measurement results, it often happens that there are not enough available USB ports. Therefore the need for using particular serial converters arises. This paper presents the results of reliability testing of serial UART-USB communication using UM232R converter. The development environment Tiva TM4C1294XL microcontroller Launchpad sends temperature measurement results using UART communication to UM232R converter which is connected to ROCK PI 4 single board computer via USB interface. The user application is based on Java programming language and jSerialComm library. The communication is tested using packets of 100, 1 000 i 10 000 arrays of 50 characters. Time intervals used for tests are 10mS, 100mS, 500mS, and 1s. Each test is repeated 10 times to improve test validity. The average data loss is 50%, while the proposed algorithm reduced the loss up to 30%.\",\"PeriodicalId\":31629,\"journal\":{\"name\":\"Zbornik Radova Elektrotehnicki Institut Nikola Tesla\",\"volume\":\"72 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-01-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Zbornik Radova Elektrotehnicki Institut Nikola Tesla\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.5937/zeint32-41677\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Zbornik Radova Elektrotehnicki Institut Nikola Tesla","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5937/zeint32-41677","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
在基于中央微控制器进行测量和另一台计算机进行图形显示和测量结果存储的设备的设计过程中,经常发生没有足够的可用USB端口的情况。因此,需要使用特定的串行转换器。本文介绍了使用UM232R转换器进行串行UART-USB通信可靠性测试的结果。开发环境Tiva TM4C1294XL微控制器Launchpad通过UART通信将温度测量结果发送到UM232R转换器,UM232R转换器通过USB接口连接到ROCK PI 4单板计算机。用户应用程序基于Java编程语言和jSerialComm库。使用100、1 000或10 000个50个字符数组的数据包进行通信测试。用于测试的时间间隔为10mS、100mS、500mS和1s。每个测试重复10次,以提高测试效度。平均数据丢失率为50%,而该算法可将数据丢失率降低30%。
The reliability of serial data communication using Uart-Usb converter
During the design of the device that is based on a central microcontroller for measurements and an additional computer for graphical presentation and storage of measurement results, it often happens that there are not enough available USB ports. Therefore the need for using particular serial converters arises. This paper presents the results of reliability testing of serial UART-USB communication using UM232R converter. The development environment Tiva TM4C1294XL microcontroller Launchpad sends temperature measurement results using UART communication to UM232R converter which is connected to ROCK PI 4 single board computer via USB interface. The user application is based on Java programming language and jSerialComm library. The communication is tested using packets of 100, 1 000 i 10 000 arrays of 50 characters. Time intervals used for tests are 10mS, 100mS, 500mS, and 1s. Each test is repeated 10 times to improve test validity. The average data loss is 50%, while the proposed algorithm reduced the loss up to 30%.