Text this: Damping Formation Mechanism and Damping Injection of Virtual Synchronous Generator Based on Generalized Hamiltonian Theory