# US 2012/0075891 A1 · Systems and methods for constant voltage mode and constant current mode in flyback power converters with primary-side sensing and regulation

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

- Number: US 2012/0075891 A1
- Document ID: US20120075891A1
- Status: Published application
- Kind: A1
- Application number: 13/071,384
- Filed: 2011-03-24
- Published: 2012-03-29
- Earliest claimed: 2008-10-21
- Assignees: On-Bright Electronics (Shanghai) Co., Ltd.
- Inventors: Yunchao Zhang; Yaming Cao; Xiaomin Huang; Xiuhong Zhang; Lieyi Fang
- Web page: https://patentgrep.com/patent/US20120075891A1

## CPC

- H05B 45/385: using flyback topology
- H02M 1/08: Circuits specially adapted for the generation of control voltages for semiconductor devices incorporated in static converters
- H02M 3/335: using semiconductor devices only
- H02M 3/33515: {with digital control}
- H02M 3/33523: {with galvanic isolation between input and output of both the power stage and the feedback loop}
- H02M 1/0009: {Devices or circuits for detecting current in a converter}
- H05B: ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- 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

System and method for regulating a power converter. The system includes a first signal generator configured to receive a first sensed signal and generate an output signal associated with demagnetization. The first sensed signal is related to a first winding coupled to a secondary winding for a power converter, and the secondary winding is associated with at least an output current for the power converter. Additionally, the system includes a ramping signal generator configured to receive the output signal and generate a ramping signal, and a first comparator configured to receive the ramping signal and a first threshold signal and generate a first comparison signal based on at least information associated with the ramping signal and the first threshold signal. Moreover, the system includes a second comparator configured to receive a second sensed signal and a second threshold signal and generate a second comparison signal.

## Claims

### Claim 1

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate an output signal associated with demagnetization, the first sensed signal being related to a first winding coupled to a secondary winding for a power converter, the secondary winding being associated with at least an output current for the power converter;
a ramping signal generator configured to receive the output signal and generate a ramping signal;
a first comparator configured to receive the ramping signal and a first threshold signal and generate a first comparison signal based on at least information associated with the ramping signal and the first threshold signal;
a second comparator configured to receive a second sensed signal and a second threshold signal and generate a second comparison signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
a second signal generator configured to receive at least the first comparison signal and the second comparison signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output a drive signal to a switch, the switch being configured to affect the first current flowing through the primary winding;
wherein:
the output signal is associated with a demagnetization duration;
the drive signal is associated with a switching period; and
the system is further configured to keep a ratio of the demagnetization duration to the switching period constant.

### Claim 2 (depends on 1)

The system of claim 1 is further configured to keep a peak of the second sensed signal constant in magnitude.

### Claim 3 (depends on 2)

The system of claim 2 is further configured to keep the output current constant.

### Claim 4 (depends on 1)

The system of claim 1 wherein:
the ramping signal generator includes a capacitor, a current source, and a current sink;
wherein:
the capacitor is configured to be discharged by the current sink if the output signal is at a first logic level and charged by the current source if the output signal is at a second logic level; and
the capacitor is further configured to output the ramping signal.

### Claim 5 (depends on 4)

The system of claim 4 wherein:
the first logic level is a logic high level; and
the second logic level is a logic low level.

### Claim 6 (depends on 1)

The system of claim 1 wherein the second signal generator includes a flip-flop component.

### Claim 7

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating an output signal based on at least information associated with the first sensed signal, the output signal being related to demagnetization;
receiving the output signal;
generating a ramping signal based on at least information associated with the output signal;
receiving the ramping signal and a first threshold signal;
processing information associated with the ramping signal and the first threshold signal;
generating a first comparison signal based on at least information associated with the ramping signal and the first threshold signal;
receiving a second sensed signal and a second threshold signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
processing information associated with the second sensed signal and the second threshold signal;
generating a second comparison signal based on at least information associated with the second sensed signal and the second threshold signal;
receiving the first comparison signal and the second comparison signal;
processing information associated with the first comparison signal and the second comparison signal;
generating a modulation signal based on at least information associated with the first comparison signal and the second comparison signal;
receiving the modulation signal;
outputting to a switch a drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding;
wherein:
the output signal is associated with a demagnetization duration;
the drive signal is associated with a switching period; and
a ratio of the demagnetization duration to the switching period is kept constant.

### Claim 8

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive at least an input signal and generate at least an output signal associated with demagnetization, the input signal being related to at least an output current for a power converter;
a first controller configured to receive at least the output signal and generate at least a first control signal based on at least information associated with the output signal;
a second controller configured to receive a first sensed signal and a first threshold signal and generate a second control signal, the first sensed signal being associated with a first current flowing through a primary winding for the power converter;
an oscillator configured to receive at least the first control signal and generate at least a clock signal based on at least information associated with the first control signal;
a second signal generator configured to receive at least the clock signal and the second control signal and generate at least a modulation signal;
a gate driver configured to receive at least the modulation signal and output at least a drive signal to a switch, the switch being configured to affect the first current flowing through the primary winding;
wherein:
the output signal is associated with a demagnetization duration; and
the drive signal is associated with a switching period;
wherein the system is further configured to:
keep a ratio of the demagnetization duration to the switching period constant; and
keep a peak of the first sensed signal constant in magnitude.

### Claim 9 (depends on 8)

The system of claim 8, and further comprising:
a compensation component configured to generate at least a compensation signal;
wherein:
the input signal is a combination of the compensation signal and a second sensed signal;
the second sensed signal is associated with a first winding coupled to a secondary winding for the power converter;
the secondary winding is related to at least the output current for the power converter.

### Claim 10

A method for regulating a power converter, the method comprising:
receiving at least an input signal, the input signal being related to at least an output current for a power converter;
generating at least an output signal based on at least information associated with the input signal, the output signal being related to demagnetization;
receiving at least the output signal;
processing information associated with the output signal;
generating at least a clock signal based on at least information associated with the output signal;
receiving a sensed signal and a threshold signal, the sensed signal being associated with a first current flowing through a primary winding for the power converter;
processing information associated with the sensed signal and the threshold signal;
generating a control signal based on at least information associated with the sensed signal and the threshold signal;
receiving at least the clock signal and the control signal;
processing information associated with the clock signal and the control signal;
generating at least a modulation signal based on at least information associated with the clock signal and the control signal;
receiving at least the modulation signal;
outputting to a switch at least a drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding;
wherein:
the output signal is associated with a demagnetization duration;
the drive signal is associated with a switching period;
a ratio of the demagnetization duration to the switching period is kept constant; and
a peak of the first sensed signal is kept constant in magnitude.

### Claim 11

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate a first output signal associated with demagnetization, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
a first ramping signal generator configured to receive the first output signal and generate a first ramping signal;
a first comparator configured to receive the first ramping signal and a first threshold signal and generate a first comparison signal based on at least information associated with the first ramping signal and the first threshold signal;
a peak detector configured to receive a drive signal and a second sensed signal and generate a peak signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
an amplifier configured to receive the peak signal and a second threshold signal and generate a second output signal with a capacitor, the capacitor being coupled to the amplifier;
a second comparator configured to receive the second output signal and a second ramping signal and generate a second comparison signal;
a second signal generator configured to receive at least the first comparison signal and the second comparison signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output the drive signal to the peak detector and a switch, the switch being configured to affect the first current flowing through the primary winding.

### Claim 12 (depends on 11)

The system of claim 11 wherein:
the first output signal is associated with a demagnetization duration;
the drive signal is associated with a switching period; and
the system is further configured to keep a ratio of the demagnetization duration to the switching period constant.

### Claim 13 (depends on 12)

The system of claim 12 is further configured to keep an average magnitude of the peak signal over a first duration constant.

### Claim 14 (depends on 13)

The system of claim 13 is further configured to keep the output current constant.

### Claim 15 (depends on 11)

The system of claim 11 wherein the peak signal represents a peak magnitude of the second sensed signal within each switching period of the drive signal.

### Claim 16 (depends on 11)

The system of claim 11 wherein:
the first ramping signal generator includes a capacitor, a current source, and a current sink;
wherein:
the capacitor is configured to be discharged by the current sink if the first output signal is at a first logic level and charged by the current source if the first output signal is at a second logic level; and
the capacitor is further configured to output the first ramping signal.

### Claim 17 (depends on 16)

The system of claim 16 wherein:
the first logic level is a logic high level; and
the second logic level is a logic low level.

### Claim 18 (depends on 11)

The system of claim 11 wherein the second signal generator includes a flip-flop component.

### Claim 19 (depends on 11)

The system of claim 11, and further comprising a second ramping signal generator configured to generate the second ramping signal.

### Claim 20 (depends on 11)

The system of claim 11 wherein the amplifier includes a transconductance amplifier.

### Claim 21

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating a first output signal based on at least information associated with the first sensed signal, the first output signal being related to demagnetization;
receiving the first output signal;
generating a first ramping signal based on at least information associated with the first output signal;
receiving the first ramping signal and a first threshold signal;
processing information associated with the first ramping signal and the first threshold signal;
generating a first comparison signal based on at least information associated with the first ramping signal and the first threshold signal;
receiving a drive signal and a second sensed signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
processing information associated with the drive signal and the second sensed signal;
generating a peak signal based on at least information associated with the drive signal and the second sensed signal;
receiving the peak signal and a second threshold signal;
processing information associated with the peak signal and the second threshold signal;
generating a second output signal based on at least information associated with the peak signal and the second threshold signal;
receiving the second output signal and a second ramping signal;
processing information associated with the second output signal and the second ramping signal;
generating a second comparison signal based on at least information associated with the second output signal and the second ramping signal;
receiving the first comparison signal and the second comparison signal;
processing information associated with the first comparison signal and the second comparison signal;
generating a modulation signal based on at least information associated with the first comparison signal and the second comparison signal;
receiving the modulation signal; and
outputting the drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding.

### Claim 22

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate an output signal associated with demagnetization, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
a peak detector configured to receive a drive signal and a second sensed signal and generate a peak signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
a second signal generator configured to process at least information associated with the output signal and the peak signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output the drive signal to the peak detector and a switch, the switch being configured to affect the first current flowing through the primary winding;
wherein:
the output signal is associated with a demagnetization duration; and
the drive signal is associated with a switching period;
wherein the system is further configured to:
keep a ratio of the demagnetization duration to the switching period constant; and
keep an average magnitude of the peak signal over a first duration constant.

### Claim 23 (depends on 22)

The system of claim 22 is further configured to keep the output current constant.

### Claim 24

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating an output signal based on at least information associated with the first sensed signal, the first sensed signal being related to demagnetization;
receiving a drive signal and a second sensed signal;
processing information associated with the drive signal and the second sensed signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
generating a peak signal based on at least information associated with the drive signal and the second sensed signal;
processing at least information associated with the output signal and the peak signal;
generating a modulation signal based on at least information associated with the output signal and the peak signal;
receiving the modulation signal;
outputting to a switch the drive signal based on at least information associated with the modulation signal to at least affect the first current flowing through the primary winding;
wherein:
the output signal is associated with a demagnetization duration;
the drive signal is associated with a switching period;
a ratio of the demagnetization duration to the switching period is kept constant; and
an average magnitude of the peak signal over a first duration is kept constant.

### Claim 25

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate a first output signal associated with demagnetization, the first sensed signal being related to a first winding coupled to a secondary winding for a power converter, the secondary winding being associated with at least an output current for the power converter;
a peak detector configured to receive a drive signal and a second sensed signal and generate a peak signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
a second signal generator configured to receive the drive signal, the first output signal, and the peak signal, and generate a second output signal;
an amplifier configured to receive the second output signal and a threshold signal and generate a third output signal with a capacitor, the capacitor being coupled to the amplifier;
a comparator configured to receive the third output signal and a ramping signal and generate a comparison signal;
a third signal generator configured to receive at least the comparison signal and a clock signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output the drive signal to the peak detector, the second signal generator and a switch, the switch being configured to affect the first current flowing through the primary winding.

### Claim 26 (depends on 25)

The system of claim 25 wherein:
the drive signal is associated with a switching period; and
the system is further configured to keep the switching period constant.

### Claim 27 (depends on 26)

The system of claim 26 wherein:
the first output signal is associated with a demagnetization duration;
the demagnetization duration multiplied by the peak signal in magnitude is equal to a demagnetization peak value; and
the system is further configured to keep an average magnitude of the demagnetization peak value over a first duration constant.

### Claim 28 (depends on 27)

The system of claim 27 is further configured to keep the output current constant.

### Claim 29 (depends on 25)

The system of claim 25 is further configured to:
keep the output current constant; and
keep the power factor substantially equal to 1.

### Claim 30 (depends on 29)

The system of claim 29 is further configured to provide at least the output current to one or more light emitting diodes.

### Claim 31 (depends on 25)

The system of claim 25, and further comprising an oscillator configured to generate the clock signal and the ramping signal.

### Claim 32 (depends on 25)

The system of claim 25 wherein the third signal generator includes a flip-flop component coupled to an AND gate.

### Claim 33 (depends on 25)

The system of claim 25 wherein the second output signal is proportional to the demagnetization duration multiplied by the peak signal in magnitude.

### Claim 34 (depends on 25)

The system of claim 25 wherein the peak signal represents a peak magnitude of the second sensed signal within each switching period of the drive signal.

### Claim 35 (depends on 25)

The system of claim 25 wherein the amplifier includes a transconductance amplifier.

### Claim 36 (depends on 25)

The system of claim 25 wherein the second signal generator includes a cycle-by-cycle integrator, the cycle-by-cycle integrator being reset for each switching period.

### Claim 37

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating a first output signal associated with demagnetization;
receiving a drive signal and a second sensed signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
processing information associated with the drive signal and the second sensed signal;
generating a peak signal based on at least information associated with the drive signal and the second sensed signal;
receiving the drive signal, the first output signal, and the peak signal;
processing information associated with the drive signal, the first output signal, and the peak signal;
generating a second output signal based on at least information associated with the drive signal, the first output signal, and the peak signal;
receiving the second output signal and a threshold signal;
processing information associated with the second output signal and the threshold signal;
generating a third output signal based on at least information associated with the second output signal and the threshold signal;
receiving the third output signal and a ramping signal;
processing information associated with the third output signal and the ramping signal;
generating a comparison signal based on at least information associated with the third output signal and the ramping signal;
receiving the comparison signal and a clock signal;
processing information associated with the comparison signal and the clock signal;
generating a modulation signal based on at least information associated with the comparison signal and the clock signal;
receiving the modulation signal; and
outputting the drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding.

### Claim 38

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate a first output signal associated with demagnetization, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
a peak detector configured to receive a drive signal and a second sensed signal and generate a peak signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
a second signal generator configured to receive the drive signal, the first output signal and the peak signal, and generate a second output signal;
an amplifier configured to receive the second output signal and a threshold signal and generate a third output signal with a capacitor, the capacitor being coupled to the amplifier;
a third signal generator configured to receive the third output signal and a first input signal and generate a fourth output signal, the first input signal being proportional to a second input signal received by the primary winding;
a comparator configured to receive the fourth output signal and the second sensed signal and generate a comparison signal;
a fourth signal generator configured to receive at least the comparison signal and a clock signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output the drive signal to the peak detector, the second signal generator, and a switch, the switch being configured to affect the first current flowing through the primary winding.

### Claim 39 (depends on 38)

The system of claim 38 wherein the third signal generator includes a multiplier configured to generate the fourth output signal equal to the third output signal multiplied by the first input signal in magnitude.

### Claim 40 (depends on 38)

The system of claim 38 wherein:
the drive signal is associated with a switching period; and
the system is further configured to keep the switching period constant.

### Claim 41 (depends on 38)

The system of claim 38 wherein:
the first output signal is associated with a demagnetization duration;
the demagnetization duration multiplied by the peak signal in magnitude is equal to a demagnetization peak value; and
the system is further configured to keep an average magnitude of the demagnetization peak value over a first duration constant.

### Claim 42 (depends on 38)

The system of claim 38 is further configured to keep the output current constant.

### Claim 43 (depends on 38)

The system of claim 38 is further configured to:
keep the output current constant; and
keep the power factor substantially equal to 1.

### Claim 44 (depends on 38)

The system of claim 38 is further configured to provide at least the output current to one or more light emitting diodes.

### Claim 45 (depends on 38)

The system of claim 38 wherein the second output signal is proportional to the demagnetization duration multiplied by the peak signal in magnitude.

### Claim 46 (depends on 38)

The system of claim 38 wherein the peak signal represents a peak magnitude of the second sensed signal within each switching period of the drive signal.

### Claim 47 (depends on 38)

The system of claim 38 wherein the second signal generator includes a cycle-by-cycle integrator, the cycle-by-cycle integrator being reset for each switching period.

### Claim 48

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating a first output signal associated with demagnetization;
receiving a drive signal and a second sensed signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
processing information associated with the drive signal and a second sensed signal;
generating a peak signal based on at least information associated with the drive signal and the second sensed signal;
receiving the drive signal, the first output signal, and the peak signal;
processing information associated with the drive signal, the first output signal, and the peak signal;
generating a second output signal based on at least information associated with the drive signal, the first output signal, and the peak signal;
receiving the second output signal and a threshold signal;
processing information associated with the second output signal and the threshold signal;
generating a third output signal based on at least information associated with the second output signal and the threshold signal;
receiving the third output signal and a first input signal, the first input signal being proportional to a second input signal received by the primary winding;
processing information associated with the third output signal and the first input signal;
generating a fourth output signal based on at least information associated with the third output signal and the first input signal;
receiving the fourth output signal and the second sensed signal;
processing information associated with the fourth output signal and the second sensed signal;
generating a comparison signal based on at least information associated with the fourth output signal and the second sensed signal;
receiving at least the comparison signal and a clock signal;
processing information associated with the comparison signal and the clock signal;
generating a modulation signal based on at least information associated with the comparison signal and the clock signal;
receiving the modulation signal; and
outputting the drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding.

### Claim 49

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate a first output signal associated with demagnetization, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
a peak detector configured to receive a drive signal and a second sensed signal and generate a peak signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
a second signal generator configured to receive the drive signal, the first output signal, and the peak signal, and generate a second output signal;
an amplifier configured to receive the second output signal and a threshold signal and generate a third output signal with a capacitor, the capacitor being coupled to the amplifier;
a third signal generator configured to receive the first sensed signal, the third output signal and the drive signal and generate a fourth output signal;
a comparator configured to receive the fourth output signal and the second sensed signal and generate a comparison signal;
a fourth signal generator configured to receive at least the comparison signal and a clock signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output the drive signal to the peak detector, the second signal generator, the third signal generator, and a switch, the switch being configured to affect the first current flowing through the primary winding.

### Claim 50 (depends on 49)

The system of claim 49 wherein the third signal generator includes:
a switch configured to receive the first sensed signal and being controlled by the drive signal;
a multiplier configured to output the fourth output signal; and
an operational amplifier coupled to the switch and the multiplier.

### Claim 51 (depends on 49)

The system of claim 49 wherein:
the drive signal is associated with a switching period; and
the system is further configured to keep the switching period constant.

### Claim 52 (depends on 51)

The system of claim 51 wherein:
the first output signal is associated with a demagnetization duration;
the demagnetization duration multiplied by the peak signal in magnitude is equal to a demagnetization peak value; and
the system is further configured to keep an average magnitude of the demagnetization peak value over a first duration constant.

### Claim 53 (depends on 52)

The system of claim 52 is further configured to keep the output current constant.

