Composite control method of optical storage DC-DC converter
By combining model prediction control and sliding mode control, the contradiction between the DC bus output stability and dynamic response of traditional optical storage systems is solved, and lower output ripple and higher robustness and response speed are achieved, enhancing The system's anti-interference ability.
Patent Information
- Application Number
- CN202410989616.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-22
AI Technical Summary
Traditional optical storage systems are difficult to stabilize the DC bus voltage simultaneously while improving dynamic response. The high-frequency switching of sliding mode control results in large output voltage and current ripple, and the robustness of model prediction control is reduced under uncertain disturbance.
Using a combination of model prediction control and sliding mode control, the system data is collected in real time, the sliding mode switching function is constructed, the circuit mathematical model and prediction model are established, and the feedback correction is carried out, and the objective function is constructed to dynamically control the switching state, which improves the system's robustness. and dynamic response.
It effectively reduces the voltage and current ripple of the output DC bus, improves the robustness and dynamic response speed of the system, and enhances the anti-interference ability.
Smart Images

Figure CN119010582A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a composite control method for a photovoltaic energy storage DC-DC converter, belonging to the technical field of photovoltaic energy storage power generation. Background Art
[0002] my country has abundant solar energy resources. Renewable energy distributed generation technology has gradually moved from theory to practical application due to its inherent advantages of renewable energy and the flexibility of distributed generation. The output power of photovoltaic power generation systems has the disadvantages of uncertainty and variability, and energy storage units need to be connected to smooth power fluctuations.
[0003] For a photovoltaic storage system with multiple sources of disturbance, the traditional PI double closed-loop control is difficult to effectively stabilize the DC bus voltage fluctuation while improving the dynamic response of the system. The main advantage of sliding mode control is its strong ability to resist uncertain disturbances in the system. The DC / DC bidirectional converter adopts sliding mode control to ensure that the system has strong robustness under large disturbances. The high-frequency switching of sliding mode control causes large output voltage and current ripples in the system.
[0004] Model predictive control is widely used in modern industry due to its fast dynamic response speed, high steady-state accuracy, and the ability to display processing constraints. However, the uncertainty disturbance in the system causes a deviation between the predicted value and the true value of current or power, resulting in reduced system robustness. Summary of the invention
[0005] The technical problem to be solved by the present invention is: to provide a composite control method for a photovoltaic storage DC-DC converter, and to propose a control strategy combining model predictive control and sliding mode control to ensure the stability of bus voltage and current output while taking into account robustness and dynamic response, thereby solving the contradictions and problems between DC bus output stability and dynamic response in traditional photovoltaic storage system control strategies.
[0006] The present invention adopts the following technical solutions to solve the above technical problems:
[0007] A composite control method for a photovoltaic storage DC-DC converter comprises the following steps:
[0008] Step 1: real-time acquisition of the DC bus voltage of the photovoltaic energy storage system, the voltage across the battery, the battery charge and discharge current, and the load current;
[0009] Step 2: Sliding mode variable structure control is used for the DC-DC converter of the photovoltaic energy storage system. A sliding mode switching function is constructed according to the DC bus voltage and battery current tracking error, and the control law of the system, i.e., the switching state of the switch tube, is further designed.
[0010] Step 3, based on the control law designed in step 2, a mathematical model and state equation of the DC-DC converter circuit in the continuous domain are established and discretized to obtain a prediction model of the voltage across the battery and the battery charge and discharge current in the discrete domain, and then obtain the predicted value of the sliding mode switching function at the future time;
[0011] Step 4, performing feedback correction on the predicted value of the sliding mode switching function at the future time to obtain the predicted value after feedback correction;
[0012] Step 5, obtaining a sliding mode switching function prediction model according to the mathematical model of the DC-DC converter circuit established in step 3;
[0013] Step 6, combine the predicted value of the sliding mode switching function at the future moment obtained in step 3 with the predicted value obtained according to the sliding mode switching function prediction model in step 5, construct the objective function and solve it, and use the switching state of the switching tube obtained by the solution as the actual operating state of the converter switching tube at the next moment, so as to dynamically control the action behavior of the converter at the next moment.
[0014] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0015] 1. Compared with the double closed-loop control, the present invention can effectively reduce the output voltage and current ripple of the output DC bus.
[0016] 2. Compared with sliding mode control, the present invention improves the robustness and dynamic response speed of the system while ensuring output stability.
[0017] 3. Compared with the traditional control method, the present invention introduces a feedback correction link to compensate the system, thereby improving the anti-interference ability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a topological diagram of a bidirectional DC-DC converter in a photovoltaic energy storage system;
[0019] Figure 2 It is a schematic diagram of the sliding mode control process, where (a) is the arrival stage and (b) is the sliding stage;
[0020] Figure 3 is the converter equivalent circuit, where (a) is the Boost operating mode and (b) is the Buck operating mode;
[0021] Figure 4 It is a structural block diagram of a control system combining model predictive control and sliding mode control of the present invention;
[0022] Figure 5It is the control voltage simulation waveform of the combination of traditional double closed-loop control and model predictive control and sliding mode control, where (a) is the traditional double closed-loop control, and (b) is the combination of model predictive control and sliding mode control;
[0023] Figure 6 It is a simulation waveform of battery current controlled by combining traditional double closed-loop control with model prediction and sliding mode control, where (a) is traditional double closed-loop control and (b) is a combination of model prediction control and sliding mode control. DETAILED DESCRIPTION
[0024] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0025] Aiming at the contradiction and problems between DC bus output stability and dynamic response in traditional photovoltaic storage system control strategy, the present invention proposes a DC-DC converter control method combining model prediction and sliding mode control. Figure 1 The topological structure diagram of the bidirectional DC-DC converter in the photovoltaic energy storage system. This control method can ensure the stability of the bus voltage and current output while taking into account robustness and dynamic response, solving the problems in the traditional control strategy. The specific steps are as follows:
[0026] Step A: Collect the system load DC bus voltage U dc 、Battery voltage U L , the current flowing to the DC bus i dc 、Battery charge and discharge current i L And the load current i r .
[0027] Step B: According to the sliding film variable structure control algorithm, select the appropriate sliding mode switching function to obtain the switching state u.
[0028] Step B1: According to the load current i r , Real-time voltage U at both ends of the bus dc , DC bus voltage rated value U dcf , get the load rated power P f as follows:
[0029]
[0030] Then the error controlled quantity is obtained:
[0031]
[0032] Step B2: Sliding mode variable structure control is used for the bidirectional converter of the photovoltaic energy storage system. First, a suitable sliding surface is selected. The sliding surface is constructed according to the DC bus voltage and battery current tracking error in the system. The schematic diagram of the sliding mode control process is shown in Figure 2 As shown in (a) and (b), in order to ensure the steady-state operation time of the system, the traditional linear sliding mode control switching function is not used here, but a terminal sliding mode control sliding mode switching function is used to improve the stability and response speed of the system. On the basis of introducing the controlled quantity error, the global integral terminal sliding film switching function is obtained as follows:
[0033]
[0034] Among them, k1 is the sliding surface coefficient and is a positive number, p and q are positive odd numbers and 1 <p、q<2。
[0035] Step B3: Substitute the error controlled variable and perform stability calculation based on the positive definiteness and descent of Lyapunov's stability principle, as follows:
[0036]
[0037] Step B4: Design the control law u of the system through the sliding surface as follows:
[0038]
[0039] Step C: Establish the circuit continuous domain voltage and current equations and prediction model, and discretize them to obtain the predicted value N(k+n) of the sliding mode switching function k+n at the future moment.
[0040] Step C1: When the input power of the photovoltaic side is insufficient, the battery is in a discharging state, the switch tube S1 is turned off, and S2 is controlled by the signal to turn on and off. At this time, the converter works in the Boost mode. The equivalent circuit is as follows: Figure 3 As shown in (a), the mathematical model of the converter in Boost working mode can be obtained as follows:
[0041]
[0042] u is the signal of the switch turning on and off, and the system state equation can be obtained:
[0043]
[0044] in,
[0045] Step C2: When the input power of the photovoltaic side is sufficient, the battery is in a discharge state, the switch tube S2 is turned off, and S1 is controlled by the signal to turn on and off. The converter works in Buck mode. The equivalent circuit is as follows: Figure 3As shown in (b), the mathematical model of the converter in Buck working mode can be obtained as follows:
[0046]
[0047] The state equation can be obtained as:
[0048]
[0049] in,
[0050] Step C3: Through the mathematical model and state equation in the continuous domain, the system sampling period is set to T S , we can get the prediction model in the Boost mode and the prediction model in the Buck mode in the discrete domain;
[0051] The prediction model of Boost working mode is:
[0052]
[0053] The prediction model of Buck working mode is:
[0054]
[0055] Step C4: The sliding mode prediction model of the converter with the expected sliding mode is as follows:
[0056]
[0057] Get the predicted value of the synovial switching function at the future k+n time:
[0058]
[0059] Step D: The system introduces a correction link to perform feedback correction on the predicted value of the sliding mode switching function at the future moment. The predicted value of the k moment at the past kn moment is N(k|kn), and the predicted value after feedback correction is obtained.
[0060]
[0061] In view of the inherent nonlinear dynamic behavior of the DC bidirectional converter and the uncertainty interference from the external environment, and taking into account the possible drift of the system's internal parameters, the actual observed value of the sliding mode switching function and its ideal predicted value will produce a deviation phenomenon. To solve this problem, the present invention introduces a feedback correction link, which aims to use future time domain information to perform real-time calibration on the predicted output of the sliding mode switching function. The specific strategy is to use the historical data of the previous kn moments as a basis to implement precise correction on the predicted value of the sliding mode switching function at the current n moments:
[0062]
[0063] After feedback correction, the predicted value can be obtained as follows:
[0064]
[0065] Among them, h p is the correction factor.
[0066] Step E: further obtaining a system synovial prediction model under different modes according to the established DC-DC converter mathematical model;
[0067] Step E1: Through the mathematical model of the bidirectional DC-DC converter, the sliding mode switching function prediction model of the system in various operating modes is refined and obtained. The prediction model in the Boost mode is as follows:
[0068]
[0069] Step E2: Similarly, the prediction model under Buck mode can be obtained as follows:
[0070]
[0071] Step F: Figure 4 As shown, the model predictive control is combined with the sliding mode control, and a suitable objective function is selected to obtain excellent performance. The objective function is as follows:
[0072]
[0073] Where: n is the prediction step length of the sliding mode switching function, l i is the switching function weighting coefficient.
[0074] Taking the sliding mode switching function value as the key control variable, firstly, a comprehensive data collection is performed on the current system state. Then, according to the pre-established sliding mode prediction model, the predicted value of the sliding mode switching function at the future k+n time is calculated for the two switches S1 and S2 of the bidirectional DC-DC converter when they are in the on (switch state is 1) and off (switch state is 0) states. Furthermore, the system compares the photovoltaic power generation power with the rated power required by the load to accurately identify the working mode that the bidirectional converter should be in.
[0075] After determining the working mode of the converter, the system will conduct a detailed comparative analysis of the two sets of objective function values obtained under different modes (corresponding to the different switch states of switches S1 and S2), and select the set with the smaller objective function value as the optimal solution. Based on this, the system will select the switch state corresponding to this set as the actual operating state of the converter switch at the next sampling moment, and use this strategy to dynamically control the action behavior of the DC converter at the next moment to ensure its efficient and stable operation.
[0076] The control method of the present invention is simulated and verified in Matlab / Simulink. Figure 5 (a) and (b) are the DC bus voltage simulation waveforms of the traditional double closed-loop control and the DC bus voltage simulation waveforms of the control combined with model prediction and sliding mode. The DC bus load changes from 40Ω to 20Ω at t=1s. In the simulation curve, the bus voltage can be stabilized at 400V between 0-1s. In the double closed-loop control, the bus voltage reaches stability at t=0.15s, and the overshoot is 2.3%. When the MPC control is introduced, the bus voltage reaches stability at t=0.1s, and the overshoot is almost 0.
[0077] Figure 6 (a) and (b) are the control battery current waveforms of the traditional double closed-loop control and the combination of model prediction and sliding mode control. The DC bus load changes from 40Ω to 20Ω at t=1s. It can be seen that the control combined with model prediction and sliding mode has a faster current response speed.
[0078] From the simulation, it can be seen that the control strategy combining model predictive control and sliding mode control not only reduces the ripple of the output DC bus voltage and improves the voltage output stability, but also has good robustness and improves the response speed of the system.
[0079] Based on the same inventive concept, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the aforementioned composite control method of the photovoltaic DC-DC converter are implemented.
[0080] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the aforementioned composite control method of the photovoltaic DC-DC converter are implemented.
[0081] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention 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.
[0082] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks 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 produce 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.
[0083] 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 comprising 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.
[0084] 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 The steps for the functions specified in one or more boxes.
[0085] The above embodiments are only for illustrating the technical idea of the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.
Claims
1. A composite control method for a photovoltaic DC-DC converter. It is characterized in that The steps include: Step 1: real-time acquisition of the DC bus voltage of the photovoltaic energy storage system, the voltage across the battery, the battery charge and discharge current, and the load current; Step 2: Sliding mode variable structure control is used for the DC-DC converter of the photovoltaic energy storage system. A sliding mode switching function is constructed according to the DC bus voltage and battery current tracking error, and the control law of the system, i.e., the switching state of the switch tube, is further designed. Step 3, based on the control law designed in step 2, a mathematical model and state equation of the DC-DC converter circuit in the continuous domain are established and discretized to obtain a prediction model of the voltage across the battery and the battery charge and discharge current in the discrete domain, and then obtain the predicted value of the sliding mode switching function at the future time; Step 4, performing feedback correction on the predicted value of the sliding mode switching function at the future time to obtain the predicted value after feedback correction; Step 5, obtaining a sliding mode switching function prediction model according to the mathematical model of the DC-DC converter circuit established in step 3; Step 6, combine the predicted value of the sliding mode switching function at the future moment obtained in step 3 with the predicted value obtained according to the sliding mode switching function prediction model in step 5, construct the objective function and solve it, and use the switching state of the switching tube obtained by the solution as the actual operating state of the converter switching tube at the next moment, so as to dynamically control the action behavior of the converter at the next moment.
2. The composite control method of the photovoltaic DC-DC converter according to claim 1, It is characterized in that The specific process of step 2 is as follows: Step 21: According to the DC bus voltage U dc , DC bus voltage rated value U dcf And the load current i r , calculate the load rated power P f , according to the load rated power P f The battery current tracking error e is obtained, and the calculation formula is as follows: Among them, i L is the battery charging and discharging current, P v is the photovoltaic output power, U L is the voltage across the battery; Step 22, the sliding mode switching function S of the terminal sliding mode control is: Among them, k 1 is the sliding mode switching function coefficient, and k 1 is a positive number, t is the integration time, p and q are both positive odd numbers, and 1<p<2, 1<q<2; Step 23, substituting the battery current tracking error e into the sliding mode switching function, and solving the sliding mode switching function S according to the Lyapunov stability principle; Step 24, the control law u of the system is designed by the sliding mode switching function S as follows:
3. The composite control method of the photovoltaic DC-DC converter according to claim 2, It is characterized in that The specific process of step 3 is as follows: Step 31, when the input power of the photovoltaic side of the system is insufficient and the battery is in a discharge state, the DC-DC converter is in the Boost working mode, and the system mathematical model is as follows: Where, L is the inductance, C is the capacitance, and U is the bt is the battery voltage, R is the resistance; The state equation is: Where x represents the state equation, V L is the output side voltage; Step 32, when the input power of the photovoltaic side of the system is sufficient and the battery is in a charging state, the DC-DC converter is in the Buck working mode, and the system mathematical model is as follows: The state equation is: in, Step 33, discretizing the mathematical model and state equation in the continuous domain to obtain a prediction model of the voltage across the battery and the charge and discharge current of the battery in the discrete domain; The prediction model of Boost working mode is: The prediction model of Buck working mode is: Among them, U L(k+1) is the predicted value of the voltage across the battery at time k+1, i L(k+1) is the predicted value of the battery charge and discharge current at time k+1, T S is the sampling period, U dc(k) is the DC bus voltage at time k, U L(k) is the voltage across the battery at time k, i L(k) is the battery charge and discharge current at time k; Step 34, the predicted value of the sliding mode switching function at the future time is as follows: Among them, N(k+n) is the predicted value of the sliding mode switching function at the k+n moment in the future, N(k) is the predicted value of the sliding mode switching function at the k moment in the future, n is the prediction step size of the sliding mode switching function, Δi L (k+i) is the change in inductor current at time k+i.
4. The composite control method of the photovoltaic DC-DC converter according to claim 3, It is characterized in that The specific process of step 4 is as follows: Use the sliding mode switching function of the past kn moments to predict the k moment: Wherein, N(k|kn) is the predicted value of the sliding mode switching function at time k at time k in the past, and N(kn) is the predicted value of the sliding mode switching function at time k in the past; Use N(k|kn) to perform feedback correction on N(k+n): in, is the correction value of N(k+n), h p is the correction factor.
5. The composite control method of the photovoltaic DC-DC converter according to claim 4, It is characterized in that In step 5, The downward mode switching function prediction model in Boost working mode is: The down mode switching function prediction model in Buck working mode is: in, N 1 Correction value of (k+n), N 1 (k+n) is the predicted value of the down-mode switching function in the Boost working mode at the future k+n time, N 1 (k|kn) is the predicted value of the sliding mode switching function at time k in the past kn times in the Boost working mode. N 2 Correction value of (k+n), N 2 (k+n) is the predicted value of the down-mode switching function in the Buck working mode at the next k+n time, N 2 (k|kn) is the predicted value of the sliding mode switching function at time k in the past kn times under the Buck working mode.
6. The composite control method of the photovoltaic DC-DC converter according to claim 5, It is characterized in that In step 6, the objective function constructed is as follows: Among them, J m represents the objective function, l i is the weight coefficient of the sliding mode switching function, n is the prediction step length of the sliding mode switching function, N in m working mode m Correction value of (k+i), N m (k+i) is the predicted value of the down-mode switching function at the future k+i time under the m working mode, where m represents the working mode. When m=1, it represents the Boost working mode, and when m=2, it represents the Buck working mode. The objective functions of the two working modes are solved, and the switching state of the converter switch tube corresponding to the minimum objective function value is selected as the actual operating state of the converter switch tube at the next moment, so as to dynamically control the action behavior of the converter at the next moment.
7. A computer device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, It is characterized in that When the processor executes the computer program, the steps of the composite control method of the photovoltaic DC-DC converter according to any one of claims 1 to 6 are implemented.
8. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the composite control method of the photovoltaic DC-DC converter according to any one of claims 1 to 6 are implemented.
