Switch circuit

11063428 ยท 2021-07-13

Assignee

Inventors

Cpc classification

International classification

Abstract

A switch circuit includes a first switch, a current protection component, a current detection circuit, and a controller. The first switch conducts a primary side coil. The current protection component generates a detection voltage. The current detection circuit outputs a protection voltage. When the detection voltage is not greater than a first threshold, the current detection circuit generates a first voltage corresponding to the detection voltage as the protection voltage. When the detection voltage is greater than the first threshold, the current detection circuit generates a second voltage corresponding to the detection voltage as the protection voltage, where the first voltage is different from the second voltage. The controller is suitable for making the first switch selectively conducting and not conducting. When the protection voltage is greater than a second threshold, the controller does not increase a proportion of a conduction time to a non-conduction time of the first switch.

Claims

1. A switch circuit, suitable for a power device, wherein the power device comprises a primary side coil, and the switch circuit comprises: a first switch, configured to conduct and not conduct the primary side coil; a current protection component, generating, when the first switch conducts the primary side coil, a detection voltage corresponding to a current passing through the first switch; a current detection circuit, connected in parallel to the current protection component and outputting a protection voltage, wherein when the detection voltage is not greater than a first threshold, the current detection circuit generates a first voltage corresponding to the detection voltage as the protection voltage, and when the detection voltage is greater than the first threshold, the current detection circuit generates a second voltage corresponding to the detection voltage as the protection voltage, wherein the first voltage is different from the second voltage; and a controller, configured to control the first switch selectively to conduct or not to conduct, wherein when the protection voltage is greater than a second threshold, the controller does not increase a proportion of a conduction time to a non-conduction time of the first switch; when the detection voltage is not greater than the first threshold, the first voltage generated by the current detection circuit is the detection voltage; wherein the current detection circuit comprises: a first impedance, a second impedance and a second switch sequentially connected in series, one end of the first impedance is electrically connected to a first node connected to the first switch and the current protection component, the other end of the first impedance outputs the protection voltage, the second switch is conducting when the detection voltage is greater than the first threshold, and the second switch is not conducting when the detection voltage is not greater than the first threshold; and a comparison circuit, electrically connected to the current protection component and the second switch, comparing the detection voltage and a reference voltage, and outputting a comparison voltage, wherein the second switch is conducting when the comparison voltage is greater than the first threshold, and the second switch is not conducting when the comparison voltage is not greater than the first threshold.

2. The switch circuit according to claim 1, wherein the first switch and the second switch are semiconductor switches.

3. The switch circuit according to claim 2, wherein the first switch is a field effect transistor and the second switch is a bipolar transistor.

4. The switch circuit according to claim 1, wherein the current protection component is a resistor, a Hall component, or a current transformer.

5. The switch circuit according to claim 1, wherein the controller makes the first switch not conducting when the protection voltage is greater than the second threshold.

6. A switch circuit, suitable for a power device, wherein the power device comprises a primary side coil, and the switch circuit comprises: a first switch, configured to conduct and not conduct the primary side coil; a current protection component, generating, when the first switch conducts the primary side coil, a detection voltage corresponding to a current passing through the first switch; a current detection circuit, connected in parallel to the current protection component and outputting a protection voltage, wherein when the detection voltage is not greater than a first threshold, the current detection circuit generates a first voltage corresponding to the detection voltage as the protection voltage, and when the detection voltage is greater than the first threshold, the current detection circuit generates a second voltage corresponding to the detection voltage as the protection voltage, wherein the first voltage is different from the second voltage; and a controller, configured to control the first switch selectively to conduct or not to conduct, wherein when the protection voltage is greater than a second threshold, the controller does not increase a proportion of a conduction time to a non-conduction time of the first switch; when the detection voltage is not greater than the first threshold, the first voltage generated by the current detection circuit is the detection voltage; wherein the current detection circuit comprises: a first impedance, a second impedance and a second switch sequentially connected in series, one end of the first impedance is electrically connected to a first node connected to the first switch and the current protection component, the other end of the first impedance outputs the protection voltage, the second switch is conducting when the detection voltage is greater than the first threshold, and the second switch is not conducting when the detection voltage is not greater than the first threshold; and a gain circuit, electrically connected to the current protection component and the second switch, wherein the gain circuit alters the detection voltage and outputs a gain voltage, the second switch is conducting when the gain voltage is greater than the first threshold, and the second switch is not conducting when the gain voltage is not greater than the first threshold.

7. The switch circuit according to claim 6, wherein the first switch and the second switch are semiconductor switches.

8. The switch circuit according to claim 7, wherein the first switch is a field effect transistor and the second switch is a bipolar transistor.

9. The switch circuit according to claim 6, wherein the current protection component is a resistor, a Hall component, or a current transformer.

10. The switch circuit according to claim 6, wherein the controller makes the first switch not conducting when the protection voltage is greater than the second threshold.

11. A switch circuit, suitable for a power device, wherein the power device comprises a primary side coil, and the switch circuit comprises: a first switch, configured to conduct and not conduct the primary side coil; a current protection component, generating, when the first switch conducts the primary side coil, a detection voltage corresponding to a current passing through the first switch; a current detection circuit, connected in parallel to the current protection component and outputting a protection voltage, wherein when the detection voltage is not greater than a first threshold, the current detection circuit generates a first voltage corresponding to the detection voltage as the protection voltage, and when the detection voltage is greater than the first threshold, the current detection circuit generates a second voltage corresponding to the detection voltage as the protection voltage, wherein the first voltage is different from the second voltage; and a controller, configured to control the first switch selectively to conduct or not to conduct, wherein when the protection voltage is greater than a second threshold, the controller does not increase a proportion of a conduction time to a non-conduction time of the first switch; wherein the current detection circuit comprises: a first impedance, a second impedance, and a second switch sequentially connected in series, and a third impedance connected in parallel to series-connected the second impedance and the second switch, wherein one end of the first impedance is electrically connected to a first node connecting the first switch with the current protection component, when the detection voltage is greater than the first threshold, the second switch is conducting, and the other end of the first impedance outputs the protection voltage, and when the detection voltage is not greater than the first threshold, the second switch is not conducting, and the other end of the first impedance outputs the protection voltage; wherein the first impedance has a first end and a second end, the first end of the first impedance is electrically connected to the first node, the second end of the first impedance electrically connected to a second node; the second impedance has a first end and a second end, the first end of the second impedance is electrically connected to the second node; the third impedance has a first end and a second end, the first end of the third impedance is electrically connected to the second node; and the second switch has a control point and a gate point, the control point is electrically connected to the first node, and the gate point is electrically connected to the second end of the second impedance.

12. The switch circuit according to claim 11, wherein the first switch and the second switch are semiconductor switches.

13. The switch circuit according to claim 12, wherein the first switch is a field effect transistor and the second switch is a bipolar transistor.

14. The switch circuit according to claim 11, wherein the current protection component is a resistor, a Hall component, or a current transformer.

15. The switch circuit according to claim 11, wherein the controller makes the first switch not conducting when the protection voltage is greater than the second threshold.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 illustrates a schematic function block diagram of a switch circuit, according to a first embodiment, applied in a power device;

(2) FIG. 2 illustrates a schematic function block diagram of the switch circuit applied in the power device in FIG. 1;

(3) FIG. 3 illustrates a schematic function block diagram of a switch circuit according to a second embodiment;

(4) FIG. 4 illustrates a schematic function block diagram of a switch circuit according to a third embodiment;

(5) FIG. 5 illustrates a schematic function block diagram of a switch circuit according to a forth embodiment;

(6) FIG. 6 illustrates a schematic function block diagram of a switch circuit applied in another power device according to some embodiments;

(7) FIG. 7 illustrates a schematic function block diagram of a switch circuit applied in yet another power device according to some embodiments;

(8) FIG. 8 illustrates a schematic diagram showing relationship between protection voltages and detection voltages of the switch circuit in FIG. 2; and

(9) FIG. 9 illustrates a schematic diagram showing relationship between protection voltages and detection voltages of the switch circuit in FIG. 3.

DETAILED DESCRIPTION

(10) Referring to FIG. 1, FIG. 1 illustrates a schematic function block diagram of a switch circuit 10, according to a first embodiment, applied in a power device 20. The power device 20 includes an input circuit 22, an output circuit 24, and the switch circuit 10. The input circuit 22 is electrically connected to the switch circuit 10 and the output circuit 24. The power device 20 is, for example, but not limited to, a linear power supply or a switching power supply. The switching power supply is, for example, but not limited to, a flyback converter, a forward converter, a boost converter, or other converters.

(11) The power device 20 includes at least two input ends and at least two output ends. The two input ends are electrically connected to the input circuit 22 to receive an input power, such as an input voltage V.sub.IN. The two output ends are electrically connected to the output circuit 24, to output an output power, such as an output voltage V.sub.OUT. The input power may be, but not limited to, an alternating-current (AC) power, and the output power may be, but not limited to a direct-current (DC) power.

(12) The input circuit 22 may be, but not limited to, a transformer having a primary side coil, such as a two-winding transformer (see FIG. 2) having a primary side coil L.sub.1, a three-winding transformer (see FIG. 6) having primary side coils L.sub.1 and L.sub.1, or an inductor L.sub.1 (see FIG. 7) electrically connected to a first switch SW.sub.1.

(13) The switch circuit 10 is suitable for a power device 20 having a primary side coil L.sub.1, to adjust a current protection interval of the power device 20. The switch circuit 10 includes a first switch SW.sub.1, a current protection component 12, a current detection circuit 14, and a controller 16.

(14) The first switch SW.sub.1 may be, but not limited to, a semiconductor switch, such as a field effect transistor or a bipolar transistor. The first switch SW.sub.1 is electrically connected to the primary side coils L.sub.1, or L.sub.1, the current protection component 12, and the controller 16. The first switch SW.sub.1 is controlled by the controller 16 to conduct and not to conduct the primary side coils L.sub.1, or L.sub.1. The term to conduct means that the switch circuit 10 electrically connects the input circuit 22 with the current protection component 12 to form a closed current loop among the input circuit 22, the switch circuit 10 and the current protection component 12. On the contrary, the term not to conduct means that the switch circuit 10 does not electrically connect the input circuit 22 with the current protection component 12 and the current loop among the input circuit 22, the switch circuit 10 and the current protection component 12 is opened.

(15) The current protection component 12 may be, but not limited to, a resistor R (see FIG. 2), a Hall component, or a current transformer. The current protection component 12 is connected in parallel to the current detection circuit 14. When the first switch SW.sub.1 is conducting, a detection voltage corresponding to a current passing through the first switch SW.sub.1 is generated. That is, when the switch circuit 10, the current protection component 12 and the input circuit 22 form a closed current loop, the input voltage V.sub.IN is applied to the first switch SW.sub.1, the current protection component 12, the current detection circuit 14, and the controller 16, then a current is generated at the first switch SW.sub.1. Next, the current is shunted at the current protection component 12 and the current detection circuit 14, so that the current protection component 12 generates a detection voltage at a first node N1 and the current detection circuit 14 generates a protection voltage at a second node N2.

(16) The current detection circuit 14 is connected in parallel to the current protection component 12 and outputs the protection voltage to the controller 16. When the detection voltage is not greater than a first threshold, the current detection circuit 14 generates a first voltage corresponding to the detection voltage as the protection voltage. When the detection voltage is greater than the first threshold, the current detection circuit 14 generates a second voltage corresponding to the detection voltage as the protection voltage, where the first voltage is different from the second voltage. The term first threshold means that the current detection circuit 14 has a threshold voltage, and the current detection circuit 14 may selectively output the first voltage and the second voltage according to whether the detection voltage is greater than the threshold voltage. Details are described later. The term corresponding to means that the first voltage is in a proportional relationship with the detection voltage. In some embodiments, the first voltage is equal to the detection voltage. In some other embodiments, the first voltage is equal to the detection voltage multiplied by a constant proportion. In some embodiments, the constant proportion is an impedance (or voltage division) ratio of two resistors connected in series.

(17) The controller 16 is electrically connected to the first switch SW.sub.1 and the current detection circuit 14, and controls the first switch SW.sub.1 to selectively conduct or not to conduct in response to the protection voltage. The controller 16 is, for example, but not limited to, a pulse width modulation (PWM) controller. The PWM controller can modulate an analog signal into a pulse whose duty cycle or frequency may be adjusted. In some embodiments, the PWM controller outputs the pulse in the form of rectangular waveforms and is capable of adjusting the duty cycle. The duty cycle is the ratio between the pulse duration (or called as pulse width) and the single period of a rectangular waveform. The single period of a rectangular waveform is also called as a single working cycle. When the protection voltage is greater than a second threshold, the controller 16 does not increase a proportion of a conduction time to a non-conduction time of the first switch SW.sub.1. The term second threshold refers to a protection voltage when a current of a power supply has reached an activation threshold of an overcurrent protection mode. For example, the protection voltage is 1 volt when the power supply reaches the activation threshold of the overcurrent protection mode. When the protection voltage is greater than 1 volt, the controller 16 may change the proportion of the conduction time to the non-conduction time of the first switch SW.sub.1 based on settings, and the controller 16 controls the first switch SW.sub.1 not to conduct (that is, the current loop is opened and the power supply does not supply power). Alternatively, when the protection voltage is greater than 1 volt, the controller 16 controls the first switch SW.sub.1 not to conduct until the protection voltage is not greater than 1 volt (that is, the current of the power supply decreases gradually). When the protection voltage is not greater than 1 volt, the controller 16 may adjust a proportion of the conduction time of the first switch SW.sub.1 in a single working cycle. That is, the controller 16 may change the proportion of the conduction time in a working cycle through conducting and not conducting the first switch SW.sub.1. The controller 16, by doing so, controls the current of the power supply at a default current value that does not activate the overcurrent protection mode, or may cease the current of the power supply. A commonly adopted operation is: during a working cycle in which the first switch SW.sub.1 is conducting and not conducting, the moment the protection voltage reaches the second threshold (for example, the aforementioned 1 volt), the controller 16 immediately makes the first switch SW.sub.1 not conducting, and the controller 16 does not make the first switch SW.sub.1 conducting again until a new working cycle starts next. A working period includes a periodic signal composed of a first half cycle and a second half cycle. For example, the periodic signal having a first half cycle and a second half cycle is, but not limited to, a square wave, a pulse wave, a sine wave, a triangle wave, or a sawtooth wave.

(18) Further, when the first switch SW.sub.1 is conducting, the input voltage V.sub.IN is supplied to the primary side coil L.sub.1 through the two input ends so that the primary side coil L.sub.1 generates a first signal of a first half cycle, and a secondary side coil L.sub.2 (see FIG. 2) generates a second signal of the first half cycle by being induced by the first signal of the first half cycle. A voltage ratio of the first signal of the first half cycle to the second signal of the first half cycle is equal to a turn ratio of the primary side coil L.sub.1 to the secondary side coil L.sub.2. Next, the output circuit 24 changes the second signal of the first half cycle and outputs an output voltage V.sub.OUT through the two output ends. In some embodiment, the output circuit 24 rectifies and/or filters the second signal of the first half cycle and outputs the output voltage V.sub.OUT. By contrast, when the first switch SW.sub.1 is not conducting, the input voltage V.sub.IN does not be supplied to the primary side coil L.sub.1. Consequently, the primary coil L.sub.1 generates a first signal of a second half cycle by inductive reactance and the secondary side coil L.sub.2 generate a second signal of the second half cycle corresponding to the first signal of the second half cycle. Next, the output circuit 24 changes the second signal of the second half cycle and outputs the output voltage V.sub.OUT. Therefore, when the controller 16 controls the first switch SW.sub.1 to be alternately conducting and not conducting, the output circuit 24 outputs the output voltage V.sub.OUT in a default working cycle, where the output voltage V.sub.OUT may be selectively changed with adjustment of each second signal of the first half cycle and each second signal of the second half cycle following each second signal of the first half cycle. The input voltage V.sub.IN is, for example, but not limited to, an AC power, and the output voltage V.sub.OUT is, for example, but not limited to, a DC power.

(19) Referring to FIG. 1 and FIG. 2, FIG. 2 illustrates a schematic function block diagram of a switch circuit 10 applied in the power device 20 in FIG. 1. In the embodiment of FIG. 2, the power device 20 is a switching power supply having a flyback converter. The input circuit 22 may be, but not limited to, a two-winding transformer. The output circuit 24 may be, but not limited to, a rectifier circuit or a filter circuit. In some embodiment, the output circuit 24 is a half-wave rectifying and filtering circuit which comprises a diode D.sub.1 and a capacitor C.sub.1. The two-winding transformer has at least one primary side coil L.sub.1 and one secondary side coil L.sub.2. One end of the primary side coil L.sub.1 is electrically connected to an input end and the other end is electrically connected to the first switch SW.sub.1 of the switch circuit 10. The switch circuit 10 is then connected to the other input end. One end of the secondary side coil L.sub.2 is electrically connected to an anode of the diode D.sub.1 and the other end is electrically connected to one end of the capacitor C.sub.1. A cathode of the diode D.sub.1 is electrically connected to the other end of the capacitor C.sub.1. Two ends of the capacitor C.sub.1 are respectively electrically connected to the two output ends. According to some embodiments, the input circuit 22 further includes a rectifier circuit, electrically connected to the primary side coil L.sub.1 of the transformer. The rectifier circuit is, for example, but not limited to, a bridge rectifier circuit.

(20) The first switch SW.sub.1 and the current protection component 12 have been seen in the foregoing related paragraphs, and details are not described again.

(21) The current detection circuit 14 includes a first impedance, a second impedance, and a second switch SW.sub.2 sequentially connected in series. The first impedance and the second impedance are, for example, but not limited to, a resistor, an inductor, a capacitor, or a combination of a resistor, an inductor, and a capacitor. For example, the first impedance and the second impedance are, as shown on FIG. 2, a first resistor R.sub.1 and a second resistor R.sub.2 respectively. One end of the first resistor R.sub.1 is electrically connected to the first node N1 which is the node connected to the first switch SW.sub.1 and the current protection component 12. The other end of the first resistor R.sub.1 connected with the second resistor R.sub.2 is the second node N2 which outputs the protection voltage. The first switch SW.sub.1 is connected to a third node N3 which is one of two ends of the primary side coil L.sub.1, the controller 16, and the first node N1. The second switch SW.sub.2 is conducting when the detection voltage is greater than the first threshold. The second switch SW.sub.2 is not conducting when the detection voltage is not greater than the first threshold.

(22) Further, the first resistor R.sub.1 has a first end and a second end, and the first end of the first resistor R.sub.1 is electrically connected to the first node N1.

(23) Further, the second resistor R.sub.2 has a first end and a second end. The first end of the second resistor R.sub.2 is electrically connected to the second end of the first resistor R.sub.1.

(24) Further, the second switch SW.sub.2 has a control point and a gate point, the control point is electrically connected to the first end of the first resistor R.sub.1, and the gate point is electrically connected to the second end of the second resistor R.sub.2. The second switch SW.sub.2 is, for example, but not limited to, the semiconductor switch. Using the bipolar transistor Q.sub.2 as an example, the bipolar transistor Q.sub.2 has a base (that is, a control point), a collector (that is, a gate point), and an emitter (a grounded point, connected to a fourth node N4 shown in FIG. 2). When a detection voltage between the base and the emitter is greater than a threshold voltage (that is, the first threshold) of the bipolar transistor Q.sub.2, the bipolar transistor Q.sub.2 is conducting to make the first resistor R.sub.1 and the second resistor R.sub.2 to divide the detection voltage to generate the second voltage at the second node N2. In this embodiment, the protection voltage is the sum of the voltage difference between two ends of the second resistor R.sub.2 and the voltage difference between the collector and the emitter of the bipolar transistor Q.sub.2. In this case, the second voltage is the protection voltage. By contrast, when the detection voltage (i.e., the voltage at the first node N1) between the base and the emitter is not greater than the threshold voltage of the bipolar transistor Q.sub.2, the bipolar transistor Q.sub.2 is not conducting, so that the detection voltage generated by the current protection component 12 is directly used as the protection voltage which means the first voltage is the detection voltage.

(25) Referring to FIG. 2 and FIG. 8, FIG. 8 illustrates a schematic function block diagram showing relationship between protection voltages and detection voltages of the switch circuit 10 in FIG. 2. The horizontal axis is the detection voltage while the vertical axis is the protection voltage. The solid line on the diagram of FIG. 8 shows that the protection voltage changes in accordance with the detection voltage. As described above, the protection voltage is the first voltage when the detection voltage is not greater than the first threshold, and the protection voltage is the second voltage when the detection voltage is greater than the first threshold. The solid line which the detection voltage is not greater than the first threshold is the first voltage. The solid line which the detection voltage is greater than the first threshold is the second voltage. Therefore, the change rate of the first voltage is 1, the slope of the solid line representing the first voltage. The change rate of the second voltage is R.sub.2/(R.sub.1+R.sub.2)<1, the slope of the solid line representing the second voltage. As shown on the vertical axis, the overcurrent protection level is greater than the burst mode level. When the protection voltage is lower than the burst mode level, the controller 16 controls the power device 20 to be operated in a burst mode. When the protection voltage is higher than the overcurrent protection level, the controller 16 controls the power device 20 to be operated in the overcurrent protection mode, so that the current passing through the primary side coil L.sub.1 would not exceed a preset upper limit. The overcurrent protection level is the second threshold described in the foregoing paragraph.

(26) When the detection voltage is not greater than the first threshold, the second switch SW.sub.2 is not conducting. Therefore, the protection voltage is equal to the detection voltage and the slope of the first voltage is 1. When the detection voltage is greater than the first threshold, the second switch SW.sub.2 is conducting. Therefore, the protection voltage is the detection voltage multiplied by R.sub.2/(R.sub.1+R.sub.2) and the slope of the second voltage is less than 1. In general, when the protection voltage is higher than the overcurrent protection level, the controller 16 controls the power device 20 being operated in the overcurrent protection mode. In the case that if the switch circuit 10 is functionally not equipped with the current detection circuit 14 and the first node N1 provides the detection voltage to the controller 16, the detection circuit 14 will only provide the first voltage to the controller 16. The controller 16 would control the power device 20 being operated in the overcurrent protection mode when the first voltage (the protection voltage is the detection voltage) is greater than the overcurrent protection level (see the dotted line of the first voltage in FIG. 8). The power device 20 would be operated according to the first protection interval as shown in FIG. 8. However, in the embodiment of FIG. 2, the controller 16 controls the power device 20 being operated in the overcurrent protection mode when the second voltage is greater than the overcurrent protection level (see the solid line of the second voltage in FIG. 8). The power device 20 is operated according to the second protection interval as shown in FIG. 8. In other words, by way of the current detection circuit 14, the switch circuit 10 with the same controller 16 adjusts the first protection interval to the second protection interval.

(27) Referring to FIG. 1 and FIG. 3, FIG. 3 illustrates a schematic function block diagram of a switch circuit 10 according to a second embodiment. According to some embodiments, the current detection circuit 14 includes a first impedance, a second impedance, a third impedance, and a second switch SW.sub.2. The first impedance, the second impedance and the second switch SW.sub.2 are connected in series. The third impedance connected in parallel to series-connected the second impedance and the second switch SW.sub.2 as shown in FIG. 3. The first impedance, the second impedance, and the second switch SW.sub.2 have been seen in the foregoing related paragraphs, and details are not described again. The third impedance is, for example, but not limited to, a resistor, an inductor, or a capacitor, or a combination of a resistor, an inductor, and a capacitor. For example, the first impedance, the second impedance, and the third impedance are a first resistor R.sub.1, a second resistor R.sub.2, and a third resistor R.sub.3 respectively. The first switch SW.sub.1, as shown in FIG. 3, is connected to the third node N3, the controller 16 and the first node N1. The third resistor R.sub.3 is connected between the fourth node N4 and the second node N2. Specifically, the third resistor R.sub.3 is connected in parallel to series-connected the second resistor R.sub.2 and the second switch SW.sub.2 as shown in FIG. 3.

