摘要
脉冲宽度调制(PWM)是由一系列占空比不同的矩形脉冲构成,由微处理器的输出来控制,实现模拟正弦信号电路的产生。介绍了一种基于脉宽调制的正弦信号发生器的设计方案。该设计方案以STC89C51为核心,利用定时器设置,通过I/O口产生PWM波形,通过键盘电路的输入控制来实现对PWM波形的调节,并通过LED显示波形的参数。
Pulse width modulation(PWM) is composed of a series of rectangular pulse with different duty cycle, which is controlled by the output of the microprocessor to realize the generation of analog sinusoidal signal circuit. This paper introduces the design of a sinusoidal signal generator based on PWM. This design scheme takes STC89 C51 as the core, uses the time-setting device, generates the PWM waveform through the I/O port, realizes the PWM waveform adjustment through the input control of the keyboard circuit, and displays the waveform parameters through the LED.
作者
刘绍正
英自才
刘晓欣
孔碧光
辛立强
普碧才
冯建辉
LIU Shaozheng;YING Zicai;LIU Xiaoxin;KONG Biguang;XIN Liqiang;PU Bicai;FENG Jianhui(Nujiang Power Supply Bureau,Yunnan Power Grid Co.,Ltd.,Nujiang 673200,Yunnan Province,China)
出处
《电力与能源》
2020年第2期176-177,189,共3页
Power & Energy
关键词
脉冲宽度调制
微处理器
正弦波电路发生器
pulse width modulation
microprocessor
sine wave circuit generator