This application claims the priority benefit of China application serial No. 201410598937.3, filed on Oct. 30, 2014. The entirety of the above-mentioned patent application is hereby incorporated by references herein and made a part of specification.
Field of the Invention
The disclosure relates to an electronic device and, more particularly, to an electronic device with a power protection.
Description of the Related Art
In general, a variety of transport interfaces are disposed at consumer electronic devices for connecting to an external device for transferring data and charging.
When the external device is plugged in/out a transfer port of the electronic device, inrush current caused by a transient voltage change is generated on the transfer port of the electronic device and thus damage the electronic device permanently.
An electronic device includes a transfer port, a first switch, a first detecting unit, a second detecting unit and a triggering unit. The transfer port provides a driving voltage to an external device. The first switch is coupled between the transfer port and a supply power source, and the first switch is selectively turned off according to at least one of a first control signal and a second control signal. The first detecting unit generates the first control signal when a voltage drop of a driving voltage exceeds than a threshold voltage. The second detecting unit detects the driving voltage to generate a sampling voltage, and the second control signal is generated when the sampling voltage is lower than a first reference voltage.
A power protection method applied to an electronic device including a transfer port is provided. The transfer port provides a driving voltage to an external device. The electronic device includes a first switch. The first switch is coupled between the transfer port and a supply power source. The power protection method includes: detecting the driving voltage via a capacitor and generating a first control signal when a voltage drop of the driving voltage is greater than a threshold voltage; generating a sampling voltage by that the voltage division circuit divides the driving voltage, and generating a second control signal when the sampling voltage is lower than a first reference voltage; and turning off the first switch according to at least one of the first control signal and the second control signal.
In sum, the electronic device can provide a power protection when an external device is plugged in/out the transfer port. As a result, the reliability and safety of an internal core circuit of the electronic device are improved.
These and other features, aspects and advantages of the disclosure will become better understood with regard to the following embodiments and accompanying drawings.
As shown in
The transfer port 110 is used to provide a driving voltage VD to an external device. In an embodiment, the transfer port 110 is a bus, such as a universal serial bus (USB), micro USB, which is not limited herein. The core circuit 170 includes a processor and/or a control chip of the system, which is not limited herein.
As shown in
The first switch SW1 is coupled between the transfer port 110 and a supply power source VIN, and the first switch is selectively turned on or off according to the control of the triggering unit 140 and the current limiting unit 160.
For example, in the normal operation, the current limiting unit 160 detects a current flowing through the first switch SW1 to determine a switching period of the first switch SW1 to achieve a current-limiting protection. When the external device is plugged in/out the transfer port 110, the triggering unit 140 generates the protection signal VP according to at least one of the first control signal VC1 and the second control signal VC2 to turn off the first switch SW1. As a result, it can avoid that the too large inrush current generated by the driving voltage VD due to the plug in/out to burn the core circuit 170 of the electronic device 100.
The function and operation of the electronic device 100 will become better understood with regard to the following embodiments, and the disclosure is not limited thereto.
In the embodiment, a first terminal of the resistor R1 receives a system voltage VCC, and a second terminal of the resistor R1 is coupled to an input terminal of the comparator 122 to generate a bias voltage V1. A first terminal of the capacitor C receives the driving voltage VD, and a second terminal of the capacitor C is coupled to the second terminal of the resistor R1 to receive the bias voltage V1. In other embodiments, the bias voltage V1 can be provided by an external supply power source directly.
Consequently, due to the characteristic of the capacitor C, the capacitor C can make the voltage drop instantaneously generated by the driving voltage VD to response rapidly in the bias voltage. The comparator 122 compares a reference voltage VREF2 with the bias voltage V1 to generate the first control signal VC1.
In other words, the threshold voltage is a difference between the reference voltage VREF2 and the bias voltage V1, that is |VREF2−V1|. The comparator 122 generates the first control signal VC1 when the voltage drop of the driving voltage VD exceeds the threshold voltage |VREF2−V1|, wherein the voltage drop is instantaneously generated due to the plug in/out of the external device.
Furthermore, as shown in
The comparator 134 compares the sampling voltage VS with the reference voltage VREF1 to generate the second control signal VC2 when the sampling voltage VS is lower than the reference voltage VREF1.
Please refer to
The OR gate 142 receives the first control signal VC1 and the second control signal VC2 and transmits a triggering signal VT accordingly. That means, the OR gate 142 generates the triggering signal VT to the one-shot timer 144 when the voltage drop of the driving voltage VD instantaneously generated exceeds the threshold voltage due to the plug in/out of the external device or when the sampling voltage VS is lower than the reference voltage VREF1.
The one-shot timer 144 generates a protection signal VP with preset pulse width time T1 according to the triggering signal VT to turn off the first switch SW1. As a result, it can avoid that the core circuit 170 burns by the inrush current generated due to the plug in/out of the external device.
In detail, the first detecting unit 120 utilizes the characteristic of the capacitor circuits (that is the capacitor C1 or the capacitor circuits including capacitors connected in serial and parallel) to detect the change of the driving voltage VD. The second detecting unit 130 utilizes the resistor circuits (that is the voltage division circuit 132 or the resistor circuits including resistors in serial and parallel) to detect the change of the driving voltage VD. Consequently, the first detecting unit 120 includes shorter time for responding to the change of the driving voltage VD than the second detecting unit 130. The driving voltage VD may change in different speed when an external device is plugged in/out the transfer port 110, consequently, a power protection to the core circuit 170 can be achieved by the first detecting unit 120 and the second detecting unit 130 with different response time.
Please refer to
The second switch SW2 is coupled to the one-shot timer 144, and the second switch SW2 is selectively turned on according to the first switching signal VS1 to transmit the protection signal VP to a control terminal of the first switch SW1. The third switch SW3 is coupled to the one-shot timer 144, and third switch SW3 is selectively turned on according to the second switching signal VS2 to transmit the protection signal VP to the soft starting unit 150. The soft starting unit 150 can generate the soft starting signal VST according to the protection signal VP. As a result, after the first switch SW1 is turned off via the protection signal VP, the soft starting unit 150 can turn on the first switch SW1 again to reconnect the supply power source VIN and the transfer port 110. The operation is illustrated in details hereafter.
In step S301, the electronic device 100 determines that the driving voltage VD of the transfer port 110 changes due to the plug in/out of the external device.
In step S302, the first detecting unit 120 detects whether the voltage drop of the driving voltage VD exceeds the threshold voltage via the capacitor C, if the voltage drop of the driving voltage VD is greater than the threshold voltage, the first detecting unit 120 outputs the first control signal VC1.
In step S303, the second detecting unit 130 generates the sampling voltage VS via the voltage division circuit 132, and whether the sampling voltage VS is lower than the reference voltage VREF1 is determined. When the sampling voltage VS is lower than the reference voltage VREF1, the detecting unit 130 outputs the second control signal VC2.
In step S304, the triggering unit 140 generates the protection signal VP with the preset pulse width time T1 according to the first control signal VC1 or the second control signal VC2, thus, the switch SW1 is selectively turned off according to at least one of the first control signal VC1 and the second control signal VC2.
In step S305, the switch control circuit 146 generates the first switching signal VS1 according to the protection signal VP to make the second switch SW2 continuously conducted within the preset pulse width time T1.
In step S306, the protection signal VP is transmitted to the control terminal of the first switch SW1 via the second switch SW2 to switch the first switch SW1 to be turned off within the preset pulse width time T1.
In step S307, the second switch SW2 is switched to be turned off, at the time, the switch control circuit 146 further generates the second switching signal VS2 according to the protection signal VP to switch the third switch SW3 to be turn on within the preset pulse width time T1, as a result, the protection signal VP generated by the triggering unit 140 is inputted to the soft starting unit 150 via the switch SW3.
In step S308, the soft starting unit 150 generates the soft starting signal VST according to the protection signal VP to reconduct the first switch SW1.
Through the above the operations, the electronic device 100 can avoid the internal core circuit 170 burns due to the inrush current when the external device is plugged in/out the transfer port, and the first switch SW1 is conducted again via the soft starting unit 150 to reconnect the transfer port 110 and the supply power source VIN to ensure normal operation of the system.
Please refer to
The waveforms shown in dotted lines in
As shown in
As shown in
Although the disclosure has been disclosed with reference to certain preferred embodiments thereof, the disclosure is not for limiting the scope. Persons having ordinary skill in the art may make various modifications and changes without departing from the spirit and the scope of the disclosure. Therefore, the scope of the appended claims should not be limited to the description of the preferred embodiments described above.
Number | Date | Country | Kind |
---|---|---|---|
2014 1 0598937 | Oct 2014 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
7064532 | Suzuki | Jun 2006 | B1 |
7239532 | Hsu | Jul 2007 | B1 |
7826190 | Wu | Nov 2010 | B2 |
8018699 | Smith et al. | Sep 2011 | B2 |
8427802 | Yoshizawa | Apr 2013 | B2 |
20010028571 | Hanada | Oct 2001 | A1 |
20080186644 | Migliavacca | Aug 2008 | A1 |
20080304294 | Hsiao | Dec 2008 | A1 |
20090268355 | Wang | Oct 2009 | A1 |
20100091420 | Tsai | Apr 2010 | A1 |
20100284116 | Yoshizawa | Nov 2010 | A1 |
20110317322 | Chien | Dec 2011 | A1 |
20130038213 | Son | Feb 2013 | A1 |
20130200863 | Hung | Aug 2013 | A1 |
20130294118 | So | Nov 2013 | A1 |
20140071714 | Li | Mar 2014 | A1 |
Number | Date | Country |
---|---|---|
101217252 | Jul 2008 | CN |
103187710 | Jul 2013 | CN |
103390877 | Nov 2013 | CN |
Number | Date | Country | |
---|---|---|---|
20160126721 A1 | May 2016 | US |