Switching power converter and primary side controller and control method thereof

By sensing synchronization signals and using capacitors to generate ramp signals, the problem of difficulty in frequency and duty cycle setting when there are lack of terminals in switching power converters is solved, enabling adaptive switching power converter operation.

CN111987894BActive Publication Date: 2024-09-10SEMICON COMPONENTS IND LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010400442.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-02-24
Filing Date
2020-05-13
Publication Date
2024-09-10
Estimated Expiration
2040-05-13

AI Technical Summary

Technical Problem

In switching power converters, the lack of additional terminals makes it difficult to provide synchronization signals and additional information to the controller, affecting the setting of operating frequency and signal duty cycle.

Method used

Pair switching is achieved by using a primary-side controller that senses the synchronization signal applied to the terminals, uses resistors to set the initial frequency, and limits the duty cycle of each cycle based on the parameters of the synchronization signal. Multiple capacitors are used to generate and limit the ramp signal. Adaptive operation of power converters.

Benefits of technology

Adaptive frequency and duty cycle control of switching power converters in the absence of additional terminals is achieved, ensuring operational flexibility and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111987894B_ABST
    Figure CN111987894B_ABST
Patent Text Reader

Abstract

The present invention is entitled "Switching power converter and primary side controller and control method thereof". The present invention discloses a switching power converter, a primary side controller and a control method thereof. At least some exemplary embodiments are methods of operating a switching power converter, including: operating the switching power converter at a first frequency by the primary side controller, the first frequency being set by a resistor coupled to a first pin of the primary side controller; and sensing a synchronization signal applied to a first terminal of the primary side controller, the synchronization signal having a variable second frequency; and operating the switching power converter at the second frequency by the primary side controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present patent application relates to the technical field of switching power converters, and in particular to a switching power converter that tracks an external synchronization signal. Background Art

[0002] The package of an integrated circuit encapsulates the integrated circuit and provides electrical connection to the encapsulated integrated circuit through pins or terminals electrically exposed outside the package. For a particular package size (e.g., a small outline integrated circuit (SOIC) with 16 terminals (i.e., SOIC-16)), the number of terminals is limited. In some cases, the terminals are omitted or not used for various reasons (e.g., physical separation between signals driven to or from the terminals to reduce crosstalk).

[0003] In the field of switching power converters, controllers for switching power converters (e.g., primary side controllers, secondary rectifier controllers) are in many cases packaged integrated circuits. However, for the setup and operation of the controller, many connections are made to the controller via terminals. For example, the operating frequency of the switching power converter can be set by resistors coupled to the terminals of the primary side controller. However, problems arise when additional information and / or signals need to be provided to the controller but no additional terminals are available. Summary of the invention

[0004] At least one exemplary embodiment is a method of operating a switching power converter, comprising: operating the switching power converter at a first frequency by a primary side controller, the first frequency being set by a resistor coupled to a first terminal of the primary side controller; and sensing a synchronization signal applied to the first terminal of the primary side controller, the synchronization signal having a variable second frequency; and then operating the switching power converter at the second frequency by the primary side controller.

[0005] In the exemplary method, operating the switching power converter at the second frequency may further include: limiting the duty cycle of the main switching signal in each cycle of the synchronization signal based on a parameter of the synchronization signal in a previous cycle of the synchronization signal. Limiting the duty cycle in each cycle of the synchronization signal may further include limiting the duty cycle of the main switching signal in each cycle of the synchronization signal based on an immediately previous cycle of the synchronization signal. Limiting the duty cycle in each cycle of the synchronization signal may further include limiting the duty cycle in each cycle of the main switching signal based on a period of the synchronization signal in an immediately previous cycle.

[0006] In the exemplary method, operating the switching power converter at a second frequency may further include: charging a first capacitor within the primary side controller during a first cycle of the synchronization signal; and setting a duty cycle limit of a drive signal driven to a drive terminal of the primary side controller in a second cycle of the synchronization signal, the setting being based on the second ramp signal converting over a voltage maintained on the first capacitor. The exemplary method may further include generating a second ramp signal in the second cycle by charging a third capacitor. The exemplary method may further include: setting a duty cycle limit of the drive signal in the first cycle based on the first ramp signal converting over a voltage maintained on a second capacitor during the first cycle of the synchronization signal, the second capacitor being different from the first capacitor. The exemplary method may further include: charging a second capacitor within the primary side controller during a third cycle of the synchronization signal immediately preceding the first cycle; and setting a duty cycle limit of the drive signal in the first cycle based on the first ramp signal converting over a voltage maintained on the second capacitor in the first cycle of the synchronization signal. The exemplary method may further include generating a first ramp signal in the first cycle by charging a third capacitor.

[0007] Another exemplary embodiment is a primary side controller for a switching power converter, the primary side controller comprising: a synchronization terminal and a drive terminal; a synchronization controller defining a synchronization input, a set output, and a reset output, the synchronization input being coupled to the synchronization terminal; and a drive logic defining a set input, a reset input, and a drive output, the set input being coupled to the set output, the reset input being coupled to the reset output, and the drive output being coupled to the drive terminal, the drive logic being configured to drive a control input of an electrically controlled switch. The drive logic may be configured to assert the drive output in response to assertion of the set input, and the drive logic may be configured to de-assert the drive output in response to assertion of the reset input. The synchronization controller can be configured to: in the absence of a synchronization signal sensed on the synchronization terminal, assert a setting input to the driving logic at a first frequency set by a direct current voltage (DC voltage) sensed by the synchronization controller on the synchronization terminal; sense a synchronization signal applied to the synchronization terminal, the synchronization signal having a variable second frequency; in the presence of a synchronization signal on the synchronization terminal, assert a setting input to the driving logic at the second frequency; and limit the duty cycle in each cycle of the synchronization signal based on parameters of the synchronization signal in a previous cycle.

[0008] In an exemplary primary side controller, the synchronous controller may further include: a current mirror defining a first mirror output and a third mirror output; a first sensing capacitor coupled to the first mirror output; a second sensing capacitor maintaining a voltage proportional to the period of the previous cycle of the synchronization signal; and a ramp capacitor coupled to the third mirror output. During a first cycle of the synchronization signal, the synchronous controller may be configured to: charge the first sensing capacitor through the first mirror output; charge the ramp capacitor through the third mirror output, the charging generating a ramp signal; and assert the reset output when the magnitude of the first ramp signal crosses the magnitude of the voltage of the second sensing capacitor.

[0009] The synchronous controller may also include: a current mirror defining a second mirror output; a first sensing capacitor maintaining a voltage proportional to the period of the first cycle of the synchronization signal; and a second sensing capacitor coupled to the second mirror output; a ramp capacitor coupled to the third mirror output. During the second cycle of the synchronization signal, the synchronous controller may be configured to: charge the second sensing capacitor through the second mirror output; charge the ramp capacitor through the third mirror output, and the charging generates a second ramp signal; and assert the reset output when the magnitude of the second ramp signal crosses the magnitude of the voltage of the first sensing capacitor. The first cycle of the synchronization signal may be immediately before the second cycle of the synchronization signal.

[0010] In an exemplary primary-side controller, the synchronous controller may further include: a current mirror defining a first mirror output, a second mirror output, and a third mirror output; a first sensing capacitor coupled to the first mirror output through a first electrically controlled switch defining a control input; a second sensing capacitor coupled to the second mirror output through a second electrically controlled switch defining a control input; a ramp capacitor coupled to the third mirror output through a third electrically controlled switch defining a control input; a comparator defining a first comparison input, a second comparison input, and a comparison output, the first comparison input being coupled to the ramp capacitor; a fourth electrically controlled switch, the ... Four electrical control switches define control inputs, a fourth electrical control switch is coupled between the first sensing capacitor and the second comparison input; a fifth electrical control switch, the fifth electrical control switch defines a control input, the fifth electrical control switch is coupled between the second sensing capacitor and the second comparison input; and control logic, the control logic defines a first control output coupled to the control input of the first electrical control switch, a second control output coupled to the control input of the second electrical control switch, a third control output coupled to the control input of the third electrical control switch, a fourth control output coupled to the control input of the fourth electrical control switch, a fifth control output coupled to the control input of the fifth electrical control switch, and control logic coupled to a synchronization input. The control logic can be configured to: couple the first sensing capacitor to the first mirror output through the first electrical control switch; couple the second sensing capacitor to the second comparison input through the fifth electrical control switch in a first cycle of the synchronization signal. And the control logic can be configured to: couple the second sensing capacitor to the second mirror output through the second electrical control switch; and couple the second sensing capacitor to the second mirror output through the second electrical control switch in a second cycle of the synchronization signal.

[0011] In an example primary side controller, the drive logic may be configured to drive a gate and electrically control a switch in the form of a field effect transistor.

[0012] In the exemplary primary side controller, the synchronization signal may be at least one selected from the group consisting of: an AC signal; a pulse train; a pulse train having a non-zero average voltage.

[0013] Another exemplary embodiment is a switching power converter, which includes: a primary side; a secondary side; and a primary side controller. The primary side may include: a primary winding of a transformer; and a main power control switch defining a control input, the main power control switch being configured to selectively couple a supply voltage to the primary winding of the transformer. The secondary side may include a secondary winding of the transformer and a rectifier coupled to the secondary winding. The primary side controller may include a synchronization terminal and a drive terminal, the drive terminal being coupled to the control input of the main power control switch. The primary side controller may be configured to: assert a drive terminal at a first frequency set by a direct current voltage (DC voltage) sensed on the synchronization terminal in the absence of a synchronization signal sensed on the synchronization terminal; sense a synchronization signal applied to the synchronization terminal, the synchronization signal having a variable second frequency; drive the control input of the main power control switch at a second frequency in the presence of a synchronization signal on the synchronization terminal; and limit the duty cycle in each cycle of the synchronization signal based on parameters of the synchronization signal in the previous cycle.

[0014] In an exemplary switching power converter, the primary side controller may further include: a current mirror defining a first mirror output and a third mirror output; a first sensing capacitor coupled to the first mirror output; a second sensing capacitor maintaining a voltage proportional to the period of the previous cycle of the synchronization signal; and a ramp capacitor coupled to the third mirror output. During the first cycle of the synchronization signal, the primary side controller may be configured to: charge the first sensing capacitor through the first mirror output; charge the ramp capacitor through the third mirror output, and the charging generates a first ramp signal; when the magnitude of the first ramp signal passes through the magnitude of the voltage of the second sensing capacitor, the control input of the main power control switch is deasserted. The primary side controller may further include: a current mirror defining a second mirror output; a first sensing capacitor maintaining a voltage proportional to the period of the first cycle of the synchronization signal; a second sensing capacitor coupled to the second mirror output; and a ramp capacitor coupled to the third mirror output. During the second cycle of the synchronization signal, the primary side controller may be configured to: charge the second sensing capacitor through the second mirror output; charge the ramp capacitor through the third mirror output, the charging generating a second ramp signal; and de-assert the control input of the main power control switch when the magnitude of the second ramp signal crosses the magnitude of the voltage of the first sensing capacitor. The first cycle of the synchronization signal may be immediately prior to the second cycle of the synchronization signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] To describe in detail the exemplary embodiments, reference will now be made to the accompanying drawings, in which:

[0016] Figure 1shows a circuit diagram of a switching power converter according to at least some embodiments;

[0017] Figure 2 shows a block diagram of a primary side controller 126 according to at least some embodiments;

[0018] Figure 3 shows a block diagram of a synchronization controller according to at least some embodiments;

[0019] Figure 4 shows a partial block diagram, partial electrical schematic diagram, of a variable frequency controller according to at least some embodiments; and

[0020] Figure 5 Methods according to at least some embodiments are shown.

[0021] definition

[0022] Various terms are used to refer to specific system components. Different companies may refer to a component by different names - this document is not intended to distinguish between components that differ in name but function the same. In the following discussion and in the claims, the terms "include" and "comprising" are used in an open-ended manner, and therefore, these terms should be interpreted to mean "including but not limited to..." In addition, the terms "couple" or "couples" are intended to mean either an indirect connection or a direct connection. Thus, if a first device is coupled to a second device, that connection may be made through a direct connection or through an indirect connection via other devices and connections.

[0023] With respect to an electrical device (whether stand-alone or as part of an integrated circuit), the terms "input" and "output" refer to electrical connections to the electrical device and should not be construed as requiring verbs to operate. For example, a differential amplifier (such as an operational amplifier) ​​may have a first differential input and a second differential input, and these "inputs" define electrical connections to the operational amplifier and should not be construed as requiring signal inputs to the operational amplifier.

[0024] "Assertion" refers to changing the state of a Boolean signal. A Boolean signal can be asserted to a high voltage or have a higher voltage, and a Boolean signal can be asserted to a low voltage or have a lower voltage at the discretion of the circuit designer. Similarly, "de-assertion" refers to changing the state of a Boolean signal to a voltage level opposite to the asserted state.

[0025] "Period" with respect to time associated with a periodic signal refers to the duration between any two consistent features of the periodic signal. For example, for a pulse signal comprising a series of pulses, the period may be the duration between two consecutive rising edges or two consecutive falling edges. DETAILED DESCRIPTION

[0026] This application claims the benefit of U.S. Provisional Application No. 62 / 851,323, entitled “Adaptive Duty Cycle Limit,” filed on May 22, 2019. This provisional application is incorporated herein by reference as if fully reproduced below.

[0027] The following discussion relates to various embodiments of the present invention. Although one or more of these embodiments may be preferred, the disclosed embodiments should not be interpreted or otherwise used to limit the scope of the present disclosure, including the claims. In addition, it should be understood by those skilled in the art that the following description has a wide range of applications, and the discussion of any embodiment is only intended to be an example of that embodiment, and is not intended to indicate that the scope of the present disclosure, including the claims, is limited to that embodiment.

