本文以Buck(降压型)DC-DC变换器为例,提出了对数字PWM的PID控制器的两种修正方式:死区控制方式,平均数字滤波控制方式。数字控制器根据输出电压误差决定是否用该修正方式计算下一个占空比。对系统的测试说明经过修正的PID控制buck型 DC-DC变换器可以同时得到稳定精确的稳态响应和快速的瞬态响应。 关键词:数字PID控制, 死区控制, 平均数字滤波 【Abstract】With a design example based on a buck DC-DC converter presented, the paper gives out two modifications to the digital PID controller for PWM: a dead zone and an averaging digital filter. The digital controller monitors the output voltage error to determine if a modification should be employed to calculate the next duty cycle. Experimental result from the system indicates that a stable and accurate steady-state response can be obtained while maintaining a good and quick transient response. Keywords: digital PID controller, a dead zone, an averaging digital filter