Abstract:
A charging device, a method for controlling a charging device, and a method for detecting a peripheral device are provided. The charging device comprises: a charging gun; a power module; and a controlling module coupled with the charging gun and the power module, wherein the controlling module is configured to determine whether the charging gun is connected with a peripheral device to be charged, and if yes, to control the power module to convert AC electricity to DC electricity to charge the peripheral device. A method for controlling a charging device is also provided. The method comprises: determining whether the charging gun is connected with a peripheral device; and if yes, controlling the power module to convert AC electricity to DC electricity to charge the peripheral device if the charging gun is determined to be connected to the peripheral device.