Photovoltaic simulator control method and device, photovoltaic system and related products

By adopting a hybrid control method and a PID controller in the photovoltaic simulator, switching the control mode according to the resistance, the problem of unstable output characteristics of the photovoltaic simulator is solved, improving the accuracy and stability of the output characteristics, and reducing the risk of oscillation.

CN119247825APending Publication Date: 2025-01-03ZHEJIANG DAYOU INDUSTRIAL CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411299314.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The control strategy of existing photovoltaic simulators is relatively single, resulting in poor stability and accuracy of output characteristics, affecting the accurate judgment of the performance attenuation of photovoltaic modules.

Method used

The hybrid control method is adopted to switch the control mode according to the magnitude relationship between the current resistor and the mode switching threshold resistor, and the preset mode switching rules and PID controller are used to ensure that the voltage and current within the resistor interval of the maximum power point are one by one. Avoid oscillation and improve the stability and accuracy of output characteristics.

Benefits of technology

It significantly improves the stability and accuracy of the output characteristics of the photovoltaic simulator in different environments, reduces the risk of oscillation, ensures the accuracy of the reference voltage or reference current, and improves the monitoring and control effect of the performance of the photovoltaic simulator.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119247825A_ABST
    Figure CN119247825A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of new energy, and discloses a photovoltaic simulator control method and device, a photovoltaic system and related products. The method comprises the following steps: acquiring a current control mode, a current voltage and a current current of a to-be-controlled photovoltaic simulator; current resistance is calculated according to the current voltage and the current current; on the basis of a preset mode switching rule, whether the current control mode needs to be switched or not is judged according to the relation among the current control mode, the current resistance and the mode switching threshold resistance; and if the current control mode needs to be switched, controlling the to-be-controlled photovoltaic simulator by adopting the switched control mode. The hybrid control method is adopted, the control mode is switched according to the relation between the current resistance and the mode switching threshold resistance, and the stability and accuracy of the output characteristic of the photovoltaic simulator are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of new energy technology, and in particular to a control method and device for a photovoltaic simulator, a photovoltaic system and related products. Background Art

[0002] As an important renewable energy source, solar energy is driving the world's transition to a sustainable energy system. Among them, solar photovoltaic power generation technology has been widely used, and the installed capacity has increased year by year. With the increase in the penetration rate of solar photovoltaic power generation in the power grid, it is extremely important to properly test solar photovoltaic modules to ensure their optimal operation. However, the testing of photovoltaic modules generally adopts outdoor field testing, which has many disadvantages such as large space requirements, weather dependence, high cost and time-consuming. Therefore, a solar photovoltaic simulator that can accurately replicate the IV characteristics and PV characteristics of photovoltaic modules is needed to replace the real photovoltaic module in order to achieve accurate and convenient experiments. For example, when monitoring the efficiency of photovoltaic modules for a long time, if the output characteristics of the simulator simulating the photovoltaic module are unstable or inaccurate, the data will be biased, thereby affecting the judgment of the performance degradation of the module. Therefore, it is extremely important to ensure the stability and accuracy of the output characteristics of the photovoltaic simulator.

[0003] In the related art, the control strategy of the photovoltaic simulator is relatively simple, which leads to poor stability and accuracy of the output characteristics of the photovoltaic simulator. Therefore, it is urgent to solve this technical problem. Summary of the invention

[0004] In view of the above situation, the embodiments of the present disclosure provide a control method, device, photovoltaic system and related products of a photovoltaic simulator, aiming to solve the above problems or at least partially solve the above problems.

[0005] In a first aspect, an embodiment of the present disclosure provides a control method for a photovoltaic simulator, the method comprising:

[0006] Acquire a current control mode, a current voltage and a current current of the photovoltaic simulator to be controlled, wherein the current control mode is a voltage control mode or a current control mode;

[0007] Calculating a current resistance according to the current voltage and the current current;

[0008] Based on a preset mode switching rule, using the magnitude relationship between the current control mode, the current resistance and a preset mode switching threshold resistance, it is determined whether the current control mode needs to be switched; wherein the mode switching threshold resistance belongs to a target interval, the target interval includes a maximum power point resistance, and the voltages corresponding to the resistances in the target interval are not equal to each other, and the corresponding currents are not equal to each other;

[0009] If the current control mode needs to be switched, the switched control mode is used to control the photovoltaic simulator to be controlled.

