Synchronization of Sampling in a Distributed Audio Frequency Range Data Acquisition System Utilizing Microcontrollers

András Wiesner, T. Kovácsházy
{"title":"Synchronization of Sampling in a Distributed Audio Frequency Range Data Acquisition System Utilizing Microcontrollers","authors":"András Wiesner, T. Kovácsházy","doi":"10.1109/ISPCS55791.2022.9918455","DOIUrl":null,"url":null,"abstract":"Modern distributed audio and video acquisition and processing systems utilize in-band (non-dedicated) network clock and frequency synchronization among nodes to guarantee in phase and in frequency sampling in the system, for example, AVB uses IEEE 802.1AS and Dante specifies IEEE 1588 for network clock synchronization. Synchronizing the hardware clocks of the network interfaces of the nodes of the distributed system is not sufficient in this case as the sampling process itself must be synchronized in frequency and in phase for most of the applications. For this, we need to synchronize the sampling process of A/D and D/A converters to the hardware clock of the network interface (cascade synchronization), which is typically done by tuning dedicated phase-locked loop (PLL) chips to produce the required in-frequency and in-phase clock for the converters. Unfortunately, these PLL chips are expensive, typically they are more expensive then the Microcontroller (MCU) and A/D and D/A chips implementing the system. Therefore, it is reasonable to investigate if it is possible to implement this in system synchronization function utilizing only the built-in peripherals of the MCU, and if it is possible, investigate the achieved performance in detail. In the paper, we present our prototype audio frequency data acquisition system, we introduce the inner algorithms of its synchronization solution utilizing only MCU built-in functions, and investigate the achieved performance. The system uses our open-source flexptp IEEE 1588 implementation (https://github.com/epagris/flexPTP), which is ported to the STM42H743 Cortex-M7 MCU and extended in functionality for this prototype.","PeriodicalId":376823,"journal":{"name":"2022 IEEE International Symposium on Precision Clock Synchronization for Measurement, Control, and Communication (ISPCS)","volume":"69 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-10-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE International Symposium on Precision Clock Synchronization for Measurement, Control, and Communication (ISPCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ISPCS55791.2022.9918455","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Modern distributed audio and video acquisition and processing systems utilize in-band (non-dedicated) network clock and frequency synchronization among nodes to guarantee in phase and in frequency sampling in the system, for example, AVB uses IEEE 802.1AS and Dante specifies IEEE 1588 for network clock synchronization. Synchronizing the hardware clocks of the network interfaces of the nodes of the distributed system is not sufficient in this case as the sampling process itself must be synchronized in frequency and in phase for most of the applications. For this, we need to synchronize the sampling process of A/D and D/A converters to the hardware clock of the network interface (cascade synchronization), which is typically done by tuning dedicated phase-locked loop (PLL) chips to produce the required in-frequency and in-phase clock for the converters. Unfortunately, these PLL chips are expensive, typically they are more expensive then the Microcontroller (MCU) and A/D and D/A chips implementing the system. Therefore, it is reasonable to investigate if it is possible to implement this in system synchronization function utilizing only the built-in peripherals of the MCU, and if it is possible, investigate the achieved performance in detail. In the paper, we present our prototype audio frequency data acquisition system, we introduce the inner algorithms of its synchronization solution utilizing only MCU built-in functions, and investigate the achieved performance. The system uses our open-source flexptp IEEE 1588 implementation (https://github.com/epagris/flexPTP), which is ported to the STM42H743 Cortex-M7 MCU and extended in functionality for this prototype.
基于单片机的分布式音频数据采集系统采样同步
现代分布式音视频采集和处理系统利用带内(非专用)节点间的网络时钟和频率同步来保证系统的同相和同频采样,例如,AVB使用IEEE 802.1AS, Dante指定IEEE 1588进行网络时钟同步。在这种情况下,同步分布式系统节点网络接口的硬件时钟是不够的,因为对于大多数应用程序来说,采样过程本身必须在频率和相位上同步。为此,我们需要将A/D和D/A转换器的采样过程同步到网络接口的硬件时钟(级联同步),这通常通过调谐专用锁相环(PLL)芯片来完成,以产生转换器所需的频内和相内时钟。不幸的是,这些锁相环芯片很昂贵,通常它们比实现系统的微控制器(MCU)和A/D和D/A芯片更昂贵。因此,有必要研究是否有可能仅利用单片机的内置外设来实现系统同步功能,如果可能的话,详细研究所实现的性能。本文介绍了音频数据采集系统的原型,介绍了其同步方案的内部算法,并对其实现的性能进行了研究。该系统使用我们的开源flexptp IEEE 1588实现(https://github.com/epagris/flexPTP),该实现被移植到STM42H743 Cortex-M7 MCU上,并为该原型扩展了功能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信