MUHAMMAD BUDI SATRIA YONDA
Telkom University

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

A Custom RISC-V Instruction for SVPWM Acceleration on FPGA Softcore MUHAMMAD BUDI SATRIA YONDA; RIZKI ARDIANTO PRIRAMADHI; JUNARTHO HALOMOAN
ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, & Teknik Elektronika Vol 14, No 4: Published November 2026
Publisher : Institut Teknologi Nasional, Bandung

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.26760/elkomika.v14i4.553

Abstract

Space Vector Pulse-Width Modulation (SVPWM) is a key computation in three-phase motor control executed every switching period. On RISC-V softcore processors, software SVPWM consumes a large fraction of available execution time, and standard extensions such as RV32IM and Zbb are insufficient to resolve this constraint. This paper proposes cf_svpwm, a custom RISC-V instruction integrating all SVPWM kernel stages — inverse Clarke transform, min/max normalization, offset computation, and duty-cycle scaling — into a single atomic hardware operation. A read-latch mode stores all three duty-cycles in hardware latches accessed via cf_read_u/v/w instructions. Evaluated on NEORV32 processor at 50 MHz (Intel Cyclone V FPGA) with 27,823 test vectors, cf_svpwm achieves 17.8× speedup over the RV32I baseline (445→25 cycles, 8.90→0.50 μs), reducing control-period utilization from 17.80% to 1.00% at 20 kHz. Maximum quantization error remains within 1 LSB at 74.72 MHz Fmax.