[0010] In a second aspect, the present disclosure also provides a control device for a photovoltaic simulator, the device comprising:

[0011] An acquisition module, used for acquiring a current control mode, a current voltage and a current current of the photovoltaic simulator to be controlled, wherein the current control mode is a voltage control mode or a current control mode;

[0012] A calculation module, used for calculating the current resistance according to the current voltage and the current current;

[0013] A judgment module, used to judge whether it is necessary to switch the current control mode based on a preset mode switching rule and by using the magnitude relationship between the current control mode, the current resistance and a preset mode switching threshold resistance; wherein the mode switching threshold resistance belongs to a target interval, the target interval includes a maximum power point resistance, and the voltages corresponding to the resistances in the target interval are not equal to each other, and the corresponding currents are not equal to each other;

[0014] The control module is used to control the photovoltaic simulator to be controlled by using the switched control mode if the current control mode needs to be switched.

[0015] In a third aspect, an embodiment of the present disclosure further provides a photovoltaic system, the system comprising:

[0016] Photovoltaic simulator;

[0017] A main controller, used to execute the steps of the control method of the photovoltaic simulator as described in the first aspect;

[0018] A data acquisition device, used to acquire the current control mode, current voltage and current of the photovoltaic simulator, and send them to the main controller;

[0019] A voltage converter, used for receiving the control output sent by the main controller, and processing the control output to obtain a control voltage and act on the photovoltaic simulator;

[0020] The current converter is used to receive the control output sent by the main controller, and process the control output to obtain the control current and act on the photovoltaic simulator.

[0021] In a fourth aspect, an embodiment of the present disclosure further provides an electronic device, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the steps of the above-mentioned photovoltaic simulator control method.

[0022] In a fifth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, which stores one or more programs. When the one or more programs are executed by an electronic device including multiple application programs, the electronic device executes the steps of the above-mentioned photovoltaic simulator control method.

[0023] By means of the above technical scheme, the control method, device, photovoltaic system and related products of the photovoltaic simulator provided by the embodiment of the present disclosure adopt a hybrid control method, and the control mode can be switched according to the actual situation according to the size relationship between the current resistance and the mode switching threshold resistance. Here, the target interval where the mode switching threshold resistance is located is determined around the maximum power point resistance. In this interval, the voltage and current corresponding to each resistance are one-to-one corresponding, and there is no situation where the same current value corresponds to multiple different voltage values, or the same voltage value corresponds to multiple different current values. Based on this, firstly, in this interval, no matter which control mode is used, the accuracy of the reference voltage or reference current can be guaranteed. Secondly, with this interval as the boundary, by switching the control mode (for example, setting the current control mode as the voltage control mode, comparing the size relationship between the current resistance and the mode switching threshold resistance, if the comparison result shows that the working point of the photovoltaic simulator is in the low voltage section, then switching to the current control mode), it can be ensured that the reference voltage or reference current obtained according to the current-voltage characteristic curve of the photovoltaic simulator is always correct, thereby significantly improving the stability and accuracy of the output characteristics of the photovoltaic simulator under different environments.

[0024] The above description is only an overview of the technical solution of the present disclosure. In order to more clearly understand the technical means of the present disclosure, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present disclosure more obvious and easy to understand, the specific implementation methods of the present disclosure are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:

[0026] Figure 1 A schematic flow chart of a control method of a photovoltaic simulator provided by an embodiment of the present disclosure is shown;

[0027] Figure 2 A current-voltage characteristic curve diagram of a photovoltaic simulator provided by an embodiment of the present disclosure is shown;

[0028] Figure 3 An equivalent circuit model of a photovoltaic simulator provided by an embodiment of the present disclosure is shown;

[0029] Figure 4A flowchart of controlling a photovoltaic simulator using a voltage control mode provided by an embodiment of the present disclosure is shown;

[0030] Figure 5 A flowchart of controlling a photovoltaic simulator using a current control mode provided by an embodiment of the present disclosure is shown;

[0031] Figure 6 A current-voltage characteristic curve diagram of a photovoltaic simulator provided by another embodiment of the present disclosure is shown;

[0032] Figure 7 A schematic diagram of the structure of a photovoltaic system provided by an embodiment of the present disclosure is shown;

[0033] Figure 8 A schematic diagram showing the structure of a control device for a photovoltaic simulator provided by an embodiment of the present disclosure is shown;

