The working principle of the battery in the electric cabinet