uMethod and controller for controlling grid-connected power factor of flyback inverter

The phase locking and phase shifting technology generates a corrected modulated wave signal, which solves the problem of difficulty in adjusting power factor in flyback micro inverters, realizes accurate grid-connection control and harmonic reduction of flyback inverters, and improves the power grid and Operating efficiency and safety of electrical equipment.

CN118677239BActive Publication Date: 2024-11-08SHENZHEN TOP TEK ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411164184.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-11-08
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

The lack of detailed inverter grid-connected control method for flyback micro-power factor adjustment in the prior art, which makes it difficult to achieve power factor adjustment, affecting the operating efficiency and safety of the power grid and electrical equipment.

Method used

By obtaining the working electrical signal of the target power grid, phase locking obtains the voltage modulated wave signal, and phase shifts the voltage modulated wave signal according to the preset power factor to generate a current modulated wave signal consistent with the phase of the voltage modulated wave signal, and borrows the voltage modulated wave Part of the waveform of the signal is used as the corrected waveform of the current modulated wave signal, and is fused to generate a corrected modulated wave signal, which is used to control the output of the flyback inverter.

Benefits of technology

It realizes accurate adjustment of the power factor when the flyback inverter is connected to the grid, reduces harmonics, improves the power efficiency and power quality of the power supply system, and ensures the economical and safe operation of the power grid and electrical equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118677239B_ABST
    Figure CN118677239B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for controlling the grid-connected power factor of a flyback inverter, comprising: obtaining a working electrical signal of a target power grid; performing phase locking on the working electrical signal to obtain a voltage modulation wave signal; performing phase shifting on the voltage modulation wave signal according to a power factor angle corresponding to a preset power factor to obtain a current modulation wave signal; selecting a partial waveform of the voltage modulation wave signal and using it as a correction waveform of the current modulation wave signal in a corresponding time period; fusing the correction waveform with a partial waveform of the current modulation wave signal to obtain a correction modulation wave signal waveform; and controlling the flyback inverter to output a target alternating current corresponding to the correction modulation wave signal waveform to the target power grid or electrical equipment. The flyback inverter is controlled by using the correction modulation wave signal generated by the method of the present invention, so that the power factor of the flyback inverter can be accurately adjusted when it is connected to the grid, and harmonics can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of flyback inverter grid-connected technology, and in particular to a method and a controller for controlling the grid-connected power factor of a flyback inverter. Background Art

[0002] Photovoltaic power generation based on renewable solar energy can produce more electric energy, thereby meeting the growing demand for electricity. Photovoltaic power generation often requires an inverter to convert direct current into alternating current, and then connect the alternating current to the corresponding power grid.

[0003] An inverter is a device that converts direct current (DC) into alternating current (AC). General inverters use a technique called PWM (pulse width modulation) or SPWM (sinusoidal pulse width modulation) to generate AC power. In the process of using SPWM technology, the inverter simulates a sine waveform by quickly switching switching devices (such as IGBT). Since the switching instantaneous change speed of the switching device is very fast, the inverter will generate high-frequency harmonics when switching the switching device to simulate the sine wave. In addition, the generated AC power will generate active power and reactive power when connected to the grid. The active power and reactive power will be out of sync or have a phase angle, resulting in a decrease in the power factor.

[0004] In the prior art, a diode is usually used for the output of a flyback circuit. This circuit can achieve a grid-connected current with a power factor of 1. However, due to the unidirectional conduction characteristics of the diode, it is impossible to transmit energy from the grid to the photovoltaic side, and it is also impossible to adjust the power factor of the inverter grid-connected. Currently, there is no detailed publicly disclosed inverter grid-connected control method specifically for flyback micro power factor adjustment in the prior art. Summary of the invention

[0005] The main purpose of the present invention is to propose a method and controller for controlling the grid-connected power factor of a flyback inverter, aiming to solve the problem that there is no detailed disclosure in the prior art of a grid-connected inverter control method specifically for adjusting the flyback micro power factor.

[0006] To achieve the above object, the present invention proposes a method for controlling the grid-connected power factor of a flyback inverter, the method comprising:

[0007] Obtaining the working electrical signal of the target power grid;

[0008] Phase-locking the working electrical signal to obtain a voltage modulated wave signal consistent with the phase and frequency of the working electrical signal;

[0009] The voltage modulation wave signal is phase-shifted according to the power factor angle corresponding to the preset power factor to obtain a current modulation wave signal having the same frequency as the voltage modulation wave signal and having a phase angle difference relative to the voltage modulation wave signal; the waveform of the voltage modulation wave signal and the waveform of the current modulation wave signal are both sinusoidal modulation wave waveforms;

[0010] Obtaining the waveform of the voltage modulated wave signal, the waveform of the current modulated wave signal and the intersection of the two waveforms, selecting a portion of the waveform of the voltage modulated wave signal and using it as a modified waveform of the current modulated wave signal in a corresponding time period;