[0034] Fig. 9 A schematic structural diagram of an electronic device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below in combination with the specific embodiments of the present disclosure and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0036] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such usage is interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. In addition, the term "including" and its variants are to be interpreted as open-ended terms meaning "including but not limited to".

[0038] Before introducing the specific embodiments, the professional terms involved in the embodiments of the present disclosure are explained first:

[0039] 1) Photovoltaic simulator is a kind of software and hardware equipment used to simulate the working principle and performance of solar photovoltaic cells. It can provide the current, voltage, power and other parameters of photovoltaic cells under different lighting, temperature and environmental conditions.

[0040] As described above, in the prior art, the control strategy of the photovoltaic simulator is relatively simple, resulting in poor stability and accuracy of the output characteristics of the photovoltaic simulator. Based on this, the present invention proposes a control method, device, photovoltaic system and related products of a photovoltaic simulator, and the present disclosure is described in detail below through specific embodiments.

[0041] To facilitate understanding of this embodiment, a control method of a photovoltaic simulator disclosed in an embodiment of the present disclosure is first introduced in detail. The execution subject of the control method of the photovoltaic simulator provided in the embodiment of the present disclosure is generally a computer device with certain computing capabilities, and the computer device includes, for example: a terminal device or a server or a single-chip microcomputer or other processing device. The terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, etc. In some possible implementations, the control method of the photovoltaic simulator can be implemented by a processor calling a computer-readable instruction stored in a memory.

[0042] Figure 1 A schematic diagram of the control method of the photovoltaic simulator provided by the embodiment of the present disclosure is shown. Figure 1 It can be seen that the embodiment of the present disclosure at least includes steps S101-S104:

[0043] S101: Acquire a current control mode, a current voltage, and a current current of a photovoltaic simulator to be controlled, where the current control mode is a voltage control mode or a current control mode.

[0044] Here, the current control mode can be represented by a digital code, for example, 0 represents the voltage control mode, and 1 represents the current control mode. It can also be represented by a character string, for example, "VoltageControl" represents the voltage control mode, and "CurrentControl" represents the current control mode. This embodiment does not limit the representation form of the current control mode data.

[0045] In specific implementation, a logic judgment circuit or module for identifying the control mode can be used to detect the current control mode and send it to the execution subject of this embodiment. A voltage detection device (such as a voltage sensor, a resistor voltage divider circuit, etc.) and a current detection device (such as a current sensor, a Hall effect sensor, etc.) can be used to detect the current voltage and current current respectively, and send them to the execution subject of this embodiment. This embodiment does not limit the device for detecting the current control mode, the current voltage, and the current current.

[0046] S102: Calculate the current resistance according to the current voltage and the current current.

[0047] S103: Based on the preset mode switching rules, using the size relationship between the current control mode, the current resistance and the preset mode switching threshold resistance, determine whether the current control mode needs to be switched; wherein the mode switching threshold resistance belongs to the target interval, the target interval includes the maximum power point resistance, and the voltages corresponding to the resistances in the target interval are not equal to each other, and the corresponding currents are not equal to each other.

[0048] Research has found that in the low voltage section or low current section of the photovoltaic simulator, there may be multiple different voltage values ​​for the same current value, or multiple different current values ​​for the same voltage value. When using a single control method, such as a voltage control method, it is necessary to obtain a reference voltage based on the current current and the simulator current-voltage characteristic curve. In the low voltage section, the same current value may correspond to multiple voltage values, so it is impossible to guarantee that the reference voltage is accurate, and thus it is impossible to effectively control the photovoltaic simulator.

[0049] The present embodiment adopts a hybrid control method, and the control mode can be switched according to the actual situation based on the size relationship between the current resistance and the mode switching threshold resistance. Here, the target interval where the mode switching threshold resistance is located is determined around the maximum power point resistance. In this interval, the voltage and current corresponding to each resistance are one-to-one corresponding, and there is no situation where the same current value corresponds to multiple different voltage values, or the same voltage value corresponds to multiple different current values. Based on this, first of all, in this interval, no matter which control mode is used, the accuracy of the reference voltage or reference current can be guaranteed. Secondly, with this interval as the boundary, by switching the control mode (for example, setting the current control mode to the voltage control mode, comparing the size relationship between the current resistance and the mode switching threshold resistance, if the comparison result shows that the working point of the photovoltaic simulator is in the low voltage section, then switching to the current control mode), it can be ensured that the reference voltage or reference current obtained according to the current-voltage characteristic curve of the photovoltaic simulator is always correct, thereby significantly improving the stability and accuracy of the output characteristics of the photovoltaic simulator under different environments.

[0050] S104: If the current control mode needs to be switched, the switched control mode is used to control the photovoltaic simulator to be controlled.

[0051] Further, in order to better illustrate the process of the control method of the photovoltaic simulator, as a refinement and extension of the above embodiment, the embodiment of the present invention provides several optional embodiments, but is not limited thereto, which are specifically as follows:

[0052] In a possible implementation, the preset mode switching rule includes: if the current control mode is the voltage control mode and the current resistance is less than or equal to the mode switching threshold resistance, the current control mode is switched to the current control mode; if the current control mode is the current control mode and the current resistance is greater than or equal to the mode switching threshold resistance, the current control mode is switched to the voltage control mode.

[0053] Figure 2 A current-voltage characteristic curve diagram of a photovoltaic simulator provided by an embodiment of the present disclosure is shown. Figure 2 In the figure, point M is the maximum power point. Exemplarily, the mode switching threshold resistance can be the maximum power point resistance. Specifically, if the current control mode is the voltage control mode, and the current resistance is less than or equal to the maximum power point resistance, the current control mode is switched to the current control mode; if the current control mode is the voltage control mode, and the current resistance is greater than the maximum power point resistance, the current control mode remains unchanged; if the current control mode is the current control mode, and the current resistance is greater than or equal to the maximum power point resistance, the current control mode is switched to the voltage control mode; if the current control mode is the current control mode, and the current resistance is less than the maximum power point resistance, the current control mode remains unchanged.

[0054] Research has found that near the maximum power point of the photovoltaic simulator, small changes in voltage or current will lead to larger power fluctuations, which can easily cause oscillations and make the output stability of the photovoltaic simulator poor.

[0055] Based on this, in a possible implementation of the present disclosure, the mode switching threshold resistance includes: a current mode switching threshold resistance and a voltage mode switching threshold resistance, the current mode switching threshold resistance is obtained by subtracting the maximum power point resistance from the preset first resistance, and the voltage mode switching threshold resistance is obtained by adding the maximum power point and the preset second resistance; the preset mode switching rule includes: if the current control mode is the voltage control mode, and the current resistance is less than or equal to the current mode switching threshold resistance, then the current control mode is switched to the current control mode; if the current control mode is the current control mode, and the current resistance is greater than or equal to the voltage mode switching threshold resistance, then the current control mode is switched to the voltage control mode.

[0056] In this embodiment, the preset first resistor and the preset second resistor can be set according to actual needs, which is not limited in the embodiment of the present disclosure. Preferably, the preset first resistor and the preset second resistor are 2% of the maximum power point resistance respectively.

[0057] For example, let Figure 2The resistance at point B1 and the resistance at point B2 are the current mode switching threshold resistance and the voltage mode switching threshold resistance, respectively. Specifically, if the current control mode is the voltage control mode and the current resistance is less than or equal to the resistance at point B1, the current control mode is switched to the current control mode; if the current control mode is the voltage control mode and the current resistance is greater than the resistance at point B1, the current control mode remains unchanged; if the current control mode is the current control mode and the current resistance is greater than or equal to the resistance at point B2, the current control mode is switched to the voltage control mode; if the current control mode is the current control mode and the current resistance is less than the resistance at point B2, the current control mode remains unchanged.

[0058] This embodiment sets up a "buffer" (the lower limit is the current mode switching threshold resistance, and the upper limit is the voltage mode switching threshold resistance). The buffer is set with the maximum power point resistance as the center. Therefore, it can avoid the photovoltaic simulator from frequently switching mode control strategies near the maximum power point, reducing the simulator's sensitivity to small power changes, thereby reducing the risk of simulator oscillation and making the output of the photovoltaic simulator more stable.

[0059] In one possible implementation, a photovoltaic simulator to be controlled is controlled using a switched control mode, including: based on the current-voltage characteristic curve of the photovoltaic simulator to be controlled, according to the current current or the current voltage, calculating a target error term corresponding to the switched control mode; the target error term is a voltage error term or a current error term; using a preset PID controller to process the target error term to obtain a control output; sending the control output to a voltage converter or a current converter, so that the voltage converter or the current converter processes the control output to obtain a control voltage or a control current; and using the control voltage or the control current to control the photovoltaic simulator to be controlled.