[0028] Exemplary embodiments relate to methods and systems for controlling the switching frequency of a switching power converter. More specifically, exemplary embodiments relate to a primary side controller for a switching power converter, wherein the primary side controller senses a voltage and a signal applied to a terminal of the primary side controller, and controls the switching frequency of a main power control switch based on the sensed voltage and signal. More specifically, the exemplary primary side controller may operate at a fixed frequency selected by a resistance coupled to the terminal of the primary side controller (e.g., by sensing a direct current (DC) voltage associated with the resistor), and may also operate at a synchronous frequency when a synchronization signal (e.g., an alternating current (AC) signal) is applied to the terminal. In other embodiments, when operating at a synchronous frequency set by the synchronization signal, the primary side controller may limit the duty cycle in each cycle of the synchronization signal. This specification now turns to an exemplary switching power converter.

[0029] Figure 1 A circuit diagram of a switching power converter according to at least some embodiments is shown. Specifically, the switching power converter 100 includes a transformer 102 defining a primary winding 104 and a secondary winding 106. The transformer 102 conceptually forms a primary side 108 of the switching power converter 100 and a secondary side 110 of the switching power converter 100. The conceptual division between the primary side 108 and the secondary side 110 is an electrical concept, not necessarily a physical concept. In the exemplary switching power converter 100, the primary side 108 is electrically isolated from the secondary side 110 by the transformer 102, but it does not need to be electrically isolated in all cases.

[0030] Turning to the primary side 108, the exemplary switching power converter 100 is arranged for forward operation and therefore includes a high-side electrically controlled switch 112 and a low-side electrically controlled switch 114. Figure 1In the exemplary system of , the electrically controlled switches are shown as field effect transistors (FETs), but any suitable electrically controlled switches (eg, junction transistors, silicon controlled rectifiers) may be used. The electrically controlled switches are hereinafter referred to as high-side FET 112 and low-side FET 114.

[0031] The high-side FET 112 defines a drain 116, a source 118, and a gate 120. The drain 116 is coupled to an input voltage V IN 104. The source 118 is coupled to a first lead 122 of the primary winding 104. The gate 120 is coupled to a high side drive terminal 124 of a primary side controller 126. The low side FET 114 also defines a drain 128, a source 130, and a gate 132. The drain 128 is coupled to a second lead 134 of the primary winding 104. The source 130 is grounded on the primary side through a sense resistor 136. The gate 132 is coupled to a low side drive terminal 138. The sense resistor 136 has a first lead coupled to the source 130 of the low side FET 114, and the first lead and the source 130 are coupled to a sense terminal 139 of the primary side controller 126. As the name implies, the sense resistor is used to sense the current flowing through the primary winding 104 when the low side FET 114 is conducting.

[0032] The example primary side controller 126 further defines a synchronization terminal 140 and a feedback terminal 142. The example feedback terminal 142 is coupled to the transistor side of an optocoupler 144, and the light emitting diode side of the optocoupler 144 is coupled to the output voltage V OUT The LED side of the optocoupler 144 is connected to the output voltage V OUT Photons are generated at a rate proportional to the output voltage V OUT Therefore, the primary side controller 126 receives the output voltage V indicated by the feedback terminal 142. OUT signal.

[0033] In the exemplary system, the external resistor 146 is coupled between the sync terminal 140 and ground on the primary side 108, and the value of the resistance sets the default operating frequency that the primary side controller 126 uses to control the switching of the high side FET 112 and the low side FET 114. To read the resistance of the external resistor 146, the primary side controller 126 may apply a current to the sync terminal 140 and read the DC voltage caused by the external resistor 146 on the sync terminal 140. The primary side controller 126 may thus set the operating frequency of the switching power converter 100 based on the sensed voltage. There would be additional terminals and connections to the primary side controller 126 (e.g., power supply, ground on the primary side), but such additional terminals and connections are not shown so as not to unduly complicate the figure.

[0034] Turning now to the secondary side 110, in the exemplary system, the first lead 148 of the secondary winding 106 is coupled to the anode of a diode 150, and the second lead 152 of the secondary winding 106 is coupled to and defines a return or common terminal on the secondary side 110. The cathode of the diode 150 is coupled to the first lead of an inductor 154, and the second lead of the inductor 154 defines the output voltage V OUT Another diode 156 has an anode coupled to the second lead 152 of the secondary winding 106 and an anode coupled to the cathode of the diode 150. A capacitor 158 is coupled to the second lead of the inductor 154 and between the second lead of the inductor 154. The capacitor 158 stores charge to smooth the voltage and current provided by the secondary winding 106 and can also be used to provide energy during a period of time when no current is provided from the secondary winding 106 or the collapse field of the inductor 154.

[0035] Still see Figure 1 , the secondary side 110 also includes an LED side of the optocoupler 144. Specifically, the anode of the LED side of the optocoupler 144 is coupled to the output voltage V through the resistor 160. OUT The cathode of the LED side of the optocoupler 144 is coupled to the common terminal on the secondary side through the Zener diode 162. Therefore, when the output voltage V OUT Beyond a predetermined threshold set by Zener diode 162 , current flows through optocoupler 144 and thus provides voltage feedback to primary side controller 126 .

[0036] In operation, the primary side controller 126 operates the switching power converter 100 at an initial frequency set by the external resistor 146. Specifically, the primary side controller 126 drives the high side drive terminal 124 to make the high side FET 112 conductive, and also drives the low side drive terminal 138 to make the low side FET 114 conductive. Thus, the current is drawn from the input voltage V IN , flows through the high side FET 112, flows through the primary winding 104, flows through the low side FET 114, flows through the sense resistor 136, and then reaches the ground terminal on the primary side 108. Based on the current sensed through the sense terminal 139, or based on reaching the duty cycle limit, the primary side controller 126 turns off the high side FET 112 and the low side FET 114. Additional circuits (e.g., diodes, additional FETs) not specifically shown can be used to address the inductive effects of the primary winding 104. At a later time, based on the initial frequency, the cycle is repeated. Therefore, the FET and the primary side controller 126 apply a time-varying voltage and a time-varying current to the primary winding 104, which produces a voltage and current on the secondary winding 106. Figure 1The primary side 108 of FIG. 1 shows a two-switch arrangement; however, the various exemplary methods and systems are not limited to two-switch forward converters. The methods and systems are applicable to any device for a forward converter on the primary side, such as a half-bridge, full-bridge, or inductor-inductor-capacitor (LLC) primary side device. Furthermore, the exemplary methods and systems are not limited to forward converters and may find application in any type of switching power converter, such as non-isolated converters and flyback power converters.

