POWER SUPPLY APPARATUS

20170264204 · 2017-09-14

    Inventors

    Cpc classification

    International classification

    Abstract

    A power supply apparatus supplies a bus voltage V.sub.BUS to a power receiving apparatus via a cable. A power supply circuit generates the bus voltage VBUS. The bus switch SW is arranged on a path of a bus line extending from the output of the power supply circuit. A power supply side controller is capable of communicating with a power receiving side controller of the power receiving apparatus. The power supply side controller determines the voltage to be supplied, based on a negotiation result. Furthermore, the power supply side controller controls the bus switch SW. When a predetermined state repeatedly occurs in the power supply circuit, a short circuit detection circuit judges that a short-circuit abnormality has occurred.

    Claims

    1. A power supply apparatus structured to supply a bus voltage to a power receiving apparatus via a cable, the power supply apparatus comprising: a power supply circuit structured to generate the bus voltage; a bus switch arranged on a path of a bus line extending from an output of the power supply circuit; a power supply side controller structured to communicate with a power receiving side controller of the power receiving apparatus, to determine a voltage to be supplied based on a negotiation result, and to control the bus switch; and a short circuit detection circuit structured such that, when a predetermined state repeatedly occurs, judgement is made that a short-circuit abnormality has occurred.

    2. The power supply apparatus according to claim 1, wherein the power supply circuit comprises an insulation converter and a primary-side controller, wherein the short circuit detection circuit comprises a first detection circuit built into the primary-side controller, and wherein, when a state in which a current that flows through a switching transistor of the insulation converter exceeds a predetermined threshold value repeatedly occurs a predetermined number of times, the first detection circuit judges that a short-circuit abnormality has occurred.

    3. The power supply apparatus according to claim 1, wherein the power supply circuit comprises an insulation converter and a primary-side controller, wherein the short circuit detection circuit comprises a second detection circuit built into the primary-side controller, and wherein, when a state in which a power supply voltage for the primary-side controller exceeds a predetermined threshold voltage repeatedly occurs a predetermined number of times, the second detection circuit judges that a short-circuit abnormality has occurred.

    4. The power supply apparatus according to claim 1, wherein the power supply circuit comprises an insulation converter and a primary-side controller, wherein the short circuit detection circuit comprises a third detection circuit built into the primary-side controller, and wherein, when a state in which a voltage at a feedback terminal of the primary-side controller becomes a high-level voltage repeatedly occurs a predetermined number of times, the third detection circuit judges that a short-circuit abnormality has occurred.

    5. The power supply apparatus according to claim 1, further comprising a charger circuit structured to switch between an on state and an off state, and to charge the bus line in the on state, and wherein the power supply side controller comprises a fourth detection circuit structured to turn on the charger circuit before the bus switch is turned on, and to judge, based on a voltage at the bus line obtained as a result of this operation, whether or not a short-circuit abnormality has occurred.

    6. The power supply apparatus according to claim 1, which is compatible with the USB-PD specification.

    7. An AC adapter comprising the power supply apparatus according to claim 1.

    8. An electronic device comprising the power supply apparatus according to claim 1.

    9. A primary-side controller for an AC/DC converter of a power supply apparatus, wherein the power supply apparatus comprises: a bus switch arranged on a bus line extending from an output of the AC/DC converter; and a power supply side controller structured to communicate with a power receiving side controller of a power receiving apparatus, to determine a voltage to be supplied based on a negotiation result, and to control the bus switch, wherein the AC/DC converter comprises: a rectifier circuit; a smoothing capacitor; an insulation converter structured to convert a voltage across the smoothing capacitor; a shunt regulator structured to generate a signal that corresponds to a difference between an output voltage of the insulation converter and a target value thereof; and a photocoupler structured to receive an output of the shunt regulator, and to output a feedback signal, and wherein the primary-side controller comprises: a pulse modulator structured to generate a control pulse according to the feedback signal, so as to instruct a switching transistor of the insulation converter to turn on and off; a driver structured to operate the switching transistor according to the control pulse; and a short circuit detection circuit structured such that, when a predetermined state repeatedly occurs in the insulation converter, judgment is made that a short-circuit abnormality has occurred.

    10. The primary-side controller according to claim 9, wherein the short-circuit detection circuit comprises a first detection circuit, and wherein, when a state in which a current that flows through a switching transistor of the insulation converter exceeds a predetermined threshold value repeatedly occurs a predetermined number of times, the first detection circuit judges that a short-circuit abnormality has occurred.

    11. The primary-side controller according to claim 9, wherein the short-circuit detection circuit comprises a second detection circuit, and wherein, when a state in which a power supply voltage for the primary-side controller exceeds a predetermined threshold voltage repeatedly occurs a predetermined number of times, the second detection circuit judges that a short-circuit abnormality has occurred.

    12. The primary-side controller according to claim 9, wherein the short-circuit detection circuit comprises a third detection circuit, and wherein, when a state in which a voltage at a feedback terminal of the primary-side controller becomes a high-level voltage repeatedly occurs a predetermined number of times, the third detection circuit judges that a short-circuit abnormality has occurred.

    13. The primary-side controller according to claim 9, further comprising a charger circuit structured to switch between an on state and an off state, and to charge the bus line in the on state, and wherein the power supply side controller comprises a fourth detection circuit structured to turn on the charger circuit before the bus switch is turned on, and to judge, based on a voltage at the bus line obtained as a result of this operation, whether or not a short-circuit abnormality has occurred.

    14. The primary-side controller according to claim 9, which is compatible with the USB-PD standard.

    15. The primary-side controller according to claim 9, monolithically integrated on a single semiconductor substrate.

    16. A short circuit detection method employed in a power supply apparatus that is compatible with the USB-PD standard, wherein the power supply apparatus comprises a power supply circuit, and wherein the short circuit detection method comprises: asserting a detection signal when the state of the power supply circuit becomes a predetermined state; and judging that a short-circuit abnormality has occurred when assertion of the detection signal repeatedly occurs.

    17. The short circuit detection method according to claim 16, wherein the power supply circuit comprises an insulation converter, and wherein the predetermined state includes a state in which a current that flows through a switching transistor of the insulation converter exceeds a predetermined threshold value.

    18. The short circuit detection method according to claim 16, wherein the power supply circuit comprises an insulation converter, and wherein the predetermined state includes a state in which a power supply voltage for a primary-side controller of the insulation converter exceeds a predetermined threshold voltage.

    19. The short circuit detection method according to claim 16, wherein the power supply circuit comprises an insulation converter, and wherein the predetermined state includes a state in which a voltage at a feedback terminal of a primary-side controller of the insulation converter becomes a high-level voltage.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0048] While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims.

    [0049] Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:

    [0050] FIG. 1 is a block diagram showing a power supply system investigated by the present inventor;

    [0051] FIG. 2 is an operation sequence diagram showing the operation of the power supply system shown in FIG. 1;

    [0052] FIG. 3 is a block diagram showing a power supply system including a power supply apparatus according to an embodiment;

    [0053] FIG. 4 is an operation waveform diagram showing an operation of the power supply apparatus shown in FIG. 3;

    [0054] FIG. 5 is an operation waveform diagram showing an operation of the power supply apparatus shown in FIG. 3;

    [0055] FIG. 6 is a circuit diagram showing an example configuration of the power supply apparatus;

    [0056] FIG. 7 is a circuit diagram showing a first example configuration of a primary-side controller;

    [0057] FIG. 8 is a circuit diagram showing a second example configuration of the primary-side controller;

    [0058] FIG. 9 is a circuit diagram showing a third example configuration of the primary-side controller;

    [0059] FIG. 10 is a diagram showing a power supply apparatus according to a first modification; and

    [0060] FIG. 11A is a diagram showing an AC adapter including the power supply apparatus, and FIGS. 11B and 11C are diagrams each showing an electronic device including the power supply apparatus.

    DETAILED DESCRIPTION OF THE INVENTION

    [0061] The invention will now be described based on preferred embodiments which do not intend to limit the scope of the present invention but exemplify the invention. All of the features and the combinations thereof described in the embodiment are not necessarily essential to the invention.

    [0062] In the present specification, the state represented by the phrase “the member A is coupled to the member B” includes a state in which the member A is indirectly coupled to the member B via another member that does not substantially affect the electric connection therebetween, or that does not damage the functions or effects of the connection therebetween, in addition to a state in which the member A is physically and directly coupled to the member B.

    [0063] Similarly, the state represented by the phrase “the member C is provided between the member A and the member B” includes a state in which the member A is indirectly coupled to the member C, or the member B is indirectly coupled to the member C via another member that does not substantially affect the electric connection therebetween, or that does not damage the functions or effects of the connection therebetween, in addition to a state in which the member A is directly coupled to the member C, or the member B is directly coupled to the member C.

    [0064] FIG. 3 is a block diagram showing a power supply system 100 including a power supply apparatus 200 according to an embodiment. The power supply system 100 includes a power receiving apparatus 300 and a power supply apparatus 200 that supplies a bus voltage V.sub.BUS to the power receiving apparatus 300. The power supply apparatus 200 is built into an adapter 102. The power receiving apparatus 300 is built into an electronic device 400. The electronic device 400 has the same configuration as that shown in FIG. 1. Description will be made assuming that the power supply system 100 according to the present embodiment conforms to the USB-PD specification.

    [0065] The power supply apparatus 200 includes a power supply circuit 202, a bus switch SW1, a power supply side controller 204, and a 5V power supply 206. The 5V power supply 206 generates a USB voltage V.sub.USB of 5 V, which is defined in conventional USB specifications. The power supply circuit 202 generates an output voltage V.sub.OUT that is higher than the voltage V.sub.USB of 5 V. A selector 208 selects one from among the voltage V.sub.USB of 5 V and a voltage V.sub.OUT that is higher than the voltage V.sub.USB. It should be noted that the 5V power supply 206 and the selector 208 may be monolithically integrated together with the power supply circuit 202. In other words, the power supply circuit 202 may have an additional function for generating the voltage V.sub.USB of 5 V. Accordingly, the power supply circuit 202 may be configured as a variable voltage source that is capable of generating a voltage of 5 V and a voltage that is higher than 5 V. The bus switch SW1 is arranged on a path of a bus line 210 that extends from the output of the power supply circuit 202.

    [0066] The power supply side controller 204 is capable of communicating with a power receiving side controller 310 included in the power receiving apparatus 300. With such an arrangement, the voltage to be supplied is determined, and the states of the power supply circuit 202 and the selector 208 are controlled, by negotiation thus performed between them. Moreover, the power supply side controller 204 controls the bus switch SW1.

    [0067] The power supply circuit 202 includes a short circuit detection circuit 212 that judges that a short-circuit abnormality has occurred when a predetermined state repeatedly occurs in the power supply circuit 202. For example, the power supply circuit 202 may be configured as an insulated or otherwise non-insulated DC/DC converter.

    [0068] The above is the configuration of the power supply apparatus 200. Next, description will be made regarding the operation thereof.

    [0069] FIG. 4 is an operation waveform diagram showing the operation of the power supply apparatus 200 shown in FIG. 3. Description will be made below assuming that a short circuit 312 has occurred at a position more toward the load side than bus switch SW2 in the power receiving apparatus 300 shown in FIG. 3. Furthermore, description will be made regarding an arrangement in which the power supply side controller 204 receives a power supply voltage from the 5V power supply 206. Accordingly, the operation of the power supply side controller 204 does not stop even if a short circuit has occurred as described later.

    [0070] When the power supply apparatus 200 and the power receiving apparatus 300 are coupled at the time point to, a voltage is generated at the CC terminal according to a pull-up element of the power supply apparatus 200 side and a pull-down element of the power receiving apparatus 300 side. When the power supply side controller 204 detects the electronic device 400 based on the voltage at the CC terminal, the power supply side controller 204 turns on the bus switch SW1 at the time point t1. The power supply circuit 202 stands by in a state in which an output voltage V.sub.OUT of 12 V is generated.

    [0071] When the bus switch SW1 is turned on, the bus voltage V.sub.BUS of 5 V is supplied to the power receiving apparatus 300. In this stage, the adapter voltage V.sub.ADP is set to 5 V. When the power receiving side controller 310 enters the operable state based on the adapter voltage V.sub.ADP of 5 V, negotiation is started at the time point t2 between the power supply side controller 204 and the power receiving side controller 310. Determination is made based on the negotiation result that the voltage level of the bus voltage V.sub.BUS is to be set to a voltage that is higher than 5 V (for example, to 12 V). At the time point t3, the selector 208 selects the output voltage V.sub.OUT of the power supply circuit 202. As a result, the bus voltage V.sub.BUS is raised, thereby raising the adapter voltage V.sub.ADP. Subsequently, when the bus voltage V.sub.BUS reaches a target voltage (12 V) at the time point t4, the power supply side controller 204 transmits a signal (PS_RDY message) configured as a notice thereof to the power receiving side controller 310. Upon receiving the notice, the power receiving side controller 310 turns on the bus switch SW2 at the time point t4.

    [0072] After the bus switch SW2 is turned on, the adapter voltage V.sub.ADP, the bus voltage V.sub.BUS, and the output voltage V.sub.OUT fall to the vicinity of 0 V due to a short circuit 312. When the adapter voltage V.sub.ADP falls, this leads to an insufficient power supply for the power receiving side controller 310. In this state, the on state of the bus switch SW2 cannot be maintained. As a result, the bus switch SW2 is turned off at the time point t5.

    [0073] After the power receiving side controller 310 is shut down, the power supply side controller 204 detects the power receiving side controller 310 again at the time point t0 based on the voltage at the CC terminal. In this case, the power supply side controller 204 turns on the bus switch SW1 again at the time point to.

    [0074] As described above, if such a short circuit 312 occurs on the power receiving apparatus 300 side, a sequence having a cycle from the time point t0 to the time point t5 is repeatedly performed. Accordingly, directing attention to the power supply circuit 202, the same states occur for every cycle in the power supply circuit 202. Thus, when a cycle of predetermined states repeatedly occurs in the power supply circuit 202, the short circuit detection circuit 212 may detect that a short circuit has occurred on the power receiving apparatus 300 side.

    [0075] For example, when the short circuit detection circuit 212 detects that a predetermined state has occurred in the power supply circuit 202 a predetermined number of times with predetermined intervals, the short circuit detection circuit 212 may judge that a short-circuit abnormality has occurred. Such predetermined intervals may be determined based on the period of an overall operation that is repeatedly performed in the power supply system 100 when a short circuit has occurred. Also, such predetermined intervals may each have a predetermined extent.

    [0076] With the power supply apparatus 200 shown in FIG. 3, the 5V power supply 206 and the selector 208 may be omitted, and the power supply circuit 202 may be configured as a variable voltage source that is capable of generating a voltage of 5 V and a voltage (of 12 V or 20 V) that is higher than 5 V. FIG. 5 is an operation waveform diagram showing an operation of the power supply apparatus 200 including the power supply circuit 202 configured as a variable voltage source. Description will be made assuming that a short circuit 312 has occurred at a position more toward the load side than the bus switch SW2 of the power receiving apparatus 300 shown in FIG. 3.

    [0077] The power supply side controller 204 receives a power supply voltage from the power supply circuit 202. If the output voltage V.sub.OUT of the power supply circuit 202 falls, the power supply side controller 204 is shut down.

    [0078] The power supply apparatus 200 and the power receiving apparatus 300 are coupled at the time point t0. When the power supply side controller 204 detects the electronic device 400 based on the voltage at the CC terminal, the power supply side controller 204 turns on the bus switch SW1 at the time point t1. The power supply circuit 202 stands by in a state in which an output voltage V.sub.OUT of 12 V is generated.

    [0079] When the bus switch SW1 is turned on, the bus voltage V.sub.BUS of 5 V is supplied to the power receiving apparatus 300. In this stage, the adapter voltage V.sub.ADP is set to 5 V. When the power receiving side controller 310 enters the operable state based on the adapter voltage V.sub.ADP of 5 V, negotiation is started between the power supply side controller 204 and the power receiving side controller 310. Determination is made based on the negotiation result that the voltage level of the bus voltage V.sub.BUS is to be set to a voltage that is higher than 5 V (for example, 12 V). At the time point t3, the setting voltage for the power supply circuit 202 is changed to 12 V. As a result, the output voltage V.sub.OUT is raised to 12 V. Accordingly, the bus voltage V.sub.BUS is raised, thereby raising the adapter voltage V.sub.ADP. Subsequently, when the bus voltage V.sub.BUS reaches a target voltage (12 V) at the time point t4, the power supply side controller 204 transmits a signal (PS_RDY message) configured as a notice thereof to the power receiving side controller 310. Upon receiving the notice, the power receiving side controller 310 turns on the bus switch SW2 at the time point t4.

    [0080] After the bus switch SW2 is turned on, the adapter voltage V.sub.ADP, the bus voltage V.sub.BUS, and the output voltage V.sub.OUT fall to the vicinity of 0 V due to a short circuit 312. When the adapter voltage V.sub.ADP falls, this leads to an insufficient power supply for the power receiving side controller 310. In this state, the on state of the bus switch SW2 cannot be maintained. As a result, the bus switch SW2 is turned off at the time point t5. Furthermore, the output voltage V.sub.OUT becomes zero. This means that the power supply for the power supply side controller 204 is lost. Accordingly, the power supply side controller 204 is reset. When the power supply side controller 204 is reset, the pull-up state is released, and accordingly, the voltage at the CC terminal falls to the low level. When the power supply side controller 204 becomes in the operable state after the output voltage V.sub.OUT is restored, the pull-up state is reinstated at the CC terminal on the power supply side. Accordingly, a voltage occurs at the CC terminal according to the pull-up element of the power supply apparatus 200 side and the pull-down element of the power receiving apparatus 300 side.

    [0081] After the power supply side controller 204 and the power receiving side controller 310 are shut down, the power supply side controller 204 detects the power receiving side controller 310 again at the time point t0 based on the voltage at the CC terminal. In this stage, the power supply side controller 204 turns on the bus switch SW1 again at the time point t0.

    [0082] As described above, if such a short circuit 312 occurs on the power receiving apparatus 300 side, a sequence having a cycle from the time point t0 to the time point t5 is repeatedly performed. Accordingly, directing attention to the power supply circuit 202, the same states occur for every cycle in the power supply circuit 202. Thus, when a cycle of predetermined states repeatedly occurs in the power supply circuit 202, the short circuit detection circuit 212 may detect that a short circuit has occurred on the power receiving apparatus 300 side.

    [0083] For example, when the short circuit detection circuit 212 detects that a predetermined state has occurred in the power supply circuit 202 a predetermined number of times with predetermined intervals, the short circuit detection circuit 212 may judge that a short-circuit abnormality has occurred. Such predetermined intervals may be determined based on the period of an overall operation that is repeatedly performed in the power supply system 100 when a short circuit has occurred. Also, such predetermined intervals may each have a predetermined extent.

    [0084] The present invention encompasses various kinds of apparatuses and circuits that can be regarded as a block configuration or a circuit configuration shown in FIG. 3, or otherwise that can be derived from the aforementioned description. That is to say, the present invention is not restricted to a specific circuit configuration. More specific description will be made below regarding an example configuration for clarification and ease of understanding of the essence of the present invention and the circuit operation. That is to say, the following description will by no means be intended to restrict the technical scope of the present invention.

    [0085] FIG. 6 is a circuit diagram showing an example configuration of the power supply apparatus 200. The power supply circuit 202 is configured as an AC/DC converter. The AC voltage V.sub.AC is rectified and smoothed by means of a rectifier circuit 220 and a smoothing capacitor 222, thereby converting the AC voltage V.sub.AC into a DC input voltage V.sub.IN. An insulation converter 224 steps down the DC input voltage V.sub.IN, so as to generate a DC output voltage V.sub.OUT. The insulation converter 224 includes a switching transistor M1, a transformer T1, a rectifier element D1, and a capacitor C1.

    [0086] A primary-side controller 226 stabilizes the output voltage V.sub.OUT to a target value together with a shunt regulator 228 and a photocoupler 230. The shunt regulator 228 generates a current I.sub.ERR that corresponds to a difference between the output voltage V.sub.OUT and its target value V.sub.REF. The photocoupler 230 generates a feedback current I.sub.FB that corresponds to the current I.sub.ERR thus generated on the secondary side. The primary-side controller 226 receives a feedback voltage V.sub.FB that corresponds to the feedback current I.sub.FB, and drives the switching transistor M1 of the insulation converter 224 with a duty ratio that corresponds to the feedback voltage V.sub.FB. A sensing resistor R.sub.S is arranged between the source of the switching transistor M1 and the ground. The primary-side controller 226 detects a current I.sub.M1 that flows through the switching transistor M1, based on a voltage drop (current detection signal) V.sub.CS that occurs at the sensing resistor R.sub.S.

    [0087] Upon detecting the coupling with the power receiving apparatus 300, the power supply side controller 204 turns on the bus switch SW1. The power supply side controller 204 controls the shunt regulator 228 based on the negotiation result, so as to change the target value V.sub.REF of the output voltage V.sub.OUT. Furthermore, when the bus voltage V.sub.BUS having a suitable value is generated after the completion of the negotiation, the power supply side controller 204 transmits a notice signal to the power receiving side controller 310 via the CC line.

    [0088] The transformer T1 of the insulation converter 224 includes an auxiliary winging W3 in addition to a primary winding W1 and a secondary winding W2. The auxiliary winding W3, a diode D3, and a capacitor C3 form an auxiliary converter 232. The auxiliary converter 232 generates a power supply voltage V.sub.CC for the primary-side controller 226.

    [0089] FIG. 7 is a circuit diagram showing a first example configuration (226a) of the primary-side controller 226. The primary-side controller 226a includes a first detection circuit 250 configured as a part of or otherwise all of the components of the short circuit detection circuit 212 shown in FIG. 3, in addition to a pulse modulator (duty controller) 240, a driver 242, and an overcurrent protection (OCP) circuit 244. The pulse modulator 240 generates a pulse signal S.sub.PWM having a duty ratio (or otherwise frequency) that corresponds to the feedback voltage V.sub.FB. The configuration of the pulse modulator 240 is not restricted in particular. The pulse modulator 240 may be configured as a voltage mode modulator or a current mode modulator. In many cases, a current mode pulse modulator is employed in a converter. Such a current mode pulse modulator 240 includes a feedback loop that stabilizes the current detection signal V.sub.CS. The driver 242 drives the switching transistor M1 according to the pulse signal S.sub.PWM.

    [0090] The OCP circuit 244 compares the current detection signal V.sub.CS with a threshold value V.sub.OCP, so as to detect an overcurrent state. Upon detecting such an overcurrent state, the OCP circuit 244 asserts an OCP signal S.sub.OCP (sets to the high level, for example). Immediately after the OCP signal is asserted, the driver 242 turns off the switching transistor M1.

    [0091] When a state in which the current I.sub.M1 that flows through the switching transistor M1 of the insulation converter 224 exceeds a predetermined threshold value I.sub.TH has been repeatedly detected a predetermined number of times, the first detection circuit 250 judges that a short-circuit abnormality has occurred. Specifically, the first detection circuit 250 includes a comparator 252 and a judgment unit 254. The comparator 252 compares the current detection signal V.sub.CS that corresponds to the current I.sub.M1 with a threshold voltage V.sub.TH1 that corresponds to the threshold value I.sub.TH, and generates a comparison signal S.sub.COMP1 that indicates a comparison result. When V.sub.CS>V.sub.TH1, the comparison signal S.sub.COMP1 is asserted (set to the high level, for example).

    [0092] When the comparison signal S.sub.COMP1 is asserted a predetermined number of times with predetermined intervals, the judgment unit 254 asserts (sets to the high level, for example) a short circuit protection signal (SCP1 signal). When the SCP1 signal is asserted, the primary-side controller 226a suspends the driving operation of the switching transistor M1, and latches the operation state of the switching transistor M1. The latched state is maintained until the primary-side controller 226a is reset. Also, the suspension of the switching operation may be automatically released after a predetermined period of time elapses, which is referred to as “automatic restoration protection”. The primary-side controller 226a may notify an external microcomputer or the like of the assertion of the SCP1 signal.

    [0093] Next, description will be made regarding the operation of the primary-side controller 226a shown in FIG. 7. In the waveform diagram shown in FIG. 4, during a period between t4 and t5 in which the bus switch SW2 is turned on, a short circuit occurs at the output of the insulation converter 224. In this stage, the current I.sub.ERR and the feedback current I.sub.FB fall to the vicinity of zero. In this case, the feedback voltage V.sub.FB is increased, which raises the duty ratio of the switching operation of the switching transistor M1 to a maximum value. This increases the peak value of the current I.sub.M1 that flows through the switching transistor M1. Eventually, the peak value of the current I.sub.M1 exceeds the threshold value I.sub.TH, and the comparison signal S.sub.COMP1 is asserted. Such assertion of the comparison signal S.sub.COMP1 occurs for every cycle shown in FIG. 4. Accordingly, a short circuit can be detected based on a detection result in which assertion of the comparison signal S.sub.COMP1 has been repeatedly detected.

    [0094] It should be noted that the threshold current I.sub.TH may be set to the same value as the threshold value designed for the overcurrent protection. In this case, the comparator 252 of the first detection circuit 250 and an internal comparator included in the OCP circuit 244 may be configured as a single shared comparator.

    [0095] FIG. 8 is a circuit diagram showing a second example configuration (226b) of the primary-side controller 226. The primary-side controller 226b includes a second detection circuit 260 configured as a part of or otherwise all of the components of the short circuit detection circuit 212 shown in FIG. 3.

    [0096] When the second detection circuit 260 repeatedly detects a state in which the power supply voltage V.sub.CC for the primary-side controller 226b exceeds a predetermined threshold voltage V.sub.TH2 a predetermined number of times, the second detection circuit 260 judges that a short-circuit abnormality has occurred. The second detection circuit 260 may have the same configuration as that of the first detection circuit 250 shown in FIG. 7. The second detection circuit 260 includes a comparator 262 and a judgment unit 264. The comparator 262 compares the power supply voltage V.sub.CC or otherwise a voltage detection signal that corresponds to the power supply voltage V.sub.CC with the threshold value V.sub.TH2, and generates a comparison signal S.sub.COMP2 that indicates the comparison result. When V.sub.CC>V.sub.TH2, the comparison signal S.sub.COMP2 is asserted (set to the high level, for example).

    [0097] When the comparison signal S.sub.COMP2 is asserted a predetermined number of times with predetermined intervals, the judgment unit 264 asserts (sets to the high level, for example) a short circuit protection signal (SCP2 signal). When the SCP2 signal is asserted, the primary-side controller 226b suspends the driving operation of the switching transistor M1, and latches the operation state of the switching transistor M1.

    [0098] Next, description will be made regarding the operation of the primary-side controller 226b shown in FIG. 8. In the waveform diagram shown in FIG. 4, during a period between the time points t4 and t5 in which the bus switch SW2 is turned on, a short circuit occurs at the output of the insulation converter 224. In this case, the current I.sub.ERR and the feedback current I.sub.FB each fall to the vicinity of zero. This leads to an increase in the feedback voltage V.sub.FB, which raises the duty ratio of the switching operation of the switching transistor M1 to a maximum value. In this case, the current supplied to the capacitor C3 from the auxiliary winding W3 becomes excessively large, leading to an increase in the power supply voltage V.sub.CC, and the comparison signal S.sub.COMP2 is asserted. Such assertion of the comparison signal S.sub.COMP2 occurs for every cycle in FIG. 4. Accordingly, a short circuit may be detected based on a state in which assertion of the comparison signal S.sub.COMP2 has been repeatedly detected.

    [0099] FIG. 9 is a circuit diagram showing a third example configuration (226c) of the primary-side controller 226. The primary-side controller 226c includes a third detection circuit 270 configured as a part of or otherwise all of the components of the short circuit detection circuit 212 shown in FIG. 3.

    [0100] When a state in which the voltage V.sub.FB at the feedback (FB) terminal of the primary-side controller 226c becomes the high-level voltage is repeatedly detected a predetermined number of times, the third detection circuit 270 judges that a short-circuit abnormality has occurred. The third detection circuit 270 may have the same configuration as that of the first detection circuit 250 shown in FIG. 7 or that of the second detection circuit 260 shown in FIG. 8. Specifically, the third detection circuit 270 includes a comparator 272 and a judgement unit 274. The comparator 272 compares the feedback voltage V.sub.FB or otherwise a voltage detection signal that corresponds to the feedback voltage V.sub.FB with a threshold value V.sub.TH3, and generates a comparison signal S.sub.COMP3 that indicates the comparison result. When V.sub.FB>V.sub.TH3, the comparison signal S.sub.COMP3 is asserted (set to the high level, for example).

    [0101] When assertion of the comparison signal S.sub.COMP3 occurs a predetermined number of times with predetermined intervals, the judgment unit 274 asserts (sets to the high level, for example) a short circuit protection signal (SCP3 signal). When the SCP3 signal is asserted, the primary-side controller 226c suspends the driving operation of the switching transistor M1, and latches the operation state of the switching transistor M1.

    [0102] Next, description will be made regarding the operation of the primary-side controller 226c shown in FIG. 9. In the waveform diagram shown in FIG. 4, during a period between the time points t4 and t5 in which the bus switch SW2 is turned on, a short circuit occurs at the output of the insulation converter 224. In this case, the current I.sub.ERR and the feedback current I.sub.FB each fall to the vicinity of zero. In this state, the FB terminal is pulled up to the high-level voltage V.sub.H via the resistor R11, and accordingly, the voltage at the FB terminal becomes larger than the threshold voltage V.sub.TH3, and the comparison signal S.sub.COMP3 is asserted. Such assertion of the comparison signal S.sub.COMP3 occurs for every cycle in FIG. 4. Accordingly, a short circuit may be detected based on a state in which assertion of the comparison signal S.sub.COMP3 has repeatedly occurred.

    [0103] Description has been made above regarding the present invention with reference to the embodiment. The above-described embodiment has been described for exemplary purposes only, and is by no means intended to be interpreted restrictively. Rather, it can be readily conceived by those skilled in this art that various modifications may be made by making various combinations of the aforementioned components or processes, which are also encompassed in the technical scope of the present invention. Description will be made below regarding such modifications.

    First Modification

    [0104] FIG. 10 is a diagram showing a power supply apparatus 200a according to a first modification. The power supply apparatus 200a further comprises a charger circuit 280. The charger circuit 280 is configured to be switchable between the on state and the off state. In the on state, the charger circuit 280 charges the bus line 210. For example, the bus line 210 includes a switch SW3 and a resistor R3 arranged in parallel with the bus switch SW1. The on state of the switch SW3 corresponds to the on state of the charger circuit 280. The charger circuit 280 may be configured as a current source that is switchable between the on state and the off state.

    [0105] A power supply side controller 204a includes a fourth detection circuit 290. The power supply side controller 204a turns on the charger circuit 280 before the bus switch SW1 is turned on. The fourth detection circuit 290 judges the presence or absence of a short-circuit abnormality based on the voltage V.sub.BUS at the bus line 210 obtained as a result of this operation. When such an abnormality has been detected, the fourth detection circuit 290 asserts (sets to the high level, for example) an SCP4 signal. The fourth detection circuit 290 may include a comparator 292 that compares the bus voltage V.sub.BUS with a threshold voltage V.sub.TH4.

    [0106] In a case in which such a short circuit 282 has not occurred at the bus line 210 (or at the USB cable 106), after the charger circuit 280 is turned on, the bus voltage V.sub.BUS rises with time. Eventually, the bus voltage V.sub.BUS exceeds the threshold voltage V.sub.TH4. If such a short circuit 282 has occurred, the bus voltage V.sub.BUS does not rise. Accordingly, the bus voltage V.sub.BUS remains lower than the threshold voltage V.sub.TH4.

    [0107] As described above, by providing such a fourth detection circuit 290, such an arrangement is capable of detecting a short-circuit abnormality that can occur between the bus switch SW1 and the bus switch SW2.

    Second Modification

    [0108] Description has been made in the embodiment regarding an arrangement in which a short circuit is detected based on any one of: (i) repeated detection of an increase in the current I.sub.M1 that flows through the switching transistor M1; (ii) repeated detection of an increase in the power supply voltage V.sub.CC for the power supply side controller 204; and (iii) repeated detection of an increase in the voltage V.sub.FB at the FB terminal of the power supply side controller 204. However, the present invention is not restricted to such an arrangement. For example, a desired combination of two or more circuits from among the first detection circuit 250, the second detection circuit 260, and the third detection circuit 270, shown in FIGS. 7 through 9, may be built into the power supply side controller 204. In this case, the judgment units 254, 264, and 274 may be configured as a single shared judgment unit.

    Third Modification

    [0109] Also, examples of such a predetermined state of the power supply circuit 202 to be used for a short circuit detection condition may include a state in which the power supply circuit 202 is started up, and a state in which the operation of the power supply circuit 202 is stopped, in addition to the states (i) through (iii) described above. Also, in a case in which the power supply circuit 202 is configured as a variable power supply that is capable of generating a voltage of 5 V and a voltage (e.g., 12 V or 25 V) that is higher than 5 V, a short circuit may be detected based on a state in which the output voltage switching is repeatedly performed.

    Fourth Modification

    [0110] Description has been made in the embodiment regarding the power supply apparatus 200 that is compatible with the USB-PD specification. However, the present invention is not restricted to such an arrangement. Rather, the present invention is applicable to other specifications having features similar to those of the USB-PD specification that will be developed in the future.

    [Usage]

    [0111] Lastly, description will be made regarding the usage of the power supply apparatus 200. FIG. 11A is a perspective view of an AC adapter 500 including the power supply apparatus 200. The AC adapter 500 includes a housing 502, a receptacle 504, and the power supply apparatus 200. The power supply circuit 202 of the power supply apparatus 200 is configured as an AC/DC converter.

    [0112] FIG. 11B is a perspective view of an electronic device 600 including the power supply apparatus 200. The electronic device 600 is configured as a device including no built-in battery, as with display apparatuses. The electronic device 600 includes a housing 602, a receptacle 604, and the power supply apparatus 200. The power supply circuit 202 of the power supply apparatus 200 is configured as an AC/DC converter.

    [0113] FIG. 11C is a perspective view of an electronic device 700 including the power supply apparatus 200. The electronic device 700 is configured as a device including a built-in battery, as with laptop PCs or tablet PCs. The electronic device 700 includes a housing 702, a receptacle 704, a battery 706, and the power supply apparatus 200. The power supply circuit 202 of the power supply apparatus 200 is configured as a DC/DC converter that receives a DC voltage V.sub.BAT from the battery 706 or otherwise a DC voltage V.sub.EXT from an external AC adapter 720, and that generates the bus voltage V.sub.BUS.

    [0114] As described above, the power supply apparatus 200 can be mounted on various kinds of electronic devices and AC adapters.

    [0115] While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims.