论文部分内容阅读
在数字控制系统中,脉宽调制控制方式多数由下面三种方法来实现。现就对这三种方法的控制精度和分辨率进行分析。一、CTC定时控制方式: 图1 CTC定时控制方式用CTC定时器来控制输出脉冲的宽度(即占空比)和输出脉冲的频率,如图1,在程序初始化时,先设定CTC1通道的时问常数为PWM的工作周期(常取为1/2000=5×10~(-
In the digital control system, most of the pulse width modulation control methods are achieved by the following three methods. Now on the three methods of control accuracy and resolution analysis. First, the CTC timing control mode: Figure 1 CTC timing control method CTC timer to control the width of the output pulse (ie, duty cycle) and the output pulse frequency, shown in Figure 1, the program initialization, first set CTC1 channel When asked the constant for the PWM duty cycle (often taken as 1/2000 = 5 × 10 ~ (-