[0060] Figure 3 An equivalent circuit model of a photovoltaic simulator to be controlled provided by an embodiment of the present disclosure is shown. Figure 4 A flowchart of controlling a photovoltaic simulator using a voltage control mode provided by an embodiment of the present disclosure is shown. Figure 5 The flowchart of controlling the photovoltaic simulator using the current control mode provided by the embodiment of the present disclosure is shown. Figure 3 , Figure 4 and Figure 5 The control method of this embodiment is described.

[0061] First, in order to obtain the current-voltage characteristic curve, for example, a circuit model that reflects the electrical characteristics of the solar photovoltaic module replicated by the photovoltaic simulator to be controlled can be established, such as Figure 3 As shown. On this basis, the voltage and current balance equation for the photovoltaic simulator to be controlled is analyzed as follows:

[0062]

[0063] Among them, I p is the photocurrent generated by the incident light, I o is the diode saturation current, R s is the series resistance, R s is the shunt resistance, A is the diode ideal factor, N s Corresponds to the number of units in series. t = kT / q is the thermal voltage. The thermal voltage is composed of the Boltzmann constant k (1.38×10-23J / k), the electron charge q (1.602×10-19C) and the battery temperature T. According to the above voltage-current balance equation, the current-voltage characteristic curve can be obtained.

[0064] Then, based on the current-voltage characteristic curve of the photovoltaic simulator to be controlled, the target error term corresponding to the switched control mode is calculated according to the current current or the current voltage. Specifically, if the switched control mode is the voltage control mode, the reference voltage V can be calculated according to the current-voltage characteristic curve and the current current. ref , subtract the reference voltage from the current voltage to obtain the voltage error term Error (target error term); if the control mode after switching is the current control mode, the reference current I can be calculated based on the current-voltage characteristic curve and the current voltage. ref , subtract the reference current from the current current to obtain the current error term Error (target error term).

[0065] Then, the target error term is processed by a preset PID controller to obtain a control output, which corresponds to the duty cycle of the PWM generator. If the control mode after switching is a voltage control mode, the control output can be sent to a voltage converter so that the voltage converter processes the control output to obtain a control voltage. Specifically, the PWM signal can be amplified and fed into a voltage converter, and the voltage converter outputs a control voltage and acts on the photovoltaic simulator to be controlled to achieve control of the photovoltaic simulator to be controlled. If the control mode after switching is a current control mode, the control output can be sent to a current converter so that the current converter processes the control output to obtain a control current. Specifically, the obtained PWM signal can be amplified and fed into a current converter, and the current converter outputs a control current and acts on the photovoltaic simulator to be controlled to achieve control of the photovoltaic simulator to be controlled.

[0066] In a possible implementation, the preset PID controller is determined according to the following method: judging the type of control mode after switching; if the control mode after switching is a voltage control mode, then based on the correspondence between the preset current and the control parameter group, using the current current, determining the target PID control parameter group from each preset first PID control parameter group; if the control mode after switching is a current control mode, then based on the correspondence between the preset voltage and the control parameter group, using the current voltage, determining the target PID control parameter group from each preset second PID control parameter group; the preset PID controller is determined according to the target PID control parameter group.

[0067] In this embodiment, the PID control parameter group includes the proportional, integral and differential parameters of the PID controller. The corresponding relationship between the current and the control parameter group, the corresponding relationship between the voltage and the control parameter group, the first PID control parameter group, and the second PID control parameter group can be set according to actual needs, and this embodiment does not limit it.

[0068] For example, Figure 6 A current-voltage characteristic curve diagram of a photovoltaic simulator provided by another embodiment of the present disclosure is shown. Assume that the mode switching threshold resistance is the resistance at point M, the horizontal coordinate of point G1 is 14, the horizontal coordinate of point M is 27, the vertical coordinate is 7, and the vertical coordinate of G2 is 3. In this example, the number of the first PID control parameter group and the second PID control parameter group are 2 respectively. The corresponding relationship between the voltage and the control parameter group is: if the voltage is greater than or equal to 0, and less than or equal to 14, the target PID control parameter group is selected as the first PID control parameter group 1; if the voltage is greater than 14, and less than or equal to 27, the target PID control parameter group is selected as the first PID control parameter group 2. The corresponding relationship between the current and the control parameter group is: if the current is less than or equal to 7, and greater than 3, the target PID control parameter group is selected as the second PID control parameter group 1; if the voltage is less than or equal to 3, and greater than or equal to 0, the target PID control parameter group is selected as the second PID control parameter group 2. In specific implementation, if the control mode after switching is the voltage control mode and the current current is 2, based on the corresponding relationship between the current and the control parameter group, the second PID control parameter group 2 is determined as the target PID control parameter group. At this time, the preset PID controller is determined according to the second PID control parameter group 2.

