Efficient negative sense detection for synchronous rectifiers in voltage converters

Through the VBUS tracking reference solution and dynamic current compensation, the problem of excessive current caused by false negative sensing detection in AC-DC converters is solved, the efficiency and accuracy of NSN detection are improved, and the overall efficiency of the converter is improved.

CN118554723APending Publication Date: 2024-08-27INFINEON TECHNOLOGIES AMERICAS CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310041935.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-14
Filing Date
2023-01-12
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

In the intermittent conduction mode of AC-DC converters, false negative sensing detection may cause excessive secondary-side current, causing transistor and diode breakdown, and existing blanking time schemes cannot fully solve the problem, reducing conversion machine efficiency.

Method used

The VBUS tracking reference scheme and dynamic VBUS current compensation are used to detect real NSN events and avoid false NSN detection through a combination of analog and digital circuits, improving the efficiency and accuracy of NSN detection.

Benefits of technology

It effectively distinguishes between real NSN detection and false NSN detection, avoids unnecessary secondary PS-FET conduction, reduces power loss, and improves the efficiency and accuracy of the AC-DC converter.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118554723A
    Figure CN118554723A
Patent Text Reader

Abstract

A secondary side controller of a flyback AC-DC converter includes an integrated circuit including an analog-to-digital converter (ADC) coupled to a voltage bus (VBUS), the ADC to output a digital value corresponding to a voltage level of the VBUS; a first logic configured to generate a reference voltage based on the digital value; a second logic configured to generate a VBUS gain value based on an output power of a flyback transformer of the flyback AC-DC converter; an integrator for accumulating a current corresponding to a sense voltage at a drain of a synchronous rectifier (SR) at a secondary side of the flyback transformer, the accumulated current being modified according to a VBUS gain value, in which the integrator outputs an updated sense voltage; and a comparator for outputting a detection signal indicative of a negative sense voltage in response to the updated sense voltage matching the reference voltage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an integrated circuit (IC) that controls universal serial bus (USB) power delivery to an electronic device. Background Art

[0002] An alternating current to direct current (AC-DC) converter converts power from an AC source to DC of a specified voltage level. Typically, an AC-DC converter delivers power from an AC input coupled to the primary side of a transformer to a DC output coupled to the secondary side of the transformer. Some AC-DC converters operate in a discontinuous conduction mode (DCM). In DCM mode, the converter stores power in its transformer during the on-cycle of the primary (e.g., AC) side, while the secondary (e.g., DC) side is off; the converter delivers the stored power during the next on-cycle of the secondary side, while the primary side is off.

[0003] One problem with converters operating in DCM mode is false negative sense (NSN) detection. False NSN detection occurs when the resonant ringing on the primary side of the converter is incorrectly interpreted by the secondary side controller as a signal to turn on the secondary power switch field effect transistor (PS-FET) to transfer power to the secondary side. However, if the secondary side is turned on while the primary side is still on, cross conduction may cause very high secondary side currents, which may cause breakdown of the secondary side transistors and diodes. Typically, blanking times (e.g., blanking NSN detection for a certain time interval or based on other triggers) can be used as a solution to this problem. However, blanking times may not completely solve the problem and reduce the efficiency of the converter due to unnecessary and untimely turn-on of the secondary side, because power will be transferred through the rectifier diode instead of the secondary PS-FET during such blanking times, thereby causing power losses. BRIEF DESCRIPTION OF THE DRAWINGS

[0004] Figure 1 is a schematic diagram of a primary controlled AC-DC converter system according to an example embodiment.

[0005] Figure 2 is a signal flow diagram of a primary controlled AC-DC converter system according to an embodiment.

[0006] Figure 3A is a schematic block diagram of a secondary side controller configured to efficiently and correctly detect NSN of a synchronous rectifier according to some embodiments.

[0007] Figure 3Bis a graph of capacitor voltage (Vcap) versus VBUS voltage depending on a method used to track the VBUS voltage according to some embodiments.

[0008] Figure 4A-4B is a schematic diagram of a secondary side controller configured to efficiently and correctly detect NSN of a synchronous rectifier according to some embodiments.

[0009] Figure 5 According to at least one embodiment Figure 4A-4B The signal flow graph associated with the schematic diagram.

[0010] Figure 6 is a flow chart of a method for operation of a secondary side controller of a flyback AC-DC converter according to at least one embodiment. DETAILED DESCRIPTION

[0011] The following description sets forth many specific details (e.g., examples of specific systems, components, methods, etc.) in order to provide a good understanding of the various embodiments of the flyback AC-DC converter for a USB Type-C controller described herein. However, it will be apparent to those skilled in the art that at least some embodiments may be practiced without these specific details. In other instances, well-known components, elements, or methods are not described in detail or are presented in a simple block diagram format to avoid unnecessarily obscuring the subject matter described herein. Therefore, the specific details set forth below are merely exemplary. Specific implementations may differ from these exemplary details but are still considered to be within the spirit and scope of the present embodiments.

[0012] References in the specification to "an embodiment", "one embodiment", "example embodiment", "some embodiments" and "various embodiments" mean that a particular feature, structure, step, operation or characteristic described in conjunction with the embodiment is included in at least one embodiment. Further, the phrases "an embodiment", "one embodiment", "example embodiment", "some embodiments" and "various embodiments" appearing in various places in the specification do not necessarily all refer to the same embodiment.

[0013] The specification includes references to the accompanying drawings, which form a part of the detailed description. The accompanying drawings show diagrams according to exemplary embodiments. These embodiments, which may also be referred to herein as "examples," are described in sufficient detail to enable those skilled in the art to practice the embodiments of the claimed subject matter described herein. The embodiments may be combined, other embodiments may be utilized, or structural, logical, and electrical changes may be made without departing from the scope and spirit of the claimed subject matter. It should be understood that the embodiments described herein are not intended to limit the scope of the subject matter, but are intended to enable those skilled in the art to practice, make, and / or use the subject matter.

