YUE Meng-yun, BAI Bing. A DSP Design and Implementation for Motor FOC[J]. Acta Electronica Sinica, 2020, 48(10): 2041-2046. DOI: 10.3969/j.issn.0372-2112.2020.10.023.
本文设计了一种适用于电机矢量控制算法的数字信号处理系统的微架构定义,包括其指令集定义、存储器模型以及与主CPU的交互模式.该设计具有通过固定部分多操作数有效缩减指令编码长度提高代码密度以及后台执行多周期指令提高ALU并行效率的显著优点.文中给出了典型的FOC控制算法在DSP (Digital Signal Processor)指令集上实现的指令周期数,也给出了对应架构的电路实现情况,最终以ARM CORTEX-M0及几款主流DSP作为比较基线,通过实测实验数据证明了体系结构的高能效比,以较为有限的电路面积代价,极大提高了集成DSP的嵌入式系统的运行效率.
Abstract
A fully customized digital signal processor for motor field-oriented control is proposed.The instruction set
memory model and interaction method with main-CPU is discussed.Fixing some of the operands in multi-op instructions allows a reduced instruction encoding length and therefore an economical code size.Background execution improves arithmetic and logic unit(ALU) computation parallelism.In this article
the instruction cycles of typical field-oriented control(FOC) algorithm is shown.The silicon implementation of the proposed digital signal processor (DSP) is provided.Taken the commonly used ARM Cortex-M0 processor and several main-stream DSPs as the comparison baseline
the experiment results demonstrate that the micro architecture and circuit implementation of this DSP is energy-efficient and competitive.This approach improves the processing performance at the cost of limited circuit resource.