[0037] On the secondary side 110, the voltage generated by the secondary winding 106 (having Figure 1 The point in the circuit (with the polarity shown in the convention) generates a current that flows through diode 150, charges the field associated with inductor 154, and ultimately flows into capacitor 158 and the output voltage V OUT When secondary winding 106 forward biases diode 150, diode 156 is reverse biased. When the voltage and current provided by secondary winding 106 cease in each switching cycle, inductor 154 continues to provide current as the field around inductor 154 collapses. Diode 156 (sometimes called a flywheel diode) provides a current path for the inductor current during the period when the field of inductor 154 collapses. Figure 1 The secondary side 110 of FIG. 1 shows a passive rectification and voltage reduction arrangement using an inductor 154; however, the various exemplary methods and systems are not limited to Figure 1 The precise secondary side 110 is shown. The methods and systems are applicable to any secondary side arrangement, including those using active rectification (eg, FETs), and depending on the arrangement and operation of the primary side 108, both half-wave and full-wave rectification arrangements.

[0038] Still see Figure 1, while in some cases the switching power converter 100 can be operated as a stand-alone converter, in other cases, multiple switching power converters can be operated in parallel to meet the ampere requirements of the load. In this case, it may be beneficial to synchronize the operating frequencies of the various switching power converters. To achieve synchronization, the primary side controller 126 may receive a synchronization signal. If the package of the primary side controller has a sufficient number of available terminals, the synchronization signal can be received on a dedicated terminal. However, if no additional terminals are available for receiving synchronization signals, difficulties arise. According to an exemplary embodiment, the primary side controller 126 is designed and constructed to enable dual use of the terminals, and specifically to enable dual use of the synchronization terminal 140. That is, the exemplary primary side controller 126 operates the switching power converter 100 at an initial frequency set by an external resistor 146 coupled to the synchronization terminal 140. However, the primary side controller 126 also monitors the presence of a synchronization signal (e.g., an AC signal) applied to the synchronization terminal 140. When the primary side controller 126 senses or detects the synchronization signal, the primary side controller 126 operates the switching power converter 100 at the frequency and phase of the synchronization signal. In some cases, the synchronization signal has a variable frequency, and when synchronized with the synchronization signal, the primary side controller 126 tracks the frequency and phase of the synchronization signal. In the exemplary switching power converter 100, the synchronization signal is applied to the synchronization terminal 140 through the capacitor 164. The capacitor 164 blocks the DC signal associated with the resistor 146 that sets the initial frequency.

[0039] Figure 2 1 shows a block diagram of a primary side controller 126 according to at least some embodiments. Specifically, Figure 2 The primary side controller 126 is shown as a packaged semiconductor device or packaged integrated circuit device having a plurality of externally accessible pins or terminals. Figure 2 Visible in FIG. 1 are high-side drive terminal 124, low-side drive terminal 138, sense terminal 139, synchronization terminal 140, and feedback terminal 142. Within the packaged device resides a semiconductor die 200 upon which various circuits are monolithically constructed. Figure 2 Only a single semiconductor die 200 is shown, but two or more semiconductor dies may be packaged together (ie, a multi-chip module) to form the primary-side controller 126 .

[0040] The exemplary primary side controller 126 defines a synchronous controller 202, a drive logic 204, and a current control logic 206. The synchronous controller 202 defines a synchronization input 208, a set output 210, and a reset output 212. The synchronization input 208 is coupled to the synchronization terminal 140. The drive logic 204 defines a set input 214, a reset input 216, a high drive output 218, and a low drive output 220. The set input 214 is coupled to the set output 210 of the synchronous controller 202. The reset input 216 is coupled to the reset output 212 of the synchronous controller 202 through a logic OR gate 222. The high drive output 218 is coupled to the high side drive terminal 124, and the low drive output 220 is coupled to the low side drive terminal 138. The drive logic 204 is configured to drive a control signal to the control input of the electronically controlled switch, and in particular, the drive logic 204 is configured to drive the gate 120 and the gate 132 of the high side FET 112 and the low side FET 114, respectively. Additionally, the drive logic 204 is configured to assert the high drive output 218 and assert the low drive output 220 in response to assertion of the set input 214. Conversely, the drive logic 204 is configured to de-assert the high drive output 218 and de-assert the low drive output 220 in response to assertion of the reset input 216.

[0041] The current control logic 206 defines a reset output 224, a sense input 226, and a feedback input 228. The sense input 226 is coupled to the sense terminal 139. The feedback input 228 is coupled to the feedback terminal 142. The reset output 224 is coupled to the logic OR gate 222, and the logic output 230 of the logic OR gate 222 is coupled to the reset input 216 of the drive logic 204. In operation, during each cycle ( Figure 1 ) (e.g., during the time period when the high-side FET 112 and the low-side FET 114 are conducting), the current control logic 206 monitors a signal indicative of the current in the primary winding via the sense terminal 139. When the signal indicative of the current reaches or exceeds a predetermined threshold, the current control logic 206 asserts the reset output 224, which is propagated to the reset input 216 of the drive logic 204. The predetermined threshold may be based on an output voltage V sensed via the feedback terminal 142 indicating the output voltage V OUT That is, when the output voltage V OUT When the output voltage V OUT Therefore, in normal operation, based on the output voltage V OUT To adjust the duty cycle of the signal applied to the gate of the FET on the primary side.

[0042] Figure 3A block diagram of a synchronous controller 202 according to at least some embodiments is shown. Specifically, the exemplary synchronous controller 202 includes a setting multiplexer 300, a reset multiplexer 302, a variable frequency controller 304, and a fixed frequency controller 306. The multiplexers are each drawn as a single-pole, double-throw switch for explanation purposes; however, it should not be understood that it requires the presence of a physical switch. The functionality can be implemented in silicon using two electrically controlled switches (e.g., two complementary FETs). The exemplary setting multiplexer 300 defines a common terminal 308, a first switch terminal 310, a second switch terminal 312, and a control input 314. The common terminal 308 is coupled to the setting output 210. The exemplary reset multiplexer 302 defines a common terminal 316, a first switch terminal 318, a second switch terminal 320, and a control terminal 322. The common terminal 316 is coupled to the reset output 212.

[0043] Fixed frequency controller 306 defines a sense input 324, a set output 326, and a reset output 328. Sense input 324 is coupled to synchronization input 208. Set output 326 is coupled to second switch terminal 312 of set multiplexer 300, and reset output 328 is coupled to second switch terminal 320 of reset multiplexer 302. In operation, fixed frequency controller 306 senses a signal associated with external resistor 146 ( Figure 1 ), and drives the set signal to the drive logic 204 at a frequency indicated by the external resistor 146 ( Figure 2 ). For example, the sense input 324 may be coupled to the pull-up resistor 331 to the internal supply voltage VD. Thus, the pull-up resistor 331 and the external resistor 146 form a voltage divider, and the fixed frequency controller 306 senses the DC voltage generated by the voltage divider. Thus, the synchronous controller 202, and in particular the fixed frequency controller 306, is configured to assert a set input to the drive logic 204 at an initial frequency indicated by the sensed DC voltage. In non-fault operation, the drive logic 204 is controlled by the current control logic 206 ( Figure 2 ) reset; however, the fixed frequency controller 306 can also provide a reset signal through the reset output 328 to ensure that in a fault state (eg, a short-circuit output voltage V OUT ) to meet the duty cycle limitation. For example, if the switching power converter is operated as a two-switch forward converter, the duty cycle of the drive signal applied to the FET on the primary side may be limited to 50%.

[0044] Still see Figure 3, the exemplary variable frequency controller 304 defines a sense input 330, a set output 332, a control output 334, and a reset output 336. The sense input 330 is coupled to the synchronization input 208 through a DC blocking capacitor 338. The set output 332 is coupled to the first switch terminal 310 of the set multiplexer 300. The control output 334 is coupled to the control input 314 of the set multiplexer 300, and the control output 334 is also coupled to the control terminal 322 of the reset multiplexer 302. The reset output 336 is coupled to the first switch terminal 318 of the reset multiplexer 302. In operation, the fixed frequency controller 306 initially senses the DC voltage ( Figure 1 ), and asserts that the drive logic 204 ( Figure 2 ) setting input. At the same time, the variable frequency controller 304 monitors the AC signal of the synchronization input 208 as a synchronization signal, wherein the synchronization signal may have a variable frequency. When the variable frequency controller senses the synchronization signal ( Figure 1 ), the variable frequency controller 304 takes over from the fixed frequency controller 306. In the exemplary system, when the variable frequency controller 304 senses the synchronization signal, the variable frequency controller 304 asserts the control output 334. Asserting the control output 334 changes the switch position of the set multiplexer 300 and the reset multiplexer 302 so that the set signal and the reset signal applied to the set output 210 and the reset output 212, respectively, are provided by the variable frequency controller 304 instead of the fixed frequency controller 306. Thus, the variable frequency controller 304 asserts the drive logic 204 (at the frequency indicated by the synchronization signal) in the presence of the synchronization signal on the synchronization terminal 140. Figure 2 ) setting input 214.

