# US 2022/0294355 A1 · Systems and methods for controlling gate voltage increase on primary side to reduce voltage spike on secondary side of switching power supplies

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0294355 A1
- Document ID: US20220294355A1
- Status: Published application
- Kind: A1
- Application number: 17/689,860
- Filed: 2022-03-08
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: On-Bright Electronics (Shanghai) Co., Ltd.
- Applicants: On-Bright Electronics (Shanghai) Co., Ltd.
- Inventors: YUAN LIN; PENGLIN YANG; DONGZE YANG; LIEYI FANG
- Web page: https://patentgrep.com/patent/US20220294355A1

## CPC

- H02M 3/33523: {with galvanic isolation between input and output of both the power stage and the feedback loop}
- H02M 3/33569: {having several active switching elements (H02M3/3353 takes precedence)}
- H02M 1/08: Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
- H02M 1/44: Circuits or arrangements for compensating for electromagnetic interference in converters or inverters
- H02M 3/33592: {having a synchronous rectifier circuit or a synchronous freewheeling circuit at the secondary side of an isolation transformer}
- H02M: APPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF (transformers H01F; dynamo-electric converters H02K47/00; controlling transformers, reactors or choke coils, control or regulation of electric motors, generators or dynamo-electric converters H02P)

## Abstract

Controller and method for a switching power supply. For example, a controller for a switching power supply includes: a first terminal configured to receive a feedback voltage representing an output voltage associated with a secondary winding of the switching power supply; a second terminal configured to output a drive voltage to a first transistor associated with a primary winding coupled to the secondary winding of the switching power supply; a comparator configured to receive the feedback voltage and a predetermined feedback threshold and generate a comparison signal based at least in part on the feedback voltage and the predetermined feedback threshold; a pulse-width detector configured to detect a pulse width of the drive voltage during a first switching cycle, compare the detected pulse width with a predetermined time threshold, and generate a detection signal based at least in part on the detected pulse width and the predetermined time threshold.

## Claims

### Claim 1

A controller for a switching power supply, the controller comprising:
a first terminal configured to receive a feedback voltage representing an output voltage associated with a secondary winding of the switching power supply;
a second terminal configured to output a drive voltage to a first transistor associated with a primary winding coupled to the secondary winding of the switching power supply;
a comparator configured to receive the feedback voltage and a predetermined feedback threshold and generate a comparison signal based at least in part on the feedback voltage and the predetermined feedback threshold;
a pulse-width detector configured to detect a pulse width of the drive voltage during a first switching cycle, compare the detected pulse width with a predetermined time threshold, and generate a detection signal based at least in part on the detected pulse width and the predetermined time threshold, the detected pulse width representing a length of time when the first transistor is turned on during the first switching cycle;
a control signal generator configured to receive the comparison signal and the detection signal and generate a control signal based at least in part on the comparison signal and the detection signal;
a current source configured to receive the control signal and generate a first current based at least in part on the control signal;
a current mirror configured to generate a second current based at least in part on the first current; and
a drive voltage generator configured to use the second current to raise the drive voltage at a rate of change to turn on the first transistor during a second switching cycle, the second switching cycle following the first switching cycle;
wherein the current source is further configured to:
generate the first current at a first magnitude if the feedback voltage is larger than the predetermined feedback threshold and the detected pulse width is larger than the predetermined time threshold;
generate the first current at a second magnitude if the feedback voltage is smaller than the predetermined feedback threshold; and
generate the first current at the second magnitude if the detected pulse width is smaller than the predetermined time threshold;
wherein the drive voltage generator is further configured to:
during the second switching cycle, raise the drive voltage at the rate of change equal to a first rate of increase in response to the first current being at the first magnitude; and
during the second switching cycle, raise the drive voltage at the rate of change equal to a second rate of increase in response to the first current being at the second magnitude;
wherein:
the first magnitude is smaller than the second magnitude; and
the first rate of increase is smaller than the second rate of increase.

### Claim 2 (depends on 1)

The controller of claim 1 wherein the comparator is further configured to:
generate the comparison signal at a logic high level if the feedback voltage is larger than the predetermined feedback threshold; and
generate the comparison signal at a logic low level if the feedback voltage is smaller than the predetermined feedback threshold.

### Claim 3 (depends on 2)

The controller of claim 2 wherein the pulse-width detector is further configured to:
generate the detection signal at the logic high level if the detected pulse width is larger than the predetermined time threshold; and
generate the detection signal at the logic low level if the detected pulse width is smaller than the predetermined time threshold.