[0014] Various embodiments of flyback AC-DC converters in Universal Serial Bus (USB) Type-C controllers are described herein, which can be configured to operate in various electronic devices. Examples of such electronic devices include, but are not limited to, personal computers (e.g., laptop computers, notebook computers, etc.), mobile computing devices (e.g., tablet computers, tablet computers, e-reader devices, etc.), mobile communication devices (e.g., smart phones, cell phones, personal digital assistants, messaging devices, handheld PCs, etc.), connectivity and charging devices (e.g., cables, hubs, docking stations, adapters, chargers, etc.), audio / video / data recording and / or playback devices (e.g., cameras, recorders, handheld scanners, monitors, etc.), and other similar electronic devices that can use a USB interface for communication, battery charging, and / or power.

[0015] A more recent technology for USB connectors, known as USB Type-C (also referred to herein as "USB-C"), is defined in various releases and / or versions of the USB Type-C specification. The USB Type-C specification defines a Type-C receptacle, a Type-C plug, and a Type-C cable that can support USB communications as well as power delivery via the newer USB power delivery protocol defined in various revisions / versions of the USB-PD specification. Examples of USB Type-C features and requirements may include, but are not limited to, data and other communications in accordance with USB 2.0 and USB 3.0 / 3.1, electromechanical definitions and performance requirements for Type-C cables, electromechanical definitions and performance requirements for Type-C receptacles, electromechanical definitions and performance requirements for Type-C plugs, requirements for Type-C to legacy cable assemblies and adapters, requirements for Type-C based device detection and interface configuration, requirements for optimized power delivery for Type-C connectors, and the like.

[0016] In some embodiments, an AC-DC converter having a secondary side control and SR architecture including a single synchronous rectifier (SR) sense pin (SR_SEN) and an operating method thereof are disclosed for reducing the cost, complexity, and size of the converter while improving efficiency. The disclosed system and method are particularly useful in or with a flyback AC-DC converter to improve the efficiency and accuracy of true NSN detection of the SR drain voltage of the flyback AC-DC converter.

[0017] Figure 1The AC-DC converter 100 is a primary-controlled AC-DC converter according to some embodiments, which may also be referred to as a flyback converter system. The AC-DC converter 100 is a flyback AC-DC converter that provides galvanic isolation between an AC input 102 and a DC output 216. The AC-DC converter 100 includes a primary side 10 disposed on the AC input side of a flyback transformer 106, and a secondary side 20 disposed on the DC output side of the flyback transformer 106. An isolation barrier 150 having an isolation element 150a electrically isolates the primary side 10 from the secondary side 20. In the primary control mode, the primary side 10 of the flyback transformer 106 controls the operation of the AC-DC converter 100 because the only communication channel from the primary side 10 to the secondary side 20 is the voltage level provided to the secondary side 20 by the flyback transformer 106. The conduction periods of the primary side 10 and the secondary side 20 are typically separated by a time interval during which the power stored in the flyback transformer 106 is transmitted through a rectifier diode, which results in higher power losses, thereby reducing efficiency.

[0018] refer to Figure 1 , the primary side 10 of the AC-DC converter 100 includes an AC input 102, a bridge rectifier 104, a flyback transformer 106, a primary power switch (PS) field effect transistor (FET) 108, and a primary side controller 110. Further, the secondary side 20 includes a secondary side controller 200, a synchronous rectifier (SR) circuit 210 (e.g., “SR”), a drain node (SR_DRAIN) 212, an output capacitor 214, and a universal serial bus (USB) Type-C connector 220.

[0019] In various embodiments, on the primary side 10, an AC input 102 is configured to receive alternating current from a power source, such as a wall outlet (not shown). A bridge rectifier 104 is coupled between the AC input 102 and a flyback transformer 106 to rectify the input voltage received at the AC input 102. The flyback transformer 106 is coupled to conduct the AC current from the bridge rectifier 104 to ground through its primary winding and a primary PS-FET 108. An input capacitor may be coupled to the output of the bridge rectifier 104 to be charged to the input voltage (Vin) entering the primary side 10 of the AC-DC converter 100. In these embodiments, a primary side controller 110 is coupled to the gate of the primary PS-FET 108 to control the on and off cycles of the flyback transformer 106.

[0020] In at least some embodiments, on the secondary side 20, an SR circuit 210 is coupled between the secondary winding of the flyback transformer 106 and an output capacitor 214. The SR circuit 210 (also referred to herein as "SR") includes a secondary PS-FET 208 coupled in parallel with a diode such that when the secondary PS-FET 208 is turned on, an induced current flows to a drain node 212. The SR circuit 210 is configured to charge the output capacitor 214 (continuously in on and off cycles) such that the output capacitor 214 can provide a regulated voltage to a DC output 216. The DC output 216 is coupled to a power connector 220. In these embodiments, the secondary side controller 200 is coupled to the drain node 212 of the SR circuit 210 to sense the voltage (and changes thereto) on the drain node. The secondary side controller 200 is also coupled to the gate of the secondary PS-FET 208 in the SR circuit 210 to turn the SR circuit 210 on and off (eg, in corresponding on and off cycles) based on voltage peaks, negative voltages, and zero voltage crossings sensed on the drain node 212 .

[0021] In at least some embodiments, a feature that determines the efficiency of an AC-DC converter (e.g., AC-DC converter 100) is the operation of a secondary PS-FET switch (e.g., secondary PS-FET 208) that controls an operating cycle of an SR circuit (e.g., SR circuit 210). In the primary control mode, the secondary side controller (e.g., controller 200) relies entirely on the voltage level of the drain node (e.g., SR_DRAIN 212) of the SR circuit 210 because there is no other communication channel from the primary side 10 to the secondary side 20. In a typical operating scenario, the voltage on the SR_DRAIN node is below -0.2V to instruct the secondary side controller 200 to turn on the secondary PS-FET 208. When the voltage on the SR_DRAIN node returns to 0V, the secondary side controller 200 detects this zero voltage crossing and turns off the secondary PS-FET 208.

[0022] False NSN detection may be a problem for a secondary side controller 200 operating in the context of a primary controlled AC-DC converter such as the AC-DC converter 100. Such false NSN detection occurs during resonant ringing when the AC-DC converter 100 is operating in a discontinuous conduction mode (DCM). During such resonant ringing, the voltage on the SR_DRAIN node of the SR circuit 210 may be less than -200 mV. This voltage may be erroneously interpreted by the secondary side controller 200 as a valid NSN detection event, causing the secondary side controller 200 to turn on the secondary PS-FET 208 of the SR circuit 210. This in turn results in efficiency loss due to unnecessary turn-on of the SR circuit 210, thereby discharging the output load capacitor 218 carrying the VBUS voltage (e.g., VBUS_IN) to ground. In addition, if the primary side controller 110 turns on the primary PS-FET 108 at the same time, cross conduction will result in both the primary side 10 and the secondary side 20 being turned on at the same time. However, this cross conduction may result in very high secondary-side currents, which may cause breakdown of the diode and transistor components of the SR circuit 210. In some flyback AC-DC converters, blanking times may be used as a solution to this problem (e.g., blanking the NSN detection for a specific time interval). However, using such blanking times may reduce the efficiency of the AC-DC converter 100 because the secondary PS-FET 208 will not conduct during this time, and the diode of the SR circuit 210 will carry the peak current, thereby causing power losses.

[0023] Figure 2 is an example signal diagram illustrating the false NSN detection problem (e.g., for a primary-controlled AC-DC converter 100 operating in DCM mode). When the primary side 10 is conducting (primary on-cycle), the primary PS-FET 108 is on, the secondary PS-FET 208 is off, and the primary current 105 flows through the primary coil of the flyback transformer 106. When the secondary side 20 is conducting (secondary on-cycle), the primary PS-FET 108 is off, the secondary PS-FET 208 is on, and the secondary current 211 flows to the drain node of the SR circuit. Figure 2 As shown, the primary conduction period and the secondary conduction period are separated by a blanking time interval 107 in a conventional manner.

[0024] When the primary side is turned on, a leakage ringing event 109A is realized on the SR_DRAIN signal 213. When the voltage on the SR_DRAIN signal 213 drops to approximately -0.7V, a true NSN event 205a can be detected based on the output NSN signal (NSN_OUT) 205 at the end of the blanking time interval 107. After the blanking time interval 107, the primary side 10 is turned off and the secondary side 20 is turned on. The detection of the true NSN event 205a is used to drive the control signal SR_DRV 209 high, thereby turning on the secondary PS-FET 208. Therefore, the voltage on the SR-DRAIN signal rises and eventually crosses 0V. When this occurs, a zero crossing detection (ZCD) event 207a can be detected based on the control signal ZCD_OUT 207, and the control signal SR_DRV 209 is driven low to turn off the secondary PS-FET 208. However, after the ZCD event 207a, the voltage on the SR_DRAIN signal 209 continues to rise and achieves a resonant ringing 213a thereon. This results in a false NSN detection event 205b being detected on the SR_DRAIN signal 213 based on the NSN_OUT signal 205. The detection of this (false) NSN event 205b is used to drive the control signal SR_DRV 209 high, which unnecessarily (i.e., erroneously) turns on the secondary PS-FET 208.

[0025] To prevent such false turn-on of the secondary PS-FET 208, the architecture described herein provides for detecting the actual true turn-on event of the primary side 10 and avoiding false NSN detection. For example, the flyback converter architecture described herein employs a combination of a VBUS tracking reference scheme and a dynamic VBUS current compensation, which is designed to detect false NSN and optimize the VBUS and ViN efficiency of the AC-DC converter 100. As described below, a combination of analog and digital circuit devices can be employed to efficiently and accurately detect true NSN events. Therefore, the AC-DC converter 100 configured according to the techniques described herein can distinguish between true NSN detection events and false NSN detection events.

[0026] Figure 3A is a schematic block diagram of a secondary side controller 300 configured to efficiently and correctly detect the NSN of the SR circuit 210 according to some embodiments. In one embodiment, the secondary side controller 300 is Figure 1The secondary side controller 200 of FIG. 1 is a secondary side controller 300. In some embodiments, the secondary side controller 300 is configured to control the flyback AC-DC converter 100 to provide a DC output compatible with the Universal Serial Bus Type-C standard (USB-C). In various embodiments, the secondary side controller 300 includes a sensing block 301, which in turn includes a voltage divider connected in series with the connected diode. The voltage divider is connected to the SR_DRAIN 212 ( Figure 2 ) is coupled to a sense pad (PAD_SR_SNS) input of the secondary side controller 300. The tap point of the voltage divider can generate a sense voltage corresponding to the voltage level of SR_DRAIN 212 of the SR circuit 210.

[0027] In the illustrated embodiment, the secondary side controller 300 further includes a first logic 302, a Vin derivation block 303, a second logic 304, an analog-to-digital converter (ADC) 306, a reset circuit 308, a comparator 310, an integrator 315, a first voltage-to-current converter 320, a dynamic gain circuit 324, a second voltage-to-current converter 330, and a VBUS current compensation circuit 334. In these embodiments, the ADC 306 is coupled to the voltage bus (VBUS), for example, via the VBUS_IN pin, and is configured to output a digital value corresponding to the voltage level of the VBUS. The first logic 302 is coupled to the ADC 306 and is configured to generate a reference voltage (Vref) based on the digital value. The reference voltage is fed to the comparator 310 as Vref of the comparator 310. In different embodiments, the second logic 302 is firmware, hardware, or a combination thereof. Therefore, Vref is a digitally controlled voltage reference that can be programmed and adjusted in real time based on the VBUS voltage.

[0028] In these embodiments, the second logic 304 may be a resistor transfer logic (RTL) (or other programmable logic) that generates a VBUS gain value based on the output power of the flyback transformer 106 of the AD-DC converter 100. In at least one embodiment, to determine the VBUS gain value, the second logic 304 operates on the input voltage (Vin) derived from the Vin derivation block 303 and the duty cycle of the sense voltage. The duty cycle may be determined as the percentage of time that the secondary PS_FET 208 is turned on. The Vin derivation block 303, coupled to the voltage divider of the sense block 301, may be configured to determine the input voltage (Vin) value based on the turns ratio (N) of the flyback transformer 106 and the voltage level of VBUS (see Figure 1). More specifically, the value of Vin can be derived by subtracting the value of VBUS (which can correspond to a digital value from ADC 306) from the sensed voltage and dividing by the turns ratio (N) of the flyback transformer 106. The turns ratio (or N) can be understood as the number of turns of the flyback transformer 106 on the primary side 10 compared to the number of turns of the flyback transformer 106 on the secondary side 20. By tracking the value of ViN when generating the VBUS gain value, the percentage of VBUS compensation performed by the current compensation circuit 334 can be more efficiently controlled, as described below.

[0029] In at least some embodiments, the integrator 315 is configured to accumulate a current corresponding to a sense voltage at the drain (e.g., SR_DRAIN 212) of the synchronous rectifier (SR) of the secondary side 20 of the flyback transformer 106. The accumulated current will be modified according to the VBUS gain value, which will be explained in more detail later. The integrator 315 outputs an updated sense voltage (Vcap) based on the modification that is also fed to the comparator 310. In these embodiments, the comparator 310 is configured to output a detection signal (integ_out) indicating a negative sense (NSN) voltage detection in response to the updated sense voltage matching the reference voltage (Vref) generated by the first logic 302. In this way, the first logic and the second logic provide a programmable reference by which the updated sense current is generated to achieve more efficient and accurate VBUS tracking for NSN detection.

[0030] In various embodiments, the first voltage-to-current converter 320 is configured to convert the voltage level of VBUS to a VBUS current on which the dynamic gain circuit 324 can operate. In addition, the second voltage-to-current converter 330 is configured to convert the sense voltage (from the tap point of the sense block 301) to a sense current. The current compensation circuit 334 is coupled between the first voltage-to-current converter 320, the second voltage-to-current converter 330, and the integrator 315, and is configured to provide a compensated sense current (i_integ) to the integrator 215 to modify the accumulated current based on the difference between the sense current and the multiple of the VBUS current. In these embodiments, the dynamic gain circuit 324 is coupled to the current compensation circuit 334 and the first voltage-to-current converter 320, and is configured to generate a multiple of the VBUS current for the current compensation circuit 334 based on the VBUS gain value, which will refer to Figure 4A Discuss in more detail.

[0031] In at least some embodiments, the integrator 315 is coupled to the first voltage-to-current converter 330, for example, via the VBUS current compensation circuit 334. In some embodiments, the integrator 315 includes a capacitor 316, a bypass transistor 318 coupled in parallel with the capacitor 316, and an inverter 409 coupled between the second voltage-to-current converter 330 and the bypass transistor 318 (see Figure 4A ). In these embodiments, the reset circuit 308 may include a reset circuit device that detects whether the sense current (i_srsense) exceeds the reset current level based on VBUS to trigger the inverter 409 to turn on the bypass transistor 318 so that the capacitor 316 can be charged. The second logic 304 is also configured to generate a control signal that sets the reset current level based on VBUS, as will be described in detail in one implementation. Figure 4A discussed in more detail.

[0032] In various embodiments, the second logic 304 is also configured to implement level-based sensing of the sense voltage of the bypass integrator 315 to obtain a lower turns ratio (N) of the transformer 106, for example, a turns ratio below a threshold. In these embodiments, the second logic 304 causes a control signal to enter the reset circuit 308 to keep the bypass transistor 318 turned on and supply the sense voltage from the sense block 301 to the comparator 310, for example, instead of Vcap. In contrast, it makes sense to employ level-based sensing in these low-N embodiments because when the primary PS_FET 108 is turned on, the LC ringing level on the secondary side 20 of the flyback transformer 106 is expected to be lower than the SR_DRAIN voltage level. This helps to achieve the secondary PS_FET 208 and improve efficiency even in low load conditions.

