This paper proposes an efficient adaptive strategy to control virtual inertia of virtual synchronous generators. This adaptive virtual inertia can provide low frequency oscillation damping and simultaneously improve primary frequency control in power systems.