Bus voltage control method for photovoltaic on-grid and off-grid system and photovoltaic on-grid and off-grid system
By obtaining and calculating the bus voltage and current loop output value in the photovoltaic grid-connected and off-grid system, and generating PWM signals for control, the problem of unstable bus voltage in the photovoltaic grid-connected and off-grid system is solved, and the system is realized in the grid-connected and off-grid states. Voltage is stable.
Patent Information
- Application Number
- CN202110355882.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-01
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-04-01
AI Technical Summary
In photovoltaic off-grid systems, when the output power of photovoltaic modules is too large or the system is operating off-grid, the bus voltage is prone to overvoltage, affecting the stable operation of the system.
By obtaining the actual bus voltage value of the photovoltaic off-grid system and the output voltage and current of the photovoltaic modules, the bus voltage given value is determined based on the operating status of the system, the bus ring output value and the voltage loop output value are calculated, and the current loop given value is generated. , and controlled by the PWM signal of the photovoltaic DCDC circuit, and the current loop given value is adaptively adjusted to stabilize the bus voltage.
It can ensure the stability of the bus voltage in both grid-connected and off-grid conditions, improve the control robustness of the system, and avoid bus voltage overvoltage problems.
Smart Images

Figure CN113162112B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of circuit control, and in particular relates to a bus voltage control method for a photovoltaic on-grid or off-grid system and a photovoltaic on-grid or off-grid system. Background Art
[0002] In the field of traditional solar photovoltaic power generation, there are three modes: independent off-grid operation, grid-connected operation, and grid-connected and off-grid energy storage operation. Among them, the photovoltaic system with grid-connected and off-grid energy storage operation is usually composed of solar photovoltaic modules, boost circuits, grid-connected and off-grid inverters, batteries, and public power grids. The working mode of this solar photovoltaic power generation system is that photovoltaic energy will be provided to the load first. When photovoltaics cannot meet the load demand, the battery begins to discharge. When photovoltaics fully meet the load demand, the excess power will be stored in the battery. If there is no battery or the battery is already full, the excess power will be connected to the grid; when the grid is powered off, it automatically switches to off-grid mode to power the load. When the solar photovoltaic module is abnormal, the dispatching grid can also charge the battery while meeting the load power supply needs.
[0003] In the above-mentioned on-grid and off-grid energy storage mode, when the output power of the photovoltaic modules is too large or the system is in off-grid operation, there is a risk of overvoltage on the system bus, which in turn affects the stable operation of the photovoltaic on-grid and off-grid system. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a bus voltage control method of a photovoltaic on-grid and off-grid system and a photovoltaic on-grid and off-grid system to solve the problem of unstable bus voltage of photovoltaic on-grid and off-grid systems in the prior art.
[0005] A first aspect of an embodiment of the present invention provides a bus voltage control method for a photovoltaic grid-connected or off-grid system, comprising:
[0006] Obtaining an actual value of a bus voltage of a photovoltaic on-grid or off-grid system; and obtaining an output voltage and an output current of a photovoltaic module in the photovoltaic on-grid or off-grid system;
[0007] Determine a bus voltage given value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculate a bus loop output value according to the bus voltage actual value and the bus voltage given value; the operating state includes a grid-connected state and an off-grid state;
[0008] Calculating a voltage loop output value according to the output voltage of the photovoltaic module;
[0009] A current loop given value is generated according to the bus loop output value and the voltage loop output value, and a PWM signal for controlling a photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system is generated based on the current loop given value and the output current of the photovoltaic component.
[0010] A second aspect of an embodiment of the present invention provides a bus voltage control device for a photovoltaic grid-connected and off-grid system, comprising:
[0011] A data acquisition module is used to acquire the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; and to acquire the output voltage and output current of the photovoltaic components in the photovoltaic on-grid and off-grid system;
[0012] A bus ring output value acquisition module is used to determine a bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculate a bus ring output value according to the bus voltage actual value and the bus voltage set value; the operating state includes a grid-connected state and an off-grid state;
[0013] A voltage loop output value acquisition module, used to calculate a voltage loop output value according to the output voltage of the photovoltaic module;
[0014] The PWM signal generating module is used to generate a current loop given value according to the bus loop output value and the voltage loop output value, and to generate a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system based on the current loop given value and the output current of the photovoltaic component.
[0015] A third aspect of an embodiment of the present invention provides a photovoltaic off-grid system, which includes: a photovoltaic module, a photovoltaic DCDC circuit, an inverter circuit, a battery charging and discharging unit, a first sampling module, a second sampling module and a controller;
[0016] The output end of the photovoltaic module is connected to the input end of the photovoltaic DCDC circuit, the output end of the photovoltaic DCDC circuit and the output end of the battery charging and discharging unit are respectively connected to the first end of the inverter circuit, and the second end of the inverter circuit is used to connect to the public power grid or the load;
[0017] The first sampling module is used to collect the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; the second sampling module is used to collect the output voltage and output current of the photovoltaic module; and send the actual value of the bus voltage, the output voltage and output current of the photovoltaic module to the controller;
[0018] The controller is used to execute the bus voltage control method of the photovoltaic grid-connected and off-grid system as described above.
[0019] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: the embodiment first obtains the actual value of the bus voltage of the photovoltaic grid-connected and off-grid system; and obtains the output voltage and output current of the photovoltaic module in the photovoltaic grid-connected and off-grid system; then determines the bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculates the bus loop output value according to the actual value of the bus voltage and the bus voltage set value; calculates the voltage loop output value according to the output voltage of the photovoltaic module; finally, generates the current loop set value according to the bus loop output value and the voltage loop output value, and generates a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system based on the current loop set value and the output current of the photovoltaic module. The present application adds bus loop control on the basis of the original voltage loop and current loop, and can adaptively adjust the current loop set value based on the bus voltage deviation and the operating state of the system, so that the system can ensure the stability of the bus voltage in both grid-connected and off-grid states. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0021] Figure 1 is a schematic structural diagram of a photovoltaic grid-connected and off-grid system provided by an embodiment of the present invention;
[0022] Figure 2 It is a schematic diagram of the implementation flow of the bus voltage control method of the photovoltaic grid-connected and off-grid system provided by an embodiment of the present invention;
[0023] Figure 3 It is a flowchart of a bus voltage control method for a photovoltaic grid-connected and off-grid system provided by an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of a bus voltage control device for a photovoltaic grid-connected and off-grid system provided by an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of a controller provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0027] In order to illustrate the technical solution of the present invention, a specific embodiment is provided below for illustration.
[0028] In one embodiment, Figure 1 As shown, Figure 1 The structure of a photovoltaic off-grid system provided by an embodiment of the present invention is shown, which includes:
[0029] Photovoltaic assembly 100, photovoltaic DCDC circuit 200, inverter circuit 300, battery charging and discharging unit, first sampling module, second sampling module and controller; photovoltaic DCDC circuit 200 may be a Boost circuit;
[0030] The output end of the photovoltaic module 100 is connected to the input end of the photovoltaic DCDC circuit 200, the output end of the battery charging and discharging unit and the output end of the photovoltaic DCDC circuit 200 are respectively connected to the first end of the inverter circuit 300, and the second end of the inverter circuit 300 is used to connect to the public power grid 400 or the load 700;
[0031] The first sampling module is used to collect the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; the second sampling module is used to collect the output voltage and output current of the photovoltaic assembly 100; and send the actual value of the bus voltage, the output voltage and output current of the photovoltaic assembly 100 to the controller;
[0032] The controller is used to generate a PWM signal according to the actual value of the bus voltage, the output voltage and the output current of the photovoltaic assembly 100, and send the PWM signal to the first Boost circuit.
[0033] Specifically, Figure 1 As shown, the battery charging and discharging unit includes a battery 600 and a charging and discharging circuit 500 , and the battery 600 is connected to a first end of the inverter circuit 300 through the charging and discharging circuit 500 .
[0034] In one embodiment, Figure 2 As shown, Figure 2 The implementation flow of a bus voltage control method for a photovoltaic on-grid and off-grid system provided in this embodiment is shown. The method is applied to a controller of a photovoltaic on-grid and off-grid system, and the process is described in detail as follows:
[0035] S101: Acquire the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; and acquire the output voltage and output current of the photovoltaic assembly 100 in the photovoltaic on-grid and off-grid system.
[0036] In this embodiment, the first sampling module is a voltage sampling module, and the controller obtains the actual value of the bus voltage of the DC bus of the photovoltaic grid-connected off-grid system through the first sampling module. The second sampling module includes a second voltage sampling module and a second current sampling module. The controller obtains the output voltage of the photovoltaic component 100 through the second voltage sampling module and obtains the output current of the photovoltaic component 100 through the second current sampling module.
[0037] S102: Determine a bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculate a bus loop output value according to the bus voltage actual value and the bus voltage set value; the operating state includes a grid-connected state and an off-grid state.
[0038] In one embodiment, the specific implementation process of the above S102 includes:
[0039] S201: If the photovoltaic grid-connected off-grid system is operating in a grid-connected state, determining the bus voltage set value according to the grid voltage;
[0040] S202: If the photovoltaic off-grid system is operating in an off-grid state, a preset bus voltage given value is obtained.
[0041] refer to Figure 2 and Figure 3 , Figure 3 : shows a flow chart of the control method provided by this embodiment. In this embodiment, if the photovoltaic grid-connected off-grid system operates in a grid-connected state, the bus voltage set value can be determined based on the grid voltage set value and the second threshold value. Specifically, U bus_pv_ref =U bus_Grid_ref +10V; where U bus_pv_ref Indicates the bus voltage given value, U bus_Grid_ref Indicates the grid voltage given value.
[0042] In one embodiment, Figure 3 As shown, the specific implementation process of the above S102 also includes:
[0043] S301: Set the bus voltage to a given value U bus_pv_ref Subtract the actual value of the bus voltage U bus_pv , get the bus voltage difference;
[0044] S302: inputting the bus voltage difference into a first PI controller to obtain a first control variable;
[0045] S303: Limiting the first control variable to obtain the bus ring output value.
[0046] In one embodiment, the clipping range is [0, 1].
[0047] In this embodiment, the larger the input value of the first controller is, the larger the output value is.
[0048] Specifically, if the system is in a grid-connected operation state and the bus voltage is normal, the bus voltage difference is larger than when the bus voltage is too high, so the output value of the first PI controller is larger. After limiting the first control quantity, the bus loop output value is 1. Therefore, the generation of the PWM signal is completely controlled by the voltage loop and current loop of the photovoltaic system.
[0049] When the bus voltage is too high, the bus voltage difference is small, the bus loop output value is between (0,1), and as the bus voltage increases, the bus loop output value approaches zero.
[0050] S103: Calculating a voltage loop output value according to the output voltage of the photovoltaic assembly 100 .
[0051] In one embodiment, Figure 3 As shown, the specific implementation process of the above S103 includes:
[0052] S401: Obtaining a voltage loop set value U of the photovoltaic grid-connected and off-grid system pv_ref ;
[0053] S402: Set the voltage loop to a given value U pv_ref Subtract the output voltage U of the photovoltaic module 100 pv , get the voltage loop difference;
[0054] S403: Input the voltage loop difference into a second PI controller to obtain the voltage loop output value.
[0055] S104: generating a current loop given value according to the bus loop output value and the voltage loop output value, and generating a current loop given value based on the current loop given value and the output current I of the photovoltaic module 100. pv , generating a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic on-grid and off-grid system.
[0056] In this embodiment, the voltage loop given value is a value calculated according to a maximum power point tracking algorithm.
[0057] In one embodiment, the specific implementation process of the above S104 includes:
[0058] The inverse of the voltage loop output value is multiplied by the bus loop output value to obtain the current loop given value.
[0059] In this embodiment, when the bus voltage is too high, the bus loop output value is adjusted to adjust the current loop set value, so that the duty cycle of the PWM signal can be quickly reduced when the bus voltage is too high, thereby reducing the bus voltage.
[0060] In one embodiment, when the photovoltaic off-grid system operates in an off-grid state, the public grid is disconnected from the system, and the public grid no longer controls the bus voltage. The manual control method in the off-grid state often causes the problem of unstable bus voltage. In the off-grid state, this embodiment can adaptively adjust the current loop set value based on the bus voltage deviation value by obtaining the bus voltage set value and the actual bus voltage, thereby improving the robustness of the system control and ensuring the stability of the bus voltage.
[0061] In one embodiment, the specific implementation process of the above S104 further includes:
[0062] S501: Subtract the output current I of the photovoltaic module 100 from the current loop given value pv , get the current loop difference;
[0063] S502: inputting the current loop difference into a third PI controller to obtain a third control variable;
[0064] S503: Generate a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system according to the third control variable.
[0065] In this embodiment, after the third control quantity is calculated, the third control quantity is divided by the bus voltage to obtain the modulation degree of the PWM signal, thereby generating a PWM signal according to the modulation degree, and using the generated PWM signal to control the switch tube of the photovoltaic DCDC circuit, thereby adjusting the bus voltage of the system to ensure the stability of the system bus voltage.
[0066] As can be seen from the above embodiments, this embodiment first obtains the actual value of the bus voltage of the photovoltaic grid-connected and off-grid system; and obtains the output voltage and output current of the photovoltaic module 100 in the photovoltaic grid-connected and off-grid system; then determines the bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculates the bus loop output value according to the actual value of the bus voltage and the bus voltage set value; calculates the voltage loop output value according to the output voltage of the photovoltaic module 100; finally, generates the current loop set value according to the bus loop output value and the voltage loop output value, and generates a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system based on the current loop set value and the output current of the photovoltaic module 100. This application adds bus loop control on the basis of the original voltage loop and current loop, and can adaptively adjust the current loop set value based on the bus voltage deviation and the operating state of the system, so that the system can ensure the stability of the bus voltage in both grid-connected and off-grid states.
[0067] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0068] In one embodiment, Figure 4 As shown, Figure 4 The bus voltage control device of the photovoltaic grid-connected and off-grid system provided by the embodiment of the present invention is shown, which includes:
[0069] The data acquisition module 110 is used to acquire the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; and to acquire the output voltage and output current of the photovoltaic module 100 in the photovoltaic on-grid and off-grid system;
[0070] The bus ring output value acquisition module 120 is used to determine the bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculate the bus ring output value according to the bus voltage actual value and the bus voltage set value; the operating state includes the grid-connected state and the off-grid state;
[0071] A voltage loop output value acquisition module 130, used to calculate a voltage loop output value according to the output voltage of the photovoltaic assembly 100;
[0072] The PWM signal generating module 140 is used to generate a current loop set value according to the bus loop output value and the voltage loop output value, and to generate a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system based on the current loop set value and the output current of the photovoltaic component 100.
[0073] In one embodiment, the bus ring output value acquisition module 120 includes:
[0074] A first bus voltage set value calculation unit, configured to determine the bus voltage set value according to the grid voltage if the photovoltaic grid-connected and off-grid system is operating in a grid-connected state;
[0075] The second bus voltage set value calculation unit is used to obtain a preset bus voltage set value if the photovoltaic off-grid system is operating in an off-grid state.
[0076] In one embodiment, the bus ring output value acquisition module 120 further includes:
[0077] A bus voltage difference calculation unit, used for subtracting the bus voltage actual value from the bus voltage given value to obtain a bus voltage difference;
[0078] A first control variable calculation unit, used for inputting the bus voltage difference into a first PI controller to obtain a first control variable;
[0079] The bus ring output value calculation unit is used to limit the first control quantity to obtain the bus ring output value.
[0080] In one embodiment, the clipping range is [0, 1].
[0081] In one embodiment, the voltage loop output value acquisition module 130 includes:
[0082] A voltage loop given value calculation unit, used to obtain a voltage loop given value of the photovoltaic grid-connected and off-grid system;
[0083] A voltage loop difference calculation unit, used for subtracting the output voltage of the photovoltaic assembly 100 from the voltage loop given value to obtain a voltage loop difference;
[0084] The voltage loop output value calculation unit is used to input the voltage loop difference into the second PI controller to obtain the voltage loop output value.
[0085] In one embodiment, the PWM signal generating module 140 specifically includes:
[0086] The current loop given value calculation unit is used to multiply the inverse of the voltage loop output value by the bus loop output value to obtain the current loop given value.
[0087] In one embodiment, the PWM signal generating module 140 specifically includes:
[0088] A current loop difference calculation unit, used for subtracting the output current of the photovoltaic assembly 100 from the current loop given value to obtain a current loop difference;
[0089] A third control quantity calculation unit, used for inputting the current loop difference into a third PI controller to obtain a third control quantity;
[0090] A PWM signal generating unit is used to generate a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system according to the third control amount.
[0091] As can be seen from the above embodiments, this embodiment first obtains the actual value of the bus voltage of the photovoltaic grid-connected and off-grid system; and obtains the output voltage and output current of the photovoltaic module 100 in the photovoltaic grid-connected and off-grid system; then determines the bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculates the bus loop output value according to the actual value of the bus voltage and the bus voltage set value; calculates the voltage loop output value according to the output voltage of the photovoltaic module 100; finally, generates the current loop set value according to the bus loop output value and the voltage loop output value, and generates a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system based on the current loop set value and the output current of the photovoltaic module 100. This application adds bus loop control on the basis of the original voltage loop and current loop, and can adaptively adjust the current loop set value based on the bus voltage deviation and the operating state of the system, so that the system can ensure the stability of the bus voltage in both grid-connected and off-grid states.
[0092] Figure 5 FIG. 1 is a schematic diagram of a controller provided by an embodiment of the present invention. Figure 5 As shown, the controller 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. When the processor 50 executes the computer program 52, the steps in the above-mentioned bus voltage control method embodiments of each photovoltaic grid-connected and off-grid system are implemented, such as Figure 2 Alternatively, when the processor 50 executes the computer program 52, the functions of each module / unit in the above-mentioned device embodiments are realized, for example, Figure 4 The functions of the modules 110 to 140 are shown.
[0093] The computer program 52 may be divided into one or more modules / units, which are stored in the memory 51 and executed by the processor 50 to complete the present invention. The one or more modules / units may be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program 52 in the controller 5. The controller 5 may be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The controller may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will understand that Figure 5 It is only an example of the controller 5 and does not constitute a limitation of the controller 5. The controller may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the controller may also include input and output devices, network access devices, buses, etc.
[0094] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0095] The memory 51 may be an internal storage unit of the controller 5, such as a hard disk or memory of the controller 5. The memory 51 may also be an external storage device of the controller 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the controller 5. Further, the memory 51 may include both an internal storage unit of the controller 5 and an external storage device. The memory 51 is used to store the computer program and other programs and data required by the controller. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0096] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0097] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0098] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0099] In the embodiments provided by the present invention, it should be understood that the disclosed devices / controllers and methods can be implemented in other ways. For example, the device / controller embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0102] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. . Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0103] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A bus voltage control method for a photovoltaic grid-connected and off-grid system, characterized in that: The photovoltaic off-grid system comprises a photovoltaic module, a photovoltaic DCDC circuit and an inverter circuit, wherein the output end of the photovoltaic module is connected to the input end of the photovoltaic DCDC circuit, the output end of the photovoltaic DCDC circuit is connected to the first end of the inverter circuit, and the second end of the inverter circuit is used to connect to a public power grid or a load; The method comprises: Obtaining an actual value of a bus voltage of a photovoltaic on-grid or off-grid system; and obtaining an output voltage and an output current of a photovoltaic module in the photovoltaic on-grid or off-grid system; Determine a bus voltage given value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculate a bus loop output value according to the bus voltage actual value and the bus voltage given value; the operating state includes a grid-connected state and an off-grid state; Calculating a voltage loop output value according to the output voltage of the photovoltaic module; The inverse of the voltage loop output value is multiplied by the bus loop output value to obtain a current loop given value, and based on the current loop given value and the output current of the photovoltaic module, a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system is generated; The calculating the bus loop output value according to the actual bus voltage value and the given bus voltage value comprises: Subtract the actual bus voltage value from the given bus voltage value to obtain a bus voltage difference; Inputting the bus voltage difference into a first PI controller to obtain a first control variable; Limiting the first control variable to obtain the bus ring output value; The clipping range is [0,1].
2. The bus voltage control method of the photovoltaic off-grid system according to claim 1, characterized in that: The determining of the bus voltage given value based on the operating state of the photovoltaic grid-connected and off-grid system comprises: If the photovoltaic off-grid system is operating in a grid-connected state, the bus voltage set value is determined according to the grid voltage; If the photovoltaic off-grid system is operating in an off-grid state, a preset bus voltage given value is obtained.
3. The bus voltage control method of the photovoltaic off-grid system according to claim 1, characterized in that: The step of calculating the voltage loop output value according to the output voltage of the photovoltaic module comprises: Obtaining a voltage loop given value of the photovoltaic on-grid and off-grid system; Subtract the output voltage of the photovoltaic module from the voltage loop given value to obtain a voltage loop difference; The voltage loop difference is input into the second PI controller to obtain the voltage loop output value.
4. The bus voltage control method of the photovoltaic off-grid system according to claim 1, characterized in that: The method of generating a PWM signal for controlling a photovoltaic DCDC circuit in the photovoltaic grid-connected and off-grid system based on the current loop given value and the output current of the photovoltaic assembly comprises: Subtract the output current of the photovoltaic module from the current loop given value to obtain a current loop difference; Inputting the current loop difference into a third PI controller to obtain a third control variable; A PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic on-grid and off-grid system is generated according to the third control amount.
5. A bus voltage control device for a photovoltaic grid-connected and off-grid system, characterized in that: The photovoltaic off-grid system comprises a photovoltaic module, a photovoltaic DCDC circuit and an inverter circuit, wherein the output end of the photovoltaic module is connected to the input end of the photovoltaic DCDC circuit, the output end of the photovoltaic DCDC circuit is connected to the first end of the inverter circuit, and the second end of the inverter circuit is used to connect to a public power grid or a load; The device comprises: A data acquisition module is used to acquire the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; and to acquire the output voltage and output current of the photovoltaic components in the photovoltaic on-grid and off-grid system; A bus ring output value acquisition module is used to determine a bus voltage set value based on the operating state of the photovoltaic grid-connected and off-grid system, and calculate a bus ring output value according to the bus voltage actual value and the bus voltage set value; the operating state includes a grid-connected state and an off-grid state; A voltage loop output value acquisition module, used to calculate a voltage loop output value according to the output voltage of the photovoltaic module; A PWM signal generating module, used for multiplying the inverse of the voltage loop output value by the bus loop output value to obtain a current loop given value, and generating a PWM signal for controlling the photovoltaic DCDC circuit in the photovoltaic on-grid and off-grid system based on the current loop given value and the output current of the photovoltaic module; The bus ring output value acquisition module includes: Subtract the actual bus voltage value from the given bus voltage value to obtain a bus voltage difference; Inputting the bus voltage difference into a first PI controller to obtain a first control variable; Limiting the first control variable to obtain the bus ring output value; The clipping range is [0,1].
6. A photovoltaic off-grid system, characterized in that: include: Photovoltaic module, photovoltaic DCDC circuit, inverter circuit, battery charging and discharging unit, first sampling module, second sampling module and controller; The output end of the photovoltaic module is connected to the input end of the photovoltaic DCDC circuit, the output end of the photovoltaic DCDC circuit and the output end of the battery charging and discharging unit are respectively connected to the first end of the inverter circuit, and the second end of the inverter circuit is used to connect to the public power grid or the load; The first sampling module is used to collect the actual value of the bus voltage of the photovoltaic on-grid and off-grid system; the second sampling module is used to collect the output voltage and output current of the photovoltaic module; and send the actual value of the bus voltage, the output voltage and output current of the photovoltaic module to the controller; The controller is used to execute the method according to any one of claims 1 to 4.
7. The photovoltaic off-grid system according to claim 6, characterized in that: The photovoltaic DCDC circuit includes a Boost circuit.