### Claim 4 (depends on 3)

The controller of claim 3 wherein the control signal generator includes an AND gate configured to receive the comparison signal and the detection signal and generate the control signal based at least in part on the comparison signal and the detection signal.

### Claim 5 (depends on 4)

The controller of claim 4 wherein the AND gate is further configured to:
generate the control signal at the logic high level if the comparison signal is at the logic high level and the detection signal is at the logic high level;
generate the control signal at the logic low level if the comparison signal is at the logic low level; and
generate the control signal at the logic low level if the detection signal is at the logic low level.

### Claim 6 (depends on 5)

The controller of claim 5 wherein the current source is further configured to:
generate the first current at the first magnitude if the control signal is at the logic high level; and
generate the first current at the second magnitude if the control signal is at the logic low level.

### Claim 7 (depends on 6)

The controller of claim 6 wherein the current source is further configured to, if the control signal changes from the logic low level to the logic high level, decrease the first current from the second magnitude to the first magnitude.

### Claim 8 (depends on 7)

The controller of claim 7 wherein the drive voltage generator is further configured to, in response to the control signal changing from the logic low level to the logic high level, reduce the rate of change of the drive voltage from the second rate of increase to the first rate of increase.

### Claim 9 (depends on 8)

The controller of claim 8 wherein the drive voltage generator is further configured to, in response to the control signal changing from the logic low level to the logic high level, reduce the rate of change to lower a spike formed by a voltage difference from a drain terminal to a source terminal of a second transistor associated with the secondary winding in response to the second transistor being turned off.

### Claim 10 (depends on 1)

The controller of claim 1 wherein the second switching cycle follows immediately the first switching cycle.

### Claim 11

A controller for a switching power supply, the controller comprising:
a terminal configured to output a drive voltage to a first transistor associated with a primary winding coupled to a secondary winding of the switching power supply;
a voltage detector configured to receive an input voltage associated with the primary winding, compare the input voltage with a first predetermined threshold, and generate a first detection signal based at least in part on the input voltage and the first predetermined threshold;
a load detector configured to generate a second detection signal and change the second detection signal if an output current associated with the secondary winding becomes larger than a second predetermined threshold;
a control signal generator configured to receive the first detection signal and the second detection signal and generate a control signal based at least in part on the first detection signal and the second detection signal;
a current source configured to receive the control signal and generate a first current based at least in part on the control signal;
a current mirror configured to generate a second current based at least in part on the first current; and
a drive voltage generator configured to use the second current to raise the drive voltage at a rate of change to turn on the first transistor;
wherein the current source is further configured to:
generate the first current at a first magnitude if the input voltage is larger than the first predetermined threshold and the output current is larger than the second predetermined threshold;
generate the first current at a second magnitude if the input voltage is smaller than the first predetermined threshold; and
generate the first current at the second magnitude if the output current is smaller than the second predetermined threshold;
wherein the drive voltage generator is further configured to:
raise the drive voltage at the rate of change equal to a first rate of increase in response to the first current being at the first magnitude; and
raise the drive voltage at the rate of change equal to a second rate of increase in response to the first current being at the second magnitude;
wherein:
the first magnitude is smaller than the second magnitude; and
the first rate of increase is smaller than the second rate of increase.

### Claim 12 (depends on 11)

The controller of claim 11 wherein the voltage detector is further configured to:
generate the first detection signal at a logic high level if the input voltage is larger than the first predetermined threshold; and
generate the first detection signal at a logic low level if the input voltage is smaller than the first predetermined threshold.

### Claim 13 (depends on 12)

The controller of claim 12 wherein the load detector is further configured to:
generate the second detection signal at the logic high level if the output current is larger than the second predetermined threshold; and
generate the second detection signal at the logic low level if the output current is smaller than the second predetermined threshold.

### Claim 14 (depends on 13)

The controller of claim 13 wherein the control signal generator includes an AND gate configured to receive the first detection signal and the second detection signal and generate the control signal based at least in part on the first detection signal and the second detection signal.

### Claim 15 (depends on 14)

The controller of claim 14 wherein the AND gate is further configured to:
generate the control signal at the logic high level if the first detection signal is at the logic high level and the second detection signal is at the logic high level;
generate the control signal at the logic low level if the first detection signal is at the logic low level; and
generate the control signal at the logic low level if the second detection signal is at the logic low level.

