High-frequency flyback CRM interleaving implementation method
By sampling current in the high-frequency flyback CRM circuit and adjusting the switching tube driving time using auxiliary PWM and eCAP modules, the problem of high-frequency flyback CRM interleaving is solved, and 180-degree interleaving is achieved, improving system efficiency and reliability.
Patent Information
- Application Number
- CN202410991749.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art is difficult to effectively realize high-frequency flyback CRM interleaving, especially in the 180-degree interleaving mode, resulting in low system efficiency and high loss.
By sampling the currents of the main and slaves in two interlaced flyback circuits, using the auxiliary PWM and eCAP modules to calculate the phase difference of the circuit, adjust the drive opening time of the slave switch tube, and realize high-frequency flyback CRM staggered.
180-degree interleaving in high-frequency flyback CRM mode is realized, which improves system efficiency and reliability, reduces circuit losses, and is simple in method and accurate in results.
Smart Images

Figure CN118920903A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of control technology, and in particular to a high-frequency flyback CRM interleaving implementation method. Background Art
[0002] Since humans entered the industrial age, economic development has always been closely related to energy resources. Especially after entering the 21st century, the rapid development of the global economy has also brought about huge consumption of traditional fossil energy and caused a serious energy crisis. In order to continue to maintain rapid economic development, the energy problem must be solved first. The market for photovoltaic micro-inverters is becoming increasingly hot, and many domestic inverter companies have also begun to develop micro-inverter products. The flyback converter has the advantages of high reliability, simple circuit topology, input and output electrical isolation, wide step-up / step-down range, and easy realization of multiple outputs. Therefore, the flyback converter is an ideal circuit topology for photovoltaic inverters.
[0003] The main switch tubes of the two interleaved parallel flyback circuits are turned on alternately, and the drive signals have a phase difference of 180 degrees. The interleaved parallel flyback circuit has three advantages: it improves the power level of the flyback micro-inverter; reduces the THD and ripple of the output current, and improves the reliability and service life of the system; the two-way flyback current is half of the single-way flyback current, which reduces the circuit loss and improves the efficiency of the micro-inverter.
[0004] Therefore, it is necessary to provide a method for realizing high-frequency flyback CRM interleaving, which has simple steps, is easy to operate, and can effectively realize high-frequency flyback CRM interleaving. Summary of the invention
[0005] The invention discloses a high-frequency flyback CRM interleaving implementation method, belongs to the field of control technology, is applicable to high-frequency flyback CRM interleaving, and can effectively solve the technical problems involved in the background technology.
[0006] To achieve the above object, the technical solution of the present invention is: A high-frequency flyback CRM interleaving implementation method is used in two flyback circuits connected in parallel, where the two flyback circuits are a master circuit and a slave circuit, respectively, and includes the following steps: S1, sample the current of the main circuit and the slave circuit respectively; S2, when the main current is zero, the recording time is t1, then, when the slave current is zero, the recording time is t2, and when the main current is zero again, the recording time is t3; S3, t2-t1=T1, t3-t1=T2; S4. According to the values of T1 and T2, adjust the driving opening time of the slave switch tube.
[0007] In a high-frequency flyback circuit, if it works in CRM mode, the timing of PWM switching on depends on the circuit and is not controlled by software. The present invention can detect the timing of PWM switching on and realize two-way interleaving. The technical problem solved is the 180-degree interleaving in the high-frequency flyback CRM mode. By configuring a set of auxiliary PWMs, they are set high when the main road outputs a high level and set low when the slave road outputs a high level, so as to obtain the position of the slave road relative to the main road in real time. The capture function of eCAP is used to calculate the high level time and period of the auxiliary PWM, determine the position of the slave road relative to the main road, and adjust the switching on time of the slave road, so as to achieve interleaving. Among them, CRM is the CCM / DCM boundary mode of the flyback circuit, PWM is pulse width modulation, and eCAP is the eCAP module of the DSP chip.
[0008] As a preferred improvement of the present invention: in the step S1, the control chip samples the current of the main path and the slave path respectively through the sampling circuit, and the control chip includes an auxiliary PWM pin. When the main path current is zero, the auxiliary PWM pin is set to a high level, and when the slave path current is zero, the auxiliary PWM pin is set to a low level.
[0009] As a preferred improvement of the present invention: in the step S2, the time is recorded by the eCAP module of the control chip, and the count value is recorded and stored in the register CAP1 at the rising edge of the auxiliary PWM pin; the count value at this time is stored in the register CAP2 at the falling edge of the auxiliary PWM pin; and the count value at this time is stored in the register CAP3 at the second rising edge.
[0010] As a preferred improvement of the present invention: when the auxiliary PWM pin rises, the count value is cleared and recorded and stored in the register CAP1.
[0011] As a preferred improvement of the present invention: in step S4, when the value of T1 is less than half of the value of T2, the output drive opening time of the slave path is increased; when the value of T1 is greater than half of the value of T2, the output drive opening time of the slave path is reduced.
[0012] The beneficial effects of the present invention are as follows: The auxiliary PWM is set high by the rising edge of the main drive, and the auxiliary PWM is set low by the rising edge of the slave drive. The relative position of the two PWM waves is obtained by capturing the time interval of the rising and falling edges of the auxiliary PWM. The output opening time of the slave is increased or decreased by judging the position captured by the eCAP. The 180-degree staggering is achieved through the relationship between the inductor current climbing time and the falling time. The invention can effectively realize high-frequency flyback CRM staggering, determine the phases of the two PWMs through the capture functions of the auxiliary PWM and the eCAP, and adjust the output opening time of the slave accordingly to achieve staggering. The method is simple and the result is accurate. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work, among which: Figure 1 is a schematic diagram of a high frequency flyback circuit; Figure 2 Amplification for high frequency flyback circuit Figure 1 ; Figure 3 Amplification for high frequency flyback circuit Figure 2 ; Figure 4 It is a schematic diagram of a high-frequency flyback circuit signal driving circuit; Figure 5 It is a schematic diagram of the detection principle; Figure 6 Schematic diagram of current change. DETAILED DESCRIPTION
[0014] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments 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 creative work are within the scope of protection of the present invention.
[0015] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0016] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0017] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0018] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0019] See also Figure 1-Figure 4 As shown in the figure, a staggered parallel flyback circuit is shown. Figure 1-Figure 3 It is a flyback circuit, which includes resistors, capacitors, inductors, diodes (SMCJ75A), transformers, optocouplers (EL1019) and MOS tubes (NCEP15T14D, NCE65T260K). In the figure, VDS1 and VDS2 are current sampling ports, H_DRV1 and H_DRV2 are control signal ports at the original end of the circuit, and the current sampling value is sent to the control chip (TI280023), which processes and analyzes it, and then sends out a drive signal. The drive signal passes through Figure 4 After being processed by the circuit in the circuit, it is transmitted to H_DRV1 and H_DRV2 to control the switch tube of the flyback circuit.
[0020] The present invention provides a high-frequency flyback CRM interleaving implementation method, which is used in two flyback circuits interleaved in parallel, where the two flyback circuits are a main circuit and a slave circuit respectively, and comprises the following steps: S1, sampling the currents of the main circuit and the slave circuit respectively; S2, when the main circuit current is zero, recording time t1, then, when the slave circuit current is zero, recording time t2, and when the main circuit current is zero again, recording time t3; S3, t2-t1=T1, t3-t1=T2; S4, adjusting the driving opening time length of the slave circuit switch tube according to the values of T1 and T2.
[0021] As an implementation mode, in step S1, the control chip samples the current of the main circuit and the slave circuit respectively through the sampling circuit, and the control chip includes an auxiliary PWM pin. When the current of the main circuit is zero, the auxiliary PWM pin is set to a high level, and when the current of the slave circuit is zero, the auxiliary PWM pin is set to a low level. In step S2, the time is recorded by the eCAP module of the control chip. When the auxiliary PWM pin is at a rising edge, the count value is recorded and stored in register CAP1; when the auxiliary PWM pin is at a falling edge, the count value at this time is stored in register CAP2; at the second rising edge, the count value at this time is stored in register CAP3. At the rising edge of the auxiliary PWM pin, the count value is cleared, and the count value is recorded and stored in register CAP1. In step S4, when the value of T1 is less than half of the value of T2, the output drive opening time of the slave circuit is increased; when the value of T1 is greater than half of the value of T2, the output drive opening time of the slave circuit is reduced.
[0022] Specifically, the implementation method can be divided into the following three steps: 1) Determine the output phase of two PWM channels. By configuring a set of auxiliary PWM, the output phase of two PWM channels can be obtained in real time. The rising edge of the main channel is used as the signal for the auxiliary PWM to be set high, and the rising edge of the slave channel is used as the signal for the auxiliary PWM to be set low.
[0023] 2) Digitize the two PWM output phases. Configure the capture function of eCAP, start counting from the first rising edge of auxiliary PWM and store it in register CAP1, store the falling edge of auxiliary PWM in register CAP2, and store the second rising edge of auxiliary PWM in register CAP3.
[0024] 3) Realize interleaving. By judging the value of register CAP2 and register CAP3, adjust the slave PWM output drive on time to achieve interleaving.
[0025] See also Figure 5 As shown, the external circuit is processed by hardware. When the current in the flyback circuit is zero, a hardware signal is given to trigger the software output drive. The auxiliary PWM is configured in the software so that when the main current reaches zero and the output drive is triggered, the auxiliary PWM is set high, such as P1 and P3. When the slave current reaches zero and the output drive is triggered, the auxiliary PWM is set low, such as P2 and P4. In this way, the relative positions of the main flyback and the slave flyback drive can be known in real time through the auxiliary PWM. Then, through the capture function of the eCAP built into the DSP, at the rising edge of the auxiliary PWM, the count is cleared and stored in the register CAP1; at the falling edge of the auxiliary PWM, the count value at this time is stored in the register CAP2; at the second rising edge, the count value at this time is stored in the register CAP3, so that the phase difference between the main drive and the slave drive can be digitized.
[0026] See also Figure 6 As shown, by judging the size of register CAP2 and register CAP3, the slave road drive opening time is adjusted to achieve interleaving with the main road drive. When the value of register CAP2 is less than half of the value of register CAP3, the slave road output drive opening time is slowly increased, such as P1, P2, and P3. When the conduction time is longer, the duration of the secondary current is also longer, the current zero-crossing signal can be delayed, and the next slave road opening will be closer to 180-degree interleaving. Similarly, when the value of register CAP2 is greater than half of the value of register CAP3, the slave road output drive opening time is slowly reduced.
[0027] By capturing the time interval of the rising and falling edges of the auxiliary PWM, the relative positions of the two PWM waves are obtained. By judging the position captured by the eCAP, the output opening time of the slave path is increased or decreased, and 180-degree interleaving is achieved through the relationship between the inductor current climbing time and the falling time. The invention can effectively realize high-frequency flyback CRM interleaving, determine the phases of the two PWMs through the capture functions of the auxiliary PWM and the eCAP, and adjust the output opening time of the slave path accordingly to achieve interleaving.
[0028] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and the embodiments. They can be fully applied to various fields suitable for the present invention. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to the specific details and the illustrations shown and described herein.
Claims
1. A high-frequency flyback CRM interleaving implementation method is used in two flyback circuits connected in parallel, where the two flyback circuits are a master circuit and a slave circuit respectively. It is characterized in that The following steps are involved: S1, sample the current of the main circuit and the slave circuit respectively; S2, when the main current is zero, the recording time is t1, then, when the slave current is zero, the recording time is t2, and when the main current is zero again, the recording time is t3; S3, t2-t1=T1, t3-t1=T2; S4. According to the values of T1 and T2, adjust the driving opening time of the slave switch tube.
2. A high frequency flyback CRM interleaving implementation method according to claim 1, Features: In step S1, the control chip samples the current of the main path and the slave path respectively through the sampling circuit. The control chip includes an auxiliary PWM pin. When the main path current is zero, the auxiliary PWM pin is set to a high level. When the slave path current is zero, the auxiliary PWM pin is set to a low level.
3. A high frequency flyback CRM interleaving implementation method according to claim 2, Features: In step S2, the time is recorded by the eCAP module of the control chip. When the auxiliary PWM pin rises, the count value is recorded and stored in register CAP1; when the auxiliary PWM pin falls, the count value at this time is stored in register CAP2; at the second rising edge, the count value at this time is stored in register CAP3.
4. A high frequency flyback CRM interleaving implementation method according to claim 3, Features: When the auxiliary PWM pin rises, the count value is cleared and recorded in register CAP1.
5. A high frequency flyback CRM interleaving implementation method according to claim 1, Features: In the step S4, when the value of T1 is less than half of the value of T2, the slave output drive opening time is increased; when the value of T1 is greater than half of the value of T2, the slave output drive opening time is reduced.
Citation Information
Patent Citations
Miniature grid-connected inverter and control method thereof
CN106787911A
Interleaved totem-pole bridgeless PFC phase control method
CN111193391A
Single and multi-phase DC-DC converter mode control
US10128744B1
