广东工业大学 广东省微纳加工技术与装备重点实验室,广东,广州,510006
衡园(1993–),男,硕士研究生,主要研究方向为FPGA、图像处理,E-mail:2364935619@qq.com
网络首发:2020-05-12,
纸质出版:2020
移动端阅览
衡园, 吴建成, 杨志军. 基于FPGA的控制算法定点化设计[J]. 广东工业大学学报, 2020, 37(3): 55-58.
Heng Yuan, Wu Jian-cheng, Yang Zhi-jun. A Fixed-point Design of Control Algorithm Based on FPGA[J]. 2020, 37(3): 55-58.
衡园, 吴建成, 杨志军. 基于FPGA的控制算法定点化设计[J]. 广东工业大学学报, 2020, 37(3): 55-58. DOI: 10.12052/gdutxb.190089.
Heng Yuan, Wu Jian-cheng, Yang Zhi-jun. A Fixed-point Design of Control Algorithm Based on FPGA[J]. 2020, 37(3): 55-58. DOI: 10.12052/gdutxb.190089.
运动控制算法在现场可编程逻辑门阵列(Field Programmable Gate Array
FPGA)上实现过程中
当数据类型由浮点转定点时
存在无法保证高精度的问题。为此使用simulink中的定点工具(Fixed-Point Tool)对算法内部各信号数据的范围进行分析
然后人为地对Fixed-Point Tool给出的建议位宽进行修正
从而使算法在保证较高精度的同时
也解决了采用统一较长位宽在FPGA上实现时造成的资源浪费问题。与传统的人为定义数据位宽相比
使用Fixed-Point Tool设置数据位宽
在输入数据范围发生变化时
能够更加灵活、动态地调整算法内部数据位宽。
When the motion control algorithm is implemented on the FPGA(Field Programmable Gate Array)
and the data type changed from floating point to fixed point
there is a problem that high precision cannot be guaranteed. To solve this problem
the range of each signal data in the algorithm is analyzed using the Fixed-Point Tool in simulink
and then the suggested bit width given by the Fixed-Point Tool is artificially modified. Therefore
the algorithm can solve the problem of resource waste caused by using a unified longer bit width on the FPGA while ensuring higher precision. Compared with the traditional artificially defined data bit width
the Fixed-Point Tool is used to set the data bit width
and the internal data bit width of the algorithm can be more flexibly and dynamically adjusted when the input data range changes.
邢培栋. 基于模型的控制系统开发验证平台设计[D]. 上海: 上海交通大学, 2014.
TANG Q G, XIA Y W. The problem of converting floating point algorithm into hardware fixed point algorithm [J]. Microcontrollers Embedded Systems, 2005(12): 77-78.
DU G C, SUN H H, YANG Y S. Design and implementation of frequency hopping communication system based on simulink HDL coder [J]. Radio Communications Technology, 2016, 42(5): 96-98.
TANG W M, LIU G X. FPGA fixed point technology of index function CORDIC algorithm [J]. Journal of South China University of Technology (Natural Science Edition), 2016, 44(7): 9-14.
ZHANG T J. A Precision management strategy based on FPGA design [J]. Microcomputer Applications, 2002(4): 208-210.
ZHANG Y B, SHEN Y. The OSEK embedded software development method based on Simulink [J]. Microcontrollers Embedded Systems, 2009(5): 21-24.
张林生. 数字信号处理系统的定点化技术研究[D]. 哈尔滨: 哈尔滨工业大学, 2010.
LUO Q, ZHAO Z H. Aeronautical attitude data acquisition and processing system based on fixed point DSP [J]. Instrument Technique and Sensor, 2012(11): 172-173, 180.
ZHANG H J. HDL Coder and HDL verifier support H-DL code generation and verification [J]. Electronic Design Technology, 2012, 19(5): 20-21.
ZHUGE J G. Automatic generation of HDL code based on matlab fuzzy controller [J]. Electronic Science and Technology, 2012, 25(1): 42-44+47.
LI B Y, XIE Y Z, DU Q, et al . Fast fixed-point simulation verification technology for SAR real-time imaging system [J ] . Journal of Beijing Institute of Technology, 2017, 37(1): 67-70, 76.
崔云娟.基于FPGA浮点运算器的设计及其在雷达中的应用[D].西安: 西安电子科技大学, 2007.
JING Y C, YIN J J, LI Z M. Modeling and verification of Matlab-Simulink model for AGC loop design [J]. Modern Electronic Technology, 2019, 42(6): 83-87.
CAI T G, HUANG M H, LI C X, et al . Design of image acquisition and preprocessing of precise linear encoder based on FPGA [J ] . Journal of Guangdong University of Technology, 2016, 33(3): 60-64.
BERAM, DANESE G, LOTTO I D, et al. A development and simulation environment for a floating point operations FPGA based accelerator[C ] // Euromicro Symposium on Digital Systems Design. Washington, DC, USA: IEEE Computer Society, 2003. DOI: 10.1109/DSD.20031231922 .
CHEN W Y, ZHOU L, LEI W L. FPGA implementation of absolute position sensor based on Simulink [J]. Electronic Science and Technology, 2015, 28(8): 21-2328.
0
浏览量
0
下载量
0
CSCD
关联资源
相关文章
相关作者
相关机构
京公网安备11010802024621