[0045] Likewise, in non-fault operation, based on a predetermined threshold current, the driver logic 204 ( Figure 2 ) is controlled by the current control logic 206 ( Figure 2 ) reset; however, the variable frequency controller 304 may also provide a reset signal via the reset output 336 to ensure that the duty cycle limit is met during fault operation (eg, limiting the duty cycle of the drive signal applied to the FET to 50%).

[0046] Figure 4A partial block diagram, partial electrical schematic, of a variable frequency controller 304 according to at least some embodiments is shown. Specifically, the variable frequency controller includes a Schmitt trigger buffer 400, a current mirror circuit 402, a comparator 404, a switch control logic 406, and a series of capacitors and switches to be addressed in sequence. The exemplary Schmitt trigger buffer 400 defines a buffer input 408 coupled to the sense input 330 and a buffer output 410. The buffer output 410 is coupled to the set output 332 and to the switch control logic 406. The Schmitt trigger buffer 400 provides a snap action change of state to reduce noise that may be associated with the synchronization signal; however, a Schmitt trigger buffer is not strictly required, and other non-Schmitt trigger buffers may also be used.

[0047] The exemplary current mirror circuit 402 includes a current source 412 coupled to a series of transistors, and in this exemplary system, a series of FETs. A primary FET 413 is coupled to the current source 412, and a series of secondary FETs 414, 416, and 418 define a first mirror output 420, a second mirror output 422, and a third mirror output 424, respectively. Thus, the first mirror output 420 generates a mirror current proportional to the current of the current source 412. The second mirror output 422 generates a mirror current proportional to the current of the current source 412. The third mirror output 424 generates a mirror current proportional to the current of the current source 412. In some cases, each mirror current is proportional to the current flowing through the current source 412 1:1; however, in other cases, the mirror current may be greater or less than the current flowing through the current source 412 at the discretion of the circuit designer. When a larger mirror current is required, the size (e.g., width and length) of the secondary FETs 414-418 is selected to be larger than the size (e.g., width and length) of the primary FET 413. Conversely, when a smaller mirror current is required, the size of the secondary FETs 414-418 is selected to be smaller than the size of the primary FET 413.

[0048] The first mirror output 420 is coupled to the sensing capacitor 426 through an electrically controlled switch 428, which is illustratively drawn as a single-pole single-throw switch. The switch shown as a single-pole single-throw switch can take any suitable form (e.g., FET, junction transistor, silicon controlled rectifier). Therefore, the electrically controlled switch 428 is referred to as "switch 428" hereinafter. The switch 428 can take any suitable form, such as a transistor (e.g., FET). The switch 428 defines a control input 430. The first mirror output 420 is coupled to a first terminal of the switch 428, and a second terminal of the switch 428 is coupled to a first lead of the sensing capacitor 426. The second lead of the sensing capacitor 426 is grounded or coupled to a common terminal of the primary side controller. A short-circuit electrically controlled switch 432 (hereinafter referred to as "short-circuit switch 432") is coupled in parallel with the sensing capacitor 426. The short-circuit switch 432 defines a control input 434. As will be discussed in greater detail below, switch 428 is periodically closed to charge sensing capacitor 426 , and shorting switch 432 is periodically closed to discharge sensing capacitor 426 .

[0049] Still see Figure 4 , the second mirror output 422 is coupled to the sensing capacitor 436 through an electrically controlled switch 438 (hereinafter referred to as "switch 438"). Switch 438 defines a control input 440. The second mirror output 422 is coupled to a first terminal of switch 438, and a second terminal of switch 438 is coupled to a first lead of the sensing capacitor 436. The second lead of the sensing capacitor 436 is grounded or coupled to a common terminal of the primary side controller. A short-circuit electrically controlled switch 442 (hereinafter referred to as "short-circuit switch 442") is coupled in parallel with the sensing capacitor 436. Short-circuit switch 442 defines a control input 444. As will be discussed in more detail below, switch 438 is periodically closed to charge the sensing capacitor 436, and short-circuit switch 442 is periodically closed to discharge the sensing capacitor 426.

[0050] The third mirror output 424 is coupled to the ramp capacitor 446 through an electrically controlled switch 448 (hereinafter referred to as "switch 448"). Switch 448 defines a control input 450. The third mirror output 424 is coupled to a first terminal of switch 448, and a second terminal of switch 448 is coupled to a first lead of the ramp capacitor 446. The second lead of the ramp capacitor 446 is grounded or coupled to a common terminal of the primary side controller. A short-circuit electrically controlled switch 452 (hereinafter referred to as "short-circuit switch 452") is coupled in parallel with the ramp capacitor 446. Short-circuit switch 452 defines a control input 454. As will be discussed in more detail below, switch 448 is periodically closed to charge the ramp capacitor 446, and short-circuit switch 452 is periodically closed to discharge the ramp capacitor 446.

