1. Technical Field
The present disclosure relates to an electronic device using the protection circuit.
2. Description of Related Art
Electronic devices, such as smart phones, typically have a charging socket to charge the device. The charging socket is connected to a charging plug of a charger, and power from a power source is transmitted to the electronic device via the charger. The charging socket includes a charging pin and a ground pin. The charging pin and the ground pin may be short-circuited when the charging plug is disconnected from the charging socket. Once the charging pin and the ground pin are short-circuited, a battery of the electronic device, the charging pin and the ground pin cooperatively form a closed circuit. As a result, the battery outputs a higher short circuit current to ground via the charging pin and the ground pin, instantaneously pulling down the power supplied to the electronic device from the battery. Accordingly, a working performance of the electronic device can become unstable.
Therefore, what is needed is an electronic device that can overcome the described limitations.
The FIGURE is a circuit diagram illustrating one embodiment of an electronic device charged by a power supply device.
Reference will now be made to the drawings to describe embodiments of the present disclosure.
In the FIGURE, to express electrical connections between electronic components clearly, broken lines are used to designate plug connections between a charging socket 10 of an electronic device 1 and a charging plug 20 of a power supply device 2, and solid lines are used to designate electrical connections between electrical components of the electronic device 1.
The FIGURE is a circuit diagram illustrating the electronic device 1 being charged by the power supply device 2. The power supply device 2 includes the charging plug 20. The charging plug 20 includes an output pin 201 and a connection pin 203.
The electronic device 1 includes a charging socket 10, a load 50, and a power supply unit 18 connected between the charging socket 10 and the load 50. The charging socket 10 is detachably connected to the charging plug 20, and receives power from the power supply device 2. The power supply unit 18 receives the power from the power supply device 2 via the charging socket 10, stores the power, and outputs the power to the load 50. The charging socket 10 can be a universal serial bus (USB) interface or a Mini USB interface, and the charging plug 20 is a USB plug or a Mini USB interface.
The power supply unit 18 includes a protection circuit 19, a power management unit 30, and a battery 40. The protection circuit 19 is connected to the charging socket 10. The power management unit 30 is connected between the protection circuit 19 and the battery 40.
The protection circuit 19 controls whether the battery 40 is electrically connected to the charging socket 10 via the power management unit 30, based on a connection state between the charging socket 10 and the charging plug 20. The power management unit 30 receives the power from the power supply device 2 via the protection circuit, and outputs the received power to the battery 40. The battery 40 receives the power from the power management unit 30, stores the power, and outputs the power to the load 50. The load 50 operates based on the power.
The charging socket 10 includes an opening 101, a charging pin 11, a ground pin 12, a detection pin 13, and a power pin 14. The charging pin 11, the ground pin 12, the detection pin 13, and the power pin 14 are exposed from the opening 101. The ground pin 12 is connected to ground. In the embodiment, the charging pin 11 can be arranged closer to the opening 101 than the detection pin 13.
The protection circuit 19 includes a controller 21, a sensing end 22, a power input VCC, a first resistor R1, a second resistor R2, and a capacitor C. The controller 21 includes a switch T. The switch T includes a control end g, a first conductive end d, and a second conductive end s. The switch T can be a transistor. The transistor can be a positive channel metal oxide semiconductor (PMOS). Correspondingly, the control end g is a gate electrode of the transistor, the first conductive end d is a drain electrode of the transistor, and the second conductive end s is a source electrode of the transistor.
The first conductive end d is connected to the charging pin 11. The second conductive end s is connected to the power management unit 30. The control end g is connected to ground via the second resistor R2. The control end g and the second resistor R2 cooperatively define a first node N1 therebetween. The sensing end 22 is connected to the detection pin 13, and is further connected to the first node N1 via the capacitor C. The sensing end 22 and the capacitor C cooperatively define a second node N2 therebetween. The power input VCC is connected to the second node N2 via the first resistor R1. The power input VCC receives a first voltage. The first voltage can be about 5 volts (V) from the battery 40.
The power management unit 30 includes an input 31, a ground end 32, and an output 33. The input 31 is connected to the second conductive end s. The ground end 32 is connected to ground. The output 33 is connected to the battery 40.
When the power supply device 2 charges the electronic device 1, the detection pin 13 and the power pin 14 are connected to the connection pin 203. Accordingly, the detection pin 13 is connected to ground via the connection pin 203 and the power pin 14. That is, a second voltage applied to the sensing end 22 equals about 0 V. The switch T is switched on based on the second voltage applied on the sensing end 22. Correspondingly, the controller 21 controls the battery 40 electrically connecting to the power supply device 2 via the power management unit 30. The power supply device 2 supplies the power to the battery 40 via the output pin 201, the charging pin 11, the switch T switched on, and the power management unit 30. Accordingly, the electronic device 1 is charging by the power supply device 2.
During a process of disconnecting the charging plug 20 from the charging socket 10, the detection pin 13 is disconnected from the power pin 14 before the charging pin 11 is disconnected from the charging plug 20. The second voltage applied to the sensing end 22 is suddenly changed from about 0 V to the first voltage applied to the power input VCC. Accordingly, the first voltage is applied to the control end g via the capacitor C. The switch T is switched off. The battery 40 cannot output a current to the charging socket 10 via the power management unit 30 and the controller 21, even though the charging pin 11 and the ground pin 12 are short-circuited.
Because the protection circuit 19 ensures the battery 40 does not output the current to the charging socket 10 based on the second voltage applied to the sensing end 22, and although the charging pin 11 and the ground pin 12 are short-circuited during the process of disconnecting the charging plug 20 from the charging socket 10, the working performance of the electronic device 1 is stable.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the present disclosure or sacrificing all of its material advantages.
Number | Date | Country | Kind |
---|---|---|---|
2013101918571 | May 2013 | CN | national |