欢迎访问中国科学院大学学报,今天是

中国科学院大学学报

• • 上一篇    下一篇

面向工控MCU的超越函数单元设计*

宋敏特1,2, 刘楠2, 茹占强2, 殷志珍2, 丁朋2, 王争光1,2, 程素珍1,2, 宋贺伦2†   

  1. 1 中国科学技术大学 纳米技术与纳米仿生学院,合肥 230026;
    2 中国科学院 苏州纳米技术与纳米仿生研究所,江苏苏州 215123
  • 收稿日期:2022-12-06 修回日期:2023-02-09 发布日期:2023-03-21
  • 通讯作者: E-mail:hlsong2008@sinano.ac.cn
  • 基金资助:
    *纳米真空互联试验站(2018-000052-73-01-000356)和江苏省“六大人才高峰”高层次人才项目(XYDXX-211)资助

Industrial MCU oriented transcendental function unit design

SONG Minte1,2, LIU Nan2, RU Zhanqiang2, YIN Zhizhen2, DING Peng2, WANG Zhengguang1,2, CHENG Suzhen1,2, SONG Helun2   

  1. 1 School of Nano-Tech and Nano-Bionics, University of Science and Technology of China, Hefei 230026, China;
    2 Suzhou Institute of Nano-tech and Nano-bionics, Chinese Academy of Sciences, Suzhou 215123, Jiangsu China
  • Received:2022-12-06 Revised:2023-02-09 Published:2023-03-21

摘要: 超越函数的计算是工业控制算法中的必要步骤之一。随着工业控制系统复杂度的提升,通过软件逼近算法计算超越函数会占用大量的CPU周期,压缩实时控制算法的计算资源,降低闭环控制的精度。工控MCU架构中搭载算法硬件加速器单元成为解决此矛盾的首选方案。本文设计了一种基于数字迭代算法的多线程、高性能、可配置的超越函数的硬件单元,支持正余弦、反正切、求模长、指数和对数的计算,可配置4~24bit定点小数精度。该设计使用SMIC 40nm eflash平台的标准单元库进行综合,最终实现了200MHz的时钟频率,面积为301,074um2

关键词: 超越函数, 加速器, 控制算法

Abstract: The calculation of transcendental functions is one of the necessary steps in industrial control algorithms. As the complexity of industrial control systems increases, calculating the transcendental function by software approximation algorithm takes up a large number of CPU cycles, compressing the computational resources of real-time control algorithms and reducing the accuracy of closed-loop control. Equipped with hardware accelerating unit in industrial MCU architecture becomes the preferred solution to solve this contradiction. In this paper, a multi-threaded, high-performance, configurable transcendental function unit (TFU) based on digital iterative algorithms was designed, which supports trigonometric function, exponential and logarithmic calculations. The design was synthesized by standard cell library of SMIC 40nm-eflash platform, resulting in a clock frequency of 200MHz and an area of 301,074um2.

Key words: transcendental function, accelerator, control algorithms

中图分类号: