作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2013, Vol. 39 ›› Issue (2): 260-264. doi: 10.3969/j.issn.1000-3428.2013.02.054

• 工程应用技术与实现 • 上一篇    下一篇

基于FPGA的脉冲宽度调制信号发生器

郝建卫   

  1. (桂林电子科技大学信息科技学院电子工程系,广西 桂林 541004)
  • 收稿日期:2012-02-27 修回日期:2012-06-08 出版日期:2013-02-15 发布日期:2013-02-13
  • 作者简介:郝建卫(1956-),男,高级实验师,主研方向:数字信号处理
  • 基金资助:
    桂林电子科技大学信息科技学院与桂林亦元生现代生物技术有限公司合作基金资助项目(桂电W201111)

Pulse Width Modulation Signal Generator Based on FPGA

HAO Jian-wei   

  1. (Department of Electronic Engineering, Institute of Information Technology, Guilin University of Electronic Technology, Guilin 541004, China)
  • Received:2012-02-27 Revised:2012-06-08 Online:2013-02-15 Published:2013-02-13

摘要: 为了产生各种不同形式的脉冲宽度调制(PWM)信号,提出一种基于现场可编程门阵列(FPGA)的脉冲宽度调制信号发生器。采用硬件描述语言Verilog设计底层模块,并在FPGA芯片内部嵌入一个NiosII软核处理器,使用软硬件协同的工作方式产生多路PWM信号。实验结果表明,该信号发生器的频率输出范围为1 Hz~4 MHz,占空比可调范围为1%~99%,任意两路信号间的相位差范围为1°~180°,达到预期效果。

关键词: 脉冲宽度调制, 占空比, NiosII软核, 压控放大器, 相位累加器

Abstract: Aiming at solving problems such as how to generate various Pulse Width Modulation(PWM) signals, a PWM signal generator based on Field Programmable Gate Array(FPGA) is proposed in this paper. It uses Verilog to customize system peripherals, and a NiosII soft-core processor is embedded in the FPGA chip, which enables to generate multi-channel PWM signal through collaborative work of hardware and software. Experimental results show that the output range of its frequency is 1 Hz~ 4 MHz, adjustable range of duty cycle is 1%~99%, and phase range between two signals is 1°~180°, achieving the desired effect.

Key words: Pulse Width Modulation(PWM), duty ratio, NiosII soft core, voltage controlled amplifier, phase accumulator

中图分类号: