Detailed Description
Referring to fig. 1, fig. 1 is a schematic diagram of a controller 200 applied to a secondary side SEC of a power converter 100 according to a first embodiment of the present invention. As shown in fig. 1, the controller 200 includes a sampling/tracking circuit 202 and a comparator 204, wherein the sampling/tracking circuit 202 is coupled to the secondary side SEC of the power converter 100, and the comparator 204 is coupled to the sampling/tracking circuit 202.
As shown in fig. 1, the sampling/tracking circuit 202 includes a voltage division unit 2022, a regulation unit 2024, and a current mirror 2026. The voltage dividing unit 2022 comprises a first resistor 20222 and a second resistor 20224, wherein the voltage dividing unit 2022 is coupled to the secondary side SEC of the power converter 100, and is configured to receive the output voltage VOUT of the secondary side SEC of the power converter 100 via a pin VCC, and divide the output voltage VOUT by using the first resistor 20222 and the second resistor 20224 according to formula (1) to generate a divided voltage DV:
wherein R is20222Is the resistance value of the first resistor 20222 and R20224Is the resistance value of the second resistor 20224. In addition, the coupling relationship between the first resistor 20222 and the second resistor 20224 can refer to fig. 1, and is not described herein again.
The adjusting unit 2024 comprises an operational amplifier 20242, an nmos transistor 20244, and a third resistor 20246, wherein the adjusting unit 2024 is coupled to the voltage dividing unit 2022 for generating a first voltage V1 according to the divided voltage DV when the nmos transistor 20244 operates normally, the first voltage V1 is related to the output voltage VOUT, the first voltage V1 is equal to the divided voltage DV, and the first voltage V1 and the third resistor 20246 can determine a first current I1 by the following formula (2):
wherein R is20246Is the resistance value of the third resistor 20246. In addition, the coupling relationship between the operational amplifier 20242, the nmos 20244 and the third resistor 20246 can be found in fig. 1, and will not be described herein again.
In addition, as shown in fig. 1, the current mirror 2026 is coupled to the adjusting unit 2024 and the comparator 204, and includes a first pmos transistor 20262, a second pmos transistor 20264, a third pmos transistor 20266, a first switch 20268, a second switch 20270, a fourth resistor 20272, and a first capacitor 20274, wherein the aspect ratio of the third pmos transistor 20266 is equal to the aspect ratio of the first pmos transistor 20262, the aspect ratio of the second pmos transistor 20264 is N times the aspect ratio of the first pmos transistor 20262, and N is a real number greater than 1. In addition, the coupling relationship among the first pmos transistor 20262, the second pmos transistor 20264, the third pmos transistor 20266, the first switch 20268, the second switch 20270, the fourth resistor 20272 and the first capacitor 20274 can refer to fig. 1 and will not be described herein again. In addition, the aspect ratio of the third pmos transistor 20266 is not limited to be equal to the aspect ratio of the first pmos transistor 20262, that is, in another embodiment of the present invention, the aspect ratio of the third pmos transistor 20266 is not equal to the aspect ratio of the first pmos transistor 20262. As shown in fig. 1, since the width-to-length ratio of the second pmos transistor 20264 is N times the width-to-length ratio of the first pmos transistor 20262, the second current I2 flowing through the second pmos transistor 20264 is N times the first current I1, and the third current I3 flowing through the third pmos transistor 20266 is equal to the first current I1, wherein the second current I2 can be represented by formula (3):
referring to fig. 2, fig. 2 is a timing diagram illustrating a gate control signal GCS of the power switch 104 corresponding to the primary-side PRI of the power converter 100, a current ISEC of the secondary-side SEC of the power converter 100, a sampling signal SAS, a tracking signal TS, a change in the load 102 of the secondary-side SEC of the power converter 100, an output voltage VOUT, and an alarm signal WS, where the sampling signal SAS and the tracking signal TS are generated by a signal generator (not shown in fig. 1) in the controller 200, the sampling signal SAS and the tracking signal TS are not simultaneously enabled, and the sampling signal SAS and the tracking signal TS correspond to the gate control signal GCS. As shown in FIG. 2, at a time T1, the gate control signal GCS is turned offSo the secondary side SEC of the power converter 100 starts to discharge (when the current ISEC has a maximum value and the tracking signal TS is also turned off). At time T2, secondary side SEC of power converter 100 is discharged and sampling signal SAS is enabled. As shown in FIG. 1, at time T2, the second voltage V2 (corresponding to time T2) at a node A in the sampling/tracking circuit 202 can be represented by formula (4), wherein R is20272The resistance value of the fourth resistor 20272 and VOUT1 are the output voltage VOUT corresponding to the sampling signal SAS (as shown in fig. 2, VOUT1 is the maximum value of the output voltage VOUT because the secondary side SEC of the power converter 100 is discharged at time T2):
because the sampling signal SAS is enabled, the second switch 20270 is turned on, causing the second voltage V2 at the node a to start charging the first capacitor 20274 to generate a sampled value VSAM at the positive input terminal of the comparator 204 equal to the second voltage V2 (i.e., at time T2, the first capacitor 20274 will store the sampled value VSAM).
As shown in fig. 1 and 2, at a time T3, since the sampling signal SAS is turned off and the tracking signal TS is enabled, the second switch 20270 is turned off, and the first switch 20268 and the comparator 204 are turned on, wherein the tracking signal TS is enabled to a time T4. Therefore, as shown in fig. 1, between the time T3 and the time T4, since the tracking signal TS is enabled, the first switch 20268 is turned on, so that a tracking value VT corresponding to a time between T3 and the time T4 is generated between the negative input of the comparator 204 and the node a (i.e. the sampling/tracking circuit 202 generates the tracking value VT during the enabled time of the tracking signal TS), wherein the tracking value VT can be represented by the following formula (5):
in addition, the operations of the controller 200 at the time T4, the time T5 and the time T6 may refer to the operations of the controller 200 at the time T1, the time T2 and the time T3, which are not described herein again.
Between time T3 and time T4, the comparator 204 is turned on because the tracking signal TS is enabled. Therefore, between time T3 and time T4 (i.e., during the enabled period of the tracking signal TS), the comparator 204 can continuously compare the tracking value VT (which has real-time information of the output voltage VOUT as shown in equation (5)) with the sampling value VSAM.
Before a time T7, since the load 102 is a light load, the frequency of the gate control signal GCS generated by the primary-side regulation (PSR) controller 106 of the primary-side PRI of the power converter 100 is low (e.g., the frequency of the gate control signal GCS may be lower than 1 KHz). Therefore, if the load 102 suddenly increases at time T7, the response of the primary-side regulator controller 106 to the change in the output voltage VOUT is slow because the frequency of the gate control signal GCS is low, resulting in a sharp drop in the output voltage VOUT. Therefore, at a time T8, the tracking value VT is equal to the sampling value VSAM, wherein the relationship between the output voltage VOUT (i.e., VOUT1) corresponding to the sampling signal SAS and the output voltage VOUT (i.e., VOUT2) corresponding to the time T8 is determined by the following equation (6):
VT=VSAM
if N is 19, when VOUT2 is less than 0.95 × VOUT1 (i.e., after time T8), the comparator 204 generates the warning signal WS and transmits the warning signal WS to the primary-side regulation controller 106 through a driving circuit 206, a pin opto and an opto-coupler 108 included in the controller 200, wherein the primary-side regulation controller 106 can increase the frequency and the enabling time of the gate control signal GCS according to the warning signal WS to rapidly respond to the suddenly increased load 102. However, in another embodiment of the present invention, since the comparator 204 has a larger driving capability, the warning signal WS generated by the comparator 204 is directly transmitted to the primary-side regulating controller 106 through the pin opto and the optocoupler 108, that is, when the comparator 204 has a larger driving capability, the driving circuit 206 can be omitted.
In addition, the present invention is not limited to the timing of the sampling signal SAS and the tracking signal TS as shown in fig. 2, that is, it falls within the scope of the present invention as long as the sampling signal SAS and the tracking signal TS are not enabled at the same time.
In addition, the ground terminal GND1 of the primary side PRI of the power converter 100 and the ground terminal GND2 of the secondary side SEC of the power converter 100 may have the same level or different levels.
Referring to fig. 3A, fig. 3A is a schematic diagram of a controller 200a applied to a secondary side SEC of a power converter 100 according to a second embodiment of the present invention. As shown in fig. 3A, the controller 200a and the controller 200a differ in that a current mirror 302 included in the sampling/tracking circuit 300 in the controller 200a generates the tracking value VT continuously according to the first voltage V1 (i.e., the sampling/tracking circuit 300 continuously generates the tracking value VT according to the first voltage V1 regardless of whether the tracking signal TS is enabled). As shown in fig. 3A, the current mirror 302 includes a fourth pmos transistor 3022, a fifth pmos transistor 3024, a fourth resistor 20272, a fifth resistor 3026, a third switch 3028, and a second capacitor 3030, wherein the coupling relationship between the fourth pmos transistor 3022, the fifth pmos transistor 3024, the fourth resistor 20272, the fifth resistor 3026, the third switch 3028, and the second capacitor 3030 can be referred to in fig. 3A, and will not be described again. In addition, the width-to-length ratio of the fifth P-type metal oxide semiconductor transistor 3024 is equal to the width-to-length ratio of the fourth P-type metal oxide semiconductor transistor 3022. The aspect ratio of the fifth pmos transistor 3024 is not limited by the aspect ratio of the fourth pmos transistor 3022.
Please refer to fig. 2 and 3A. As shown in fig. 2, at time T2, secondary side SEC of power converter 100 is discharged and sampling signal SAS is enabled. As shown in fig. 3A, at time T2, a second voltage V2 (corresponding to time T2) at a node a in the current mirror 302 can be represented by equation (7), where VOUT1 is the output voltage VOUT corresponding to the sampling signal SAS (as shown in fig. 2, VOUT1 is the maximum value of the output voltage VOUT because the secondary side SEC of the power converter 100 is discharged at time T2):
because the sampling signal SAS is enabled, the third switch 3028 is turned on, causing the second voltage V2 at node a to begin charging the second capacitor 3030 to generate the sampled value VSAM at the positive input of the comparator 204 equal to the second voltage V2 (i.e., at time T2, the second capacitor 3030 will store the sampled value VSAM). In addition, the tracking value VT can be determined by the formula (8), wherein R3026Resistance value of the fifth resistor 3026:
when R is represented by the formula (8)20272Is R3026When the ratio is N times, the formula (8) can be rewritten as the formula (9):
in addition, the sampled value VSAM can be determined by equation (10):
therefore, as shown in fig. 2, if the load 102 suddenly increases at time T7, the response of the primary-side regulator controller 106 to the change in the output voltage VOUT is slow because the frequency of the gate control signal GCS is low, resulting in a sudden drop in the output voltage VOUT. Therefore, at time T8, the tracking value VT is equal to the sampling value VSAM, wherein the relationship between the output voltage VOUT (i.e., VOUT1) corresponding to the sampled signal SAS and the output voltage VOUT (i.e., VOUT2) corresponding to time T8 is determined by equation (6). Therefore, after the time T8, the comparator 204 will generate the warning signal WS to the primary-side adjustment controller 106, wherein the primary-side adjustment controller 106 can increase the frequency and the enabling time of the gate control signal GCS according to the warning signal WS to quickly respond to the suddenly increased load 102. In addition, the remaining operation principle of the controller 200a is the same as that of the controller 200, and is not described herein again.
In addition, in another embodiment of the present invention (as shown in fig. 3B), the controller 200B applied to the secondary side SEC of the power converter 100 and the controller 200a applied to the secondary side SEC of the power converter 100 are different in that the controller 200B does not include the fifth pmos transistor 3024 and the third resistor 20246, that is, the controller 200B and the controller 200a are different in that the controller 200B does not have a current mirror function. Therefore, as shown in fig. 2 and 3B, at time T2, the second voltage V2 (corresponding to time T2) at node a in the current mirror 302 can be represented by equation (11), where VOUT1 is the output voltage VOUT corresponding to the sampling signal SAS (as shown in fig. 2, VOUT1 is the maximum value of the output voltage VOUT because the secondary side SEC of the power converter 100 is discharged at time T2):
in addition, the tracking value VT can be determined by equation (12):
in addition, the operation principle of the controller 200b can refer to the operation principle of the controller 200a and fig. 2, and the detailed description is omitted here.
Referring to fig. 1, 2 and 4, fig. 4 is a flowchart illustrating an operation method of a controller applied to a secondary side of a power converter according to a third embodiment of the present invention. The operation method of fig. 4 is described by using fig. 1 and 2, and the detailed steps are as follows:
step 400: starting;
step 402: the sampling/tracking circuit 202 generates a sampling value VSAM corresponding to the output voltage VOUT of the power converter 100 when the sampling signal SAS is enabled;
step 404: the sampling/tracking circuit 202 generates a tracking value VT corresponding to the output voltage VOUT;
step 406: the comparator 204 generates the warning signal WS to the primary-side regulator controller 106 of the power converter 100 according to the sampling value VSAM and the tracking value VT during the enabled period of the tracking signal TS, and then returns to step 402.
In step 402, the voltage dividing unit 2022 within the sampling/tracking circuit 202 may divide the output voltage VOUT by using the first resistor 20222 and the second resistor 20224 to generate a divided voltage DV; the regulator unit 2024 in the sample/track circuit 202 generates a first voltage V1 according to the divided voltage DV when the nmos transistor 20244 operates normally, wherein the first voltage V1 is related to the output voltage VOUT, the first voltage V1 is equal to the divided voltage DV, and the first voltage V1 and the third resistor 20246 determine the first current I1.
As shown in fig. 2, at time T1, the gate control signal GCS is turned off, so the secondary side SEC of the power converter 100 starts discharging (when the current ISEC has a maximum value and the tracking signal TS is also turned off). At time T2, secondary side SEC of power converter 100 is discharged and sampled signal SAS is enabled. As shown in fig. 1, at time T2, since the sampling signal SAS is enabled, the second switch 20270 is turned on, causing the second voltage V2 (determined by the fourth resistor 20272 and the second current I2) at the node a to start charging the first capacitor 20274 to generate the sampled value VSAM at the positive input terminal of the comparator 204 equal to the second voltage V2 (i.e., at time T2, the first capacitor 20274 stores the sampled value VSAM).
In step 404, as shown in fig. 1 and 2, at time T3, since the sampling signal SAS is turned off and the tracking signal TS is turned on, the second switch 20270 is turned off, and the first switch 20268 and the comparator 204 are turned on, wherein the tracking signal TS is enabled to time T4, and the sampling signal SAS and the tracking signal TS are not enabled at the same time. Therefore, as shown in fig. 1, between time T3 and time T4, the first switch 20268 is turned on because the tracking signal TS is enabled, resulting in the generation of a tracking value VT between the corresponding time T3 and time T4 at the negative input of the comparator 204 and node a. In addition, as shown in fig. 3A and 3B, in another embodiment of the present invention, the current mirror 302 included in the sampling/tracking circuit 300 of the controller 200a continuously generates the tracking value VT according to the first voltage V1, that is, the sampling/tracking circuit 300 of the controller 200a continuously generates the tracking value VT according to the first voltage V1 regardless of whether the tracking signal TS is enabled.
In step 406, between time T3 and time T4, the comparator 204 is turned on because the tracking signal TS is enabled. Therefore, between time T3 and time T4 (i.e., during the enabled period of the tracking signal TS), the comparator 204 may compare the tracking value VT and the sampling value VSAM in real time. Before time T7, the frequency of the gate control signal GCS generated by the primary-side regulation controller 106 is low (e.g., the frequency of the gate control signal GCS may be lower than 1KHz) because the load 102 is a light load. Therefore, if the load 102 suddenly increases at time T7, the response to the change in the output voltage VOUT is slow because the frequency of the gate control signal GCS is low, resulting in a sharp drop in the output voltage VOUT. Therefore, at time T8, the tracking value VT is equal to the sampling value VSAM. After the time T8, since the tracking value VT is smaller than the sampling value VSAM, the comparator 204 will generate the warning signal WS and transmit the warning signal WS to the primary-side adjustment controller 106, wherein the primary-side adjustment controller 106 can increase the frequency and the enabling time of the gate control signal GCS according to the warning signal WS to quickly respond to the suddenly increased load 102.
In summary, the controller applied to the secondary side of the power converter and the operating method thereof disclosed by the present invention utilize the sampling/tracking circuit to generate a sampling value and a tracking value corresponding to the output voltage of the power converter, and utilize the comparator to generate the warning signal to the primary side regulation controller according to the sampling value and the tracking value. Then, the primary side adjustment controller may increase the frequency of the gate control signal according to the warning signal. Therefore, compared with the prior art, the invention has the following advantages: firstly, because the tracking value is corresponding to the real-time output voltage of the power converter, the invention is suitable for the application needing variable output voltage; second, since the present invention determines whether to generate the warning signal to the primary-side regulator controller according to the percentage of drop of the output voltage, the present invention can prevent ripple noise from causing the comparator to generate the warning signal to the primary-side regulator controller when the output voltage is high.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.