### Claim 54 (depends on 49)

The system of claim 49 is further configured to:
keep the output current constant; and
keep the power factor substantially equal to 1.

### Claim 55 (depends on 49)

The system of claim 49 is further configured to provide at least the output current to one or more light emitting diodes.

### Claim 56 (depends on 49)

The system of claim 49 wherein the second output signal is proportional to the demagnetization duration multiplied by the peak signal in magnitude.

### Claim 57 (depends on 49)

The system of claim 49 wherein the peak signal represents a peak magnitude of the second sensed signal within each switching period of the drive signal.

### Claim 58 (depends on 49)

The system of claim 49 wherein the second signal generator includes a cycle-by-cycle integrator, the cycle-by-cycle integrator being reset for each switching period.

### Claim 59

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating a first output signal associated with demagnetization;
receiving a drive signal and a second sensed signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
processing information associated with the drive signal and the second sensed signal;
generating a peak signal based on at least information associated with the drive signal and the second sensed signal;
receiving the drive signal, the first output signal, and the peak signal;
processing information associated with the drive signal, the first output signal, and the peak signal;
generating a second output signal based on at least information associated with the drive signal, the first output signal, and the peak signal;
receiving the second output signal and a threshold signal;
processing information associated with the second output signal and the threshold signal;
generating a third output signal based on at least information associated with the second output signal and the threshold signal;
receiving the first sensed signal, the third output signal and the drive signal;
processing information associated with the first sensed signal, the third output signal and the drive signal;
generating a fourth output signal based on at least information associated with the first sensed signal, the third output signal and the drive signal;
receiving the fourth output signal and the second sensed signal;
processing information associated with the fourth output signal and the second sensed signal;
generating a comparison signal based on at least information associated with the fourth output signal and the second sensed signal;
receiving the comparison signal and a clock signal;
processing information associated with the comparison signal and the clock signal;
generating a modulation signal based on at least information associated with the comparison signal and the clock signal;
receiving the modulation signal; and
outputting the drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding.

### Claim 60

A system for regulating a power converter, the system comprising:
a first signal generator configured to receive a first sensed signal and generate an output signal associated with demagnetization, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
a peak detector configured to receive a drive signal and a second sensed signal and generate a peak signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
a second signal generator configured to process at least information associated with the output signal and the peak signal and generate a modulation signal; and
a gate driver configured to receive the modulation signal and output the drive signal to at least the peak detector and a switch, the switch being configured to affect the first current flowing through the primary winding;
wherein:
the drive signal is associated with a switching period;
the output signal is associated with a demagnetization duration; and
the demagnetization duration multiplied by the peak signal in magnitude is equal to a demagnetization peak value;
wherein the system is further configured to:
keep the switching period constant;
keep an average magnitude of the demagnetization peak value over a first duration constant; and
keep the output current constant.

### Claim 61 (depends on 60)

The system of claim 60 is further configured to keep the power factor substantially equal to 1.

### Claim 62

A method for regulating a power converter, the method comprising:
receiving a first sensed signal, the first sensed signal being associated with a first winding coupled to a secondary winding for a power converter, the secondary winding being related to at least an output current for the power converter;
generating an output signal associated with demagnetization;
receiving a drive signal and a second sensed signal, the second sensed signal being associated with a first current flowing through a primary winding coupled to the secondary winding for the power converter;
processing information associated with the drive signal and the second sensed signal;
generating a peak signal based on at least information associated with the drive signal and the second sensed signal;
processing information associated with the output signal and the peak signal;
generating a modulation signal based on at least information associated with the output signal and the peak signal;
receiving the modulation signal;
outputting the drive signal based on at least information associated with the modulation signal to affect the first current flowing through the primary winding;
wherein:
the drive signal is associated with a switching period;
the output signal is associated with a demagnetization duration; and
the demagnetization duration multiplied by the peak signal in magnitude is equal to a demagnetization peak value;
wherein:
the switching period is kept constant;
an average magnitude of the demagnetization peak value over a first duration is kept constant; and
the output current is kept constant.