[0069] This embodiment introduces a gain scheduling mechanism. For each control mode, the control parameter group of the PID controller used in the mode is further refined, so as to achieve more precise control, effectively reduce the risk of oscillation of the simulator under low current or low voltage, and further improve the stability of the simulator output performance.

[0070] The present disclosure also provides a control method for a photovoltaic simulator, comprising the following steps:

[0071] Step S1: obtaining the current control mode, current voltage and current current of the photovoltaic simulator to be controlled, where the current control mode is a voltage control mode or a current control mode.

[0072] Step S2: Calculate the current resistance based on the current voltage and the current current.

[0073] Step S3: If the current control mode is the voltage control mode, and the current resistance is less than or equal to the current mode switching threshold resistance, the current control mode is switched to the current control mode.

[0074] Step S4: If the current control mode is the current control mode and the current resistance is greater than or equal to the voltage mode switching threshold resistance, the current control mode is switched to the voltage control mode, wherein the preset first resistance and the preset second resistance are respectively 2% of the maximum power point resistance.

[0075] Step S5: Based on the current-voltage characteristic curve of the photovoltaic simulator to be controlled, according to the current current or the current voltage, the target error term corresponding to the switched control mode is calculated; the target error term is a voltage error term or a current error term.

[0076] Step S6: Use a preset PID controller to process the target error term to obtain a control output.

[0077] Specifically, the preset PID controller is determined according to the following method: judging the type of control mode after switching; if the control mode after switching is the voltage control mode, then based on the correspondence between the preset current and the control parameter group, using the current current, determining the target PID control parameter group from each preset first PID control parameter group; if the control mode after switching is the current control mode, then based on the correspondence between the preset voltage and the control parameter group, using the current voltage, determining the target PID control parameter group from each preset second PID control parameter group; the preset PID controller is determined according to the target PID control parameter group.

[0078] Step S7: Send the control output to the voltage converter or the current converter, so that the voltage converter or the current converter processes the control output to obtain a control voltage or a control current; and use the control voltage or the control current to control the photovoltaic simulator to be controlled.

[0079] Those skilled in the art will appreciate that, in the above method of the specific implementation manner, the writing order of the steps does not mean a strict execution order, but does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0080] It should be noted that, in practical applications, all possible implementations described above can be combined in any manner to form possible embodiments of the present disclosure, which will not be described one by one here.

[0081] Based on the same concept, the embodiment of the present disclosure also provides a photovoltaic system. Figure 7 The structure diagram of the photovoltaic system provided by the embodiment of the present disclosure is shown. Figure 7 It can be seen that the photovoltaic system provided by the embodiment of the present disclosure at least includes:

[0082] Photovoltaic simulator;

[0083] A main controller, used to execute the steps of any of the above-mentioned control methods of the photovoltaic simulator;

[0084] A data acquisition device, used for acquiring the current control mode, current voltage and current of the photovoltaic simulator, and sending the data to the main controller;

[0085] A voltage converter is used to receive the control output sent by the main controller, process the control output, obtain the control voltage and apply it to the photovoltaic simulator;

[0086] The current converter is used to receive the control output sent by the main controller, and process the control output to obtain the control current and act on the photovoltaic simulator.

[0087] Based on the same concept, the embodiment of the present disclosure also provides a control device for a photovoltaic simulator. Figure 8 The schematic diagram of the structure of the control device of the photovoltaic simulator provided by the embodiment of the present disclosure is shown in FIG. Figure 8 As shown, the control device 800 of the photovoltaic simulator provided by the embodiment of the present disclosure includes:

[0088] An acquisition module 801 is used to acquire a current control mode, a current voltage and a current current of a photovoltaic simulator to be controlled, wherein the current control mode is a voltage control mode or a current control mode;

[0089] A calculation module 802, configured to calculate a current resistance according to the current voltage and the current current;

