# US 2024/0204657 A1 · Quasi-resonant controlled switching power supply with an adaptive upper limit of valley number

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

- Number: US 2024/0204657 A1
- Document ID: US20240204657A1
- Status: Published application
- Kind: A1
- Application number: 18/514,404
- Filed: 2023-11-20
- Published: 2024-06-20
- Earliest claimed: 2022-12-15
- Assignees: Chengdu Monolithic Power Systems Co., Ltd.
- Applicants: Chengdu Monolithic Power Systems Co., Ltd.
- Inventors: Xuefeng Chen
- Web page: https://patentgrep.com/patent/US20240204657A1

## CPC

- H02M 3/33507: {with automatic control of the output voltage or current, e.g. flyback converters (H02M3/33561, H02M3/33569 take precedence)}
- H02M 1/0054: {Transistor switching losses (periodically suspending operation of switching converter in low power mode H02M1/0035)}
- H02M 1/0058: {by employing soft switching techniques, i.e. commutation of transistors when applied voltage is zero or when current flow is zero (using an auxiliary actively switched resonant commutation circuit connected to an intermediate DC voltage or between two push-pull branches of an inverter bridge H02M7/4811; in resonant inverters H02M7/4815; in inverters operating from a resonant DC source H02M7/4826)}
- H02M 3/01: {Resonant DC/DC converters}
- H02M 1/0025: {Arrangements for modifying reference values, feedback values or error values in the control loop of a converter}
- H02M 1/0032: {Control circuits allowing low power mode operation, e.g. in standby mode}
- H02M 3/33523: {with galvanic isolation between input and output of both the power stage and the feedback loop}
- Y02B 70/10: Technologies improving the efficiency by using switched-mode power supplies [SMPS], i.e. efficient power electronics conversion e.g. power factor correction or reduction of losses in power supplies or efficient standby modes
- 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)
- Y02B: CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS

## Abstract

A controller used in a switching power supply having a power switch and an energy storage element. A winding voltage of the energy storage element oscillates to provide an oscillation signal having one or more valleys during an OFF period of the power switch. The controller has a target valley number generator for providing a target locked valley number which is not exceeding an upper limit, a first comparison circuit for providing a first square wave signal by comparing a voltage sensing signal representative of the oscillation signal with a first threshold voltage, a second comparison circuit for providing a second square wave signal by comparing the voltage sensing signal with a second threshold voltage less than the first threshold voltage, and an upper limit updating circuit to determine if to update the upper limit.

## Claims

### Claim 1

A controller used in a switching power supply having a power switch and an energy storage element coupled to the power switch, a winding voltage of the energy storage element oscillates to provide an oscillation signal having one or more valleys during an OFF period of the power switch, the controller comprising:
a target valley number generator configured to provide a target locked valley number corresponding to a valley switching of the power switch, wherein the target locked valley number will not exceed an upper limit stored in a register;
a first comparison circuit configured to compare a voltage sensing signal representative of the oscillation signal with a first threshold voltage during the OFF period of the power switch to provide a first square wave signal;
a second comparison circuit configured to compare the voltage sensing signal with a second threshold voltage during the OFF period of the power switch to provide a second square wave signal, wherein the second threshold voltage is less than the first threshold voltage; and
an upper limit updating circuit configured to determine if to update the upper limit based on the first square wave signal and the second square wave signal.

### Claim 2 (depends on 1)

The controller of claim 1, wherein the upper limit updating circuit comprising:
a first falling-edge trigger circuit configured to generate one pulse at each falling edge of the first square wave signal to provide a first pulse signal;
a second falling-edge trigger circuit configured to generate one pulse at each falling edge of the second square wave signal to provide a second pulse signal;
a first determination circuit configured to compare the number of pulses of the second pulse signal with the number of pulses of the first pulse signal and to generate a first determination signal; and
a second determination circuit configured to compare the number of pulses of the second pulse signal and the upper limit currently stored in the register, and to provide an updating indication signal based on the comparison and first determination signal, and the upper limit is updated when the updating indication signal is enabled.

### Claim 3 (depends on 2)

The controller of claim 2, wherein the first determination signal is enabled when the number of the pulses of the second pulse signal is greater than the number of the pulses of the first pulse signal.

### Claim 4 (depends on 3)

The controller of claim 3, wherein when the first determination signal is enabled and the number of the pulses of the second pulse signal is not equal to the upper limit currently stored in the register, the upper limit is updated to be the number of the pulses of the second pulse signal.

### Claim 5 (depends on 4)

The controller of claim 4, wherein the target valley number generator comprises:
a hysteresis feedback circuit configured to receive an output feedback signal indicative of an output signal of the switching power supply and to generate a hysteresis feedback signal based on the output feedback signal;
a third comparison circuit configured to compare the output feedback signal and a ramp signal to generate a first comparison signal;
a fourth comparison circuit configured to compare the hysteresis feedback signal and the ramp signal to provide a second comparison signal; and
a target valley determination circuit configured to determine the target locked valley number based on a valley pulse signal corresponding to the one or more valleys of the oscillation signal, the first comparison signal, the second comparison signal and the current locked valley number.

### Claim 6 (depends on 5)

The controller of claim 5, further comprises a turning-on control circuit configured to provide a turning-on control signal for controlling the turning-on of the power switch.

### Claim 7 (depends on 6)

The controller of claim 6, wherein:
if the number of the pulses of the second pulse signal is less than the upper limit, the power switch is turned on at the valley corresponding to the target locked valley number;
if the number of pulses of the second pulse signal is not less than the upper limit after a falling-edge of the first comparison signal comes, the power switch is turned on at the valley corresponding to the upper limit; and
if the number of pulses of the second pulse signal is not less than the upper limit before the falling-edge of the first comparison signal comes, the power switch is turned on when the falling-edge of the first comparison signal comes.

### Claim 8

A switching power supply, comprising:
a power switch;
an energy storage element coupled to the power switch, during an OFF period of the power switch, a winding voltage of the energy storage element oscillates to provide an oscillation signal having one or more valleys; and
a controller, comprising:
a target valley number generator configured to provide a target locked valley number corresponding to a valley switching of the power switch, wherein the target locked valley number will not exceed an upper limit stored in a register;
a first comparison circuit configured to compare a voltage sensing signal representative of the oscillation signal with a first threshold voltage during the OFF period of the power switch, to provide a first square wave signal;
a second comparison circuit configured to compare the voltage sensing signal with a second threshold voltage during the OFF period of the power switch, to provide a second square wave signal, wherein the second threshold voltage is less than the first threshold voltage; and
an upper limit updating circuit configured to determine if to update the upper limit based on the first square wave signal and the second square wave signal.

### Claim 9 (depends on 8)

The switching power supply of claim 8, further comprises:
a first falling-edge trigger circuit configured to generate one pulse at each falling edge of the first square wave signal to provide a first pulse signal;
a second falling-edge trigger circuit configured to generate one pulse at each falling edge of the second square wave signal to provide a second pulse signal;
a first determination circuit configured to compare the number of pulses of the second pulse signal with the number of pulses of the first pulse signal, to generate a first determination signal; and
a second determination circuit configured to compare the number of pulses of the second pulse signal and the upper limit currently stored in the register, and to provide an updating indication signal based on the comparison and first determination signal, and the upper limit is updated when the updating indication signal is enabled.

### Claim 10 (depends on 9)

The switching power supply of claim 9, wherein the first determination signal is enabled when the number of pulses of the second pulse signal is greater than the number of pulses of the first pulse signal.

### Claim 11 (depends on 10)

The switching power supply of claim 10, wherein when the first determination signal is enabled and the number of pulses of the second pulse signal is not equal to the upper limit currently stored in the register, the upper limit is updated to be the number of pulses of the second pulse signal.

### Claim 12 (depends on 11)

The switching power supply of claim 11, wherein the target valley number generator comprises:
a hysteresis feedback circuit configured to receive an output feedback signal indicative of an output signal of the switching power supply and to generate a hysteresis feedback signal based on the output feedback signal;
a third comparison circuit configured to compare the output feedback signal and a ramp signal to generate a first comparison signal;
a fourth comparison circuit configured to compare the hysteresis feedback signal and the ramp signal to provide a second comparison signal; and
a target valley determination circuit configured to determine the target locked valley number based on a valley pulse signal corresponding to the one or more valleys of the oscillation signal, the first comparison signal and the second comparison signal and current locked valley number.

### Claim 13 (depends on 12)

The switching power supply of claim 12, further comprises a turning-on control circuit configured to provide a turning-on control signal for controlling the turning-on of the power switch.

### Claim 14 (depends on 13)

The switching power supply of claim 13, wherein:
if the number of pulses of the second pulse signal is less than the upper limit, the power switch is turned on at the valley corresponding to the target locked valley number;
if the number of pulses of the second pulse signal is not less than the upper limit after a falling-edge of the first comparison signal comes, the power switch is turned on at the valley corresponding to the upper limit; and
if the number of pulses of the second pulse signal is not less than the upper limit before the falling-edge of the first comparison signal comes, the power switch is turned on when the falling-edge of the first comparison signal comes.

### Claim 15

A control method used in a switching power supply having a power switch and an energy storage element coupled to the power switch, a winding voltage of the energy storage element oscillates to provide an oscillation signal having one or more valleys during an OFF period of the power switch, the control method comprising:
providing a target locked valley number corresponding to a valley switching of the power switch, wherein the target locked valley number will not exceed an upper limit stored in a register;
comparing a voltage sensing signal representative of the oscillation signal with a first threshold voltage during the OFF period of the power switch, to provide a first square wave signal;
comparing the voltage sensing signal with a second threshold voltage during the OFF period of the power switch, to provide a second square wave signal, wherein the second threshold voltage is less than the first threshold voltage; and
determining if to update the upper limit based on the first square wave signal and the second square wave signal.

### Claim 16 (depends on 15)

The control method of claim 15, further comprising:
generating one pulse at each falling edge of the first square wave signal, to provide a first pulse signal;
generate one pulse at each falling edge of the second square wave signal to provide a second pulse signal;
comparing the number of pulses of the second pulse signal with the number of pulses of the first pulse signal, to generate a first determination signal; and
comparing the number of pulses of the second pulse signal and the upper limit currently stored in the register, to provide an updating indication signal based on the comparison and first determination signal, and updating the upper limit when the updating indication signal is enabled.

### Claim 17 (depends on 16)

The control method of claim 16, wherein:
the first determination signal is enabled when the number of pulses of the second pulse signal is greater than the number of pulses of the first pulse signal.

### Claim 18 (depends on 17)

The control method of claim 17, wherein:
when the first determination signal is enabled and the number of pulses of the second pulse signal is not equal to the upper limit currently stored in the register, the upper limit is updated to be the number of pulses of the second pulse signal.

### Claim 19 (depends on 18)

The control method of claim 18, wherein providing a target locked valley number comprising:
providing an output feedback signal indicative of an output signal of the switching power supply;
generating a hysteresis feedback signal based on the output feedback signal;
comparing the output feedback signal and a ramp signal, to generate a first comparison signal;
comparing the hysteresis feedback signal and the ramp signal, to provide a second comparison signal; and
determining the target locked valley number based on a valley pulse signal corresponding to the one or more valleys of the oscillation signal, the first comparison signal and the second comparison signal and the current locked valley number.

### Claim 20 (depends on 19)

The control method of claim 19, wherein
if the number of pulses of the second pulse signal is less than the upper limit, the power switch is turned on at the valley corresponding to the target locked valley number;
if the number of pulses of the second pulse signal is not less than the upper limit after a falling-edge of the first comparison signal comes, the power switch is turned on at the valley corresponding to the upper limit; and
if the number of pulses of the second pulse signal is not less than the upper limit before the falling-edge of the first comparison signal comes, the power switch is turned on when the falling-edge of the first comparison signal comes.