[0011] Merging the modified waveform with a portion of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform;

[0012] The flyback inverter is controlled to output target alternating current corresponding to the waveform of the modified modulation wave signal to the target power grid or power-consuming equipment.

[0013] Preferably, the phase shifting of the voltage modulated wave signal according to the power factor angle corresponding to the preset power factor to obtain a current modulated wave signal having the same frequency as the voltage modulated wave signal and having a phase angle difference relative to the voltage modulated wave signal comprises:

[0014] Calculating the phase difference angle of the current modulation wave signal relative to the voltage modulation wave signal according to the power factor angle corresponding to the preset power factor;

[0015] Calculating the phase of the voltage modulated wave signal and the phase difference angle to obtain the phase of the current modulated wave signal;

[0016] The voltage modulated wave signal is phase-shifted according to the phase of the current modulated wave signal to obtain the current modulated wave signal.

[0017] Preferably, the phase shifting of the voltage modulated wave signal according to the power factor angle corresponding to the preset power factor to obtain a current modulated wave signal having the same frequency as the voltage modulated wave signal and having a phase angle difference relative to the voltage modulated wave signal comprises:

[0018] When the load connected to the flyback inverter is an inductive load, the voltage modulation wave signal is phase-shifted in a lagging direction according to a power factor angle corresponding to a preset power factor; or,

[0019] When the load connected to the flyback inverter is a capacitive load, the voltage modulation wave signal is phase-shifted in the leading direction according to the power factor angle corresponding to the preset power factor.

[0020] Preferably, the step of obtaining the waveform of the voltage modulated wave signal, the waveform of the current modulated wave signal and the intersection of the two waveforms, and selecting a portion of the waveform of the voltage modulated wave signal as a modified waveform of the current modulated wave signal in a corresponding time period includes:

[0021] When the current modulation wave signal lags behind the voltage modulation wave signal in phase, the intersection of the current modulation wave signal and the voltage modulation wave signal waveform within a half cycle is obtained, and the waveform of the voltage modulation wave signal from the intersection to the zero-crossing point of the voltage modulation wave signal is used as the corrected waveform of the current modulation wave signal;

[0022] When the current modulation wave signal is ahead in phase with the voltage modulation wave signal, the intersection of the voltage modulation wave signal waveform and the current modulation wave signal waveform within a half cycle is obtained, and the waveform from the zero crossing point of the voltage waveform signal to the intersection is used as the corrected waveform of the current modulation wave signal.

[0023] Preferably, the step of fusing the modified waveform with a portion of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform comprises:

[0024] Obtaining the intersection points of the current modulation wave signal waveform and the voltage modulation wave signal waveform in the positive half cycle and in the negative half cycle;

[0025] When the current modulation wave signal lags behind the voltage modulation wave signal in phase, a time period from the intersection point of the current modulation wave signal in the positive half cycle to the end point of the positive half cycle and a time period from the intersection point of the current modulation wave signal in the negative half cycle to the end point of the negative half cycle and a logic low level are selected to perform a logic AND operation to obtain a first waveform signal; a time period from the start point of the positive half cycle to the intersection point of the positive half cycle and a time period from the start point of the negative half cycle to the intersection point of the negative half cycle and a logic low level are selected to perform a logic AND operation to obtain a second waveform signal; a waveform of a modified modulation wave signal is generated according to the first waveform signal and the second waveform signal;

[0026] When the current modulation wave signal leads the phase of the voltage modulation wave signal, the time period from the starting point of the positive half cycle to the intersection point within the positive half cycle and the time period from the starting point of the negative half cycle to the intersection point within the negative half cycle and the logic low level are selected to perform a logic AND operation to obtain a first waveform signal; the time period from the intersection point within the positive half cycle to the end point of the positive half cycle and the time period from the intersection point within the negative half cycle to the end point of the negative half cycle of the voltage modulation wave signal are selected to perform a logic AND operation to obtain a second waveform signal; according to the first waveform signal and the second waveform signal, a waveform of a corrected modulation wave signal is generated.

[0027] Preferably, generating the waveform of the modified modulated wave signal according to the first waveform signal and the second waveform signal comprises:

[0028] The first waveform signal and the second waveform signal are subjected to a logical OR operation to obtain the modified modulated wave signal.

[0029] Preferably, after executing the step of fusing the modified waveform with a part of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform, the step further includes:

[0030] According to the waveform of the voltage modulation wave signal and the waveform of the current modulation wave signal, a waveform of a sinusoidal modulation wave signal is obtained, wherein the frequency and phase of the sinusoidal modulation wave signal are respectively consistent with the frequency and phase of the modified modulation wave signal;

[0031] Acquire a carrier signal, where the carrier signal is a triangular wave signal or a sawtooth wave signal;

[0032] The sinusoidal modulation wave signal and the carrier signal are superimposed to obtain the modified modulation wave signal.

[0033] Preferably, the step of fusing the modified waveform with a portion of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform comprises:

