Simulation method and simulation system based on photovoltaic simulator

Through the simulation method based on the photovoltaic simulator, the maximum operating point voltage and current are obtained, the photovoltaic simulation linear function is calculated, and the DC/DC output is adjusted, which solves the problem of being unable to drive the load when the home energy storage system does not have an MPPT module, and realizes photovoltaic Simplification of analog curves and fast response of microcontroller.

CN118554753APending Publication Date: 2024-08-27GUANGZHOU RIMSEA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410542131.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Home energy storage systems without MPPT modules cannot drive loads, and the photovoltaic simulation curve is complex and ordinary microcontrollers cannot simulate and respond quickly.

Method used

Through the simulation method based on the photovoltaic simulator, including obtaining the maximum operating point voltage and current, calculating the photovoltaic simulation linear function, sampling the real-time voltage and current, adjusting the DC/DC output to make the actual maximum output power fall on the photovoltaic simulation curve, using micro Implemented by embedded program in processor MCU.

Benefits of technology

This enables the home energy storage system to still drive the load when it does not have an MPPT module, simplifies the photovoltaic simulation curve, and enables the microcontroller to simulate and respond quickly.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118554753A
    Figure CN118554753A
Patent Text Reader

Abstract

The invention is suitable for the field of photoelectric new energy technology improvement, and provides a simulation method and simulation system based on a photovoltaic simulator, and the method comprises the steps: S1, obtaining the maximum working point voltage Vmax according to the current open-circuit voltage Vopen of a photovoltaic panel, and Vmax = Vopen * 80%; s2, Ishort is obtained according to the set maximum output power Pmax and the maximum working point voltage Vmax, and Ishort is the current of steady-state operation of the system; s3, calculating according to the obtained Ishort, Pmax and Vopen to obtain a photovoltaic simulation curve linear function; s4, sampling to obtain a real-time actual voltage value V1 and an actual current value I1 when the load runs, and calculating to obtain equivalent resistance R of the real-time actual voltage value V1 and the actual current value I1; s5, comparing the actual voltage V1 and the actual current I1 with a reference voltage Vref and a reference current Iref on the photovoltaic simulation curve to obtain a voltage difference and a current difference respectively; and S6, adjusting the output of the DC / DC according to the obtained voltage difference and current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve. According to the method, the photovoltaic simulation curve can be obtained simply, and a common single-chip microcomputer can simulate and respond quickly.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of photovoltaic new energy technology improvement, and in particular relates to a simulation method and a simulation system based on a photovoltaic simulator. Background Art

[0002] When the conventional BUCK circuit constant voltage and current limiting output is used with a load with MPPT function, the output power cannot be adjusted in real time when the load is disturbed, and the load cannot work well. If the disturbance is too fast or exceeds the limit value, the output will be frequently shut down. The mathematical model of photovoltaic simulation is complex, and it is not easy for ordinary single-chip microcomputers to realize its functions and cannot be applied to actual projects. According to the literature, the engineering application mathematical model of photovoltaic simulation curve is obtained as follows:

[0003]

[0004] Where, I: current working current,

[0005] I se : Short circuit current,

[0006] V m : Maximum operating point voltage,

[0007] I m : Maximum operating point current,

[0008] V oc : Open circuit voltage

[0009] Through the engineering application mathematical model of the photovoltaic simulation curve, it can be seen that the energy storage system cannot drive the load without the MPPT module, and the photovoltaic simulation curve is complex, and ordinary microcontrollers cannot simulate and respond quickly to the problem. Summary of the invention

[0010] The purpose of the present invention is to provide a simulation method and a simulation system based on a photovoltaic simulator, aiming to solve the technical problems that a household energy storage system can still drive the load when it does not have an MPPT module, the photovoltaic simulation curve is complex, and ordinary single-chip microcomputers cannot simulate and respond quickly.

[0011] The present invention is implemented in this way: a simulation method based on a photovoltaic simulator, the simulation method based on a photovoltaic simulator comprises the following steps:

[0012] S1, according to the current open circuit voltage V of the photovoltaic panel open Get the maximum operating point voltage V max , where V max =V open *80%;

[0013] S2, according to the set maximum output power P maxand the maximum operating point voltage V max Get I short , where I shrot is the current of the system in steady state operation;

[0014] S3, according to the obtained I short , P max and V open The photovoltaic simulation linear function is calculated;

[0015] S4, when the load is running, sample and obtain the real-time actual voltage V1 and actual current I1 and calculate their equivalent resistance R;