[0051] The comparator 404 defines a non-inverting input 456, an inverting input 458, and a comparator output 460. The non-inverting input 456 is coupled to the first lead of the ramp capacitor 446, so the comparator 404 receives a ramp signal in the form of a voltage as a function of the time accumulated on the ramp capacitor 446. The comparator output 460 is coupled to the reset output 336. As for the inverting input 458, the inverting input 458 is selectively coupled to the sensing capacitor 426 or the sensing capacitor 436. Specifically, the exemplary variable frequency controller 304 (and thus the synchronous controller 202) also includes an electrically controlled switch 462 (hereinafter referred to as "switch 462") and an electrically controlled switch 464 (hereinafter referred to as "switch 464"). The switch 462 has a first terminal coupled to the first lead of the sensing capacitor 436, and a second terminal coupled to the inverting input 458 of the comparator 404. The switch 462 also defines a control input 466. Switch 464 has a first terminal coupled to the first lead of sense capacitor 426, and a second terminal coupled to inverting input 458 of comparator 404. Switch 464 also defines control input 468. Thus, through operation of switch 462 and switch 464, variable frequency controller 304 selectively couples the voltage held on sense capacitor 426 to inverting input 458, or couples the voltage held on sense capacitor 436 to inverting input 458.

[0052] Still see Figure 4 , switch control logic 406 defines a synchronization input 470 and eight switch control outputs 472-488. Synchronization input 470 is coupled to buffer output 410. Switch control output 472 is coupled to control input 430 of switch 428. Switch control output 474 is coupled to control input 434 of switch 432. Switch control output 476 is coupled to control input 440 of switch 438. Switch control output 478 is coupled to control input 444 of switch 442. Switch control output 480 is coupled to control input 450 of switch 448. Switch control output 482 is coupled to control input 454 of switch 452. Switch control output 484 is coupled to control input 466 of switch 462. Switch control output 486 is coupled to control input 468 of switch 464. Switch control output 488 is coupled to control output 334. Thus, the switch control logic 406 selectively controls all switches in the variable frequency controller 304 and also selectively controls the setting multiplexer 300 ( Figure 3 ) and reset multiplexer 302 (see also Figure 3 ) operation.

[0053] In operation, the synchronization controller 202, and in particular the variable frequency controller 304, is configured to sense the frequency applied to the synchronization terminal 140 ( Figure 1 ) synchronization signal. More specifically, the switch control logic 406 senses the presence of the synchronization signal, which may have a frequency that is variable and different from the initial frequency. In the exemplary system, when the synchronization signal is detected, the switch control logic 406 asserts the switch control output 488 to transfer frequency control to the variable frequency controller 304. Once control is transferred to the variable frequency controller 304, the exemplary system asserts the set input to the drive logic 204 at the frequency of the synchronization signal. Specifically, in the exemplary system, after each assertion of the synchronization signal applied to the Schmitt trigger buffer 400, the set output 332 is asserted by the Schmitt trigger buffer 400. Assertion of the set output 332 asserts the set output 210 ( Figure 2 ), thus asserting the set input 214 of the driver logic 204 ( Figure 2 ).

[0054] As described above, in non-fault operation, when the main current reaches a predetermined threshold, the driver logic 204 ( Figure 2 ) by the current control logic 206 ( Figure 2 ) is reset. When operating at a fixed initial frequency, determining and limiting the duty cycle is a straightforward endeavor. However, when tracking a synchronization signal that may have a variable frequency (e.g., from 50 kHz to 1 MHz), calculating the duty cycle limit based on the expected period of the current cycle of the synchronization signal is unreliable. In other words, determining or calculating the duty cycle is unreliable until the entire period of the cycle is completed because the duty cycle is defined by the ratio of the asserted time to the period of the completed cycle.

[0055] The exemplary embodiment solves the duty cycle problem by limiting the duty cycle in each cycle of the synchronization signal based on parameters of the synchronization signal in the previous cycle. In one exemplary case, the duty cycle is limited in each cycle of the synchronization signal based on parameters of the synchronization signal in the immediately previous cycle of the synchronization signal. In one case, the duty cycle is limited in each cycle of the synchronization signal based on the period of the synchronization signal in the immediately previous cycle.

[0056] Consider any cycle of the synchronization signal (e.g., the assertion time and immediately after the de-assertion time), which is referred to as the first cycle. According to an exemplary embodiment, during the first cycle, the sensing capacitor 426 is charged by the first mirror output 420 of the current mirror circuit 402. That is, in the first cycle, the switch control logic 406 asserts the control input 430 of the switch 428 to make the switch 428 conductive, and in the first cycle, the switch control logic 406 de-asserts the control input 434 of the switch 432 to make the switch 432 non-conductive. When the switch 428 is conductive, the current flowing out of the first mirror output 420 charges the sensing capacitor 426. In an exemplary case, the charging of the sensing capacitor 426 ends at the end of the first cycle (e.g., at the moment when the synchronization signal is asserted again, starting the immediately subsequent second cycle). At the end of the first cycle, the switch control logic 406 de-asserts the control input 430 of the switch 428, thereby making the switch 428 non-conductive, and the control input 434 of the switch 432 remains de-asserted.