[0034] The waveform of the current modulation wave in the positive half cycle is merged with the correction waveform to obtain a correction modulation wave signal waveform in the positive half cycle;

[0035] The waveform of the current modulation wave in the negative half cycle is merged with the correction waveform to obtain the correction modulation wave signal waveform in the negative half cycle.

[0036] Preferably, the frequency of the working electrical signal is 50 Hz or 60 Hz.

[0037] The present invention also provides an inverter controller, which stores a computer program. The computer program is executed by a processor to implement the method of controlling the grid-connected power factor of a flyback inverter as described above.

[0038] The beneficial effect of the technical solution of the present invention is that: the present invention first obtains a voltage modulation wave signal according to the working electrical signal of the target power grid, and then performs phase shifting according to the voltage modulation wave signal and a preset power factor to obtain a current modulation wave signal, borrows part of the waveform of the voltage modulation wave signal as a correction waveform of the current modulation wave signal and merges it with the waveform of the current modulation wave signal to obtain the waveform of the correction modulation wave signal, and when the generated correction modulation wave signal is input into the flyback inverter, the power factor can be accurately adjusted when the flyback inverter is connected to the grid, and harmonics can be reduced, thereby improving the power efficiency and power quality of the power supply system and ensuring the economical and safe operation of the power grid and electrical equipment. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A flow chart of a method for controlling the grid-connected power factor of a flyback inverter provided by an embodiment of the present invention;

[0040] Figure 2 This is a flow chart of step S300 of an embodiment of the present invention;

[0041] Figure 3 The waveform diagram of u1 and i1 when i1 lags behind u1 provided by the embodiment of the present invention;

[0042] Figure 4 A timing diagram of the waveform diagram of u1 and the modified modulation wave signal and the SPWM waveform diagram of the modified modulation wave signal when i1 lags behind u1 provided in an embodiment of the present invention;

[0043] Figure 5 The waveform diagram of u1 and i1 when i1 leads u1 provided in the embodiment of the present invention;

[0044] Figure 6 A timing diagram of the waveform diagram of u1 and the modified modulation wave signal and the SPWM waveform diagram of the modified modulation wave signal when i1 leads u1 provided in an embodiment of the present invention;

[0045] Figure 7 A flowchart of a method for generating a modulated wave signal according to an embodiment of the present invention;

[0046] Figure 8 This is a flow chart of step S500 of an embodiment of the present invention;

[0047] Fig. 9 An information flow diagram for implementing a method for controlling a flyback inverter grid-connected power factor according to an embodiment of the present invention;

[0048] Fig.10 A circuit diagram provided for an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The 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 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 making creative work are within the scope of protection of the present invention.

[0050] The descriptions involving “first”, “second”, etc. in the embodiments of the present invention are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features.

[0051] In view of the technical defects in the related technologies of the existing flyback micro grid-connected power factor adjustment, an embodiment of the present invention proposes a method for controlling the grid-connected power factor of a flyback inverter, referring to Figure 1 , the method comprising:

[0052] Step S100, obtaining the working electrical signal of the target power grid; specifically, the power grid in this application refers to a system composed of power plants, power transmission lines, substations, distribution facilities and other power devices, in which AC is used for power transmission, and the current and voltage in the power grid are sinusoidal AC, and the frequency is 50Hz or 60Hz. Therefore, the working electrical signal of the target power grid obtained in this application is a sinusoidal AC signal of 50Hz or 60Hz.

[0053] Step S200, phase-lock the working electrical signal to obtain a voltage modulated wave signal with the same phase and frequency as the working electrical signal; specifically, phase-locking technology is a technology that controls the phase of a controlled oscillator by a standard signal or an external signal, and is used to achieve phase synchronization with an external signal, or track the frequency or phase of an external signal.

[0054] Step S300, shifting the phase of the voltage modulated wave signal according to the power factor angle corresponding to the preset power factor, to obtain a current modulated wave signal having the same frequency as the voltage modulated wave signal and having a phase angle difference relative to the voltage modulated wave signal; the waveform of the voltage modulated wave signal and the waveform of the current modulated wave signal are both sinusoidal modulated wave waveforms; specifically, when the preset power factor is obtained, the corresponding power factor angle φ can be obtained through the preset power factor cosφ, and the power factor angle is equal to the difference between the phase angles of the two waveforms, that is, the current modulated wave signal leads or lags behind the voltage modulated wave signal by the power factor angle corresponding to the preset power factor.

[0055] Furthermore, taking the preset power factor of 0.8, the grid operating frequency of 50Hz, and the current modulation wave signal lagging behind the voltage modulation wave signal by an angle φ as an example, cosφ=0.8, and the corresponding power factor angle φ is approximately π / 5. It can be calculated that the angle at which the current modulation wave signal lags behind the voltage modulation wave signal is equal to the power factor angle corresponding to the preset power factor, both of which are approximately π / 5.