### Claim 16 (depends on 15)

The controller of claim 15 wherein the current source is further configured to:
generate the first current at the first magnitude if the control signal is at the logic high level; and
generate the first current at the second magnitude if the control signal is at the logic low level.

### Claim 17 (depends on 16)

The controller of claim 16 wherein the current source is further configured to, if the control signal changes from the logic low level to the logic high level, decrease the first current from the second magnitude to the first magnitude.

### Claim 18 (depends on 17)

The controller of claim 17 wherein the drive voltage generator is further configured to, in response to the control signal changing from the logic low level to the logic high level, reduce the rate of change of the drive voltage from the second rate of increase to the first rate of increase.

### Claim 19 (depends on 18)

The controller of claim 18 wherein the drive voltage generator is further configured to, in response to the control signal changing from the logic low level to the logic high level, reduce the rate of change to lower a spike formed by a voltage difference from a drain terminal to a source terminal of a second transistor associated with the secondary winding in response to the second transistor being turned off.

### Claim 20

A method for a switching power supply, the method comprising:
receiving a feedback voltage representing an output voltage associated with a secondary winding of the switching power supply;
outputting a drive voltage to a first transistor associated with a primary winding coupled to the secondary winding of the switching power supply;
receiving the feedback voltage and a predetermined feedback threshold;
generating a comparison signal based at least in part on the feedback voltage and the predetermined feedback threshold;
detecting a pulse width of the drive voltage during a first switching cycle, the detected pulse width representing a length of time when the first transistor is turned on during the first switching cycle;
comparing the detected pulse width with a predetermined time threshold;
generating a detection signal based at least in part on the detected pulse width and the predetermined time threshold;
receiving the comparison signal and the detection signal;
generating a control signal based at least in part on the comparison signal and the detection signal;
receiving the control signal;
generating a first current based at least in part on the control signal;
generating a second current based at least in part on the first current; and
using the second current to raise the drive voltage at a rate of change to turn on the first transistor during a second switching cycle, the second switching cycle following the first switching cycle;
wherein the generating a first current based at least in part on the control signal includes:
generating the first current at a first magnitude if the feedback voltage is larger than the predetermined feedback threshold and the detected pulse width is larger than the predetermined time threshold;
generating the first current at a second magnitude if the feedback voltage is smaller than the predetermined feedback threshold; and
generating the first current at the second magnitude if the detected pulse width is smaller than the predetermined time threshold;
wherein the outputting a drive voltage to a first transistor associated with a primary winding coupled to the secondary winding of the switching power supply includes:
during the second switching cycle, raising the drive voltage at the rate of change equal to a first rate of increase in response to the first current being at the first magnitude; and
during the second switching cycle, raising the drive voltage at the rate of change equal to a second rate of increase in response to the first current being at the second magnitude;
wherein:
the first magnitude is smaller than the second magnitude; and
the first rate of increase is smaller than the second rate of increase.

### Claim 21

A method for a switching power supply, the method comprising:
outputting a drive voltage to a first transistor associated with a primary winding coupled to a secondary winding of the switching power supply;
receiving an input voltage associated with the primary winding;
comparing the input voltage with a first predetermined threshold;
generating a first detection signal based at least in part on the input voltage and the first predetermined threshold;
generating a second detection signal;
changing the second detection signal if an output current associated with the secondary winding becomes larger than a second predetermined threshold;
receiving the first detection signal and the second detection signal;
generating a control signal based at least in part on the first detection signal and the second detection signal;
receiving the control signal;
generating a first current based at least in part on the control signal;
generating a second current based at least in part on the first current; and
using the second current to raise the drive voltage at a rate of change to turn on the first transistor;
wherein the generating a first current based at least in part on the control signal includes:
generating the first current at a first magnitude if the input voltage is larger than the first predetermined threshold and the output current is larger than the second predetermined threshold;
generating the first current at a second magnitude if the input voltage is smaller than the first predetermined threshold; and
generating the first current at the second magnitude if the output current is smaller than the second predetermined threshold;
wherein the outputting a drive voltage to a first transistor associated with a primary winding coupled to a secondary winding of the switching power supply includes:
raising the drive voltage at the rate of change equal to a first rate of increase in response to the first current being at the first magnitude; and
raising the drive voltage at the rate of change equal to a second rate of increase in response to the first current being at the second magnitude;
wherein:
the first magnitude is smaller than the second magnitude; and
the first rate of increase is smaller than the second rate of increase.