[0016] S5, compare the actual voltage V1 and the actual current I1 with the reference voltage V on the photovoltaic simulation curve ref and reference current I ref Compare and obtain the voltage difference and current difference respectively;

[0017] S6. Adjust the output of the DC / DC according to the obtained voltage difference and current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve.

[0018] A further technical solution of the present invention is: in step S2, according to the maximum output power P max and the maximum operating point voltage V max By formula I max =P max / V max Get I max , according to I short =I max *1.05 to get I short .

[0019] A further technical solution of the present invention is: in step S3, the current I of the system in steady state operation is short and the maximum output power P max Through the formula Y = K2X + I shor t obtains the slope K2, and the maximum output power P max and the current open circuit voltage V open The slope K1 is obtained by the formula Y=K1X+b1, where Y is the real-time maximum point power, X is the real-time open-circuit voltage, and b1 is the compensation constant.

[0020] A further technical solution of the present invention is: before obtaining the voltage difference and the current difference in step S5, the voltage and the current are stabilized by using a voltage loop and a current loop.

[0021] A further technical solution of the present invention is: in step S6, the DC / DC output is adjusted to increase or decrease the actual voltage and the actual current in the ratio of I / R.

[0022] Another object of the present invention is to provide a simulation system based on a photovoltaic simulator, the simulation system based on the photovoltaic simulator comprising a photovoltaic panel, a first DC / DC loop, a battery, a second DC / DC loop, a load unit, a sampling unit, a microprocessor MCU, a switch unit, a communication unit and a terminal, the output end of the photovoltaic panel is connected to the input end of the first DC / DC converter, the output end of the first DC / DC loop is connected to the input end of the battery, the output end of the battery is connected to the input end of the second DC / DC loop, the output end of the second DC / DC loop is connected to the load unit, the sampling end of the sampling unit is connected to the output end of the second DC / DC loop, the output end of the sampling unit is connected to the input end of the microprocessor MCU, the output end of the microprocessor MCU is connected to the control end of the switch unit, the output end of the switch unit is connected to the input end of the second DC / DC loop, the microprocessor MCU is connected to the communication unit for two-way communication, and the communication unit is connected to the terminal for two-way communication.

[0023] A further technical solution of the present invention is: an embedded program in the microprocessor MCU, the embedded program includes the following execution modules:

[0024] The maximum operating point voltage acquisition module is based on the current open circuit voltage V open Get the maximum operating point voltage V max , where V max =V open *80%;

[0025] The steady-state current acquisition module is used to obtain the maximum output power P according to the setting max and the maximum operating point voltage V max Get I short , where I shrot is the current of the system in steady state operation;

[0026] The calculation curve module is used to calculate the I short , P max and V open The linear function of the photovoltaic simulation curve is calculated;

[0027] The sampling module is used to sample and obtain the real-time actual voltage V1 and actual current I1 when the load is running and calculate the equivalent resistance R;

[0028] Comparison module, used to compare the actual voltage V1 and the actual current I1 with the reference voltage V on the photovoltaic simulation curve ref and reference current I ref Compare and obtain the voltage difference and current difference respectively;

[0029] The adjustment module is used to adjust the output of the DC / DC according to the obtained voltage difference and current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve.

[0030] A further technical solution of the present invention is: the steady-state current acquisition module is based on the maximum output power P max and the maximum operating point voltage V max By formula I max =P max / V max Get I max , according to I short =I max *1.05 to get I short .

[0031] A further technical solution of the present invention is: the current I of the system in steady state operation is calculated in the curve module short and the maximum output power P max Through the formula Y = K2X + I short Get the slope K2, and convert the maximum output power P max and the current open circuit voltage V open The slope K1 is obtained by the formula Y=K1X+b1, where Y is the real-time maximum point power, X is the real-time open-circuit voltage, and b1 is the compensation constant.

[0032] A further technical solution of the present invention is that the comparison module stabilizes the voltage and current through a voltage loop and a current loop before obtaining the voltage difference and the current difference.

[0033] A further technical solution of the present invention is: in step S6, the DC / DC output is adjusted to increase or decrease the actual voltage and the actual current in the ratio of I / R.

[0034] The beneficial effects of the present invention are: through the simulation calculation method, the household energy storage system can still drive the load when it does not have an MPPT module. The method is simple to obtain the photovoltaic simulation curve, so that its ordinary single-chip microcomputer can simulate and respond quickly. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a flow chart of a simulation method based on a photovoltaic simulator provided in an embodiment of the present invention.

[0036] Figure 2 is a schematic diagram of a linear function of a photovoltaic simulation curve provided by an embodiment of the present invention Figure 1 .

[0037] Figure 3 is a schematic diagram of a linear function of a photovoltaic simulation curve provided by an embodiment of the present invention Figure 2 .

[0038] Figure 4 Schematic diagram of a linear function of a voltage simulation curve provided by an embodiment of the present invention Figure 3 .

[0039] Figure 5 It is an architectural block diagram of a simulation system based on a photovoltaic simulator provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The following symbols are the only ones explained in this invention:

[0041] V open : Current open circuit voltage

[0042] V max : Maximum operating point voltage

[0043] I max : Maximum operating point current

[0044] I shrot : The current of the system in steady state operation

[0045] V1: real-time actual voltage

[0046] I1: real-time actual current

[0047] V ref : Reference voltage

[0048] I ref : Reference current

[0049] P1: Actual maximum output power

[0050] P max : Maximum output power

[0051] Y: Real-time maximum power

[0052] X: Real-time open circuit voltage

[0053] b1: compensation constant

[0054] K1, K2: slope

[0055] like Figure 1 As shown, the flowchart of the simulation method based on the photovoltaic simulator provided by the present invention is described in detail as follows:

[0056] Step S1: According to the current open circuit voltage V open Get the maximum operating point voltage V max , where V max =V open *80%; The user sets the maximum output power P in the APP program of the mobile terminal max Parameters, simulate the system to obtain the current open circuit voltage Vopen , the system is based on the formula Vmax=V open *80% Calculate the maximum operating point voltage V at the maximum power point max .

[0057] Step S2: according to the set maximum output power P max and the maximum operating point voltage V max Get I short , where I shrot is the current of the system in steady state operation; the maximum operating point voltage V of the maximum power point obtained in step S1 in the simulation system max and the maximum output power P set by the user max Calculate the maximum power point current I max , the calculation formula is based on I max =P max / V max , according to the maximum power point current I max The current I of the system in steady state operation is calculated by multiples of shrot , the calculation formula is: short =I max *1.05.

[0058] Step S3, obtaining the current I of the system in steady state operation according to calculation shrot , Maximum operating point voltage V at the maximum power point max and the current open circuit voltage V open The photovoltaic simulation linear function is obtained by calculation, and then the photovoltaic simulation linear function is fitted to obtain the photovoltaic simulation curve function. shrot , Maximum operating point voltage V at the maximum power point max Substitute the value of into the formula Y=K2X+b2 to get the slope K2, where Y is the real-time maximum power point, X is the real-time open-circuit voltage, and the maximum operating point voltage V max and the current open circuit voltage V open Substitute the value of into the formula Y=K1X+b1 to get the slope K1, b2 is the current I of the system in steady state operation short ; b1 is the compensation constant, 0<b1<I short , set the maximum output power P max b2 and b1 can be adaptively modified according to the different characteristics of photovoltaic panels, and the two values ​​are usually 0<b2<I short , 0<b1<b2.

[0059] like Figure 2 , 3 As shown, according to the current open circuit voltage V open , estimate the maximum operating point voltage Vmax =V open *80%, based on the set maximum output power P max Calculated I max =P max / V max According to the estimation, I short =I max *1.05, and the photovoltaic simulation linear function is obtained by these three points. Then the photovoltaic simulation linear function is fitted to obtain the photovoltaic simulation curve function. The photovoltaic simulation curve function has fewer curve variables and faster calculation, so even a single-chip microcomputer can respond quickly.

[0060] Step S4, after the electric energy is output, the load is running, the electric energy supplied to the load is sampled in real time, the real-time actual voltage V1 and the real-time actual current I1 are obtained, and the real-time equivalent resistance R is calculated according to the relationship between the voltage, current and resistance.

[0061] Step S5, the actual current I1 and the actual voltage V1 collected are calculated, and the voltage and current are kept stable through the voltage loop and the current loop before the calculation; the reference voltage V at this point is obtained according to the IV characteristic curve ref and reference current I ref As the reference value of control, the actual current I1 and the actual voltage V1 are compared with the reference voltage V on the photovoltaic simulation curve. ref and reference current I ref Compare and get the difference, that is, voltage difference = V1-V ref , current difference = I1-I ref .

[0062] Step S6, adjust the output of the DC / DC according to the voltage difference and the current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve, and adjust the current and voltage according to the I / R ratio during the adjustment process. It is worth noting that when the voltage difference and the current difference are positive, the actual current I1 and the actual voltage V1 decrease according to the I / R ratio, and when the voltage difference and the current difference are negative, the actual current I1 and the actual voltage V1 increase according to the I / R ratio.

[0063] For example, Figure 4 As shown in the figure, when the photovoltaic operation is at point B, the output voltage and output current of the photovoltaic array simulator should increase along the direction of the IV curve to make the working point reach point A; when the working point is outside the IV curve, that is, point C in the figure above, the output voltage and output current of the simulator should be reduced to still make the working point reach point A. The specific adjustment steps are: 1. Sample the actual values ​​of the output voltage and current to obtain the actual current I1 and the actual voltage V1, and calculate the equivalent resistance R. 2. Obtain the reference voltage V corresponding to this point according to the IV characteristic curve. refand reference current I ref As the reference value for control. 3. Adjust the output of the DC / DC according to the difference between the actual value and the reference value. Based on the assumption that the load is a linear resistor, the adjustment based on the output voltage and the adjustment based on the output current should have the same effect.

[0064] like Figure 5 As shown, a simulation system based on a photovoltaic simulator is used to execute a simulation method. The simulation system based on the photovoltaic simulator includes a photovoltaic panel, a first DC / DC loop, a battery, a second DC / DC loop, a load unit, a sampling unit, a microprocessor MCU, a switch unit, a communication unit and a terminal. The output end of the photovoltaic panel is connected to the input end of the first DC / DC loop, the output end of the first DC / DC loop is connected to the input end of the battery, the output end of the battery is connected to the input end of the second DC / DC loop, the output end of the second DC / DC loop is connected to the load unit, the sampling end of the sampling unit is connected to the output end of the second DC / DC loop, the output end of the sampling unit is connected to the input end of the microprocessor MCU, the output end of the microprocessor MCU is connected to the control end of the switch unit, the output end of the switch unit is connected to the input end of the second DC / DC loop, the microprocessor MCU is connected to the communication unit for two-way communication, and the communication unit is connected to the terminal for two-way communication.

[0065] The embedded program in the microprocessor MCU includes the following execution modules:

[0066] The maximum operating point voltage acquisition module is based on the current open circuit voltage V open Get the maximum operating point voltage V max , where V max =V open *80%;

[0067] The steady-state current acquisition module is used to obtain the maximum output power P according to the setting max and the maximum operating point voltage V max Get I short , where I shrot is the current of the system in steady state operation;

[0068] The calculation curve module is used to calculate the I short , P max and V open Calculating and obtaining a photovoltaic simulation linear function and fitting the photovoltaic simulation linear function to a photovoltaic simulation curve function;

[0069] The sampling module is used to sample and obtain the real-time actual voltage V1 and actual current I1 when the load is running and calculate the equivalent resistance R;

[0070] Comparison module, used to compare the actual voltage V1 and the actual current I1 with the reference voltage V on the photovoltaic simulation curve ref and reference current I ref Compare and obtain the voltage difference and current difference respectively;

[0071] The adjustment module is used to adjust the output of the DC / DC according to the obtained voltage difference and current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve.

[0072] The steady-state current acquisition module is based on the maximum output power P max and the maximum operating point voltage V max By formula I max =P max / V max Get I max , according to I short =I max *1.05 gets I short .

[0073] The calculation curve module calculates the current I of the system in steady state operation short and the maximum output power P max Through the formula Y = K2X + I short Get the slope K2, and convert the maximum output power P max and the current open circuit voltage V open The slope K1 is obtained by the formula Y=K1X+b1, where Y is the real-time maximum point power, X is the real-time open-circuit voltage, and b1 is the compensation constant.

[0074] The voltage and current are stabilized through a voltage loop and a current loop before the voltage difference and the current difference are obtained in the comparison module.

[0075] In step S6, the DC / DC output is adjusted to increase or decrease the actual voltage and the actual current in the ratio of I / R.

[0076] The communication unit adopts a Bluetooth communication chip or a Wifi communication chip.

[0077] The switch unit uses a controllable MOS tube.

[0078] The terminal used is a mobile terminal, and the mobile terminal is a mobile phone, a tablet computer, etc.

[0079] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A simulation method based on a photovoltaic simulator, characterized in that: The simulation method based on the photovoltaic simulator comprises the following steps: S1, according to the current open circuit voltage V of the photovoltaic panel open Get the maximum operating point voltage V max , where V max =V open *80%; S2, according to the set maximum output power P max and the maximum operating point voltage V max Get I short , where I shrot is the current of the system in steady state operation; S3, according to the obtained I short , P max and V open The photovoltaic simulation linear function is calculated; S4, when the load is running, sample and obtain the real-time actual voltage V1 and actual current I1 and calculate their equivalent resistance R; S5, compare the actual voltage V1 and the actual current I1 with the reference voltage V on the photovoltaic simulation curve ref and reference current I ref Compare and obtain the voltage difference and current difference respectively; S6. Adjust the output of the DC / DC according to the obtained voltage difference and current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve.

