Zynq SoC上互补滤波器的软硬件设计空间探索

Yakup Hüner, M. G. Gayretli, R. Yeniceri
{"title":"Zynq SoC上互补滤波器的软硬件设计空间探索","authors":"Yakup Hüner, M. G. Gayretli, R. Yeniceri","doi":"10.1109/ICEEE52452.2021.9415940","DOIUrl":null,"url":null,"abstract":"In this paper, a Complementary Filter (CF) for pitch and roll angle estimation based on linear acceleration and angular rate measurements is designed and implemented on a Xilinx Zynq System-on-Chip (SoC) device. The CF is modelled in Simulink. Its C code and HDL code is generated by the Embedded Coder and the HDL coder, respectively. Filter input and output interface is constituted by a Hardware Abstraction Layer (HAL) which is manually designed and implemented on the Processing Logic (PL) of the SoC. The performance analysis of hardware/software (HW/SW) implementations of the CF is presented aiming realtime operation. The results of dual-core ARM Cortex-A9 Processing System (PS) running the stock PetaLinux kernel is presented with different task priority conditions, CPU loads, and sleep policies. The real-time performance of Linux based designs are compared with the baremetal SW implementation and absolute HW implementation. The timing is conducted on both SW and HW sides in the designs utilizing the PS. Hence, the data transfer overhead between HW and SW is also revealed. A simple adaptive task sleep approach utilizing PL based counter is proposed for CPU utilization efficiency.","PeriodicalId":429645,"journal":{"name":"2021 8th International Conference on Electrical and Electronics Engineering (ICEEE)","volume":"28 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-04-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"HW/SW Design Space Exploration of A Complementary Filter on Zynq SoC\",\"authors\":\"Yakup Hüner, M. G. Gayretli, R. Yeniceri\",\"doi\":\"10.1109/ICEEE52452.2021.9415940\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, a Complementary Filter (CF) for pitch and roll angle estimation based on linear acceleration and angular rate measurements is designed and implemented on a Xilinx Zynq System-on-Chip (SoC) device. The CF is modelled in Simulink. Its C code and HDL code is generated by the Embedded Coder and the HDL coder, respectively. Filter input and output interface is constituted by a Hardware Abstraction Layer (HAL) which is manually designed and implemented on the Processing Logic (PL) of the SoC. The performance analysis of hardware/software (HW/SW) implementations of the CF is presented aiming realtime operation. The results of dual-core ARM Cortex-A9 Processing System (PS) running the stock PetaLinux kernel is presented with different task priority conditions, CPU loads, and sleep policies. The real-time performance of Linux based designs are compared with the baremetal SW implementation and absolute HW implementation. The timing is conducted on both SW and HW sides in the designs utilizing the PS. Hence, the data transfer overhead between HW and SW is also revealed. A simple adaptive task sleep approach utilizing PL based counter is proposed for CPU utilization efficiency.\",\"PeriodicalId\":429645,\"journal\":{\"name\":\"2021 8th International Conference on Electrical and Electronics Engineering (ICEEE)\",\"volume\":\"28 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-04-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 8th International Conference on Electrical and Electronics Engineering (ICEEE)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICEEE52452.2021.9415940\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 8th International Conference on Electrical and Electronics Engineering (ICEEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEEE52452.2021.9415940","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本文在Xilinx Zynq系统芯片(SoC)器件上设计并实现了一种基于线性加速度和角速率测量的俯仰角和滚转角估计互补滤波器(CF)。在Simulink中对CF进行了建模。其C代码和HDL代码分别由嵌入式编码器和HDL编码器生成。滤波器输入输出接口由硬件抽象层(Hardware Abstraction Layer, HAL)组成,HAL是在SoC的处理逻辑(Processing Logic, PL)上手工设计和实现的。以实时运行为目标,对CF的硬件/软件实现进行了性能分析。给出了在不同任务优先级条件、CPU负载和睡眠策略下,运行现有PetaLinux内核的双核ARM Cortex-A9处理系统(PS)的测试结果。将基于Linux的设计的实时性与裸机软件实现和绝对硬件实现进行了比较。在利用PS的设计中,定时是在软件和硬件两方面进行的。因此,硬件和软件之间的数据传输开销也被揭示出来。为了提高CPU利用率,提出了一种简单的基于PL的自适应任务休眠方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
HW/SW Design Space Exploration of A Complementary Filter on Zynq SoC
In this paper, a Complementary Filter (CF) for pitch and roll angle estimation based on linear acceleration and angular rate measurements is designed and implemented on a Xilinx Zynq System-on-Chip (SoC) device. The CF is modelled in Simulink. Its C code and HDL code is generated by the Embedded Coder and the HDL coder, respectively. Filter input and output interface is constituted by a Hardware Abstraction Layer (HAL) which is manually designed and implemented on the Processing Logic (PL) of the SoC. The performance analysis of hardware/software (HW/SW) implementations of the CF is presented aiming realtime operation. The results of dual-core ARM Cortex-A9 Processing System (PS) running the stock PetaLinux kernel is presented with different task priority conditions, CPU loads, and sleep policies. The real-time performance of Linux based designs are compared with the baremetal SW implementation and absolute HW implementation. The timing is conducted on both SW and HW sides in the designs utilizing the PS. Hence, the data transfer overhead between HW and SW is also revealed. A simple adaptive task sleep approach utilizing PL based counter is proposed for CPU utilization efficiency.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信