[0090] The judgment module 803 is used to judge whether the current control mode needs to be switched based on a preset mode switching rule and by using the magnitude relationship between the current control mode, the current resistance and a preset mode switching threshold resistance; wherein the mode switching threshold resistance belongs to a target interval, the target interval includes a maximum power point resistance, and the voltages corresponding to the resistances in the target interval are not equal to each other, and the corresponding currents are not equal to each other;

[0091] The control module 804 is used to control the photovoltaic simulator to be controlled by using the switched control mode if the current control mode needs to be switched.

[0092] In a possible implementation manner, in the above device, the preset mode switching rule includes:

[0093] If the current control mode is the voltage control mode, and the current resistance is less than or equal to the mode switching threshold resistance, switching the current control mode to the current control mode;

[0094] If the current control mode is the current control mode, and the current resistance is greater than or equal to the mode switching threshold resistance, the current control mode is switched to the voltage control mode.

[0095] In a possible implementation, in the above-mentioned device, the mode switching threshold resistance includes: a current mode switching threshold resistance and a voltage mode switching threshold resistance, the current mode switching threshold resistance is obtained by subtracting the maximum power point resistance from a preset first resistance, and the voltage mode switching threshold resistance is obtained by adding the maximum power point and a preset second resistance; the preset mode switching rule includes: if the current control mode is the voltage control mode, and the current resistance is less than or equal to the current mode switching threshold resistance, then the current control mode is switched to the current control mode; if the current control mode is the current control mode, and the current resistance is greater than or equal to the voltage mode switching threshold resistance, then the current control mode is switched to the voltage control mode.

[0096] In a possible implementation manner, in the above device, the preset first resistor and the preset second resistor are respectively 2% of the maximum power point resistance.

[0097] In one possible implementation, in the above-mentioned device, the control module 804 is used to: calculate the target error term corresponding to the switched control mode based on the current-voltage characteristic curve of the photovoltaic simulator to be controlled and according to the current current or the current voltage; the target error term is a voltage error term or a current error term; process the target error term using a preset PID controller to obtain a control output; send the control output to a voltage converter or a current converter, so that the voltage converter or the current converter processes the control output to obtain a control voltage or a control current; and use the control voltage or the control current to control the photovoltaic simulator to be controlled.

[0098] In a possible implementation manner, the device further includes a parameter determination module, which is used to: determine the type of the control mode after switching; if the control mode after switching is the voltage control mode, based on the correspondence between the preset current and the control parameter group, using the current current, determine the target PID control parameter group from each preset first PID control parameter group; if the control mode after switching is the current control mode, based on the correspondence between the preset voltage and the control parameter group, using the current voltage, determine the target PID control parameter group from each preset second PID control parameter group; the preset PID controller is determined based on the target PID control parameter group.

[0099] It should be noted that any of the above-mentioned control devices of the photovoltaic simulators can implement the above-mentioned control method of the photovoltaic simulator in a one-to-one correspondence, which will not be repeated here.

[0100] Fig. 9 FIG. 1 shows a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig. 9 As shown, at the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. Among them, the memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage, etc. Of course, the electronic device may also include hardware required for other services.

[0101] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0102] The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0103] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming a control device for the photovoltaic simulator at the logical level. The processor executes the program stored in the memory and is specifically used to execute the above method.

[0104] The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present disclosure may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0105] The electronic device can execute the control method of the photovoltaic simulator provided by the embodiments of the present disclosure, and realize the control device of the photovoltaic simulator in Figure 8 The functions of the illustrated embodiments will not be described in detail in the embodiments of the present disclosure.

[0106] The embodiments of the present disclosure also propose a computer-readable storage medium, which stores one or more programs, and the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, can enable the electronic device to execute the control method of the photovoltaic simulator provided by multiple embodiments of the present disclosure.

[0107] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0108] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0111] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0112] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0113] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0114] The present disclosure also provides a computer program product that carries a program code. The program code includes instructions that can be used to execute the steps of the photovoltaic simulator control method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0115] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0116] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity or device including the element.

[0117] It will be appreciated by those skilled in the art that the embodiments of the present disclosure may be provided as methods, systems or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0118] The above are only embodiments of the present disclosure and are not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the scope of the claims of the present disclosure.

Claims