[0033] Figure 3B 372A is a graph of capacitor voltage (Vcap) versus VBUS voltage depending on the method used to track the VBUS voltage according to some embodiments. For example, Vcap is the voltage provided to the comparator 310 by the capacitor 316 when it is charged. For comparison purposes, the first waveform 370 illustrates conventional NSN detection with a fixed Vref value and therefore when no VBUS-based tracking is performed. The second waveform 372A illustrates the resonant ringing curve 213a ( Figure 2 ). The third waveform 372B illustrates the maximum area under the primary PS_FET 108 when it is turned on (e.g., Figure 2 The minimum area under the SR_DRAIN 212 curve at the beginning of the SR_DRAIN signal 213 shown in FIG. 3 is shown in FIG. 3. In the middle of the second waveform and the third waveform is a fourth waveform 374, which illustrates that the Vcap value changes in association with the dynamically changing Vref based on the VBUS voltage level, as shown in FIG. Figure 3AThus, it can be observed that the fourth waveform 374 generated by the disclosed architecture and techniques tracks the actual SR_DRAIN curve below the third waveform 372B, thereby avoiding false NSN detections by programmably tracking the VBUS voltage level.

[0034] Additional references Figure 3A With the integrator 315 of FIG. 20 , the VBUS integration level varies with ViN (e.g., when generating the VBUS gain value) so as to accurately track a lower threshold (e.g., 110% of VBUS) at lower ViN and a higher threshold at higher ViN, since this will increase the integration of the SR_DRAIN region more than the ringing region. This allows the secondary side controller 300 to not bypass true NSN events even at lower Vin voltages. In addition, for low load conditions on the secondary side 20, the LC (or resonant) oscillation stops and the SR_DRAIN voltage remains at the VBUS voltage for a feature of “zero voltage switching (ZVS) on the Nth valley.” With a programmable threshold of 120% of VBUS (above which sensing for true NSN events can be performed), the secondary PS_FET 208 will remain off during ZVS on the Nth valley and cross conduction will be avoided. Adjusting the VBUS gain value as described above can effectively set this programmable threshold.

[0035] Figure 4A-4B is a schematic diagram of a secondary side controller 400 configured to efficiently and correctly detect NSN of a synchronous rectifier according to some embodiments. In at least some embodiments, the secondary side controller 400 represents Figure 3A An example implementation of the secondary side controller 300 is provided, and therefore implementation components are labeled as Figure 3A In this implementation, for simplicity, the first logic 302, the second logic 304 and the Vin derivation block 303 are combined together as Figure 4A , but may be implemented as processing logic, firmware, RTL, hardware, or a combination thereof. The logic 402 is configured to generate a reference Figure 3A Multiple control signals or values ​​are discussed.

[0036] According to various embodiments, the first voltage-to-current converter 320 may include Figure 4BA circuit device includes a voltage divider 421, a comparator 422, and a pair of p-type transistors (P101, P102) whose gates are coupled to the output of the comparator 422, wherein the drain of the P101 transistor is coupled to ground through the R1 resistor, and the negative terminal of the comparator 422 is also coupled to ground through the R1 resistor. The center output of the voltage divider 421 can be fed to the positive terminal of the comparator 422. The sources of the transistors P101 and P102 are coupled together, and the drain of the P102 transistor is fed into a current mirror, which includes a pair of n-type transistors (N101, N102), wherein the N102 transistor outputs a current of VBUS, for example, I5 or iVBUS. The iVBUS (or I5) is then fed into another current mirror, which includes Figure 4A In addition, the VBUS voltage from the VBUS_IN pad is supplied to the Figure 4A ADC 306.

[0037] According to the illustrated embodiment, Figure 3A The voltage divider of the sense block 301 is part of a voltage divider that includes an external resistor (Rext) coupled between the SR sense pad (PAD_SR_SNS) and SR_DRAIN 212. The resistor within the sense block 301 can be a variable second resistor, which is labeled as an "R0" resistor. A pair of tap positions of the R0 resistor, one of which is located above the diode of the sense block, can provide the sense voltage discussed previously.

[0038] In various embodiments, the second voltage to current converter 330 includes a first n-type transistor N01 having a gate driven by the bottom tap point of the R0 resistor and a second n-type transistor N02 having a gate driven by the top tap point of the R0 resistor. An R1 resistor is provided between the source of each of the N01 and N02 transistors and ground. In addition, in these embodiments, the second voltage to current converter 330 includes a first current mirror of a first pair of p-type transistors P01 and P02 that share the current through the N01 transistor and a second current mirror of a second pair of p-type transistors P05 and P06 that share the current through the N02 transistor. The drains of the P02 and P05 transistors are interconnected so that the output of transistor P06 includes the SR drain converter current (Isrdrain), also referred to as I0. With this arrangement, the Isrdrain current can be expressed as

[0039] In at least some embodiments, another p-type transistor P03 is coupled between the first current mirror of the second voltage-to-current converter 330 and the third n-type transistor N03, which also mirrors the Isrdrain current to the drain of the N03 transistor. Another R1 resistor is also connected between the source of the N03 transistor and ground.

[0040] In the illustrated embodiment, the VBUS current compensation circuit 334 includes a current mirror including a pair of p-type transistors P201 and P202, wherein the input to the P201 transistor is the Isrdrain (I1) current. Thus, in one embodiment, the N03 transistor and the R1 resistor are considered part of the VBUS current compensation circuit 334. The drain of the P201 transistor is coupled to a line of a dynamic gain compensation circuit for carrying current I3, which will be discussed in more detail below. Thus, the input of the current mirror including the P201 and P202 transistors subtracts the I3 current from the I1 or Isrdrain current to generate the I4 current. Because the I4 current is mirrored to the output of the current mirror, the I4 current is the compensation sense current (i_integ) provided to the integrator 315, for example, to modify the accumulated current on the capacitor 316.

[0041] In these embodiments, the dynamic gain circuit 324 includes P103 and P104 transistors, which are mirrored with an array of p-type transistors P105 (functioning as a current digital-to-analog converter (IDAC)), where each selected p-type transistor provides a multiple of the mirrored iVBUS current from the P104 transistor. Thus, the VBUS gain value of the digital multiplier (labeled ivbus_config1 <n:0>) is configured to selectively connect one or more of the p-type transistors of the array of p-type transistors P105 in the current mirror to the current compensation circuit 334 (e.g., which provides an I3 current K1*iVBUS as K1), where the K1 value represents a digital multiplier provided by the logic 402. Other implementations are contemplated for selectively increasing the I3 current based on the VBUS gain value.

[0042] In various illustrated embodiments, as previously discussed with reference to the second logic 304, the logic 402 is also configured to generate a control signal (labeled ivbus_configure0 <n:0>), the control signal sets the reset current level based on VBUS, if the sense current (here Isrdrain) exceeds the reset current level based on VBUS, the inverter 409 is triggered to turn off the bypass transistor 318, thereby causing the capacitor 316 to be charged. In these embodiments, the control signal can be a second digital multiplier to multiply the iVBUS current through the reset circuit 308.

[0043] Therefore, in these embodiments, the reset circuit 308 includes a reset current mirror including a first n-type transistor 201 coupled to the first voltage-to-current converter 330 and carrying the VBUS current (iVBUS) from the first voltage-to-current converter 330. The reset current mirror may further include an array of n-type transistors N202 (also used as an IDAC), wherein the second digital multiplier is configured to selectively connect one or more of the n-type transistors N202 within the reset current mirror and coupled to the first voltage-to-current converter 320 and the inverter 409. In this manner, iVBUS is mirrored and then multiplied by the array of n-type transistors N202 to generate an I2 current K0*iVBUS, wherein the K0 value is the second multiplier value. If the I0 (e.g., Isrdrain) current exceeds the I2 current, the resetb signal is asserted and the reset signal is deasserted, which causes the transistor 318 to be turned off, thereby allowing the capacitor 316 to be charged. By charging the capacitor 316 , the comparator 310 is activated to enable detection of a NSN event at its output (intg_out).

[0044] In this way, the charge of capacitor 316 is equivalent to the product of voltage-time, thereby performing integration on the voltage corresponding to the compensated sensing current (i_integ). In addition, the output power of capacitor 316 corresponding to Vcap can be tracked by a programmable reference voltage (Vref) generated by logic 402 based on the digital value generated by ADC 306 according to the VBUS voltage.

[0045] Figure 5 According to at least one embodiment Figure 4A-4B 1. The waveforms in this signal flow diagram include SR_DRAIN signal 510, resetb signal 520, Vcap signal 530, and integ_out signal 540. SR_DRAIN signal 510 illustrates the resonant ringing of the voltage at the output of flyback converter 106, which corresponds to SR_DRAIN 212 of SR circuit 210. resetb signal 520 illustrates the Figure 4A 215, which is triggered to detect a NSN event. The integ_out signal 540 illustrates the pulse output of a true NSN event, where even when the resetb signal 520 is asserted, the charge on the capacitor 316 is insufficient to trigger the output of the integ_out signal 540, thereby avoiding a false NSN signal.

[0046] The present embodiment includes various advantages that improve upon previous implementations, at least some of which are flexibility, efficiency and performance, reliability, ZVS readiness, and cost savings as the secondary side controller 200 has no additional pins or external components to implement. Flexibility is due to the use of the turns ratio (N), and the logic 402 can select between level-based sensing or voltage-second-based schemes to detect true NSN events. Efficiency comes from a programmable reference voltage (Vref) based on VBUS and / or Vin values, enabling the secondary PS_FET 208 to turn on even for low power loads. The integration period is optimized based on sensing the converter output voltage and setting the appropriate voltage reference (Vref) through firmware and / or hardware to improve efficiency. Performance and efficiency can be improved by ensuring that the SR gate driver is not turned on during LC (or resonant) ringing. In addition, dynamic VBUS current compensation (100% to 150% or more of VBUS) improves efficiency for both low voltage outputs and higher voltage outputs. This embodiment is ZNS ready because the secondary PS_FET 208 can be kept off even for ZVS on any Nth valley.

[0047] Figure 6 6 is a flow chart of a method 600 for operation of a secondary side controller of a flyback AC-DC converter according to at least one embodiment. In these embodiments, the method 600 is performed by the AC-DC converter 100 using the secondary side controller 200 or 300, which refers to Figure 1-5 In particular, the method 600 may employ the firmware, logic, and circuit components of the secondary-side controller 200 or 300 discussed previously.

[0048] At operation 610 , the method 600 includes generating, using the ADC 306 , a digital value corresponding to the voltage level of VBUS.

[0049] At operation 620 , the method 600 includes generating a reference voltage (Vref) based on the digital value using the first logic 302 .

[0050] At operation 630 , the method 600 includes generating a VBUS gain value based on the output power of the flyback transformer 106 of the flyback AC-DC converter using the second logic 304 .

[0051] At operation 640 , the method 600 includes accumulating, via the integrator 315 , a current corresponding to the sensed voltage at the drain of the synchronous rectifier (SR) of the secondary side 20 of the flyback transformer 106 .

[0052] At operation 650 , the method 600 includes modifying, via the current compensation circuit 334 , the accumulated current of the integrator 315 based on the VBUS gain value.

[0053] At operation 660 , the method 600 includes outputting, by the comparator 310 , a detection signal indicating detection of a negative sensing voltage in response to the modified accumulated current (i_integ) matching the reference voltage (Vref).

[0054] In these embodiments, the method 600 may further include determining, by the second logic 304, a VBUS gain value based on a value derived for an input voltage (Vin) to the flyback transformer 106 and based on a duty cycle of a sensed voltage, wherein the value derived for the input voltage is based on a turns ratio of the flyback transformer and a voltage level of VBUS, and for a turns ratio below a threshold, implementing level-based sensing of the sensed voltage of the bypass integrator 315 by the second logic 304.

[0055] In these embodiments, the method 600 may further include converting the sense voltage into a sense current by the second voltage-to-current converter 330, and generating a control signal by the second logic 394, which sets a reset current level based on VBUS, and if the sense current exceeds the reset current level based on VBUS, triggering the inverter 409 to turn off the bypass transistor, thereby causing the capacitor to be charged.

[0056] Various embodiments of efficient negative sensing detection of synchronous rectifiers in the voltage converter described herein may include various operations. These operations may be performed and / or controlled by hardware components, digital hardware and / or firmware and / or a combination thereof. As used herein, the term "coupled to" may mean directly connected or indirectly connected through one or more intermediate components. Any of the signals provided by various on-chip buses may be time-multiplexed with other signals and provided through one or more common on-chip buses. In addition, the interconnection between circuit components or blocks may be displayed as a bus or a single signal line. Each of the buses may alternatively be one or more single signal lines, and each of the single signal lines may alternatively be a bus.

[0057] Certain embodiments may be implemented via firmware instructions stored on a non-transitory computer-readable medium (e.g., volatile memory and / or non-volatile memory). These instructions may be used to program and / or configure one or more devices including a processor (e.g., a CPU) or its equivalent (e.g., a processing core, a processing engine, a microcontroller, etc.) so that when executed by the processor or its equivalent, the instructions cause the device to perform the described operations for the USB-C mode conversion architecture described herein. Non-transitory computer-readable storage media may include, but are not limited to, electromagnetic storage media, read-only memory (ROM), random access memory (RAM), erasable programmable memory (e.g., EPROM and EEPROM), flash memory, or another non-transitory type of medium now known or later developed that is suitable for storing information.

[0058] Although the operations of the circuits and blocks are shown and described herein in a particular order, in some embodiments, the order of the operations of each circuit / block may be changed so that certain operations may be performed in reverse order or so that certain operations may be performed at least partially concurrently and / or in parallel with other operations. In other embodiments, instructions or sub-operations of different operations may be performed in an intermittent and / or alternating manner.

[0059] In the foregoing description, the present invention has been described with reference to specific exemplary embodiments thereof. However, it will be apparent that various modifications and changes may be made thereto without departing from the broader spirit and scope of the present invention as set forth in the appended claims. Therefore, the description and drawings are to be regarded in an illustrative rather than a restrictive sense.

Claims

1. A secondary side controller of a flyback AC-DC converter including an integrated circuit (IC), comprising: an analog-to-digital converter (ADC) coupled to a voltage bus (VBUS), the ADC configured to output a digital value corresponding to a voltage level of the VBUS; first logic coupled to the ADC, the first logic configured to generate a reference voltage based on the digital value; second logic configured to generate a VBUS gain value based on an output power of a flyback transformer of the flyback AC-DC converter; an integrator for accumulating a current corresponding to a sensed voltage at a drain of a synchronous rectifier (SR) on a secondary side of the flyback transformer, the accumulated current being modified according to the VBUS gain value, wherein the integrator outputs an updated sensed voltage; as well as A comparator is configured to output a detection signal indicating a negative sensing voltage detection in response to the updated sensing voltage matching the reference voltage.

2. The secondary side controller according to claim 1, wherein: The second logic is configured to determine the VBUS gain value based on a value derived for an input voltage to the flyback transformer and based on a duty cycle of the sensed voltage, and the value derived for the input voltage is based on a turns ratio of the flyback transformer and based on a voltage level of the VBUS.

3. The secondary side controller according to claim 2, wherein: For turns ratios below a threshold, the second logic is further configured to implement level-based sensing of the sense voltage that bypasses the integrator.

4. The secondary side controller according to claim 1, wherein: The IC also includes: A first voltage-to-current converter, configured to convert the voltage level of the VBUS into a VBUS current; a second voltage-to-current converter for converting the sensing voltage into a sensing current; and A current compensation circuit is coupled between the first voltage-to-current converter, the second voltage-to-current converter, and the integrator, the current compensation circuit being used to provide a compensating sense current to the integrator to modify the accumulated current based on a difference between the sense current and a multiple of the VBUS current.

5. The secondary side controller according to claim 4, further comprising: A dynamic gain circuit is coupled to the current compensation circuit and to the first voltage-to-current converter, the dynamic gain circuit being configured to generate a multiple of the VBUS current based on the VBUS gain value for the current compensation circuit.

6. The secondary side controller according to claim 5, wherein: The VBUS gain value is a digital multiplier, the dynamic gain circuit includes an array of p-type transistors, and wherein the digital multiplier is used to selectively connect one or more of the p-type transistors in a current mirror to the current compensation circuit.

7. The secondary side controller according to claim 1, further comprising: a first voltage-to-current converter for converting the sensing voltage into a sensing current; as well as wherein the integrator is coupled to the first voltage-to-current converter and comprises: Capacitors; a bypass transistor coupled in parallel with the capacitor; and an inverter coupled between the first voltage-to-current converter and the bypass transistor; and The second logic is configured to generate a control signal, wherein the control signal sets a reset current level based on VBUS, and if the sensed current exceeds the reset current level based on VBUS, the inverter is triggered to turn off the bypass transistor, thereby charging the capacitor.

8. The secondary side controller according to claim 7, wherein: The control signal is a digital multiplier, and further comprises: a second voltage-to-current converter for converting the voltage level of the VBUS into a VBUS current; and Reset current mirror, which includes: a first n-type transistor coupled to the second voltage-to-current converter and carrying the VBUS current from the second voltage-to-current converter; and An array of n-type transistors, wherein the digital multiplier is configured to selectively connect one or more of the n-type transistors within the reset current mirror and coupled to the first voltage-to-current converter and the inverter. 9 . The secondary-side controller of claim 1 , configured to control the flyback AC-DC converter to provide a DC output compatible with the Universal Serial Bus Type C standard (USB-C).

10. A flyback converter system, the system comprising: Flyback transformer; a synchronous rectifier (SR) coupled to the secondary side of the flyback transformer; as well as A secondary side controller coupled to the secondary side of the flyback transformer and the SR, the secondary side controller comprising: an analog-to-digital converter (ADC) coupled to a voltage bus (VBUS), the ADC configured to output a digital value corresponding to a voltage level of the VBUS; first logic coupled to the ADC, the first logic configured to generate a reference voltage based on the digital value; second logic configured to generate a VBUS gain value based on an output power of the flyback transformer; an integrator for accumulating a current corresponding to a sense voltage at a drain of the SR, the accumulated current being modified according to the VBUS gain value, wherein the integrator outputs an updated sense voltage; and A comparator is configured to output a detection signal indicating a negative sensing voltage detection in response to the updated sensing voltage matching the reference voltage.

11. The system according to claim 10, wherein: The second logic is configured to determine the VBUS gain value based on a value derived for an input voltage to the flyback transformer and based on a duty cycle of the sensed voltage, and the value derived for the input voltage is based on a turns ratio of the flyback transformer and based on a voltage level of the VBUS.

12. The system according to claim 11, wherein: For turns ratios below a threshold, the second logic is further configured to implement level-based sensing of the sense voltage that bypasses the integrator.

13. The system according to claim 10, wherein: The secondary side controller further comprises: A first voltage-to-current converter, configured to convert the voltage level of the VBUS into a VBUS current; a voltage divider comprising a first resistor coupled to the drain of the SR and a variable second resistor coupled to the first resistor; a second voltage-to-current converter for converting the sensed voltage from the tap position of the variable second resistor into a sensed current; and A current compensation circuit is coupled between the first voltage-to-current converter, the second voltage-to-current converter, and the integrator, the current compensation circuit being used to provide a compensating sense current to the integrator to modify the accumulated current based on a difference between the sense current and a multiple of the VBUS current.

14. The system according to claim 13, wherein: The secondary side controller also includes a dynamic gain circuit coupled to the current compensation circuit and to the first voltage-to-current converter, the dynamic gain circuit for generating a multiple of the VBUS current based on the VBUS gain value for the current compensation circuit.

15. The system of claim 14, wherein: The VBUS gain value is a digital multiplier, the dynamic gain circuit includes an array of p-type transistors, and wherein the digital multiplier is used to selectively connect one or more of the p-type transistors in a current mirror to the current compensation circuit.

16. The system of claim 10, wherein: The secondary side controller further comprises: a first voltage-to-current converter for converting the sensing voltage into a sensing current; and wherein the integrator is coupled to the first voltage-to-current converter and comprises: Capacitors; a bypass transistor coupled in parallel with the capacitor; and an inverter coupled between the first voltage-to-current converter and the bypass transistor; and The second logic is configured to generate a control signal, wherein the control signal sets a reset current level based on VBUS, and if the sensed current exceeds the reset current level based on VBUS, the inverter is triggered to turn off the bypass transistor, thereby charging the capacitor.

17. The system of claim 16, wherein: The control signal is a digital multiplier, and further comprises: a second voltage-to-current converter for converting the voltage level of the VBUS into a VBUS current; and Reset current mirror, which includes: a first n-type transistor coupled to the second voltage-to-current converter and carrying the VBUS current from the second voltage-to-current converter; and An array of n-type transistors, wherein the digital multiplier is configured to selectively connect one or more of the n-type transistors within the reset current mirror and coupled to the first voltage-to-current converter and the inverter.

18. The system of claim 10, further comprising: An output capacitor is coupled to a source of the SR, the output capacitor being used to provide a direct current (DC) output compatible with a universal serial bus Type C standard (USB-C).

19. A method of operating a secondary side controller for a flyback AC-DC converter, the flyback AC-DC converter comprising: An analog-to-digital converter (ADC), a first logic, a second logic, an integrator, a current compensation circuit, and a comparator coupled to a voltage bus (VBUS), wherein the method comprises: Using the ADC, generating a digital value corresponding to the voltage level of the VBUS; generating a reference voltage based on the digital value using the first logic; generating a VBUS gain value based on an output power of a flyback transformer of the flyback AC-DC converter using the second logic; accumulating, by the integrator, a current corresponding to a sensed voltage at a drain of a synchronous rectifier (SR) on a secondary side of the flyback transformer; modifying, by the current compensation circuit, the accumulated current of the integrator based on the VBUS gain value; and By the comparator, a detection signal indicating a negative sensing voltage detection is output in response to the modified accumulated current matching the reference voltage.

20. The method according to claim 19, further comprising: determining, by the second logic, the VBUS gain value based on a value derived for an input voltage to the flyback transformer and based on a duty cycle of the sensed voltage, wherein the value derived for the input voltage is based on a turns ratio of the flyback transformer and based on a voltage level of the VBUS; and By means of the second logic, for turns ratios below a threshold, level-based sensing of the sense voltage bypassing the integrator is achieved.

21. The method according to claim 19, wherein: The secondary side controller further comprises: a voltage to current converter, and wherein the integrator comprises a capacitor, a bypass transistor coupled in parallel with the capacitor, and an inverter coupled between the voltage to current converter and the bypass transistor, the method further comprising: converting the sense voltage into a sense current by the voltage-to-current converter; and A control signal is generated through the second logic, wherein the control signal sets a reset current level based on VBUS, and if the sensed current exceeds the reset current level based on VBUS, the inverter is triggered to turn off the bypass transistor, thereby charging the capacitor.