Auxiliary winding negative end sampling circuit and sampling method in flyback converter
By putting the rectifier diode D2 on the negative end of the auxiliary winding Na and using the negative end sampling circuit of the auxiliary winding, the problem of high requirements of the transformer EMC is solved, and the transformer is miniaturized and low-cost design is realized.
Patent Information
- Application Number
- CN202411204916.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-08-30
AI Technical Summary
In the prior art, the placement of the rectifier diode D2 at the VCC terminal on the positive end of the auxiliary winding Na leads to high requirements for the EMC of the transformer, making it difficult to achieve miniaturization and low cost of the transformer.
Place the rectifier diode D2 on the negative end of the auxiliary winding Na, and obtain the ZCD signal pin voltage through the negative end sampling circuit, including the voltage conversion and comparison circuit, and perform reference voltage conversion and comparison to reduce the EMC requirements for the transformer. .
It reduces the shielding layer demand of transformers, reduces volume and cost, and improves market competitiveness.
Smart Images

Figure CN118739810B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of switch power supply control, and in particular to a negative terminal sampling circuit of an auxiliary winding in a flyback converter and a negative terminal sampling method of an auxiliary winding in a flyback converter. Background Art
[0002] Flyback converters are widely used in various consumer electronic products and are the main topology for small and medium power supplies. High efficiency and low noise solutions are extremely important for reducing system costs and improving user experience. Figure 1 As shown, the input is AC voltage, and C1 is the filter capacitor after the input voltage is rectified. Transformer T1 has three windings, namely the primary winding Np, the secondary winding Ns, and the auxiliary winding Na. D1 is the output rectifier tube. Q1 is the main switch tube of the primary winding Np. The controller obtains the power supply voltage VCC from the auxiliary winding Na through the rectifier diode D2. The controller outputs the drive voltage signal DRV to drive the main switch tube Q1 to turn on and off. When the main switch tube Q1 is turned on, the transformer T1 stores energy from the input end. When the main switch tube Q1 is turned off, the transformer T1 releases energy to the output end. The controller can obtain the operating voltage information of the transformer T1 by detecting the signal of the auxiliary winding Na to ZCD. The controller can obtain the operating current information of the main switch tube Q1 by detecting the voltage of the sampling resistor Rcs to CS.
[0003] Figure 1 The rectifier diode D2 in the transformer is usually placed at the positive end of the auxiliary winding Na. By detecting the voltage of the transformer auxiliary winding Na, the voltage of the transformer secondary winding Ns can be obtained, thereby obtaining the output voltage Vout of the flyback converter. Figure 1 The working waveform of the flyback converter is as follows: Figure 2 As shown, DRV is the driving voltage signal of the switch tube Q1, Ip is the current signal of the primary winding Np of the transformer, Is is the current signal of the secondary winding Ns of the transformer, and ZCD is the zero-crossing detection voltage signal; since one end of the auxiliary winding Na is grounded and the other end is connected to the positive end of the rectifier diode D2, in the demagnetization stage, the voltage drop on the rectifier diode D1 is ignored, and according to the output voltage Vout of the flyback converter, the voltage VAUX across the auxiliary winding Na is calculated as:
[0004] ;
[0005] in, is the number of turns of the auxiliary winding Na, is the number of turns of the secondary winding Ns;
[0006] Figure 1 The voltage of the ZCD signal pin is obtained by dividing the resistors R1 and R2, that is, the voltage VZCD of the ZCD signal pin is:
[0007] ;
[0008] like Figure 3 As shown in the figure, taking output overvoltage protection as an example, by setting reasonable values of R1 and R2, the ZCD signal pin voltage VZCD can be controlled within the power supply voltage VDDL of the comparator. The ZCD signal pin voltage VZCD inside the controller is compared with the reference voltage VREF to determine whether the output voltage exceeds the set voltage, thereby triggering the output overvoltage protection.
[0009] From the above analysis, it can be seen that when the rectifier diode D2 at the VCC end is placed at the positive end of the auxiliary winding Na, since one end of the auxiliary winding Na is grounded, the ZCD signal pin voltage VZCD is also calculated with reference to the ground, and the controller can conveniently process the ZCD signal pin voltage VZCD.
[0010] In recent years, with the development of market demand and changes in application scenarios, power management chips have developed towards miniaturization, high efficiency, low power consumption and low cost. The application of the rectifier diode D2 at the VCC end to the positive end of the auxiliary winding Na has high requirements for the transformer and requires an additional shielding layer to deal with EMC problems, which is not conducive to the miniaturization and low cost of the transformer. Summary of the invention
[0011] The present invention provides a sampling circuit and a sampling method for the negative end of an auxiliary winding in a flyback converter, so as to solve the problem that the rectifier diode D2 at the VCC end is placed at the positive end of the auxiliary winding Na in the related art, which has high requirements on the transformer and requires an additional shielding layer to deal with the EMC problem, which is not conducive to the miniaturization and low cost of the transformer.
[0012] As a first aspect of the present invention, a negative terminal sampling circuit of an auxiliary winding in a flyback converter is provided. The flyback converter includes a transformer T1, a first switch tube Q1, a first rectifier diode D1, a second rectifier diode D2, a first resistor R1, a second resistor R2, a sampling resistor Rcs and a controller. The transformer T1 includes a primary winding Np, a secondary winding Ns and an auxiliary winding Na. The negative end of the auxiliary winding Na is respectively connected to the negative electrode of the second rectifier diode D2 and one end of the first resistor R1, the positive electrode of the second rectifier diode D2 is grounded, and the positive end of the auxiliary winding Na is respectively connected to one end of the second resistor R2 and a VCC signal of the controller. pin, the other end of the first resistor R1 and the other end of the second resistor R2 are both connected to the ZCD signal pin of the controller, the controller includes a negative end sampling circuit of the auxiliary winding in the flyback converter, the negative end sampling circuit of the auxiliary winding in the flyback converter includes a first voltage conversion circuit, a first comparator and a level conversion circuit, the input end of the first voltage conversion circuit is connected to the original reference voltage, the output end of the first voltage conversion circuit is connected to the negative input end of the first comparator, the positive input end of the first comparator is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage, and the output end of the first comparator is connected to the level conversion circuit;
[0013] The first voltage conversion circuit is used to convert the original reference voltage into a first reference voltage;
[0014] The first comparator is used to compare the first reference voltage with the ZCD signal pin voltage to obtain a voltage comparison result, and output the voltage comparison result after conversion through the level conversion circuit.
[0015] Furthermore, in the demagnetization stage, the voltage VAUX across the auxiliary winding Na is:
[0016] ;
[0017] Then the ZCD signal pin voltage VZCD is:
[0018] ;
[0019] Wherein, VCC is the power supply voltage of the controller, VD2 is the voltage drop of the second rectifier diode D2; VOUT is the output voltage of the flyback converter, is the number of turns of the auxiliary winding Na, The number of turns of the secondary winding Ns; VR2 is the voltage drop of the second resistor R2.
[0020] Further, the first voltage conversion circuit includes a first operational amplifier, a second switch tube Q2, a third resistor R3 and a fourth resistor R4, the positive input terminal of the first operational amplifier is connected to the original reference voltage VREF, the negative input terminal of the first operational amplifier is respectively connected to the third resistor R3 and the source of the second switch tube Q2, the output terminal of the first operational amplifier is connected to the gate of the second switch tube Q2, the drain of the second switch tube Q2 is respectively connected to one end of the fourth resistor R4 and the negative input terminal of the first comparator, and the other end of the fourth resistor R4 is connected to the VCC signal pin of the controller; wherein, the calculation formula of the first reference voltage VREF1 is as follows:
[0021] ;
[0022] Wherein, VCC is the power supply voltage of the controller, and VREF is the original reference voltage;
[0023] The first comparator compares the first reference voltage VREF1 with the ZCD signal pin voltage VZCD to obtain a comparison result between VOUT and VREF;
[0024] Select appropriate resistance values of the first resistor R1 and the second resistor R2 to control VCC-VZCD within the range of VDDL, wherein the power supply of the first comparator is VCC, the ground is VCC-VDDL, the output high level of the first comparator is VCC, and the output low level is VCC-VDDL. After the level conversion circuit, the output high level VCC of the first comparator is converted to VDDL, and the output low level VCC-VDDL is converted to 0, and then the converted comparison result is sent to the subsequent circuit for processing.
[0025] As a second aspect of the present invention, a method for sampling the negative end of an auxiliary winding in a flyback converter is provided, which is applied to the negative end sampling circuit of the auxiliary winding in the flyback converter described above. The method for sampling the negative end of the auxiliary winding in the flyback converter comprises:
[0026] Step S1: Obtaining the original reference voltage and the ZCD signal pin voltage;
[0027] Step S2: converting the original reference voltage into a first reference voltage;
[0028] Step S3: Compare the first reference voltage with the ZCD signal pin voltage to obtain a voltage comparison result, and convert the voltage comparison result and output it.
[0029] As a third aspect of the present invention, a negative terminal sampling circuit of an auxiliary winding in a flyback converter is provided, wherein the flyback converter comprises a transformer T1, a first switch tube Q1, a first rectifier diode D1, a second rectifier diode D2, a first resistor R1, a second resistor R2, a sampling resistor Rcs and a controller, wherein the transformer T1 comprises a primary winding Np, a secondary winding Ns and an auxiliary winding Na, wherein the negative terminal of the auxiliary winding Na is respectively connected to the negative electrode of the second rectifier diode D2 and one end of the first resistor R1, the positive electrode of the second rectifier diode D2 is grounded, and the positive terminal of the auxiliary winding Na is respectively connected to one end of the second resistor R2 and a VCC signal of the controller. The other end of the first resistor R1 and the other end of the second resistor R2 are both connected to the ZCD signal pin of the controller, the controller includes a negative end sampling circuit of the auxiliary winding in the flyback converter, the negative end sampling circuit of the auxiliary winding in the flyback converter includes a second voltage conversion circuit and a second comparator, the input end of the second voltage conversion circuit is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage VZCD, the output end of the second voltage conversion circuit is connected to the positive input end of the second comparator, the negative input end of the second comparator is connected to the original reference voltage VREF, and the output end of the second comparator is connected to the post-stage circuit;
[0030] The second voltage conversion circuit is used to convert the ZCD signal pin voltage VZCD to output a converted ZCD signal pin voltage VZCD1;
[0031] The second comparator is used to compare the converted ZCD signal pin voltage VZCD1 with the original reference voltage VREF to obtain a voltage comparison result, and send the voltage comparison result to the subsequent circuit for processing.
[0032] Furthermore, in the demagnetization stage, the voltage VAUX across the auxiliary winding Na is:
[0033] ;
[0034] Then the ZCD signal pin voltage VZCD is:
[0035] ;
[0036] Wherein, VCC is the power supply voltage of the controller, VD2 is the voltage drop of the second rectifier diode D2; VOUT is the output voltage of the flyback converter, is the number of turns of the auxiliary winding Na, The number of turns of the secondary winding Ns; VR2 is the voltage drop of the second resistor R2. Furthermore, the second voltage conversion circuit includes a second operational amplifier, a third switch tube Q3, a fifth resistor R5 and a sixth resistor R6, the negative input terminal of the second operational amplifier is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage VZCD, the positive input terminal of the second operational amplifier is respectively connected to one end of the sixth resistor R6 and the source of the third switch tube Q3, the other end of the sixth resistor R6 is connected to the VCC signal pin of the controller, the output terminal of the second operational amplifier is connected to the gate of the third switch tube Q3, the drain of the third switch tube Q3 is respectively connected to one end of the fifth resistor R5 and the positive input terminal of the second comparator, and the other end of the fifth resistor R5 is grounded;
[0037] The calculation formula of the converted ZCD signal pin voltage VZCD1 is as follows:
[0038] ;
[0039] The second comparator compares the converted ZCD signal pin voltage VZCD1 with the original reference voltage VREF to obtain a comparison result of VOUT and VREF, and sends the comparison result of VOUT and VREF to a subsequent circuit for processing.
[0040] As a fourth aspect of the present invention, a method for sampling the negative end of an auxiliary winding in a flyback converter is provided, which is applied to the negative end sampling circuit of the auxiliary winding in the flyback converter described above. The method for sampling the negative end of the auxiliary winding in the flyback converter comprises:
[0041] Step S1: Obtaining the original reference voltage and the ZCD signal pin voltage;
[0042] Step S2: converting the ZCD signal pin voltage to output the converted ZCD signal pin voltage;
[0043] Step S3: Compare the converted ZCD signal pin voltage with the original reference voltage to obtain a voltage comparison result, and send the voltage comparison result to a subsequent circuit for processing.
[0044] The present invention provides a sampling circuit and a sampling method for the negative end of an auxiliary winding in a flyback converter. The application of the rectifier diode D2 at the VCC end to the negative end of the auxiliary winding can reduce the transformer shielding layer to meet EMC requirements, reduce the transformer volume and cost, and be more conducive to market competition. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention.
[0046] Figure 1 It is a schematic diagram of the structure of a flyback converter in the prior art.
[0047] Figure 2 It is a schematic diagram of the working waveform of the flyback converter in the prior art.
[0048] Figure 3 The figure is a schematic diagram of the internal circuit of a controller in a flyback converter in the prior art.
[0049] Figure 4 A schematic diagram of the structure of a flyback converter provided by the present invention.
[0050] Figure 5 A schematic diagram of the operating waveform of the flyback converter provided by the present invention.
[0051] Figure 6 This is a schematic diagram of a first internal circuit of a controller in a flyback converter provided by the present invention.
[0052] Figure 7 This is a second internal circuit diagram of the controller in the flyback converter provided by the present invention.
[0053] Figure 8 This is a first flow chart of the auxiliary winding negative end sampling method in the flyback converter provided by the present invention.
[0054] Fig. 9 This is a second flow chart of the auxiliary winding negative end sampling method in the flyback converter provided by the present invention. DETAILED DESCRIPTION
[0055] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0056] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.
[0057] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the present invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0058] In this embodiment, a negative terminal sampling circuit of an auxiliary winding in a flyback converter is provided. Figure 4 and Figure 6 As shown, the flyback converter includes a transformer T1, a first switch tube Q1, a first rectifier diode D1, a second rectifier diode D2, a first resistor R1, a second resistor R2, a sampling resistor Rcs and a controller. The transformer T1 includes a primary winding Np, a secondary winding Ns and an auxiliary winding Na. The negative end of the auxiliary winding Na is respectively connected to the negative electrode of the second rectifier diode D2 and one end of the first resistor R1, the positive electrode of the second rectifier diode D2 is grounded, the positive end of the auxiliary winding Na is respectively connected to one end of the second resistor R2 and the VCC signal pin of the controller, and the other end of the first resistor R1 is connected to the positive electrode of the auxiliary winding Na. and the other end of the second resistor R2 are connected to the ZCD signal pin of the controller, the controller includes a negative end sampling circuit of the auxiliary winding in the flyback converter, the negative end sampling circuit of the auxiliary winding in the flyback converter includes a first voltage conversion circuit, a first comparator and a level conversion circuit, the input end of the first voltage conversion circuit is connected to the original reference voltage, the output end of the first voltage conversion circuit is connected to the negative input end of the first comparator, the positive input end of the first comparator is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage, and the output end of the first comparator is connected to the level conversion circuit;
[0059] The first voltage conversion circuit is used to convert the original reference voltage into a first reference voltage;
[0060] The first comparator is used to compare the first reference voltage with the ZCD signal pin voltage to obtain a voltage comparison result, and output the voltage comparison result after conversion through the level conversion circuit.
[0061] Specifically, Figure 4 The working waveform of the flyback converter is as follows: Figure 5As shown, DRV is the driving voltage signal of the switch tube Q1, Ip is the current signal of the primary winding Np of the transformer, Is is the current signal of the secondary winding Ns of the transformer, and ZCD is the zero-crossing detection voltage signal. By detecting the voltage information of the auxiliary winding Na of the transformer, the voltage information of the secondary winding Ns can be obtained, thereby obtaining the output voltage VOUT of the flyback converter; since one end of the auxiliary winding Na is connected to the VCC signal pin of the controller, and the other end is connected to the negative end of the rectifier diode D2, in the demagnetization stage, the voltage VAUX across the auxiliary winding Na is:
[0062] ;
[0063] The voltage-dividing resistors R1 and R2 are connected to both ends of the auxiliary winding Na, and the ZCD signal pin voltage VZCD is:
[0064] ;
[0065] Wherein, VCC is the power supply voltage of the controller, VD2 is the voltage drop of the second rectifier diode D2; VOUT is the output voltage of the flyback converter, is the number of turns of the auxiliary winding Na, is the number of turns of the secondary winding Ns; VR2 is the voltage drop of the second resistor R2.
[0066] It can be seen from the above formula that VZCD is an offset relative to VCC and cannot be directly compared with the reference voltage in the controller. Instead, it needs to be compared through the auxiliary winding negative end sampling circuit in the flyback converter provided by the present invention.
[0067] Specifically, Figure 6 As shown, the first voltage conversion circuit includes a first operational amplifier, a second switch tube Q2, a third resistor R3 and a fourth resistor R4, the positive input terminal of the first operational amplifier is connected to the original reference voltage VREF, the negative input terminal of the first operational amplifier is respectively connected to the third resistor R3 and the source of the second switch tube Q2, the output terminal of the first operational amplifier is connected to the gate of the second switch tube Q2, the drain of the second switch tube Q2 is respectively connected to one end of the fourth resistor R4 and the negative input terminal of the first comparator, and the other end of the fourth resistor R4 is connected to the VCC signal pin of the controller; wherein VREF1 needs to take VCC as a reference value, VREF1 is converted from VREF, and the calculation formula of the first reference voltage VREF1 is as follows:
[0068] ;
[0069] Wherein, VCC is the power supply voltage of the controller, and VREF is the original reference voltage;
[0070] The first comparator compares the first reference voltage VREF1 with the ZCD signal pin voltage VZCD, thereby eliminating the VCC voltage to obtain a comparison result between VOUT and VREF;
[0071] Select appropriate resistance values of the first resistor R1 and the second resistor R2 to control VCC-VZCD within the range of VDDL, wherein the power supply of the first comparator is VCC, the ground is VCC-VDDL, the output high level of the first comparator is VCC, and the output low level is VCC-VDDL. After the level conversion circuit, the output high level VCC of the first comparator is converted to VDDL, and the output low level VCC-VDDL is converted to 0, and then the converted comparison result is sent to the subsequent circuit for processing.
[0072] It should be noted that the level conversion circuit is well known to those skilled in the art and will not be described in detail here.
[0073] As another embodiment of the present invention, Figure 8 As shown, a method for sampling the negative end of an auxiliary winding in a flyback converter is provided, and the method for sampling the negative end of an auxiliary winding in a flyback converter includes:
[0074] Step S1: Obtaining the original reference voltage and the ZCD signal pin voltage;
[0075] Step S2: converting the original reference voltage into a first reference voltage;
[0076] Step S3: Compare the first reference voltage with the ZCD signal pin voltage to obtain a voltage comparison result, and convert the voltage comparison result and output it.
[0077] As another embodiment of the present invention, a negative terminal sampling circuit of an auxiliary winding in a flyback converter is provided. Figure 4 and Figure 7As shown, the flyback converter includes a transformer T1, a first switch tube Q1, a first rectifier diode D1, a second rectifier diode D2, a first resistor R1, a second resistor R2, a sampling resistor Rcs and a controller. The transformer T1 includes a primary winding Np, a secondary winding Ns and an auxiliary winding Na. The negative end of the auxiliary winding Na is respectively connected to the negative electrode of the second rectifier diode D2 and one end of the first resistor R1, the positive electrode of the second rectifier diode D2 is grounded, the positive end of the auxiliary winding Na is respectively connected to one end of the second resistor R2 and the VCC signal pin of the controller, and the other end of the first resistor R1 is connected to the positive electrode of the auxiliary winding Na. The first end and the other end of the second resistor R2 are both connected to the ZCD signal pin of the controller, the controller includes a negative end sampling circuit of the auxiliary winding in the flyback converter, the negative end sampling circuit of the auxiliary winding in the flyback converter includes a second voltage conversion circuit and a second comparator, the input end of the second voltage conversion circuit is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage VZCD, the output end of the second voltage conversion circuit is connected to the positive input end of the second comparator, the negative input end of the second comparator is connected to the original reference voltage VREF, and the output end of the second comparator is connected to the post-stage circuit;
[0078] The second voltage conversion circuit is used to convert the ZCD signal pin voltage VZCD to output a converted ZCD signal pin voltage VZCD1;
[0079] The second comparator is used to compare the converted ZCD signal pin voltage VZCD1 with the original reference voltage VREF to obtain a voltage comparison result, and send the voltage comparison result to the subsequent circuit for processing.
[0080] Specifically, Figure 4 The working waveform of the flyback converter is as follows: Figure 5 As shown, DRV is the driving voltage signal of the switch tube Q1, Ip is the current signal of the primary winding Np of the transformer, Is is the current signal of the secondary winding Ns of the transformer, and ZCD is the zero-crossing detection voltage signal. By detecting the voltage information of the auxiliary winding Na of the transformer, the voltage information of the secondary winding Ns can be obtained, thereby obtaining the output voltage VOUT of the flyback converter; since one end of the auxiliary winding Na is connected to the VCC signal pin of the controller, and the other end is connected to the negative end of the rectifier diode D2, in the demagnetization stage, the voltage VAUX across the auxiliary winding Na is:
[0081] ;
[0082] The voltage-dividing resistors R1 and R2 are connected to both ends of the auxiliary winding Na, and the ZCD signal pin voltage VZCD is:
[0083] ;
[0084] Wherein, VCC is the power supply voltage of the controller, VD2 is the voltage drop of the second rectifier diode D2; VOUT is the output voltage of the flyback converter, is the number of turns of the auxiliary winding Na, is the number of turns of the secondary winding Ns; VR2 is the voltage drop of the second resistor R2.
[0085] It can be seen from the above formula that VZCD is an offset relative to VCC and cannot be directly compared with the reference voltage in the controller. Instead, it needs to be compared through the auxiliary winding negative end sampling circuit in the flyback converter provided by the present invention.
[0086] Specifically, Figure 7 As shown, the second voltage conversion circuit includes a second operational amplifier, a third switch tube Q3, a fifth resistor R5 and a sixth resistor R6, the negative input end of the second operational amplifier is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage VZCD, the positive input end of the second operational amplifier is respectively connected to one end of the sixth resistor R6 and the source of the third switch tube Q3, the other end of the sixth resistor R6 is connected to the VCC signal pin of the controller, the output end of the second operational amplifier is connected to the gate of the third switch tube Q3, the drain of the third switch tube Q3 is respectively connected to one end of the fifth resistor R5 and the positive input end of the second comparator, and the other end of the fifth resistor R5 is grounded;
[0087] Among them, after the ZCD signal pin voltage VZCD enters the controller, it is first converted and then compared by a comparator. The calculation formula of the converted ZCD signal pin voltage VZCD1 is as follows:
[0088] ;
[0089] The second comparator compares the converted ZCD signal pin voltage VZCD1 with the original reference voltage VREF to obtain a comparison result of VOUT and VREF, and sends the comparison result of VOUT and VREF to a subsequent circuit for processing.
[0090] As another embodiment of the present invention, Fig. 9 As shown, a method for sampling the negative end of an auxiliary winding in a flyback converter is provided, and the method for sampling the negative end of an auxiliary winding in a flyback converter includes:
[0091] Step S1: Obtaining the original reference voltage and the ZCD signal pin voltage;
[0092] Step S2: converting the ZCD signal pin voltage to output the converted ZCD signal pin voltage;
[0093] Step S3: Compare the converted ZCD signal pin voltage with the original reference voltage to obtain a voltage comparison result, and send the voltage comparison result to a subsequent circuit for processing.
[0094] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A negative-end sampling circuit of an auxiliary winding in a flyback converter, the flyback converter comprising a transformer T1, a first switch tube Q1, a first rectifier diode D1, a second rectifier diode D2, a first resistor R1, a second resistor R2, a sampling resistor Rcs and a controller, the transformer T1 comprising a primary winding Np, a secondary winding Ns and an auxiliary winding Na, characterized in that: The negative end of the auxiliary winding Na is respectively connected to the negative electrode of the second rectifier diode D2 and one end of the first resistor R1, the positive electrode of the second rectifier diode D2 is grounded, the positive end of the auxiliary winding Na is respectively connected to one end of the second resistor R2 and the VCC signal pin of the controller, the other end of the first resistor R1 and the other end of the second resistor R2 are both connected to the ZCD signal pin of the controller, the controller includes an auxiliary winding negative end sampling circuit in the flyback converter, the auxiliary winding negative end sampling circuit in the flyback converter includes a first voltage conversion circuit, a first comparator and a level conversion circuit, the input end of the first voltage conversion circuit is connected to the original reference voltage, the output end of the first voltage conversion circuit is connected to the negative input end of the first comparator, the positive input end of the first comparator is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage, and the output end of the first comparator is connected to the level conversion circuit; The first voltage conversion circuit is used to convert the original reference voltage into a first reference voltage; The first comparator is used to compare the first reference voltage with the ZCD signal pin voltage to obtain a voltage comparison result, and output the voltage comparison result after conversion through the level conversion circuit.
2. The auxiliary winding negative terminal sampling circuit in the flyback converter according to claim 1, characterized in that: During the demagnetization stage, the voltage VAUX across the auxiliary winding Na is: ; Then the ZCD signal pin voltage VZCD is: ; Wherein, VCC is the power supply voltage of the controller, VD2 is the voltage drop of the second rectifier diode D2; VOUT is the output voltage of the flyback converter, is the number of turns of the auxiliary winding Na, is the number of turns of the secondary winding Ns; VR2 is the voltage drop of the second resistor R2.
3. The auxiliary winding negative terminal sampling circuit in the flyback converter according to claim 2, characterized in that: The first voltage conversion circuit includes a first operational amplifier, a second switch tube Q2, a third resistor R3 and a fourth resistor R4, the positive input terminal of the first operational amplifier is connected to the original reference voltage VREF, the negative input terminal of the first operational amplifier is respectively connected to the third resistor R3 and the source of the second switch tube Q2, the output terminal of the first operational amplifier is connected to the gate of the second switch tube Q2, the drain of the second switch tube Q2 is respectively connected to one end of the fourth resistor R4 and the negative input terminal of the first comparator, and the other end of the fourth resistor R4 is connected to the VCC signal pin of the controller; wherein, the calculation formula of the first reference voltage VREF1 is as follows: ; Wherein, VCC is the power supply voltage of the controller, and VREF is the original reference voltage; The first comparator compares the first reference voltage VREF1 with the ZCD signal pin voltage VZCD to obtain a comparison result between VOUT and VREF; Select appropriate resistance values of the first resistor R1 and the second resistor R2 to control VCC-VZCD within the range of VDDL, wherein the power supply of the first comparator is VCC, the ground is VCC-VDDL, the output high level of the first comparator is VCC, and the output low level is VCC-VDDL. After the level conversion circuit, the output high level VCC of the first comparator is converted to VDDL, and the output low level VCC-VDDL is converted to 0, and then the converted comparison result is sent to the subsequent circuit for processing.
4. A method for sampling the negative end of an auxiliary winding in a flyback converter, applied to the negative end sampling circuit of an auxiliary winding in a flyback converter as claimed in any one of claims 1 to 3, characterized in that: The negative end sampling method of the auxiliary winding in the flyback converter comprises: Step S1: Obtaining the original reference voltage and the ZCD signal pin voltage; Step S2: converting the original reference voltage into a first reference voltage; Step S3: Compare the first reference voltage with the ZCD signal pin voltage to obtain a voltage comparison result, and convert the voltage comparison result and output it.
5. A negative-end sampling circuit of an auxiliary winding in a flyback converter, the flyback converter comprising a transformer T1, a first switch tube Q1, a first rectifier diode D1, a second rectifier diode D2, a first resistor R1, a second resistor R2, a sampling resistor Rcs and a controller, the transformer T1 comprising a primary winding Np, a secondary winding Ns and an auxiliary winding Na, characterized in that: The negative end of the auxiliary winding Na is respectively connected to the negative electrode of the second rectifier diode D2 and one end of the first resistor R1, the positive electrode of the second rectifier diode D2 is grounded, the positive end of the auxiliary winding Na is respectively connected to one end of the second resistor R2 and the VCC signal pin of the controller, the other end of the first resistor R1 and the other end of the second resistor R2 are both connected to the ZCD signal pin of the controller, the controller includes an auxiliary winding negative end sampling circuit in the flyback converter, the auxiliary winding negative end sampling circuit in the flyback converter includes a second voltage conversion circuit and a second comparator, the input end of the second voltage conversion circuit is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage VZCD, the output end of the second voltage conversion circuit is connected to the positive input end of the second comparator, the negative input end of the second comparator is connected to the original reference voltage VREF, and the output end of the second comparator is connected to the post-stage circuit; The second voltage conversion circuit is used to convert the ZCD signal pin voltage VZCD to output a converted ZCD signal pin voltage VZCD1; The second comparator is used to compare the converted ZCD signal pin voltage VZCD1 with the original reference voltage VREF to obtain a voltage comparison result, and send the voltage comparison result to the subsequent circuit for processing.
6. The auxiliary winding negative terminal sampling circuit in the flyback converter according to claim 5, characterized in that: During the demagnetization stage, the voltage VAUX across the auxiliary winding Na is: ; Then the ZCD signal pin voltage VZCD is: ; Wherein, VCC is the power supply voltage of the controller, VD2 is the voltage drop of the second rectifier diode D2; VOUT is the output voltage of the flyback converter, is the number of turns of the auxiliary winding Na, is the number of turns of the secondary winding Ns; VR2 is the voltage drop of the second resistor R2.
7. The auxiliary winding negative terminal sampling circuit in the flyback converter according to claim 6, characterized in that: The second voltage conversion circuit includes a second operational amplifier, a third switch tube Q3, a fifth resistor R5 and a sixth resistor R6, the negative input end of the second operational amplifier is connected to the ZCD signal pin of the controller to obtain the ZCD signal pin voltage VZCD, the positive input end of the second operational amplifier is respectively connected to one end of the sixth resistor R6 and the source of the third switch tube Q3, the other end of the sixth resistor R6 is connected to the VCC signal pin of the controller, the output end of the second operational amplifier is connected to the gate of the third switch tube Q3, the drain of the third switch tube Q3 is respectively connected to one end of the fifth resistor R5 and the positive input end of the second comparator, and the other end of the fifth resistor R5 is grounded; The calculation formula of the converted ZCD signal pin voltage VZCD1 is as follows: ; The second comparator compares the converted ZCD signal pin voltage VZCD1 with the original reference voltage VREF to obtain a comparison result of VOUT and VREF, and sends the comparison result of VOUT and VREF to a subsequent circuit for processing.
8. A method for sampling the negative end of an auxiliary winding in a flyback converter, applied to the negative end sampling circuit of an auxiliary winding in a flyback converter as claimed in any one of claims 5 to 7, characterized in that: The negative end sampling method of the auxiliary winding in the flyback converter comprises: Step S1: Obtaining the original reference voltage and the ZCD signal pin voltage; Step S2: converting the ZCD signal pin voltage to output the converted ZCD signal pin voltage; Step S3: Compare the converted ZCD signal pin voltage with the original reference voltage to obtain a voltage comparison result, and send the voltage comparison result to a subsequent circuit for processing.
