Micro inverter control method and system
By calculating the total cycle time and conduction time of the switch tube, and using pure software to generate the driving signal, the problem of high hardware resource consumption in the existing technology is solved, and a micro-inverter control method with cost reduction and performance improvement is realized.
Patent Information
- Application Number
- CN202410996019.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-07-24
AI Technical Summary
The existing micro-inverter flyback control method requires a large amount of hardware resources, resulting in high costs, especially in the case of multi-channel PV units, and requires real-time detection and valley conduction of hardware resources, which increases hardware requirements.
By analyzing the total cycle time and conduction time of the switching tube, pure software is used for modulation. The calculation formula includes the resonant period and the excitation inductance value to realize the driving signal generation of the switching tube and reduce the use of hardware resources.
It minimizes the use of hardware resources, reduces production costs, realizes peak current control and valley conduction functions, is suitable for any inverter system, and improves system performance.
Smart Images

Figure CN118554732B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of renewable energy power generation, and in particular to a micro inverter control method. Background Art
[0002] like Figure 1 The circuit topology diagram of the commonly used micro inverter in the prior art is shown, including the flyback circuit of the front stage and the power frequency commutation circuit of the rear stage. The advantages of this circuit topology are low cost and high efficiency.
[0003] Figure 1 The control process of the micro inverter circuit topology is as follows: Figure 2 As shown. For this side of the flyback circuit, first the voltage V PV and current i PV Send it to the MPPT loop to obtain the PV voltage command V PV * , after passing through the PI regulator, the current peak command I is obtained p * At the same time, the voltage of the power grid v g The phase angle information |sinθ| is generated by the phase-locked loop PLL, and the current peak command I p * After multiplying the phase angle information |sinθ|, the reference i of the instantaneous current value is obtained. PV * ; Set the instantaneous current reference i PV * and current i PV Sent to the peak current control module, the switch tube S W The control signal is used to perform inverter flyback.
[0004] From the above flyback control process, it can be seen that the above flyback control method requires a lot of hardware resources to control the peak current. It needs to detect the current in real time, and then convert the current command into an analog signal through the digital-to-analog conversion unit to transmit it to the high-precision comparator; when the real-time current and the command value are equal, the signal is flipped. However, when there are many PV units, this method requires a lot of hardware resources, which will greatly increase the cost of use.
[0005] In addition, in order to reduce losses, this method requires valley conduction, which also requires hardware resources; accordingly, when the number of PV units is relatively large, the method also requires a lot of hardware resources, which will further increase the cost of use. Summary of the invention
[0006] One of the objectives of the present application is to provide a micro inverter control method that can solve at least one of the defects in the above-mentioned background technology.
[0007] Another object of the present application is to provide a micro-inverter control system that can solve at least one of the defects in the above-mentioned background technology.
[0008] In order to achieve at least one of the above purposes, the technical solution adopted by the present application is: a micro inverter control method, implemented in the flyback process of the inverter; comprising the following steps:
[0009] The switch tube S in the flyback circuit w Analyze and get the switch tube S w The total cycle time T sw And the conduction time t within the cycle on The calculation formula of
[0010] The voltage V of the power generation unit collected PV and current i PV And the grid voltage v g Make a transformation;
[0011] Substitute the transformed intermediate parameters into the total cycle time T sw and the on-time t on Calculate in the calculation formula;
[0012] The calculated total cycle time T sw and the on-time t on Modulate and get the switch tube S w The driving signal.
[0013] Preferably, at a phase angle of θ g Moment, total cycle time T sw (θ g ) and the on-time t on (θ g ) is calculated as follows:
[0014] ;
[0015] ;
[0016] ;
[0017] ;
[0018] Among them, T r represents the resonant period, n represents the transformer ratio, sin(θ g ) represents the phase angle information, I o Indicates the peak current, V g Indicates the peak voltage of the power grid, L p Indicates the magnetizing inductance value.
[0019] Preferably, the conduction time t on (θ g ) includes the following process:
[0020] In the switch tube S w During the conduction phase, the inverter operates in discontinuous mode, and the corresponding peak current i LP (θ g ) is calculated as: ;
[0021] In the switch tube S w During the shutdown phase, assuming that the inverter operates in discontinuous mode, the corresponding current drops from the peak value to zero in the time t off (θ g ) is calculated as: , At the same time, the average current i of the secondary side of the transformer of the flyback circuit during this period is s_avg (θ g ) is calculated as: ;
[0022] Assuming that the secondary current of the transformer is controlled as sinusoidal, we get i s_avg (θ g )= ;
[0023] Set T sw (θ g )=t on (θ g )+t off (θ g )+T r , change i LP (θ g ), t off (θ g ) and i s_avg (θ g ) are combined to obtain the calculation formula: ;
[0024] According to the calculation formula of A and M, the conduction time t is simplified on (θ g ) is calculated using the formula.
[0025] Preferably, the intermediate parameters include the current peak value I o The specific process of obtaining the intermediate parameters by transformation is as follows: the voltage V PV and current i PV It is sent to the MPPT loop to obtain the voltage command V of the power generation unit. PV *; Set the voltage command V PV * After passing through the PI regulator, the current peak value I o ; Set the grid voltage v g Phase angle information sinθ is generated after passing through the phase-locked loop PLL.
[0026] Preferably, the resonance period T r And the magnetizing inductance L p The value of is suitable for changing with the working conditions of the inverter; during the total cycle time T sw and the on-time t on Before calculating the resonant period T r And the magnetizing inductance L p Perform power-on measurement and calculate the total cycle time T according to the measurement results. sw and the on-time t on The calculation formula is corrected.
[0027] Preferably, the magnetizing inductance value L p The power-on measurement includes the following process: w conduction, so that the current i passing through the magnetizing inductor g When the current i g Rise to the set current protection point I limit Then, record the corresponding rise time t ptc ; According to the formula: , calculate the corresponding magnetizing inductance L p .
[0028] Preferably, for the magnetizing inductance L corresponding to the multiple power generation units p The calculation includes the following process: the current signal of the multi-channel power generation unit is connected as the input to the OR gate unit and then the output voltage signal V ptc ; Make the power generation unit to be measured open circuit, and the other power generation units open circuit; turn on the switch tube S w Conduct and record the voltage signal V ptc The interval time from low level to high level is used to calculate the magnetizing inductance value L of the circuit according to the formula. p .
[0029] Preferably, the resonance period T r The power-on measurement includes the following process: w The corresponding device voltage V sw The DSP uses valley detection to obtain the interval time between adjacent valleys as the resonance period T r .
[0030] Preferably, for the resonance period T corresponding to the multiple power generation unitsr The calculation of includes the following process: sending the corresponding device voltages of multiple power generation units when they are individually connected to the DSP through the selection circuit; connecting the device voltage corresponding to the power generation unit to be measured to the DSP through the selection circuit, and then measuring the corresponding resonance period T through valley sampling. r .
[0031] A micro-inverter control system, used to implement the above-mentioned micro-inverter control method, includes a loop module, a formula module and a modulation unit; the loop module is used to receive a voltage V PV 、Current i PV And the grid voltage v g To transform the intermediate parameters; the formula module is used to record the total cycle time T sw And the conduction time t on The corresponding total cycle time T is calculated according to the output result of the loop module. sw And the conduction time t on The modulation unit is suitable for calculating the total cycle time T sw And the conduction time t on Modulate.
[0032] Compared with the prior art, the beneficial effects of this application are:
[0033] The pure software implementation can minimize the use of hardware resources, thereby reducing production costs; at the same time, it can realize the functions of peak current control and valley conduction, thereby maximizing the performance of the inverter system, and can be expanded to any inverter system. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 The figure is a schematic diagram of the structure of an existing micro inverter circuit topology.
[0035] Figure 2 for Figure 1 Schematic diagram of the control flow of the micro-inverter circuit topology shown.
[0036] Figure 3 Schematic diagram of the working process of the micro inverter control method in this application.
[0037] Figure 4 It is a schematic diagram of the waveform structure of various parameters when the micro inverter circuit topology of the present application is working.
[0038] Figure 5 The micro inverter circuit topology in this application is based on the switch tube S w Schematic diagram of the turn-on phase.
[0039] Figure 6The micro inverter circuit topology in this application is based on the switch tube S w Schematic diagram of the switch-off phase.
[0040] Figure 7 FIG1 is a control flow diagram of the micro inverter circuit topology of the present application.
[0041] Figure 8 FIG2 is a second control flow diagram of the micro inverter circuit topology of the present application.
[0042] Fig. 9 Schematic diagram of the workflow for measuring the magnetizing inductance for this application.
[0043] Fig.10 This is a schematic diagram of the waveform structure of various parameters when measuring the excitation inductance value in this application.
[0044] Fig.11 Schematic diagram of the workflow for resonant period measurement for this application. DETAILED DESCRIPTION
[0045] Below, the present application is further described in conjunction with specific implementation methods. It should be noted that, under the premise of no conflict, the various embodiments or technical features described below can be arbitrarily combined to form new embodiments.
[0046] In the description of the present application, it should be noted that directional words, such as the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of narrating the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and cannot be understood as limiting the specific scope of protection of the present application.
[0047] It should be noted that the terms "first", "second", etc. in the description and claims of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0048] The terms "including" and "having" and any variations thereof in the specification and claims of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or apparatus comprising a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products or apparatuses.
[0049] One aspect of the present application provides a micro inverter control method, such as Figure 3 As shown, one of the preferred embodiments includes the following steps:
[0050] The switch tube S in the flyback circuit w Analyze and get the switch tube S w The total cycle time T sw And the conduction time t within the cycle on The calculation formula for .
[0051] The voltage V of the power generation unit collected PV and current i PV And the grid voltage v g Make the transformation.
[0052] Substitute the transformed intermediate parameters into the total cycle time T sw and the on-time t on Calculate in the calculation formula.
[0053] The calculated total cycle time T sw and the on-time t on Modulate and get the switch tube S w The driving signal.
[0054] It should be known that, according to the background technology, in the prior art, when performing the flyback process of the inverter, the switch tube S w The driving signals are obtained after conversion through various hardware. For inverter systems with a small number of power generation units, the above flyback process can be completed with a small amount of hardware; if the inverter system has a large number of power generation units, the required number of hardware will increase exponentially, which will inevitably lead to a significant increase in the cost of using the inverter system. In addition, the data may be distorted or lost when it is converted by multiple hardware.
[0055] In this embodiment, the flyback process of the inverter can be analyzed so that the switch tube S w The pre-modulation parameters of the driving signal are directly related to itself. Specifically, the switch tube S w The pre-modulation parameters of the driving signal are based on the conventional reference current instantaneous value i PV * and the current i of the generating unit PV Transformed into switch tube S w The total cycle time T sw and the on-time t on Then according to the switch tube S w By analyzing the engineering process of the switch tube S w The total cycle time Tsw and the on-time t on After obtaining the corresponding formula, the parameters required for calculation can be collected and transformed accordingly, and finally substituted into the total cycle time T sw and the on-time t on The corresponding result can be calculated from the calculation formula, and the required switch tube S can be obtained by modulation based on the calculated result. w The driving signal.
[0056] Compared with the traditional method, this embodiment has a better control effect on the switch tube S during the flyback process. w The acquisition of the drive signal adopts a pure software method, which can minimize the use of hardware resources and thus reduce production costs. And the software control method can be extended to any inverter system.
[0057] It is understandable that when the inverter system is working, the switch tube S w The level signal is a square wave signal; the switch tube S w It conducts at high level and drives blocking at low level. Then one square wave cycle is the switching tube S w The total cycle time T sw , conduction time t on That is, the duration of the high level within one square wave cycle.
[0058] It should also be known that the control method of the micro inverter of the present application can be applied to the flyback process of any inverter system, such as the inverter system of photovoltaic power generation, the inverter system of wind power generation, and the inverter system of hydropower generation. The types of power generation units of different inverter systems are different, but their functions are the same, which is to generate new energy; in order to facilitate the description of the subsequent content, the power generation unit appearing in the subsequent content will be described in detail by taking the PV unit of photovoltaic power generation as an example.
[0059] For a photovoltaic inverter system, its circuit topology is as follows Figure 1 As shown, it mainly includes a PV unit, a flyback circuit, a power frequency commutation circuit and a power grid; the voltage generated by the PV unit flows to the power grid after passing through the flyback circuit and the power frequency commutation circuit. The specific control of the flyback circuit can be controlled by the control method mentioned above in this application. The specific control of the power frequency commutation circuit can be controlled by a traditional control method; for the sake of easy understanding, a simple description can be given below. Figure 2 and Figure 7 As shown, for the power frequency commutation side, the grid voltage v g When the grid voltage v g When the power frequency commutation circuit is positive, the switch tube S 1 and S 4 is high level, the switch tube S2 and S 3 is low level; when the grid voltage v g When it is negative, the switch tube S 1 and S 4 is low level, the switch tube S 2 and S 3 is high level, thus realizing the power frequency commutation of the system.
[0060] In this embodiment, for the switch tube S w The total cycle time T sw And the conduction time t within the cycle on The specific analysis and derivation process of the corresponding calculation formula is as follows:
[0061] The phase angle is θ g For example, Figure 4 As shown, in [kT sw (θ g ), kT sw (θ g )+ t on (θ g )] stage, the switch tube S w In the on state, the switch tube S w The device voltage V sw is low level, the corresponding circuit diagram is as follows Figure 5 As shown. Figure 4 It can be seen that the inverter system works in discontinuous mode, and its grid-side current i g The corresponding peak current i LP (θ g ) is calculated as follows:
[0062] (1).
[0063] Among them, L P It represents the magnetizing inductance value on the grid side, k represents a constant and can be taken as an integer.
[0064] like Figure 4 As shown, in [kT sw (θ g )+ t on (θ g ), kT sw (θ g )+ t on (θ g )+ t off (θ g )] stage, the switch tube S w In the off state, the switch tube S w The device voltage V swis high level, the corresponding circuit diagram is as follows Figure 6 Assume that the inverter system works in discontinuous mode, when the switch tube S w After shutdown, the inverter system is at θ g The current i corresponding to the moment g The time t from the peak value to zero off (θ g ) is calculated as follows:
[0065] (2).
[0066] Wherein, n represents the transformation ratio of the transformer in the flyback circuit.
[0067] It should be known that the grid voltage v g (θ g ) of sinusoidal alternating current, so at θ g There is always ; Then, by combining the above calculation formula (1) and calculation formula (2), the following calculation formula (3) can be obtained.
[0068] (3).
[0069] Among them, V g Represents the peak voltage of the power grid, sin(θ g ) represents the phase angle information.
[0070] During the period when the peak current of the inverter system drops to zero, the average current i s_avg (θ g ) is calculated as follows:
[0071] (4).
[0072] Combining the above calculation formulas (1), (3) and (4), we can get the average current i s_avg (θ g ) and simplify it to get the following calculation formula (5).
[0073] .
[0074] (5).
[0075] Assuming that the secondary current of the transformer is controlled to be sinusoidal, then i s_avg (θ g )= , I o represents the current peak value; substituting it into the calculation formula (5), the following calculation formula (6) is obtained.
[0076] (6).
[0077] Depend on Figure 4 It can be seen that the switch tube S can be set w The total time of one cycle is given by t on ,t off and the resonant period T r It consists of three parts, namely T sw (θ g )=t on (θ g )+t off (θ g )+T r ; The above calculation formula (6) can be transformed to obtain the following calculation formula (7).
[0078] (7).
[0079] By combining the above calculation formula (3) and calculation formula (7), the following calculation formula (8) can be obtained.
[0080] (8).
[0081] In order to further simplify the above calculation formula (8), the following assumptions can be made:
[0082] (9).
[0083] (10).
[0084] The local formula of the calculation formula is expressed by setting specific parameters A and M, and then according to calculation formulas (9) and (10), calculation formula (8) can be simplified to obtain the following calculation formula (11).
[0085] (11).
[0086] The root of the switch tube S can be obtained by calculating formula (11): w The conduction time t on (θ g ) is calculated by formula (12) and the total cycle time T sw (θ g ) is calculated using the formula (13).
[0087] (12).
[0088] (13).
[0089] It can be understood that from the above analysis and derivation process, the micro-inverter control method of the present application can not only reduce the cost, but also realize the peak current control and valley conduction function of the inverter system, thereby maximizing the performance of the system.
[0090] In this embodiment, it can be known from the above analysis and derivation process that the intermediate parameters include the current peak value I o And the phase angle information sinθ. Among them, the phase angle information sinθ is generally taken as a positive value during calculation, that is, |sinθ|; then the process of obtaining the intersection information sinθ is the same as the traditional flyback control process. For the current peak value I o , which can be regarded as the current peak command I in the traditional flyback control process p * , so for the intermediate parameter current peak I o The change process of the phase angle information sinθ can be regarded as a half process of the traditional flyback control process; for the convenience of understanding, the specific transformation process is as follows: Figure 7 As shown, the voltage V of the power generation unit PV and current i PV It is sent to the MPPT loop to obtain the voltage command V of the power generation unit. PV * ; Set the voltage command V PV * After passing through the PI regulator, the current peak command I is obtained o ; Set the grid voltage v g Phase angle information sinθ is generated after passing through the phase-locked loop PLL.
[0091] It should be known that, compared with the traditional process, the control method of the present application only needs to obtain the required intermediate parameters through half of the traditional flyback control process, without the need to perform the subsequent process of the traditional control method, and thus the use of hardware such as comparators and peak current control units can be omitted, thereby achieving cost reduction; especially in the case of multiple power generation units, significant cost reduction can be achieved.
[0092] It should also be known that after obtaining the specific values of the required intermediate parameters, they can be directly substituted into the above-mentioned formula derived in advance for direct calculation, thereby obtaining the required total cycle time T sw And the conduction time t within the cycle on The specific value of the switch tube S w Compared with the traditional control method, it can realize data calculation, thereby improving the switching tube S w The driving response speed is improved; especially in the case of multiple power generation units, the effect of improving the response speed is particularly obvious.
[0093] In this embodiment, Figure 4 As shown, due to the switch tube S w In one cycle, only two states are included: on and off; thus, the total cycle time T sw And the conduction time t within the cycle on After the specific value of T sw -t on To calculate the switch tube S w The turn-off time of the switch tube S w The modulation process of the driving signal is through the total cycle time T sw And the conduction time t within the cycle on To calculate the switch tube S w The process of turning off the time in a cycle. That is, the switch tube S w The driving signal can be calculated by the conduction time t on and the off time T sw -t on To realize the switch tube S w On and off control.
[0094] In this embodiment, the switch tube S w The total cycle time T sw And the conduction time t within the cycle on The calculation formula also includes the resonance period T r and the magnetizing inductance L p These two constant value parameters; From the above analysis and derivation process, we can know that the resonance period T r and the magnetizing inductance L p The specific values of these two parameters may vary with the working conditions of the inverter. sw and the on-time t on Before calculating the resonant period T r And the magnetizing inductance L p Perform power-on measurement and then calculate the total cycle time T based on the measurement results. sw and the on-time t on The calculation formula of the switch tube S can be updated and corrected to effectively improve the calculation accuracy of the formula to ensure w For ease of understanding, the following will focus on the resonant period T r and the magnetizing inductance L p The way to perform power-on measurements is described in detail.
[0095] 1. For the magnetizing inductance value L p Power-on measurement.
[0096] like Fig.10As shown, the magnetizing inductance value L p The power-on measurement includes the following process: w is turned on, so that the current of the magnetizing inductor, that is, the grid current i g When the current i g Rise to the set current protection point I limit After that, record the current i g By the switch tube S w Conducting from the beginning to the set current protection point I limit The corresponding rise time t ptc According to the formula: , calculate the corresponding magnetizing inductance L p .
[0097] It should be known that the magnetizing inductance value L p The calculation process is carried out in DSP. The above power-on measurement process is for a single power generation unit. When there are N (N>1) power generation units, each power generation unit needs to perform the corresponding excitation inductance value L p Generally speaking, the magnetizing inductance value L of N-way generating units is p The calculation process is performed in the same DSP, which may result in insufficient IO interfaces of the DSP. Therefore, in this embodiment, for N power generation units, it is necessary to realize all the exciting inductance values L while occupying as few IO interfaces as possible. p For easy understanding, two specific examples are given below to illustrate in detail.
[0098] Example 1: Fig. 9 and Fig.10 As shown, the current signal of N power generation units can be connected as input to the OR gate unit to output the voltage signal V ptc . Connect one of the power generation units to be measured and open the other power generation units. Then turn on the switch tube S w conduction; at this time, the grid current i g Starts to rise, when the current rises to the set current protection point I limit is at a high level, so the voltage signal V output by the OR gate unit ptc It will also be converted from low level to high level, and then by recording the voltage signal V ptc The corresponding rise time t is obtained by the interval time from low level to high level. ptc Finally, the magnetizing inductance L of the circuit can be calculated according to the formula p .
[0099] Example 2: The OR gate unit in Example 1 is replaced by the combination of the AND gate unit and the NOT gate unit; that is, the current signals of the N power generation units are used as the input of the AND gate unit after the level is flipped by the NOT gate unit. One of the power generation units to be measured is connected, and the other power generation units are open. At this time, the current signals of the power generation units of all the paths are in a low level state, and then they are flipped and output at a high level, so that the AND gate unit also outputs a high level. When the grid current i g Rise to the set current protection point I limit When the AND gate unit is connected, it outputs a high level, and then inputs a low level to the AND gate unit through the NOT gate unit, so that the AND gate unit also outputs a corresponding low level; finally, the interval time for the AND gate unit to switch from a high level to a low level is recorded to calculate the magnetizing inductance value L of the circuit. p .
[0100] It should be known that both of the above two examples can meet the requirements of this application, but considering the number of hardware used, this embodiment preferably adopts the above example 1 for calculating the magnetizing inductance value of N-way power generation units. Among them, the specific structure and working principle of the OR gate unit, the AND gate unit and the NOT gate unit are well-known technologies for those skilled in the art, so they will not be elaborated in detail here.
[0101] 2. For the resonance period T r Power-on measurement.
[0102] like Fig.11 As shown, the resonance period T r The power-on measurement includes the following process: w The corresponding device voltage V sw The DSP uses valley detection to obtain the interval time between adjacent valleys as the resonance period T r .
[0103] It should be known that the resonant period T r The calculation process is performed in DSP. The above power-on measurement process is for a single power generation unit. When there are N (N>1) power generation units, each power generation unit needs to perform the corresponding resonance cycle T r Generally speaking, the resonance period T of N power generation units is r The calculation process is performed in the same DSP, which may result in insufficient IO interfaces of the DSP. Therefore, in this embodiment, for N power generation units, it is necessary to realize all the resonance cycles T while occupying as few IO interfaces as possible. r For easy understanding, a specific example will be used to illustrate the calculation.
[0104] Specifically, Fig.11As shown, for the resonance period T corresponding to N power generation units r The calculation includes the following process: the corresponding device voltage V when N power generation units are connected separately sw1 To V swN The device voltage corresponding to the power generation unit to be measured is connected to the DSP through the selection circuit, and then the corresponding resonance period T is measured through valley sampling. r .
[0105] Another aspect of the present application provides a micro-inverter control system for implementing the above-mentioned micro-inverter control method, such as Figure 7 and Figure 8 As shown, one preferred embodiment includes a loop module, a formula module and a modulation unit. The loop module is used to receive a voltage V PV 、Current i PV And the grid voltage v g To calculate the intermediate parameters; the formula module is used to record the total cycle time T sw And the conduction time t on The relevant calculation formula is used, and the corresponding total cycle time T is calculated based on the output result of the loop module. sw And the conduction time t on The modulation unit can calculate the total cycle time T sw And the conduction time t on Modulate and then get the control switch tube S w The driving signal.
[0106] Specifically, Figure 7 As shown, the loop module includes MPPT, PLL and PI controller, etc., and the voltage V detected by the current sensor and voltage sensor in the inverter system PV 、v g And the current i PV The parameters can be sent to the loop module and the formula module respectively. The loop module can transform the parameters according to the semi-control process of the traditional flyback process to obtain the required intermediate parameters I o and |sinθ|.
[0107] Specifically, Figure 8 As shown, the formula module includes multiple formula units, each of which can record the above formulas (3), (9), (10), (12) and (13). After obtaining the intermediate parameters, the obtained intermediate parameters and the collected voltage V PV and v g Enter the formula unit of the recording formula (10) to calculate M, and at the same time collect the voltage V PV and vg It is also sent to the formula unit recording formula (9) to calculate A. After obtaining the values of A and M, the values of A and M and the resonance period T r The power-on measurement value is sent to the formula unit recording formula (12) to calculate the conduction time t on Calculation of the conduction time t on After the value is obtained, it can be combined with the collected voltage V PV and v g is sent to the formula cell recording formula (3) for time t off Finally, the calculated conduction time t on , time t off And the resonant period T r The value is sent to the formula cell recording formula (13) to calculate the total cycle time T sw The modulation unit can calculate the total cycle time T sw and the on-time t on Switching tube S w Modulation of the driving signal.
[0108] The above describes the basic principles, main features and advantages of the present application. Those skilled in the art should understand that the present application is not limited by the above embodiments, and the above embodiments and the specification only describe the principles of the present application. The present application may have various changes and improvements without departing from the spirit and scope of the present application, and these changes and improvements fall within the scope of the present application for which protection is sought. The scope of protection claimed by the present application is defined by the attached claims and their equivalents.
Claims
1. A micro inverter control method, characterized in that: The flyback process implemented in the inverter includes the following steps: The switch tube S in the flyback circuit w Analyze and get the switch tube S w The total cycle time T sw And the conduction time t within the cycle on The calculation formula of The voltage V of the power generation unit collected PV and current i PV And the grid voltage v g Make a transformation; Substitute the transformed intermediate parameters into the total cycle time T sw and the on-time t on Calculate in the calculation formula; The calculated total cycle time T sw and the on-time t on Modulate and get the switch tube S w The driving signal of At a phase angle of θ g Moment, total cycle time T sw (θ g ) and the on-time t on (θ g ) is calculated as follows: ; ; ; ; Among them, T r represents the resonant period, n represents the transformer ratio, I o Indicates the peak current, V g Indicates the peak voltage of the power grid, L p Indicates the magnetizing inductance, sin(θ g ) represents the phase angle information; For the on-time t on (θ g ) includes the following process: In the switch tube S w During the conduction phase, the inverter operates in discontinuous mode, and the corresponding peak current i LP (θ g ) is calculated as: ; In the switch tube S w During the shutdown phase, assuming that the inverter operates in discontinuous mode, the corresponding current drops from the peak value to zero in the time t off (θ g ) is calculated as: , ; At the same time, the average current i of the secondary side of the transformer of the flyback circuit during this period is s_avg (θ g ) is calculated as: ; Assuming that the secondary current of the transformer is controlled as sinusoidal, we get i s_avg (θ g )= ; Set T sw (θ g )=t on (θ g )+t off (θ g )+T r , change i LP (θ g ), t off (θ g ) and i s_avg (θ g ) are combined to obtain the calculation formula: ; According to the calculation formula of A and M, the conduction time t is simplified on (θ g ) calculation formula; The intermediate parameters include the peak current I o And phase angle information sinθ, the specific process of obtaining the intermediate parameters through transformation is as follows: The voltage V of the power generation unit PV and current i PV It is sent to the MPPT loop to obtain the voltage command V of the power generation unit. PV * ; The voltage command V PV * After passing through the PI regulator, the current peak value I o ; The grid voltage v g Phase angle information sinθ is generated after passing through the phase-locked loop PLL.
2. The micro-inverter control method according to claim 1, characterized in that: Resonance period T r And the magnetizing inductance L p The value of is suitable for changing with the working conditions of the inverter; The total time of the cycle is T sw and the on-time t on Before calculating the resonant period T r And the magnetizing inductance L p Perform power-on measurement and calculate the total cycle time T according to the measurement results. sw and the on-time t on The calculation formula is corrected.
3. The micro-inverter control method according to claim 2, characterized in that: Magnetizing inductance L p The power-on measurement includes the following process: The switch tube S w conduction, so that the current i passing through the magnetizing inductor g to ascend; When the current i g Rise to the set current protection point I limit Then, record the corresponding rise time t ptc ; According to the formula: , calculate the corresponding magnetizing inductance L p .
4. The micro-inverter control method according to claim 3, characterized in that: For the magnetizing inductance L corresponding to the multi-channel power generation unit p The calculation of includes the following process: The current signal of the multi-channel power generation unit is connected to the OR gate unit as input and then the voltage signal V is output. ptc ; Connect the power generation unit to be measured and open the circuits of the other power generation units; The switch tube S w Conduct and record the voltage signal V ptc The interval time from low level to high level is used to calculate the magnetizing inductance value L of the circuit according to the formula. p .
5. The micro-inverter control method according to claim 2, characterized in that: Resonance period T r The power-on measurement includes the following process: The switch tube S w The corresponding device voltage V sw Send to DSP; DSP uses valley detection to obtain the interval time between adjacent valleys as the resonance period T r .
6. The micro-inverter control method according to claim 5, characterized in that: For the resonance period T corresponding to the multi-channel power generation unit r The calculation of includes the following process: The corresponding device voltages when the multiple power generation units are individually connected are sent to the DSP through the selection circuit; The device voltage corresponding to the power generation unit to be measured is connected to the DSP through the selection circuit, and then the corresponding resonance period T is measured through valley sampling. r .
7. A micro-inverter control system, used to implement the micro-inverter control method according to any one of claims 1 to 6, characterized in that: include: Loop module; The loop module is used to receive the voltage V PV 、Current i PV And the grid voltage v g To transform the intermediate parameters; Formula module; The formula module is used to record the total cycle time T sw And the conduction time t on The corresponding total cycle time T is calculated according to the output result of the loop module. sw And the conduction time t on ; as well as Modulation unit; The modulation unit is adapted to modulate the calculated total cycle time T sw And the conduction time t on Modulate.
