基于FPGA的PWM波产生及应用研究

张志勇, 赵廷怡, 辛楠

电脑与电信 ›› 2025, Vol. 1 ›› Issue (7) : 22-28.

电脑与电信 ›› 2025, Vol. 1 ›› Issue (7) : 22-28.
应用技术与研究

基于FPGA的PWM波产生及应用研究

  • 张志勇, 赵廷怡, 辛楠
作者信息 +

Research on PWM Wave Generation and Application Based on FPGA

  • ZHANG Zhi-yong, ZHAO Ting-yi, XIN Nan
Author information +
文章历史 +

摘要

现有方法产生的PWM波的频率、占空比等参数在调节灵活性方面存在局限,难以满足实际电路对精度和灵活度的需求。为解决这一问题,提出一种基于现场可编程门阵列(FPGA)的参数化、模块化的新型PWM波设计方案,该方案在FPGA内部引入计数器,通过参数软控制实现PWM波的占空比和频率的高精度可调,并在FPGA内部引入了延迟触发器和逻辑运算,从而实现对死区时间的配置。以PWM波控制Buck电路为实例,用FPGA实时采集输出电流参数,通过比较器比较生成反馈信号,FPGA根据反馈信号状态调整PWM波占空比,实现了对Buck拓扑输出电流的闭环控制。经Quartus软件仿真验证及实际电路测试,可实现频率可调范围为1 Hz~50 MHz,频率为50 KHz时其步进精度为5 Hz;占空比可调范围为0%~100%,频率为50 KHz时其步进精度为0.1%;死区时间最小达20 ns,其步进进度为20 ns;Buck恒流电路纹波系数为1.8%。

Abstract

The parameters of the PWM wave generated by the existing methods, such as frequency and duty cycle, have limitations in terms of adjustment flexibility, making it difficult to meet the requirements of actual circuits for accuracy and flexibility. To address this issue, this paper proposes a new parameterized and modular PWM wave design scheme based on Field Programmable Gate Array (FPGA). This scheme introduces a counter inside the FPGA and achieves high-precision adjustable duty cycle and frequency of the PWM wave through parameter soft control. Moreover, it introduces delay triggers and logic operations inside the FPGA to configure the dead time. Take the PWM wave control of the Buck circuit for example, the FPGA collects the output current parameters in real time, generates feedback signals through a comparator, and adjusts the duty cycle of the PWM wave according to the feedback signal status, thereby achieving closed-loop control of the output current of the Buck topology. Through simulation verification by Quartus software and actual circuit testing, it can be achieved that the adjustable frequency range is 1 Hz to 50 MHz, with a step precision of 5 Hz at a frequency of 50 KHz; the adjustable duty cycle range is 0% to 100%, with a step precision of 0.1% at a frequency of 50 KHz; the minimum dead time is 20 ns, with a step progress of 20 ns; and the ripple coefficient of the Buck constant current circuit is 1.8%.

关键词

FPGA / PWM波 / 参数化设计 / Buck电路 / 恒流输出

Key words

FPGA / PWM wave / parametric design / Buck circuit / constant current output

引用本文

导出引用
张志勇, 赵廷怡, 辛楠. 基于FPGA的PWM波产生及应用研究[J]. 电脑与电信. 2025, 1(7): 22-28
ZHANG Zhi-yong, ZHAO Ting-yi, XIN Nan. Research on PWM Wave Generation and Application Based on FPGA[J]. Computer & Telecommunication. 2025, 1(7): 22-28
中图分类号: TN791   

参考文献

[1] 周国华,赵泓博,毛桂华,等.开关变换器调制技术的分类与综述[J].中国电机工程学报,2018,38(21):6383-6400+6501.
[2] 倪云峰,夏军,周攀亮.基于TL494控制的同步整流BUCK恒流源的设计[J].电子器件,2015,38(02):300-305.
[3] 孙伟,黄大庆,闫亚辉.基于FPGA的多通道PWM控制器设计[J].苏州科技学院学报(工程技术版),2009,22(4):72-76.
[4] 曹阳,凌志斌,马勤冬,等.基于FPGA的载波移相PWM发生器设计[J].电气传动,2014,44(7):19-23.
[5] 任青颖,庹忠曜,黄洵桢,等.基于FPGA的便携式PWM方波信号发生器[J].大学物理实验,2024,37(4):108-114.
[6] 刘银川,高文雷,陈银杏,等.一种高效率高压开关电源设计与实现[J].电源技术,2021,45(1):115-118.
[7] 刘卫东,张碧川.基于FPGA的Boost拓扑恒流输出控制设计[J].电脑与电信,2024(7):37-41+47.
[8] 夏愉乐,樊金宇.基于IR2110的打印机高频逆变器的设计与实现[J].电子产品世界,2022,29(3):47-50+68.
[9] 洪怡雯,陈伯文,戴东峰,等.同步整流BUCK型DC-DC稳压开关电源设计[J].现代电子技术,2022,45(4):94-100.
[10] 华伟.通信开关电源的五种PWM反馈控制模式研究[J].通信电源技术,2001(2):8-12+16.

基金

山西师范大学2025年大学生创新创业训练计划项目,项目编号:2025DCXM-100

Accesses

Citation

Detail

段落导航
相关文章

/