[0056] Step S400, obtaining the waveform of the voltage modulated wave signal, the waveform of the current modulated wave signal and the intersection of the two waveforms, selecting a part of the waveform of the voltage modulated wave signal, and using it as a modified waveform of the current modulated wave signal in a corresponding time period;

[0057] Step S500, merge the corrected waveform with part of the waveform of the current modulation wave signal to obtain a corrected modulated wave signal waveform; specifically, borrow part of the waveform of the voltage modulation wave signal and part of the waveform of the current modulation wave signal to merge, the waveform of the corrected modulated wave signal obtained is equivalent to the waveform of the current modulation wave signal borrowing a section of the waveform of the voltage modulation wave signal, so the method of generating a corrected modulated wave signal waveform in the present application can also be called u borrowing method.

[0058] Step S600, control the flyback inverter to output the target AC power corresponding to the modified modulation wave signal waveform to the target power grid or power-consuming equipment. It should be noted that the flyback inverter in this application refers to an inverter using flyback switching power supply technology, and the flyback switching power supply refers to a switching power supply that uses a flyback high-frequency transformer to isolate the input and output circuits. "Flyback" (Flyback or flyback) specifically refers to when the switch tube is turned on, the output transformer acts as an inductor, and the electrical energy is converted into magnetic energy. At this time, there is no current in the output circuit; on the contrary, when the switch tube is turned off, the output transformer releases energy, and the magnetic energy is converted into electrical energy, and there is current in the output circuit. Preferably, the flyback inverter in this embodiment is a micro inverter, which can achieve maximum power point tracking (MPPT) at the component level and has advantages over centralized inverters. In this way, the output power of each module can be optimized to maximize the overall output power.

[0059] Specifically, the present invention first obtains a voltage modulation wave signal according to a working electrical signal of a target power grid, then performs phase shifting according to the voltage modulation wave signal and a preset power factor to obtain a current modulation wave signal, borrows part of the waveform of the voltage modulation wave signal as a correction waveform of the current modulation wave signal and merges it with the waveform of the current modulation wave signal to obtain the waveform of the correction modulation wave signal, and when the generated correction modulation wave signal is input into a flyback inverter, the part of the current that cannot flow back due to the unidirectional conductivity of the diode can be eliminated, thereby achieving accurate adjustment of the power factor when the flyback inverter is connected to the grid, and since the waveform of the correction modulation wave signal is the waveform of the current modulation wave signal that borrows part of the waveform of the voltage modulation wave signal, the waveform of the correction modulation wave signal can be made smoother, thereby achieving reduction of harmonics, improving the power efficiency and power quality of the power supply system, and ensuring the economical and safe operation of the power grid and electrical equipment.

[0060] In some embodiments, reference Figure 2 , step S300 includes:

[0061] Step S301, calculating the phase difference angle of the current modulation wave signal relative to the voltage modulation wave signal according to the power factor angle corresponding to the preset power factor;

[0062] Step S302, calculating the phase of the voltage modulated wave signal and the phase difference angle to obtain the phase of the current modulated wave signal;

[0063] Step S303: Shift the phase of the voltage modulated wave signal according to the phase of the current modulated wave signal to obtain a current modulated wave signal.

[0064] Specifically, when the preset power factor is obtained, the corresponding power factor angle φ can be obtained through the preset power factor cosφ, where φ is the phase difference angle between the voltage modulated wave signal and the current modulated wave signal. After calculation, the phase of the current modulated wave signal can be obtained to be ahead of or behind the voltage modulated wave signal. The voltage modulated wave signal can be phase-shifted according to the phase to obtain the current modulated wave signal.

[0065] In some embodiments, step S300 includes:

[0066] When the load connected to the flyback inverter is an inductive load, the voltage modulation wave signal is phase-shifted in a lagging direction according to a power factor angle corresponding to a preset power factor; or,

[0067] When the load connected to the flyback inverter is a capacitive load, the voltage modulation wave signal is phase-shifted in the leading direction according to the power factor angle corresponding to the preset power factor.

[0068] In some embodiments, reference Figure 3-Figure 6 , step S400 includes:

[0069] When the current modulation wave signal lags in phase with the voltage modulation wave signal, the intersection of the current modulation wave signal and the voltage modulation wave signal waveform within a half cycle is obtained, and the waveform of the voltage modulation wave signal from the intersection to the zero-crossing point of the voltage modulation wave signal is used as the corrected waveform of the current modulation wave signal; specifically, taking an entire cycle of 0~2π as an example, the waveform of the voltage modulation wave signal from A to π and from B to 2π is selected as the corrected waveform of the current modulation wave signal.

[0070] When the current modulation wave signal is ahead in phase with the voltage modulation wave signal, the intersection of the voltage modulation wave signal waveform and the current modulation wave signal waveform within half a cycle is obtained, and the waveform from the zero crossing point to the intersection of the voltage waveform signal is used as the corrected waveform of the current modulation wave signal; specifically, taking a full cycle of 0~2π as an example, the waveform of the voltage modulation wave signal from 0 to A and from π to B is selected as the corrected waveform of the current modulation wave signal.

