介绍了一种用于不间断电源的数字锁相环,基于PI调节控制,利用PI调节器输出的误差角频率与DSP定时器计数值的对应,产生定时器中断,在调节时加固定角度偏移,完成锁相.Matlab仿真证实了所用锁相环的快速响应与较高鲁棒性.基于TI公司的DSP2 812的锁相环程序,通过样机测试,证实了该方法的可行性.%A realization method of three phases digital phase-locked loop (DPLL) based on PI controller was presented. The method uses the correspondence between PI regulator output errors of the angular frequency and the DSP timer counts, resulting in timer periodic interrupt and adding a fixed angel during the interruption process to achieve the purpose of phase - locked. Both the simulation and the prototype testing based on DSP2812 prove the scheme is robust and feasible.
展开▼