1. Technical Field
The disclosure relates to power source circuits and, particularly, to a power source selection circuit and an electronic device using the circuit.
2. Description of Related Art
Nowadays, electronic devices (e.g., mobile phones and media players) are supplied with power from an external power source or a built-in battery. The external power source can be an AC/DC adapter which converts power from a wall outlet, or an interface (e.g., a USB interface) of another electronic device. If an electronic device receives power from the external power source and the built-in battery, it's better for the electronic device to select external power source to decrease the number of times the battery is charged and discharged.
A typical power source auto-switch device can switch between the built-in battery and the external power source for drawing power. However, the power source auto-switch device selects the built-in battery or the external power source according to the voltage of the built-in battery or the external power source, if the voltage of the built-in battery is higher than the external power source, the power source auto-switch device selects the built-in battery.
Therefore, a power source selection circuit capable of automatically selecting a power source is desired to overcome the above-described deficiencies.
The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the power source selection circuit. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will now be described in detail below, with reference to the accompanying drawings.
Referring to
The power source selection circuit 10 further includes a selection switch 103, a first unidirectional switch 104, and a second unidirectional switch 105. The selection switch 103 includes a control terminal 1031, a first path terminal 1032, and a second path terminal 1033. The control terminal 1031 is connected to the external power port 102 and the first path terminal 1032 is connected to the battery compartment 101. The first unidirectional switch 104 is used to connect the second path terminal 1033 to the output terminal 40, and is used for guiding the power from the battery module 20 to the output terminal 40. The second unidirectional switch 105 is used to connect the external power port 102 to the output terminal 40 and is used for guiding the power from the external power source 30 to the output terminal 40. In the embodiment, the selection switch 103 is turned on when the voltage of the control terminal 1031 is low and is turned off when the voltage of the control terminal 1031 is high.
The power source selection circuit 10 selects the battery module 20 to power the electronic device via the output terminal 40 when only the battery module 20 is present, and the external power port 102 is not connected to the external power source 30. When the external power port 102 is connected to the external power source 30, the voltage of the control terminal 1031 becomes high, which causes the selection switch 103 to be turned off. Therefore, the electrical connection between the battery compartment 101 and the output terminal 40 is cut off, and the power source selection circuit 10 selects the external power source 30 to power the electronic device via the second unidirectional switch 105 and the output terminal 40.
Referring to
The selection switch 103 is a p-channel metal-oxide-semiconductor field-effect transistor (PMOSFET) Q1. A gate (not labeled), a source (not labeled), and a drain (not labeled) of the PMOSFET Q1 constitute the control terminal 1031, the first path terminal 1032, and the second path terminal 1033 of the selection switch 103, respectively. The gate of the PMOSFET Q1 is connected to the anode of the external power port 102, the source of the PMOSFET Q1 is connected to the anode of the battery compartment 101, and the drain of the PMOSFET Q1 is connected to the anode of the diode D1.
If only the battery module 20 is present, the voltage of the gate of the PMOSFET Q1 is low turning on the PMOSFET Q1, thus the battery module 20 can provide power to the electronic device via the PMOSFET Q1, the diode D1, and the output terminal 40. When the USB power port is connected to the USB power source 30, the voltage of the gate of the Q1 becomes high, and the PMOSFET Q1 is thus turned off. Therefore, the electrical connection between the battery compartment 101 and the output terminal 40 is cut off, and the USB power source 30 provides power to the electronic device via the diode D2 and the output terminal 40.
The power source selection circuit 10 also includes resistors R1 and R2, which are taken as matched loads to match current output by the output terminal 40.
While various embodiments have been described and illustrated, the disclosure is not to be constructed as being limited thereto. Various modifications can be made to the embodiments by those skilled in the art without departing from the true spirit and scope of the disclosure as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
200910308733.0 | Oct 2009 | CN | national |