With large-scale development of offshore wind power and the increasing scale of power grid interconnection, more and more attention has been drawn to the stable operation of wind power units. When the wide area measurement system (WAMS) is applied to the power system, the time delay mainly occurs in the signal measurement and transmission of the power system. When 10MW wind turbines transmit information through complex communication network, time delay often exists, which leads to the degradation of performance and instability for system. This affects the normal operation of a wind farm. Therefore, in this paper, the distributed control problem of doubly fed wind turbines with input time delay is studied based on the Hamiltonian energy theory. Firstly, the Port-controlled Hamiltonian system with Dissipation (PCH-D) model is implemented with the Hamiltonian energy method. Then, the Casimir function is introduced into the PCH-D model of the single wind turbine system to stabilize the time delay. The wind turbine group is regarded as one network and the distributed control strategy is designed, so that the whole wind turbine cluster can remain stable given a time delay occurring in the range of 30-300 ms. Finally, simulation results show that the output power of the wind turbine cluster with input delay converges to the expected value rapidly and remains stable. Additionally, the system error caused by time delay is greatly reduced. This control method can effectively solve the problem of input time delay and improve the stability of the wind turbine cluster. Moreover, the method proposed in this paper can adopt the conventional time step of dynamic simulation, which is more efficient in calculation. This method has adaptability in transient stability analysis of large-scale power system, however, the third-order mathematical model used in this paper cannot be used to analyze the internal dynamics of the whole power converter.