(28) One end of the first resistor R.sub.1 is electrically connected to the first node N1 connected to the first switch SW.sub.1 and the current protection component 12. When the detection voltage is greater than the first threshold, the second switch SW.sub.2 is conducting and the second node N2 outputs a protection voltage. When the detection voltage is not greater than the first threshold, the second switch SW.sub.2 is not conducting and the second node N2 outputs a protection voltage which differs from the aforementioned protection voltage and the detection voltage. The second switch SW.sub.2, for example, but not limited to, the semiconductor switch. In some embodiments, the second switch SW.sub.2 is a bipolar transistor Q.sub.2. In the embodiment of FIG. 3, when the voltage difference of two ends of the current protection component 12 (i.e., the detection voltage) is greater than the first threshold (i.e., the threshold voltage of the bipolar transistor Q.sub.2), the bipolar transistor Q.sub.2 is conducting. While the bipolar transistor Q.sub.2 is conducting, the second node N2 outputs the protection voltage which is the detection voltage multiplied by (R.sub.2/R.sub.3)/(R.sub.1+(R.sub.2/R.sub.3). In contrast, when the detection voltage is not greater than the first threshold (i.e., the threshold voltage of the bipolar transistor Q.sub.2), the bipolar transistor Q.sub.2 is not conducting. The second node N2 outputs the protection voltage which is the detection voltage multiplied by R.sub.3/(R.sub.1+R.sub.3).

(29) Further, the first resistor R.sub.1 has a first end and a second end. The first end and the second end of the first resistor R.sub.1 are electrically connected to the first node N1 and the second node N2, respectively.

(30) Further, the second resistor R.sub.2 has a first end and a second end, and the first end of the second resistor R.sub.2 is electrically connected to the second node N2.

(31) Further, the third resistor R.sub.3 has a first end and a second end. The first end and the second end of the third resistor R.sub.3 are electrically connected to the second node N2 and the fourth node N4, respectively.

(32) Further, the second switch SW.sub.2 has a control point and a gate point, the control point is electrically connected to the first node N1, and the gate point is electrically connected to the second end of the second resistor R.sub.2.

(33) Referring to FIG. 3 and FIG. 9, FIG. 9 illustrates a schematic diagram showing relationship between protection voltages and detection voltages of the switch circuit 10 in FIG. 3. The horizontal axis represents the detection voltage while the vertical axis represents the protection voltage. The protection voltage is the first voltage when the detection voltage is not greater than the first threshold, and the protection voltage is the second voltage when the detection voltage is greater than the first threshold. The change rate of the first voltage is R.sub.3/(R.sub.1+R.sub.3), the slope of solid line representing the first voltage. The change rate of the second voltage is (R.sub.2//R.sub.3)/(R.sub.1+(R.sub.2//R.sub.3)), the slope of solid line representing the second voltage. Similarly to diagram of FIG. 8, the switch circuit 10 of FIG. 3 makes the power device 20 be operated according to the fourth protection interval as shown on FIG. 9.

(34) When the detection voltage is not greater than the first threshold, the second switch SW.sub.2 is not conducting. Therefore, the protection voltage is the detection voltage multiplied by R.sub.3/(R.sub.1+R.sub.3) which is less than 1. When the detection voltage is greater than the first threshold, the second switch SW.sub.2 is conducting. Therefore, the protection voltage is the detection voltage multiplied by (R.sub.2//R.sub.3)/(R.sub.1+(R.sub.2//R.sub.3)) which is less than R.sub.3/(R.sub.1+R.sub.3). When the switch circuit 10 is implemented, the values of the first resistor R.sub.1, the second resistor R.sub.2 and the third resistor R.sub.3 can be adjusted to decide the slopes of the first voltage and the second voltage. Consequently, the user who adopts the switch circuit 10 can use the same controller 16 to provide different protection intervals to meet different requirements for the power device 20.

(35) In addition, when the second switch SW.sub.2 is not conducting, the protection voltage is the detection voltage multiplied by R.sub.3/(R.sub.1+R.sub.3), which is the first voltage. Therefore, the detection voltage corresponding to the burst mode level in the embodiment of FIG. 3 is higher than the detection voltage corresponding to the burst mode level in the embodiment of FIG. 2. That is, by adding the third resistor R.sub.3, a detection voltage triggering the burst mode of the power device 20 can be adjusted (see FIG. 9). The foregoing terms change rate of the first voltage and change rate of the second voltage are merely descriptions with reference to drawings. The values or ratios of the resistances and the connection manners of the first resistor R.sub.1, the second resistor R.sub.2, and/or the third resistor R.sub.3 are for exemplary purposes, but not to limit the scope of the switch circuit to the embodiments.

(36) Referring to FIG. 1 and FIG. 4, FIG. 4 illustrates a schematic function block diagram of a switch circuit 10 according to a third embodiment. According to some embodiments, the current detection circuit 14 includes a first impedance, a second impedance, a second switch SW.sub.2, and a comparison circuit 141. The first impedance, the second impedance, and the second switch SW.sub.2 have been seen in the foregoing related paragraphs, and details are not described again. The comparison circuit 141 is, for example, but not limited to, a comparator, such as an operational amplifier OP. In some embodiment, the comparison circuit 141 is a LM339 comparator.

(37) In the embodiment of FIG. 4, a non-inverting input node of the comparison circuit 141 electrically connects to the first node N1. An inverting input node of the comparison circuit 141 is connected to a reference voltage V.sub.ref. An output node of the comparison circuit 141 is connected to the control point of the second switch SW.sub.2. The comparison circuit 141 compares the detection voltage and the reference voltage V.sub.ref, and outputs a comparison voltage. The second switch SW.sub.2 is conducting when the comparison voltage is greater than a first threshold. The second switch SW.sub.2 is not conducting when the comparison voltage is not greater than the first threshold. For example, when the detection voltage is greater than the reference voltage V.sub.ref, the comparison voltage outputted by the comparison circuit 141 is a positive saturation voltage of the comparison circuit 141. The positive saturation voltage is designed, in the embodiment, to be greater than a threshold voltage (referred to as first threshold) of the second switch SW.sub.2, so that the second switch SW.sub.2 is conducting. In contrast, when the detection voltage is not greater than the reference voltage V.sub.ref, the comparison voltage outputted by the comparison circuit 141 is a negative saturation voltage of the comparison circuit 141. The negative saturation voltage is designed, in the embodiment, to be less than the threshold voltage of the second switch SW.sub.2, so that the second switch SW.sub.2 is not conducting. When the second switch SW.sub.2 is not conducting, the detection voltage (i.e., the first voltage) is used as the protection voltage.

(38) Referring to FIG. 1 and FIG. 5, FIG. 5 illustrates a schematic function block diagram of a switch circuit 10 according to a fourth embodiment. According to some embodiments, the current detection circuit 14 includes a first impedance, a second impedance, a second switch SW.sub.2, and a gain circuit 143. The first impedance, the second impedance, and the second switch SW.sub.2 have been seen in the foregoing related paragraphs, and details are not described again. The gain circuit 143 is for example, but not limited to, a feedback amplifier circuit, or a gain circuit formed by a field effect transistor (or a bipolar transistor), a resistor, a capacitor, and an inductor.

(39) The gain circuit 143 electrically connects the current protection component 12 and the second switch SW.sub.2. The gain circuit 143 typically amplifies the detection voltage with a gain value that is greater than 1, and outputs a gain voltage. In other embodiments, the gain circuit 143 may transfer or attenuate the detection voltage with a gain value that is equal to or less than 1, and outputs the gain voltage. The second switch SW.sub.2 is conducting when the gain voltage is greater than the first threshold. The second switch SW.sub.2 is not conducting when the gain voltage is not greater than the first threshold. In the embodiment of FIG. 5, the gain circuit 143 includes an operational amplifier OP, an input resistor R.sub.N, and a feedback resistor R.sub.F. A non-inverting input node of the operational amplifier OP is electrically connected to the first node N1. An output node of the operational amplifier OP is electrically connected to the control point of the second switch SW.sub.2. The input resistor R.sub.N is connected between an inverting input of the operational amplifier OP and the fourth node N4. The feedback resistor R.sub.F is connected between the output node and the inverting input node of the operational amplifier OP. In some embodiment, the fourth node N4 is grounded and R.sub.F=R.sub.N. The operational amplifier OP outputs the gain voltage which is twice as much as the detection voltage. The gain voltage is to conduct or not to conduct the second switch SW.sub.2. The ratio of the gain voltage to the detection voltage can be, but not limited to be, determined by a ratio of the feedback resistor R.sub.F to the input resistor R.sub.N.

(40) Referring to FIG. 1 and FIG. 6, FIG. 6 illustrates a schematic function block diagram of a switch circuit 10 applied in another power device 20. The power device 20 is a switching power supply having a forward converter. The switching power supply having a forward converter includes a transformer, an input circuit 22, an output circuit 24, and a switch circuit 10. The input circuit 22 includes at least one diode D.sub.3 and a three-winding transformer. The three-winding transformer includes a first primary side coil L.sub.1, a second primary side coil L.sub.1, and a secondary side coil L.sub.2. The first primary side coil L.sub.1 is electrically connected to the switch circuit 10, and the second primary side coil L.sub.1 is electrically connected to the diode D.sub.3 which is connected to the fourth node N4. The output circuit 24 includes two diodes D.sub.1 and D.sub.2, an inductor L.sub.3, and a capacitor C.sub.1. An anode of the diode D.sub.1 is electrically connected to one end of the secondary side coil L.sub.2, and a cathode of the diode D.sub.1 is electrically connected to a cathode of the diode D.sub.2 and the inductor L.sub.3. An anode of the diode D.sub.2 is electrically connected to the other end of the secondary side coil L.sub.2, and the diode D.sub.2 is connected in parallel to series-connected the inductor L.sub.3 and the capacitor C.sub.1. The switch circuit 10 may be any of the foregoing embodiments, and is not described again.

(41) Referring to FIG. 7, FIG. 7 illustrates a schematic function block diagram of a switch circuit applied in yet another power device 20. The power device 20 is a switching power supply having a boost converter. The switching power supply having a boost converter includes an input circuit 22, an output circuit 24, and a switch circuit 10. The input circuit 22 includes a primary side coil. The primary side coil is, for example, but not limited to, an inductor L.sub.1. The inductor L.sub.1 is electrically connected to the switch circuit 10 at the third node N3 and the output circuit 24. The switch circuit 10 is connected in parallel to the output circuit 24. The output circuit 24 may be any of the foregoing embodiments, and is not described again. The switch circuit 10 may be any of the foregoing embodiments, and is not described again.

(42) In some embodiment, the switch circuit 10 is suitable for a power device 20 having at least one primary side coil, and is capable of adjusting a current protection interval of the power device 20.