[0057] Now consider the second cycle after (e.g., immediately following) the first cycle. In an exemplary embodiment, the variable frequency controller 304 (and therefore the synchronous controller 202) asserts the reset output 336 during the second cycle to achieve duty cycle limitation. In an exemplary case, the duty cycle limitation of the second cycle is based on the cycle of the synchronization signal in the previous cycle, here immediately following the previous cycle. Specifically, in the exemplary second cycle, the duty cycle limitation is set based on the ramp signal and the voltage maintained on the sensing capacitor 426, wherein the voltage maintained on the sensing capacitor 426 indicates the cycle of the first cycle. The voltage of the ramp signal is compared with the voltage on the sensing capacitor 426, and when the voltage transition of the ramp signal passes through the voltage on the sensing capacitor 426, the reset output 336 is asserted. In order to achieve duty cycle limitation in the second cycle, the switch control logic 406 couples the voltage on the sensing capacitor 426 to the inverting input 458 of the comparator 404 by asserting the control input 468 to make the switch 464 conductive. In addition, during the second cycle, the switch control logic 406 couples the ramp capacitor 446 to the third mirror output 424 by asserting the control input 450 of the switch 448 so that the switch 448 is conductive. And in the second cycle, the switch control logic 406 de-asserts the control input 454 of the switch 452 so that the switch 452 is non-conductive. When the switch 448 is conductive, the current flowing out of the third mirror output 424 charges the ramp capacitor 446, and the rising voltage on the ramp signal is the ramp signal. When the voltage of the ramp signal applied to the non-inverting input 456 transitions through the voltage on the sense capacitor 426 applied to the inverting input 458, the comparator output 460 asserts the reset output 336, thereby achieving duty cycle control. It should be noted that in non-fault operation, when the reset output 336 is asserted, the drive logic 204 ( Figure 2 ) will have been reset by the current control logic 206. However, in the case where the current control logic 206 is calling for too much current (e.g., the output voltage V OUT In fault operation such as short circuit, reset output 336 resets drive logic 204 to prevent over-current conditions.

[0058] Now consider a third cycle that follows (e.g., immediately after) the second cycle. In the exemplary system, the sensing capacitor 426 is again used to generate a value indicative of the period of the third cycle. Therefore, the exemplary switch control logic 406: decouples the sensing capacitor 426 from the comparator 404 by deasserting the control input 468 of the switch 464; then discharges the sensing capacitor 426 by immediately asserting the control input 434 of the switch 432; and then arranges the system to charge the sensing capacitor 426 again as in the first cycle.

[0059] Consider the first cycle again. In order to provide duty cycle limiting during the first cycle (and while the sense capacitor 426 is charged), the variable frequency controller 304 (and therefore the synchronization controller 202) again asserts the reset output 336 to implement the duty cycle limiting. In the exemplary case, the duty cycle limit of the first cycle is based on the period of the synchronization signal in the previous cycle, here the immediately previous cycle (referred to as the zero cycle). Specifically, in the exemplary first cycle, the duty cycle limit is set based on the ramp signal and the voltage maintained on the sense capacitor 436. The sense capacitor 436 is charged during the zero cycle, and the voltage maintained on the sense capacitor 436 indicates the duration of the zero cycle. The ramp signal is generated during the first cycle and is compared to the voltage on the sense capacitor 436 in this case. Therefore, during the exemplary first cycle, when the ramp signal transitions through the voltage on the sense capacitor 436, the reset output 336 is asserted.

[0060] To implement duty cycle limiting in the first cycle, the switch control logic 406 couples the voltage on the sense capacitor 436 to the inverting input 458 of the comparator 404 by asserting the control input 466 to make the switch 462 conductive. In addition, during the first cycle, the switch control logic 406 asserts the control input 450 of the switch 448 to make the switch 448 conductive, and in the first cycle, the switch control logic 406 deasserts the control input 454 of the switch 452 to make the switch 452 non-conductive. When the switch 448 is conductive, the current flowing out of the third mirror output 424 charges the ramp capacitor 446, thereby generating a ramp signal again. When the voltage of the ramp signal applied to the non-inverting input 456 transitions through the voltage on the sense capacitor 436 applied to the inverting input 458, the comparator output 460 asserts the reset output 336, thereby implementing duty cycle control in the exemplary first cycle. Likewise, in non-fault operation, the drive logic 204 will have been reset by the current control logic 206. However, in fault operation where the current control logic 206 calls for excessive current, the reset output 336 resets the drive logic 204 to prevent the over-current condition.

[0061] Described more abstractly, during any particular period or cycle of the synchronization signal, one capacitor is charged to a voltage indicative of the period of the cycle, a second capacitor holds a voltage indicative of the period of the previous cycle, and the voltage indicative of the period of the previous cycle is compared to a ramp signal (recreated in each cycle) to drive the reset output 336 to implement duty cycle limiting. During a subsequent cycle (e.g., immediately following), the role of the sense capacitor is reversed, and again one capacitor is charged to a voltage indicative of the period of the current cycle, a second capacitor holds a voltage indicative of the period of the previous cycle, and the voltage indicative of the period of the previous cycle is compared to a ramp signal (recreated in each cycle) to drive the reset output 336 to implement duty cycle limiting.

[0062] Before charging any particular capacitor, the switch control logic 406 discharges the capacitor by temporarily or momentarily asserting the control inputs of the capacitor's shorting switches (e.g., shorting switch 432 for sensing capacitor 426, shorting switch 442 for sensing capacitor 436, and shorting switch 452 for ramp capacitor 446). Then, ramp capacitor 446 discharges on each cycle of the synchronization signal, while each sensing capacitor 426 / 436 alternately discharges every other cycle.

[0063] The exemplary variable frequency controller 304 has three capacitors operable as described above. However, implementation should not be construed as being limited to only three capacitors. For example, if the discharge rate of any capacitor limits the speed of operation, the capacitors may be duplicated so that during any particular cycle, one set of capacitors is discharging while another set of capacitors is charging and / or used as a reference.

[0064] The switch control logic 406 may take any suitable form. For example, the switch control logic may be a combinational logic circuit, a combinational logic circuit implementing a state machine, a processor core and embedded software, or any suitable combination of devices and circuits to implement control of various control outputs.

[0065] Figure 5 A method according to at least some embodiments is shown. Specifically, the method starts (block 500) and includes: asserting a set input to a drive logic of a primary side controller, asserting at a first frequency set by a DC voltage sensed by a synchronization controller of the primary side controller, sensing through a synchronization terminal and sensing in the absence of a synchronization signal sensed on the synchronization terminal (block 502); sensing, by the primary side controller, a synchronization signal applied to the synchronization terminal, the synchronization signal having a variable second frequency (block 504); then asserting, by the primary side controller, a set input to the drive logic at the second frequency in the presence of the synchronization signal on the synchronization terminal (block 506); and limiting the duty cycle in each cycle of the synchronization signal based on a parameter of the synchronization signal in a previous cycle (block 508). Thereafter, the method ends (block 510) and may be restarted immediately.

[0066] Many electrical connections in the drawings are shown as directly coupled without intervening devices, but are not explicitly described as such in the above description. However, for electrical connections shown in the drawings without intervening devices, this paragraph should serve as an antecedent basis for the claims for referencing any electrical connection as "directly coupled."

[0067] The above discussion is intended to illustrate the principles and various embodiments of the present invention. Once the above disclosure is fully understood, many variations and modifications will become apparent to those skilled in the art. For example, the synchronization signal may take any suitable form, such as an AC signal, a pulse train, and / or a pulse train with a non-zero average voltage. The following claims are to be interpreted as intended to include all such variations and modifications.

Claims

1. A method of operating a switching power converter, comprising: operating a switching power converter by a primary side controller at a first frequency, the first frequency being set by a resistor coupled to a first terminal of the primary side controller; as well as sensing a synchronization signal applied to the first terminal of the primary-side controller, the synchronization signal having a variable second frequency; and then The switching power converter is operated by the primary side controller at the second frequency by: charging a first capacitor within the primary-side controller during a first cycle of the synchronization signal; as well as A duty cycle limit of a drive signal driven to a drive terminal of the primary side controller is set in a second cycle of the synchronization signal, the setting being based on a second ramp signal transitioning beyond a voltage held on the first capacitor.

2. The method of claim 1 , wherein operating the switching power converter at the second frequency further comprises limiting the duty cycle of the main switching signal in each cycle of the synchronization signal based on a parameter of the synchronization signal in a previous cycle of the synchronization signal.

3. The method of claim 1 further comprising setting a duty cycle limit of the drive signal in the first cycle based on a first ramp signal transitioning over a voltage maintained on a second capacitor during the first cycle of the synchronization signal, the second capacitor being different from the first capacitor.

4. The method according to claim 3, further comprising: charging the second capacitor within the primary side controller during a third cycle of the synchronization signal immediately preceding the first cycle; as well as In the first cycle of the synchronization signal, a duty cycle limit of the drive signal in the first cycle is set based on the first ramp signal transitioning over a voltage held on the second capacitor.

5. A primary side controller for a switching power converter, the primary side controller comprising: Synchronous terminals and drive terminals; a synchronization controller defining a synchronization input, a set output, and a reset output, the synchronization input being coupled to the synchronization terminal; a drive logic, the drive logic defining a set input, a reset input, and a drive output, the set input coupled to the set output, the reset input coupled to the reset output, and the drive output coupled to the drive terminal, the drive logic being configured to drive a control input of an electrically controlled switch; the drive logic being configured to assert the drive output in response to assertion of the set input, and the drive logic being configured to de-assert the drive output in response to assertion of the reset input; The synchronization controller is configured to: asserting the set input to the drive logic at a first frequency set by a direct current voltage (DC voltage) sensed by the synchronization controller on the synchronization terminal in the absence of a synchronization signal sensed on the synchronization terminal; sensing a synchronization signal applied to the synchronization terminal, the synchronization signal having a variable second frequency; asserting the set input to the drive logic at the second frequency in the presence of the sync signal on the sync terminal; as well as The duty cycle in each cycle of the synchronization signal is limited based on a parameter of the synchronization signal in a previous cycle.

6. The primary side controller according to claim 5, wherein the synchronous controller further comprises: a current mirror, the current mirror defining a first mirror output and a third mirror output; a first sensing capacitor coupled to the first mirror output; a second sensing capacitor that holds a voltage proportional to a period of a previous cycle of the synchronization signal; a ramp capacitor coupled to the third mirror output; During a first cycle of the synchronization signal, the synchronization controller is configured to: charging the first sensing capacitor via the first mirror output; Charging the ramp capacitor via the third mirror output, wherein the charging generates a first ramp signal; The reset output is asserted when a magnitude of the first ramp signal crosses a magnitude of the voltage of the second sense capacitor.

7. The primary side controller according to claim 6, wherein the synchronous controller further comprises: the current mirror, the current mirror defining a second mirror output; the first sensing capacitor maintaining a voltage proportional to a period of the first cycle of the synchronization signal; the second sensing capacitor, the second sensing capacitor coupled to the second mirror output; the ramp capacitor, the ramp capacitor coupled to the third mirror output; During a second cycle of the synchronization signal, the synchronization controller is configured to: charging the second sensing capacitor via the second mirror output; Charging the ramp capacitor via the third mirror output, wherein the charging generates a second ramp signal; The reset output is asserted when the magnitude of the second ramp signal crosses the magnitude of the voltage of the first sensing capacitor.

8. The primary side controller according to claim 5, wherein the synchronous controller further comprises: a current mirror, the current mirror defining a first mirror output, a second mirror output, and a third mirror output; a first sensing capacitor coupled to the first mirror output via a first electrically controlled switch defining a control input; a second sensing capacitor coupled to the second mirror output via a second electrically controlled switch defining a control input; a ramp capacitor coupled to the third mirror output via a third electrically controlled switch defining a control input; a comparator defining a first comparison input, a second comparison input, and a comparison output, the first comparison input being coupled to the ramp capacitor; a fourth electrically controlled switch defining a control input, the fourth electrically controlled switch coupled between the first sensing capacitor and the second comparison input; a fifth electrically controlled switch defining a control input, the fifth electrically controlled switch coupled between the second sensing capacitor and the second comparison input; control logic, the control logic defining a first control output coupled to the control input of the first electrical control switch, a second control output coupled to the control input of the second electrical control switch, a third control output coupled to the control input of the third electrical control switch, a fourth control output coupled to the control input of the fourth electrical control switch, a fifth control output coupled to the control input of the fifth electrical control switch, and the control logic coupled to the synchronization input; The control logic is configured to, in a first cycle of the synchronization signal: coupling the first sensing capacitor to the first mirror output via the first electrically controlled switch; coupling the second sensing capacitor to the second comparison input via the fifth electrically controlled switch; The control logic is configured to, in a second cycle of the synchronization signal: coupling the second sensing capacitor to the second mirror output via the second electrically controlled switch; as well as The second sensing capacitor is coupled to the second mirror output through the second electrically controlled switch.

9. A switching power converter comprising: A primary side, the primary side comprising: The primary winding of the transformer; a main power control switch defining a control input, the main power control switch configured to selectively couple a supply voltage to the primary winding of the transformer; a secondary side, the secondary side comprising a secondary winding of the transformer and a rectifier coupled to the secondary winding; a primary side controller, the primary side controller comprising a synchronization terminal and a drive terminal, the drive terminal coupled to the control input of the main power control switch; The primary side controller is configured as: asserting the drive terminal at a first frequency set by a direct current voltage (DC voltage) sensed on the sync terminal in the absence of a sync signal sensed on the sync terminal; sensing a synchronization signal applied to the synchronization terminal, the synchronization signal having a variable second frequency; driving the control input of the main power control switch at the second frequency in the presence of the synchronization signal on the synchronization terminal; and The duty cycle in each cycle of the synchronization signal is limited based on a parameter of the synchronization signal in a previous cycle.

10. The switching power converter of claim 9, wherein the primary-side controller further comprises: a current mirror, the current mirror defining a first mirror output and a third mirror output; a first sensing capacitor coupled to the first mirror output; a second sensing capacitor that holds a voltage proportional to a period of a previous cycle of the synchronization signal; a ramp capacitor coupled to the third mirror output; During a first cycle of the synchronization signal, the primary side controller is configured to: charging the first sensing capacitor via the first mirror output; Charging the ramp capacitor via the third mirror output, wherein the charging generates a first ramp signal; When the magnitude of the first ramp signal crosses the magnitude of the voltage of the second sensing capacitor, the control input of the main power control switch is de-asserted.

11. The switching power converter of claim 10, wherein the primary-side controller further comprises: the current mirror, the current mirror defining a second mirror output; the first sensing capacitor maintaining a voltage proportional to a period of the first cycle of the synchronization signal; the second sensing capacitor, the second sensing capacitor coupled to the second mirror output; the ramp capacitor, the ramp capacitor coupled to the third mirror output; During a second cycle of the synchronization signal, the primary side controller is configured to: charging the second sensing capacitor via the second mirror output; Charging the ramp capacitor via the third mirror output, wherein the charging generates a second ramp signal; When the magnitude of the second ramp signal crosses the magnitude of the voltage of the first sensing capacitor, the control input of the main power control switch is de-asserted.