[0071] In some embodiments, reference Figure 4 and Figure 6 , taking a whole cycle as an example, step S500 includes:

[0072] Obtain the intersection point (point A) of the current modulation wave signal waveform and the voltage modulation wave signal waveform in the positive half cycle and the intersection point (point B) in the negative half cycle;

[0073] When the current modulation wave signal lags in phase with the voltage modulation wave signal, a time period from the intersection point of the current modulation wave signal in the positive half cycle to the end point of the positive half cycle and a time period from the intersection point of the current modulation wave signal in the negative half cycle to the end point of the negative half cycle and a logic low level are selected to perform a logic AND operation to obtain a first waveform signal; a time period from the starting point of the positive half cycle to the intersection point of the positive half cycle and a time period from the starting point of the negative half cycle to the intersection point of the negative half cycle and a logic low level are selected to perform a logic AND operation to obtain a second waveform signal; and a waveform of a corrected modulation wave signal is generated according to the first waveform signal and the second waveform signal.

[0074] Specifically, refer to Figure 4, taking φ to 2π+φ as a whole cycle of the current modulation wave signal, in the positive half cycle of the current modulation wave signal, selecting the time period of the current modulation wave signal from point A to π, and in the negative half cycle of the current modulation wave signal, selecting the time period of the current modulation wave signal from point B to 2π and performing a logic AND operation with a logic low level, it is possible to obtain a waveform corresponding to the time period from φ to A and the time period from π+φ to B of the current modulation wave signal, as a first waveform signal; taking 0 to 2π as a whole cycle of the voltage modulation wave signal, in the positive half cycle of the voltage modulation wave signal, selecting the time period from 0 to A of the voltage modulation wave signal, and in the negative half cycle of the voltage modulation wave signal, selecting the time period from π to B of the voltage modulation wave signal and performing a logic AND operation with a logic low level, it is possible to obtain a waveform corresponding to the time period from A to π and the time period from B to 2π of the voltage modulation wave signal, as a second waveform signal; and then fusing the first waveform signal and the second waveform signal to obtain the waveform of the modified modulation wave signal.

[0075] When the current modulation wave signal leads the phase of the voltage modulation wave signal, the time period of the current modulation wave signal from the starting point of the positive half cycle to the intersection point within the positive half cycle and the time period of the negative half cycle to the intersection point within the negative half cycle and the logic low level are selected to perform a logic AND operation to obtain a first waveform signal; the time period of the voltage modulation wave signal from the intersection point within the positive half cycle to the end point of the positive half cycle and the time period of the intersection point within the negative half cycle to the end point of the negative half cycle and the logic low level are selected to perform a logic AND operation to obtain a second waveform signal; according to the first waveform signal and the second waveform signal, a waveform of the modified modulation wave signal is generated.

[0076] Specifically, refer to Figure 6 , taking -φ to 2π-φ as a whole cycle of the current modulation wave signal, in the positive half cycle of the current modulation wave signal, selecting the time period from -φ point to A of the current modulation wave signal, and in the negative half cycle of the current modulation wave signal, selecting the time period from π-φ to B of the current modulation wave signal and performing a logic AND operation with a logic low level, the waveform corresponding to the time period from A to π-φ and the time period from B to 2π-φ of the current modulation wave signal can be obtained as the first waveform signal; taking 0 to 2π as a whole cycle of the voltage modulation wave signal, in the positive half cycle of the voltage modulation wave signal, selecting the time period from A to π of the voltage modulation wave signal, and in the negative half cycle of the voltage modulation wave signal, selecting the time period from B to 2π of the voltage modulation wave signal and performing a logic AND operation with a logic low level, the waveform corresponding to the time period from 0 to A point and the time period from π to B of the voltage modulation wave signal can be obtained as the second waveform signal; and then the first waveform signal and the second waveform signal are merged to obtain the waveform of the modified modulation wave signal.

[0077] In some embodiments, generating a waveform of a modified modulated wave signal according to the first waveform signal and the second waveform signal includes:

[0078] Perform a logical OR operation on the first waveform signal and the second waveform signal to obtain a modified modulated wave signal.

[0079] Specifically, since the first waveform signal and the second waveform signal correspond to different time periods respectively, a corrected modulated wave signal can be obtained by performing a logical OR operation on the first waveform signal and the second waveform signal.

[0080] In some embodiments, reference Figure 7 , after step S500, further comprising:

[0081] Step A100, obtaining a waveform of a sinusoidal modulation wave signal according to the waveform of the voltage modulation wave signal and the waveform of the current modulation wave signal, wherein the frequency and phase of the sinusoidal modulation wave signal are respectively consistent with the frequency and phase of the modified modulation wave signal;

[0082] Step A200, obtaining a carrier signal, where the carrier signal is a triangular wave signal or a sawtooth wave signal;

[0083] Step A300: superimpose the sinusoidal modulation wave signal and the carrier signal to obtain a modified modulation wave signal.

[0084] Specifically, a sine waveform of a modified modulation wave signal is generated by the waveform of a voltage modulation wave signal and the waveform of a current modulation wave signal, and the modified modulation wave signal is superimposed on a high-frequency carrier signal to obtain the modified modulation wave signal.

[0085] In some embodiments, the frequencies of the voltage modulation wave signal and the current modulation wave signal are both 50 Hz or both 60 Hz. The frequencies of the voltage modulation wave signal and the current modulation wave signal are mainly consistent with the frequency standard of the corresponding target power grid. For example, when the frequency standard of the target power grid is 50 Hz, the frequencies of the voltage modulation wave signal and the current modulation wave signal correspond to 50 Hz, and the angular frequency ω of the voltage modulation wave signal and the current modulation wave signal is 100 π; when the frequency standard of the target power grid is 60 Hz, the frequencies of the voltage modulation wave signal and the current modulation wave signal correspond to 60 Hz, and the angular frequency ω of the voltage modulation wave signal and the current modulation wave signal is 120 π.

[0086] In some embodiments, reference Figure 8 , step S500 includes:

[0087] Step S501, merging the waveform of the current modulation wave in the positive half cycle with the correction waveform to obtain a correction modulation wave signal waveform in the positive half cycle;

[0088] Step S502: The waveform of the current modulation wave in the negative half cycle is merged with the correction waveform to obtain a correction modulation wave signal waveform in the negative half cycle.

[0089] Specifically, taking 0~2π as an integral period as an example, refer to Figure 4 When the current modulation wave signal lags behind the voltage modulation wave signal in phase, the waveform of the current modulation wave in the positive half cycle is merged with the modified waveform, and the waveform of the obtained modified modulation wave signal is that in the positive half cycle, no wave is emitted in the time period from 0 to φ, and the waveform of the current modulation wave signal is emitted in the time period from φ to A, and the waveform of the voltage modulation wave signal is emitted in the time period from A to π; the waveform of the current modulation wave in the negative half cycle is merged with the modified waveform, and the waveform of the obtained modified modulation wave signal is that in the negative half cycle, no wave is emitted in the time period from π to π+φ, and the waveform of the current modulation wave signal is emitted in the time period from π+φ to B, and the waveform of the voltage modulation wave signal is emitted in the time period from B to 2π.

[0090] Further, taking 0~2π as an integral period as an example, refer to Figure 6 When the current modulation wave signal leads the phase of the voltage modulation wave signal, the waveform of the current modulation wave in the positive half cycle is merged with the correction waveform, and the waveform of the obtained correction modulation wave signal is that in the positive half cycle, the waveform of the voltage modulation wave signal is used for the time period from 0 to A, the waveform of the current modulation wave signal is used for the time period from A to π-φ, and no wave is generated in the time period from π-φ to π; the waveform of the current modulation wave in the negative half cycle is merged with the correction waveform, and the waveform of the obtained correction modulation wave signal is that in the negative half cycle, the waveform of the voltage modulation wave signal is used for the time period from π to B, the waveform of the current modulation wave signal is used for the time period from B to 2π-φ, and no wave is generated in the time period from 2π-φ to 2π.

[0091] Furthermore, an embodiment of the present invention also provides an inverter controller, which stores a computer program, and the computer program is executed by a processor to implement the aforementioned method of controlling the grid-connected power factor of a flyback inverter.

[0092] In some other embodiments, see Fig. 9When the method of the present application is implemented, the working electrical signal of the target power grid is obtained through the inverter controller; then the working electrical signal is phase-locked by the phase-locking technology to obtain a voltage modulation wave signal with the same phase and frequency as the working electrical signal; the inverter controller then calculates the power factor angle according to the phase and frequency of the voltage modulation wave signal and the preset power factor input by the user obtained by the inverter controller, thereby determining the phase of the current modulation wave signal, and uses the frequency of the voltage modulation wave signal as the frequency of the current modulation wave signal, thereby generating a current modulation wave signal; then the inverter controller generates a waveform of a modified modulation wave signal according to the waveform of the voltage modulation wave signal, the waveform of the current modulation wave signal and the intersection of the two waveforms; wherein the waveform of the modified modulation wave signal includes a first waveform of the current modulation wave within a first preset time period and a second waveform of the voltage modulation wave within a second preset time period; finally, the inverter controller inputs the waveform of the generated modified modulation wave signal into the flyback inverter to control the flyback inverter to output the target AC power corresponding to the waveform of the modified modulation wave signal to the target power grid or electrical equipment.

