Patent ID: 8415821

Claim:
An adapter, comprising: a connector for receiving an input voltage; a rectifier capable of rectifying the input voltage into various direct current voltages, the various direct current voltages comprising a predetermined voltage and a desired voltage; a communication unit for generating a communication signal for communicating with an electronic device; a modulating unit for superposing the communication signal to the predetermined direct current voltage to generate a modulation signal; a switching unit for electrically connecting the modulating unit to the electronic device for transmitting the modulation signal to the electronic device, and electrically connecting the rectifier to the electronic device; a control unit connected between the communication unit and the rectifier; and a switching controller connected between the communication unit and the switching unit; wherein the modulating unit is further configured for receiving a desired signal comprising information of the desired voltage from the electronic device, and sending the information of the desired voltage to the communication unit, the communication unit is further configured for generating and sending a control signal including the information of the desired voltage to the control unit, and generating and sending a switching signal to the switching controller, the control unit is configured for controlling the rectifier to rectify the input voltage into the desired voltage according to the control signal, and the switching controller is configured for controlling the switching unit to electrically connect the rectifier to the electronic device.