For conventional digital power-factor correction (PFC) control methods, the duty cycle is calculated in every switching period. One main implementation barrier for the digital control of PFC is the limited switching frequency due to the limited processor speed. A new digital PFC control method is proposed to solve this problem. Based on the input current and duty cycles of the previous half-line periods, the new digital PFC control method uses an optimization algorithm to generate all of the duty cycles in advance, which are required to achieve PFC for one half-line period. Total harmonic distortion, which is directly related to the power factor, is adopted as the objective function. The proposed new digital PFC control strategy overcomes the problem of limited switching frequency due to a limited digital signal processor (DSP) speed. The proposed algorithm can be implemented by a low-cost DSP. Simulation results show that unity power factor is achieved using the proposed method.