[0093] Specifically, the controller is an inverter controller for controlling a flyback inverter, and the controller includes a microprocessor, which is one of the core components of the controller and is responsible for the overall control and coordination functions. The microprocessor can implement the control algorithm and logic of the flyback inverter, including power regulation, frequency control, voltage regulation, etc., to ensure that the output power of the flyback inverter meets the requirements of the power grid. The microprocessor also provides a communication interface with an external system, such as a monitoring system, and a communication interface such as a power grid interface. Through the communication interface, the microprocessor can exchange data and receive instructions with external devices, and report the operating status of the flyback inverter through the monitoring system. In addition, the microprocessor can process data from various sensors (such as current sensors, voltage sensors) and input devices (such as buttons, switches), and make corresponding decisions based on the monitored conditions, such as switching operating modes or adjusting output parameters.

[0094] As the controlled object of the embodiment, Fig.10 As shown, the flyback inverter specifically includes a transformer T, switch tubes S0-S2, filter capacitors C1-C3, thyristors SCR1-SCR2, a diode D1 and an inductor L1, wherein Fig.10 In the circuit structure, MOS tubes or IGBT tubes are respectively arranged on the primary side and the secondary side of the transformer as flyback switch tubes. When the power grid absorbs power, the MOS tube S0 on the primary side of the transformer is used as the main switch to store electric energy in the transformer, and the diode D1 on the secondary side of the transformer is used as the auxiliary switch to perform rectification; when the power grid emits power, the MOS tube S0 on the primary side of the transformer is used as the auxiliary switch to perform rectification, and the diode D1 on the secondary side of the transformer is used as the main switch to store electric energy in the transformer. Fig.10The circuit structure also includes a photovoltaic panel, which provides an input voltage for an inverter. The high-frequency flyback switch S0 is composed of a MOS tube or an IGBT tube. S1 and S2 are output power frequency switch tubes, respectively. SCR1 and SCR2 are thyristors, respectively. The power frequency switch tubes S1 and SCR1 are connected in series, S2 and SCR2 are connected in series, and S1 and SCR1 are connected in series in parallel with S2 and SCR2 in series, forming a series circuit as shown in the figure. Fig.10 In the power frequency switch structure shown, the output power frequency switch tubes are composed of MOS tubes or IGBT tubes, and the controller is connected to the power grid and the input end of the flyback inverter respectively. It should be noted that the circuit diagram described in the present invention is for illustration only, and the present invention does not limit the specific structure of the circuit diagram.

[0095] To summarize, the present invention first obtains a voltage modulation wave signal according to a working electrical signal of a target power grid, then performs phase shifting according to the voltage modulation wave signal and a preset power factor to obtain a current modulation wave signal, borrows part of the waveform of the voltage modulation wave signal as a correction waveform of the current modulation wave signal and merges it with the waveform of the current modulation wave signal to obtain the waveform of the correction modulation wave signal, and inputs the generated correction modulation wave signal into the flyback inverter to achieve accurate adjustment of the power factor when the flyback inverter is connected to the grid, and achieve reduction of harmonics, thereby improving the power efficiency and power quality of the power supply system and ensuring the economical and safe operation of the power grid and electrical equipment.

[0096] The above description is only a partial or preferred embodiment of the present invention. Neither the text nor the drawings can limit the scope of protection of the present invention. All equivalent structural changes made by using the contents of the present invention specification and drawings under the overall concept of the present invention, or direct / indirect application in other related technical fields are included in the scope of protection of the present invention.

Claims

1. A method for controlling the grid-connected power factor of a flyback inverter, characterized in that: include: Obtaining the working electrical signal of the target power grid; Phase-locking the working electrical signal to obtain a voltage modulated wave signal consistent with the phase and frequency of the working electrical signal; The voltage modulation wave signal is phase-shifted according to the power factor angle corresponding to the preset power factor to obtain a current modulation wave signal having the same frequency as the voltage modulation wave signal and having a phase angle difference relative to the voltage modulation wave signal; the waveform of the voltage modulation wave signal and the waveform of the current modulation wave signal are both sinusoidal modulation wave waveforms; Obtaining the waveform of the voltage modulated wave signal, the waveform of the current modulated wave signal and the intersection of the two waveforms, selecting a portion of the waveform of the voltage modulated wave signal and using it as a modified waveform of the current modulated wave signal in a corresponding time period; Merging the modified waveform with a portion of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform; Controlling the flyback inverter to output target alternating current corresponding to the modified modulation wave signal waveform to the target power grid or power-consuming equipment; The step of fusing the modified waveform with a portion of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform comprises: Obtaining the intersection points of the current modulation wave signal waveform and the voltage modulation wave signal waveform in the positive half cycle and in the negative half cycle; When the current modulation wave signal lags behind the voltage modulation wave signal in phase, a time period from the intersection point of the current modulation wave signal in the positive half cycle to the end point of the positive half cycle and a time period from the intersection point of the current modulation wave signal in the negative half cycle to the end point of the negative half cycle and a logic low level are selected to perform a logic AND operation to obtain a first waveform signal; a time period from the start point of the positive half cycle to the intersection point of the positive half cycle and a time period from the start point of the negative half cycle to the intersection point of the negative half cycle and a logic low level are selected to perform a logic AND operation to obtain a second waveform signal; a waveform of a modified modulation wave signal is generated according to the first waveform signal and the second waveform signal; When the current modulation wave signal leads the phase of the voltage modulation wave signal, the time period from the starting point of the positive half cycle to the intersection point within the positive half cycle and the time period from the starting point of the negative half cycle to the intersection point within the negative half cycle and the logic low level are selected to perform a logic AND operation to obtain a first waveform signal; the time period from the intersection point within the positive half cycle to the end point of the positive half cycle and the time period from the intersection point within the negative half cycle to the end point of the negative half cycle of the voltage modulation wave signal are selected to perform a logic AND operation to obtain a second waveform signal; according to the first waveform signal and the second waveform signal, a waveform of a corrected modulation wave signal is generated.

2. The method for controlling the grid-connected power factor of a flyback inverter according to claim 1, characterized in that: The phase shifting of the voltage modulated wave signal according to the power factor angle corresponding to the preset power factor to obtain a current modulated wave signal having the same frequency as the voltage modulated wave signal and having a phase angle difference with respect to the voltage modulated wave signal comprises: Calculating the phase difference angle of the current modulation wave signal relative to the voltage modulation wave signal according to the power factor angle corresponding to the preset power factor; Calculating the phase of the voltage modulated wave signal and the phase difference angle to obtain the phase of the current modulated wave signal; The voltage modulated wave signal is phase-shifted according to the phase of the current modulated wave signal to obtain the current modulated wave signal.

3. The method for controlling the grid-connected power factor of a flyback inverter according to claim 2, characterized in that: The phase shifting of the voltage modulated wave signal according to the power factor angle corresponding to the preset power factor to obtain a current modulated wave signal having the same frequency as the voltage modulated wave signal and having a phase angle difference with respect to the voltage modulated wave signal comprises: When the load connected to the flyback inverter is an inductive load, the voltage modulation wave signal is phase-shifted in a lagging direction according to a power factor angle corresponding to a preset power factor; or, When the load connected to the flyback inverter is a capacitive load, the voltage modulation wave signal is phase-shifted in the leading direction according to the power factor angle corresponding to the preset power factor.

4. The method for controlling the grid-connected power factor of a flyback inverter according to claim 3, characterized in that: The step of obtaining the waveform of the voltage modulated wave signal, the waveform of the current modulated wave signal and the intersection of the two waveforms, and selecting a part of the waveform of the voltage modulated wave signal as a modified waveform of the current modulated wave signal in a corresponding time period includes: When the current modulation wave signal lags behind the voltage modulation wave signal in phase, the intersection of the current modulation wave signal and the voltage modulation wave signal waveform within a half cycle is obtained, and the waveform of the voltage modulation wave signal from the intersection to the zero-crossing point of the voltage modulation wave signal is used as the corrected waveform of the current modulation wave signal; When the current modulation wave signal is ahead in phase with the voltage modulation wave signal, the intersection of the voltage modulation wave signal waveform and the current modulation wave signal waveform within a half cycle is obtained, and the waveform from the zero crossing point of the voltage waveform signal to the intersection is used as the corrected waveform of the current modulation wave signal.

5. The method for controlling the grid-connected power factor of a flyback inverter according to claim 1, characterized in that: The step of generating a waveform of a modified modulated wave signal according to the first waveform signal and the second waveform signal comprises: The first waveform signal and the second waveform signal are subjected to a logical OR operation to obtain the modified modulated wave signal.

6. The method for controlling the grid-connected power factor of a flyback inverter according to claim 1, characterized in that: After executing the step of fusing the modified waveform with a part of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform, the step further includes: According to the waveform of the voltage modulation wave signal and the waveform of the current modulation wave signal, a waveform of a sinusoidal modulation wave signal is obtained, wherein the frequency and phase of the sinusoidal modulation wave signal are respectively consistent with the frequency and phase of the modified modulation wave signal; Acquire a carrier signal, where the carrier signal is a triangular wave signal or a sawtooth wave signal; The sinusoidal modulation wave signal and the carrier signal are superimposed to obtain the modified modulation wave signal.

7. The method for controlling the grid-connected power factor of a flyback inverter according to claim 1, characterized in that: The step of fusing the modified waveform with a portion of the waveform of the current modulation wave signal to obtain a modified modulation wave signal waveform comprises: The waveform of the current modulation wave in the positive half cycle is merged with the correction waveform to obtain a correction modulation wave signal waveform in the positive half cycle; The waveform of the current modulation wave in the negative half cycle is merged with the correction waveform to obtain the correction modulation wave signal waveform in the negative half cycle.

8. The method for controlling the grid-connected power factor of a flyback inverter according to any one of claims 1 to 7, characterized in that: The frequency of the working electrical signal is 50 Hz or 60 Hz.

9. An inverter controller, characterized in that: The inverter controller stores a computer program, and the computer program is executed by a processor to implement the method for controlling the grid-connected power factor of a flyback inverter according to any one of claims 1 to 8.