1. A control method for a photovoltaic simulator, characterized in that: The method comprises: Acquire a current control mode, a current voltage and a current current of the photovoltaic simulator to be controlled, wherein the current control mode is a voltage control mode or a current control mode; Calculating a current resistance according to the current voltage and the current current; Based on a preset mode switching rule, using the magnitude relationship between the current control mode, the current resistance and a preset mode switching threshold resistance, it is determined whether the current control mode needs to be switched; wherein the mode switching threshold resistance belongs to a target interval, the target interval includes a maximum power point resistance, and the voltages corresponding to the resistances in the target interval are not equal to each other, and the corresponding currents are not equal to each other; If the current control mode needs to be switched, the switched control mode is used to control the photovoltaic simulator to be controlled.

2. The method according to claim 1, characterized in that The preset mode switching rules include: If the current control mode is the voltage control mode, and the current resistance is less than or equal to the mode switching threshold resistance, switching the current control mode to the current control mode; If the current control mode is the current control mode, and the current resistance is greater than or equal to the mode switching threshold resistance, the current control mode is switched to the voltage control mode.

3. The method according to claim 1, characterized in that The mode switching threshold resistor includes: a current mode switching threshold resistor and a voltage mode switching threshold resistor, wherein the current mode switching threshold resistor is obtained by subtracting the maximum power point resistor from a preset first resistor, and the voltage mode switching threshold resistor is obtained by adding the maximum power point to a preset second resistor; the preset mode switching rule includes: If the current control mode is the voltage control mode, and the current resistance is less than or equal to the current mode switching threshold resistance, switching the current control mode to the current control mode; If the current control mode is the current control mode, and the current resistance is greater than or equal to the voltage mode switching threshold resistance, the current control mode is switched to the voltage control mode.

4. The method according to claim 3, characterized in that The preset first resistor and the preset second resistor are respectively 2% of the maximum power point resistance.

5. The method according to any one of claims 1 to 4, characterized in that: The method of controlling the photovoltaic simulator to be controlled by adopting the switched control mode includes: Based on the current-voltage characteristic curve of the photovoltaic simulator to be controlled, according to the current current or the current voltage, calculating the target error term corresponding to the switched control mode; the target error term is a voltage error term or a current error term; Processing the target error term using a preset PID controller to obtain a control output; The control output is sent to a voltage converter or a current converter, so that the voltage converter or the current converter processes the control output to obtain a control voltage or a control current; and the photovoltaic simulator to be controlled is controlled by using the control voltage or the control current.

6. The method according to claim 5, characterized in that The preset PID controller is determined according to the following method: Determining the type of the control mode after the switching; If the control mode after the switch is the voltage control mode, based on the correspondence between the preset current and the control parameter group, the target PID control parameter group is determined from each preset first PID control parameter group using the current current; If the control mode after switching is the current control mode, based on the correspondence between the preset voltage and the control parameter group, the target PID control parameter group is determined from each preset second PID control parameter group using the current voltage; the preset PID controller is determined according to the target PID control parameter group.

7. A control device for a photovoltaic simulator, characterized in that: The device comprises: An acquisition module, used for acquiring a current control mode, a current voltage and a current current of the photovoltaic simulator to be controlled, wherein the current control mode is a voltage control mode or a current control mode; A calculation module, used for calculating the current resistance according to the current voltage and the current current; A judgment module, configured to judge whether it is necessary to switch the current control mode based on a preset mode switching rule and by using the magnitude relationship between the current control mode, the current resistance and a preset mode switching threshold resistance; wherein the mode switching threshold resistance belongs to a target interval, the target interval includes a maximum power point resistance, and the voltages corresponding to the resistances in the target interval are not equal to each other, and the corresponding currents are not equal to each other; The control module is used to control the photovoltaic simulator to be controlled by using the switched control mode if the current control mode needs to be switched.

8. A photovoltaic system, characterized in that: The system comprises: Photovoltaic simulator; A main controller, used to execute the steps of the control method of the photovoltaic simulator according to any one of claims 1 to 6; A data acquisition device, used to acquire the current control mode, current voltage and current of the photovoltaic simulator, and send them to the main controller; A voltage converter, used for receiving the control output sent by the main controller, and processing the control output to obtain a control voltage and act on the photovoltaic simulator; The current converter is used to receive the control output sent by the main controller, and process the control output to obtain the control current and act on the photovoltaic simulator.

9. An electronic device, comprising: processor; as well as A memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium storing one or more programs, characterized in that: When the one or more programs are executed by an electronic device including a plurality of application programs, the electronic device executes the steps of the method as claimed in any one of claims 1 to 6.