2. The simulation method based on a photovoltaic simulator according to claim 1, characterized in that: In step S2, according to the maximum output power P max and the maximum operating point voltage V max By formula I max =P max / V max Get I max , according to I short =I max *1.05 to get I short .

3. The simulation method based on a photovoltaic simulator according to claim 2, characterized in that: In step S3, the current I short and the maximum output power P max Through the formula Y = K2X + I short Get the slope K2, and set the maximum output power P max and the current open circuit voltage of the photovoltaic panel V open The slope K1 is obtained by the formula Y=K1X+b1, where Y is the maximum power at the time point, X is the real-time open-circuit voltage, and b1 is the compensation constant.

4. The simulation method based on a photovoltaic simulator according to claim 3, characterized in that: In step S5, before obtaining the voltage difference and the current difference, the voltage and the current are stabilized by using the voltage loop and the current loop.

5. The simulation method based on a photovoltaic simulator according to claim 4, characterized in that: In step S6, the DC / DC output is adjusted to increase or decrease the actual voltage and the actual current in the ratio of I / R.

6. A simulation system based on a photovoltaic simulator, the simulation system being used to execute the simulation method according to any one of claims 1 to 5, characterized in that: The simulation system based on the photovoltaic simulator includes a photovoltaic panel, a first DC / DC loop, a battery, a second DC / DC loop, a load unit, a sampling unit, a microprocessor MCU, a switch unit, a communication unit and a terminal. The output end of the photovoltaic panel is connected to the input end of the first DC / DC converter, the output end of the first DC / DC loop is connected to the input end of the battery, the output end of the battery is connected to the input end of the second DC / DC loop, the output end of the second DC / DC loop is connected to the load unit, the sampling end of the sampling unit is connected to the output end of the second DC / DC loop, the output end of the sampling unit is connected to the input end of the microprocessor MCU, the output end of the microprocessor MCU is connected to the control end of the switch unit, the output end of the switch unit is connected to the input end of the second DC / DC loop, the microprocessor MCU is connected to the communication unit for two-way communication, and the communication unit is connected to the terminal for two-way communication.

7. The simulation system based on a photovoltaic simulator according to claim 6, characterized in that: The embedded program in the microprocessor MCU includes the following execution modules: The maximum operating point voltage acquisition module is based on the current open circuit voltage V open Get the maximum operating point voltage V max , where V max =V open *80%; The steady-state current acquisition module is used to obtain the maximum output power P according to the setting max and the maximum operating point voltage V max Get I short , where I shrot is the current of the system in steady state operation; The calculation curve module is used to calculate the I short , P max and V open The photovoltaic simulation linear function is calculated; The sampling module is used to sample and obtain the real-time actual voltage V1 and actual current I1 when the load is running and calculate the equivalent resistance R; Comparison module, used to compare the actual voltage V1 and the actual current I1 with the reference voltage V on the photovoltaic simulation curve ref and reference current I ref Compare and obtain the voltage difference and current difference respectively; The adjustment module is used to adjust the output of the DC / DC according to the obtained voltage difference and current difference until the actual maximum output power P1 falls on the photovoltaic simulation curve.

8. The simulation system based on a photovoltaic simulator according to claim 7, characterized in that: The steady-state current acquisition module is based on the maximum output power P max and the maximum operating point voltage V max By formula I max =P max / V max Get I max , according to I short =I max *1.05 to get I short .

9. The simulation system based on a photovoltaic simulator according to claim 8, characterized in that: The calculation curve module calculates the current I of the system in steady state operation short and the maximum output power P max Through the formula Y = K2X + I short Get the slope K2, and set the maximum output power P max and the current open circuit voltage of the photovoltaic panel V open The slope K1 is obtained by the formula Y=K1X+b1, where Y is the real-time maximum point power, X is the real-time open-circuit voltage, and b1 is the compensation constant.

10. The simulation system based on a photovoltaic simulator according to claim 8, characterized in that: The comparison module stabilizes the voltage and current through the voltage loop and the current loop before obtaining the voltage difference and the current difference; in the step S6, the DC / DC output is adjusted to increase or decrease the actual voltage and the actual current in proportion to I / R.