Recently, Distributed Energy Resources (DERs) are becoming more attractive to supply local loads under the concept of microgrids. These new parts of the power system have basically different dynamics compared with conventional power plants. Most of them are connected to the grid by power electronic interfaces, and their dynamic is determined by their controller. In this paper, the effect of the increased penetration of DERs on the load frequency problem of power systems is studied. The DERs of microgrids in each area are controlled to change their active power at Point of Common Coupling (PCC) after a disturbance in the power system. It is shown that with appropriate control of DERs in microgrids, the frequency deviation of the power system will decrease and the stability margin can be increased.