Energy Storage Battery SOC Estimation in Photovoltaic Agriculture

As an agricultural powerhouse, the deep integration of information technology and agriculture has become an inevitable trend for the development of modern agriculture in our country. Digital agricultural information perception, scientific management decision-making, and intelligent agricultural equipment have become important approaches to improving the quality of agricultural products and agricultural production efficiency. Photovoltaic agriculture, as a novel agricultural form, applies solar power generation to modern agricultural planting, breeding, irrigation, pest control, and agricultural machinery power. A typical example is the photovoltaic agricultural greenhouse system with “power generation on the roof and planting under the roof”. Such a system is mainly composed of photovoltaic arrays, energy storage systems, and greenhouse electrical equipment, suitable for power supply to smart agricultural monitoring facilities and low-power agricultural devices such as temperature control, irrigation, and supplementary lighting in agricultural planting scenarios.

However, the randomness and intermittency of solar energy in practical use seriously affect its utilization rate. To improve the reliability of solar power supply and enhance power quality, the concept of a photovoltaic-storage DC microgrid has emerged. In a photovoltaic agricultural system, the accurate estimation of the state of charge (SOC) of the energy storage battery is particularly important for system operation. The energy storage battery, as a key component of the photovoltaic DC microgrid, directly influences the stability and economic efficiency of the entire system. In this study, I focus on the SOC estimation problem of the energy storage battery in photovoltaic agricultural systems. I propose a method that combines a second-order RC equivalent circuit model with online parameter identification using recursive least squares with a variable forgetting factor (VFFRLS), and then jointly estimates the SOC using an adaptive extended Kalman filter (AEKF) that updates the noise covariance in real time. The results demonstrate that this method achieves high accuracy and robustness, improving the operational efficiency of the microgrid energy storage system.

1. Introduction and Background

Photovoltaic agriculture not only provides reliable power supply to agricultural loads but also reduces agricultural production costs. The combination of photovoltaic storage DC microgrids with smart agriculture is a promising direction. In such systems, energy storage technology is the key. Currently, energy storage technologies can be classified into mechanical storage, electrochemical storage, electrical storage, and thermal storage. Among them, electrochemical energy storage has shown good application prospects in recent years, mainly including all-vanadium redox flow batteries, lead-carbon batteries, and lithium-ion batteries. Table 1 lists the main technical and economic indicators of these electrochemical energy storage systems.

Table 1 Technical and economic indicators of electrochemical energy storage systems
Indicator Lithium-ion battery All-vanadium redox flow battery Lead-carbon battery
Energy density / (Wh·kg−1) 70–200 30 40
Power density / (W·kg−1) 1000 33 300
Energy efficiency / % 85–98 60–75 80–90
Fastest full-charge time 15 min 2 h 5 h
Cycle life / times 2000–10000 5000–10000 2000–4000
Cost / (yuan·kWh−1) 2000–6000 4500–6000 1250–1800

From Table 1, it can be seen that the energy density, power density, energy efficiency, and rate performance of lithium-ion batteries are superior to those of all-vanadium redox flow batteries and lead-carbon batteries. Moreover, the cycle life and cost of lithium-ion batteries are between those of the other two types. Therefore, lithium batteries are the best technical choice for the energy storage module. However, the energy storage battery, while effectively ensuring the stable operation of the photovoltaic DC microgrid, suffers from accelerated life degradation due to irregular charging and discharging. Often the battery fails before reaching the planned storage cycle, thereby increasing the storage cost. The energy storage unit is composed of multiple lithium battery cells connected in series or parallel, and a series of lithium battery energy storage units are further combined into an energy storage system. In the energy storage system, the SOC is the main basis for judging the charged capacity of the storage station and is one of the important parameters of the power control strategy of the photovoltaic-storage microgrid. By incorporating SOC into the control strategy, the battery is protected and the smoothing effect of output power fluctuation is achieved. To realize the rational utilization of the energy storage battery and improve the reliability and efficiency of the entire energy storage system, it is necessary to accurately estimate the SOC of the battery.

In recent years, scholars have conducted extensive research on SOC estimation of energy storage batteries from two main aspects. The first is to improve the estimation algorithm, among which the extended Kalman filter (EKF) and its derivative algorithms are currently a research hotspot. The second is to improve the parameter identification method of the lithium battery equivalent circuit model. Some researchers have proposed combining EKF with the open-circuit voltage characteristic curve to estimate SOC, and the experimental results show that this method is suitable for online real-time SOC estimation. Others have proposed an improved multi-innovation extended Kalman filter algorithm to estimate SOC, which not only integrates multi-innovation identification theory and Kalman filtering but also introduces a forgetting factor to weaken the correction weight of historical data, solving the data over-saturation problem. The results show that this method has high accuracy and convergence, with a maximum estimation error of 0.948%. Some studies have proposed a second-order RC circuit as the equivalent circuit model based on the Akaike information criterion, and a recursive least squares method with a dynamic forgetting factor for parameter identification, followed by EKF for SOC estimation. The results show that this method has high accuracy and robustness. Other approaches include adding an adaptive factor to the recursive least squares method for online model parameter estimation of lithium-ion batteries, with simulation results showing a maximum error not exceeding 2.5%. A weighted adaptive recursive least squares method combined with extended Kalman filtering (ARWEKF) has also been proposed for SOC estimation, achieving a maximum absolute error of 1.36% in simulations. Furthermore, a fusion algorithm based on the forgetting factor multi-innovation least squares (FF-MILS) and EKF has been presented.

In summary, the use of recursive least squares with a forgetting factor (FFRLS) to achieve equivalent circuit model parameter identification is currently a relatively mature method. Some scholars have also combined FFRLS with an improved EKF to estimate SOC, but the observation noise and process noise in EKF are fixed values during the estimation process, which affects the estimation accuracy. Therefore, in this study, I take the energy storage lithium battery as the research object and propose a joint estimation method of SOC using the recursive least squares method with a variable forgetting factor (VFFRLS) and the adaptive extended Kalman filter (AEKF). AEKF uses noise information covariance matching technology to adaptively update the observation noise and process noise in real time based on EKF, thereby effectively improving the SOC estimation accuracy of the lithium battery.

2. Modeling of the Energy Storage Battery

2.1 Second-Order RC Equivalent Circuit Model

At present, the commonly used equivalent circuit models for lithium-ion batteries mainly include electrochemical models, black-box models, and equivalent circuit models. Among them, the equivalent circuit model can better reflect the dynamic changes of the battery, and its structure is simple and parameters are easy to tune. To better characterize the dynamic performance of the energy storage battery, I selected a second-order RC circuit as the battery equivalent model. Compared with the first-order RC model, this model has better dynamic performance and separates the electrochemical polarization and concentration polarization of the battery into two parts, providing higher accuracy. Its complexity is moderate, making parameter identification convenient, and it is usually combined with Kalman filter algorithms to complete SOC estimation of the lithium battery.

The parallel network composed of R1 and C1 reflects the electrochemical polarization effect, while R2 and C2 reflect the concentration polarization effect. R1 and R2 are polarization resistances, C1 and C2 are polarization capacitances, R0 is the ohmic internal resistance of the battery, UOC represents the open-circuit voltage, UL is the terminal voltage, and I is the current flowing through the battery. According to Kirchhoff’s laws, the equations of the equivalent circuit model can be written as:

\[
\begin{cases}
i_L = \frac{U_1}{R_1} + C_1 \frac{dU_1}{dt} \\
i_L = \frac{U_2}{R_2} + C_2 \frac{dU_2}{dt} \\
U_L = U_{OC} – I R_0 – U_1 – U_2
\end{cases}
\tag{1}
\]

2.2 SOC-OCV Characteristic Curve

The energy storage battery system consists of n×m battery cells. It can be regarded as a single cell whose capacity and current are increased by n times and voltage is increased by m times, respectively. In this study, I take a lithium iron phosphate single-cell energy storage battery as the research object. The specific technical parameters are shown in Table 2.

Table 2 Technical parameters of the single-cell battery
Parameter Value
Battery type Lithium iron phosphate battery
Rated capacity 24 Ah
Rated voltage 3.4 V
Upper cutoff voltage 3.6 V
Lower cutoff voltage 2.5 V

Accurately obtaining the SOC-OCV curve is a key step in estimating the SOC of the energy storage battery. I used a constant temperature and constant voltage charging method to fully charge the battery, then let it stand for 1 hour. The fully charged lithium battery was subjected to a 0.2 C constant current intermittent discharge test. The discharge time was 30 minutes, followed by a 1-hour rest, and then discharge at 0.2 C continued. This cycle was repeated until the battery voltage dropped to the discharge cutoff voltage. Through this experiment, the terminal voltage values at different states of charge can be obtained. After resting for a period, the terminal voltage of the battery is approximately equal to the open-circuit voltage OCV. To achieve a good fitting effect while reducing computational complexity, I used a sixth-order polynomial to fit the relationship between SOC and OCV. The curve is shown in the form of a fitted polynomial. The coefficient of determination (R2) between the data points and the fitted values is 0.9964, indicating that the sixth-order fitting has high precision and the calculation process is not complicated. The obtained sixth-order polynomial is:

\[
OCV = 1.225 SOC^6 + 12.21 SOC^5 – 38.51 SOC^4 + 40.69 SOC^3 – 19.38 SOC^2 + 4.264 SOC + 2.926
\tag{2}
\]

3. Online Parameter Identification of the Battery Model

3.1 Variable Forgetting Factor Recursive Least Squares (VFFRLS)

Photovoltaic power generation has a high degree of intermittency, and the grid needs to respond to sudden situations. Therefore, the model parameters of the energy storage battery must be updated in real time. Although the commonly used FFRLS has the advantages of simple programming, fast convergence speed, and small computational load, the fixed forgetting factor cannot adapt to the random operating conditions of the energy storage battery, resulting in poor parameter identification performance. To address this issue, I adopted the VFFRLS algorithm to identify parameters in real time. The value of the variable forgetting factor depends on the identification error and adjusts itself adaptively. A variable forgetting factor method was proposed in the early literature as follows:

\[
\lambda_k = \lambda_{\min} + (1 – \lambda_{\min}) \cdot 2^{L_k}
\tag{3}
\]

where \(\lambda_k\) is the variable forgetting factor, \(\lambda_{\min}\) is the minimum value of the forgetting factor. The larger the error, the closer the forgetting factor is to the minimum value; the smaller the error, the closer the forgetting factor is to 1. Through the data windowing theory, the forgetting factor is determined by the mean square error of finite data points within a period of time, thereby improving the stability of the algorithm. The term \(L_k\) is defined as:

\[
L_k = -\rho \frac{\sum_{i=k-M+1}^{k} e_i^T e_i}{M}
\tag{4}
\]

where \(e_i\) is the estimation error at time \(i\), and \(M\) is the window size.

The specific process of the VFFRLS algorithm is as follows:

  1. Initialization: \(\hat{\theta}_k\), \(\varphi_k\), \(P_k\), \(\lambda_{\min}\), \(\rho\), \(M\).
  2. Compute the estimation error and the forgetting factor:
    \[
    e_k = y_k – \varphi_k^T \hat{\theta}_{k-1}
    \tag{5}
    \]
    \[
    L_k = -\rho \frac{\sum_{i=k-M+1}^{k} e_i^T e_i}{M}
    \tag{6}
    \]
    \[
    \lambda_k = \lambda_{\min} + (1 – \lambda_{\min}) \cdot 2^{L_k}
    \tag{7}
    \]
  3. Update the least squares estimate at time \(k\):
    \[
    \hat{\theta}_k = \hat{\theta}_{k-1} + K_k e_{k-1}
    \tag{8}
    \]
  4. Compute the gain matrix:
    \[
    K_k = \frac{P_{k-1} \varphi_k}{\lambda_k + \varphi_k^T P_{k-1} \varphi_k}
    \tag{9}
    \]
  5. Update the covariance matrix:
    \[
    P_k = \frac{P_{k-1} – K_k \varphi_k^T P_{k-1}}{\lambda_k}
    \tag{10}
    \]
  6. Repeat steps (2) to (5).

Here, \(\hat{\theta}(k)\) is the parameter estimation vector, \(\varphi(k)\) is the system observation data vector, \(P(k)\) is the covariance matrix, \(y(k)\) is the actual system output, and \(K(k)\) is the estimated gain matrix. In this study, the initial value of \(\lambda_{\min}\) is set to 0.99.

3.2 Transformation of the Battery Model for VFFRLS

When using the VFFRLS algorithm for parameter identification, the second-order RC equivalent circuit model must be transformed into the basic structural form of the least squares method. The following is the derivation process of the relationship between battery voltage, current, and model parameters in the z-domain, along with the discrete mathematical formulas.

Taking the Laplace transform of the equivalent circuit model equations and solving for the transfer function yields:

\[
U_{OCV}(s) – U_o(s) = I(s) \left( R_0 + \frac{R_1}{1+R_1 C_1 s} + \frac{R_2}{1+R_2 C_2 s} \right)
\tag{11}
\]

\[
G(s) = \frac{R_0 \tau_1 \tau_2 s^2 + (R_0 \tau_1 + R_0 \tau_2 + R_1 \tau_2 + R_2 \tau_1) s + R_0 + R_1 + R_2}{1 + (\tau_1 + \tau_2) s + \tau_1 \tau_2 s^2}
\tag{12}
\]

Using the bilinear transformation formula to discretize the system function \(G(s)\), the bilinear transformation is:

\[
s = \frac{2}{T} \cdot \frac{1 – z^{-1}}{1 + z^{-1}}
\tag{13}
\]

Substituting the bilinear transformation into the transfer function and converting it into a difference equation gives:

\[
G(z^{-1}) = \frac{a_3 + a_4 z^{-1} + a_5 z^{-2}}{1 – a_1 z^{-1} – a_2 z^{-2}}
\tag{14}
\]

\[
y(k) = a_1 y(k-1) + a_2 y(k-2) + a_3 I(k) + a_4 I(k-1) + a_5 I(k-2)
\tag{15}
\]

According to equations (14) and (15), the parameters of the second-order RC model can be obtained as follows:

\[
\begin{cases}
\tau_1 + \tau_2 = \frac{T(1+a_2)}{1-a_1-a_2} \\
\tau_1 \tau_2 = \frac{T^2}{4} \cdot \frac{1+a_1-a_2}{1-a_1-a_2} \\
R_0 + R_1 + R_2 = \frac{a_3+a_4+a_5}{1-a_1-a_2} \\
R_0 \tau_1 + R_0 \tau_2 + R_1 \tau_2 + R_2 \tau_1 = \frac{T(a_3-a_5)}{1-a_1-a_2} \\
R_0 \tau_1 \tau_2 = \frac{T^2}{4} \cdot \frac{a_3-a_4+a_5}{1-a_1-a_2}
\end{cases}
\tag{16}
\]

By solving the above equations, the ohmic internal resistance \(R_0\), polarization resistances \(R_1, R_2\), and polarization capacitances \(C_1, C_2\) can be computed at each time step.

3.3 Experimental Dynamic Operating Condition

Considering the actual power consumption of photovoltaic agricultural greenhouse equipment, the fluctuation of photovoltaic module output power, and the randomness of current magnitude during charging and discharging, I designed a dynamic charging/discharging condition based on the DST (Dynamic Stress Test) condition. This condition includes different charge/discharge rates and charge/discharge times. The current profile of the dynamic condition is shown in the form of a current-time sequence. To verify the reliability of the second-order RC equivalent circuit model, I substituted the identified model parameters into the terminal voltage solution formula and compared the model terminal voltage with the real voltage. The maximum error was 25 mV, and the average absolute error was controlled within 7.8 mV. Overall, the VFFRLS algorithm performs well in identifying battery model parameters, confirming that the variable forgetting factor can solve the shortcomings of the traditional fixed forgetting factor and improve algorithm accuracy.

The variation of the variable forgetting factor \(\lambda_k\) during the identification process is shown in the curve. The maximum value of 1 in the parameter identification algorithm is replaced by an appropriate value, so that the forgetting factor changes in the range of 0.991 to 0.998, thereby improving algorithm precision.

4. SOC Estimation Based on VFFRLS-AEKF

4.1 Adaptive Extended Kalman Filter Algorithm

Since the process noise and observation noise covariance in the EKF are fixed values set artificially during the SOC estimation process, their accuracy is limited. To solve this problem, I introduce innovations to form an adaptive extended Kalman filter (AEKF), which updates the process noise and observation noise covariance in real time, thereby improving SOC estimation accuracy. The innovation is defined as the difference between the measured voltage and the estimated voltage:

\[
E_k = y_k – h(\hat{x}_k, u_k)
\tag{17}
\]

AEKF uses the covariance matching method to update the process noise and observation noise. By using a moving window, it assigns larger weights to recent data and smaller weights to older data, thereby obtaining an innovation covariance matrix \(H_k\):

\[
H_k = \frac{1}{M-1} \sum_{i=k-M+1}^{k} E_i E_i^T
\tag{18}
\]

where \(M\) is the window size in the windowing estimation principle, and I set \(M = 50\). According to the innovation covariance matrix \(H_k\), the adaptive estimation of the process noise covariance \(Q_k\) and the observation noise covariance \(R_k\) can be obtained as:

\[
Q_k = K_k H_k K_k^T
\tag{19}
\]

\[
R_k = H_k – C_k P_k^- C_k^T
\tag{20}
\]

The complete AEKF algorithm for SOC estimation is as follows:

  1. Set the initial values of \(x_0\), \(P_0\), \(Q_0\), and \(R_0\):
    \[
    \hat{x}_0 = E[x_0], \quad P_0 = E[(x_0 – \hat{x}_0)(x_0 – \hat{x}_0)^T], \quad Q_0 = Q_0, \quad R_0 = R_0
    \tag{21}
    \]
  2. Predict the state variable and error covariance matrix:
    \[
    \hat{x}_k^- = A_{k-1} \hat{x}_{k-1} + B_{k-1} u_{k-1}
    \tag{22}
    \]
    \[
    P_k^- = A_{k-1} P_{k-1} A_{k-1}^T + Q_{k-1}
    \tag{23}
    \]
  3. Compute the Kalman gain matrix:
    \[
    K_k = P_k^- C_{k-1}^T (C_{k-1} P_k^- C_{k-1}^T + R_{k-1})^{-1}
    \tag{24}
    \]
  4. Compute the innovation matrix and introduce the innovation estimation function:
    \[
    E_k = y_{k-1} – (C_{k-1} \hat{x}_k^- + D_{k-1} u_{k-1})
    \tag{25}
    \]
    \[
    H_k = \frac{1}{M-1} \sum_{i=k-M+1}^{k} E_i E_i^T
    \tag{26}
    \]
  5. Update the process and observation noise covariance matrices:
    \[
    Q_k = K_k H_k K_k^T
    \tag{27}
    \]
    \[
    R_k = H_k – C_k P_k^- C_k^T
    \tag{28}
    \]
  6. Update the state variable and error covariance matrix:
    \[
    \hat{x}_k = \hat{x}_k^- + K_k E_k
    \tag{29}
    \]
    \[
    P_k = (1 – K_k C_k) P_k^-
    \tag{30}
    \]
  7. Repeat steps (2) to (6) for recursive filtering calculation.

4.2 Joint SOC Estimation Using VFFRLS-AEKF

When using VFFRLS and AEKF jointly to estimate SOC, I first calibrate the SOC-OCV relationship curve using the voltage data obtained from the constant current intermittent discharge test. Then, the battery voltage and current data measured under dynamic operating conditions are substituted into the VFFRLS algorithm for online identification of the parameters of the second-order RC model. The identified parameters are then substituted into the AEKF algorithm for optimal SOC estimation.

To verify the estimation capability and reliability of the VFFRLS-AEKF joint algorithm, I separately used the traditional EKF algorithm, the AEKF algorithm, and the VFFRLS-AEKF algorithm to estimate SOC, and compared them with the true value for error analysis. Since the SOC value cannot be directly measured, the true SOC value is calculated using the ampere-hour integration method by sampling the current. The initial process noise covariance matrix is set to \(Q = \text{diag}(1\times10^{-10}, 1\times10^{-10}, 1\times10^{-10})\) and the initial measurement noise covariance matrix is set to \(R = 0.01\). The root mean square error (RMSE) is used as an evaluation index for estimation capability.

Table 3 shows the comparison of SOC estimation errors under dynamic operating conditions for the three algorithms.

Table 3 SOC estimation performance comparison under dynamic conditions
Algorithm RMSE (%) Maximum absolute error (%)
EKF 2.78 4.32
AEKF 1.84 2.96
VFFRLS-AEKF 1.18 1.87

Figure 1 displays the SOC estimation results under dynamic operating conditions, and Figure 2 displays the corresponding estimation errors. In practical operation, the exact initial SOC value is often unknown. Therefore, I analyzed the convergence of different initial SOC values by setting the initial SOC to 0.35. All three algorithms converge accurately to the true value. However, the RMSE values for EKF, AEKF, and VFFRLS-AEKF are 2.78%, 1.84%, and 1.18%, respectively. It is obvious that the VFFRLS-AEKF algorithm has better stability, smaller error, and higher estimation accuracy.

5. Discussion on the Robustness of the Proposed Method

To further verify the robustness of the VFFRLS-AEKF method, I conducted additional experiments under various initial SOC errors and different noise levels. Table 4 summarizes the RMSE results under different initial SOC values for the proposed method.

Table 4 RMSE of VFFRLS-AEKF under different initial SOC values
Initial SOC RMSE (%) Convergence time (s)
1.00 1.21 12
0.80 1.15 10
0.60 1.18 11
0.35 1.18 12
0.20 1.16 13

The results in Table 4 indicate that the proposed method is insensitive to the initial SOC deviation and converges quickly to the true SOC value within about 10–13 seconds. This is particularly important for photovoltaic agricultural applications where the initial SOC is often uncertain due to irregular charging and discharging.

Additionally, I evaluated the effect of measurement noise on the SOC estimation accuracy. Table 5 lists the RMSE values when the measurement noise standard deviation is increased from 0.01 to 0.05.

Table 5 RMSE of VFFRLS-AEKF under different measurement noise levels
Measurement noise std. EKF RMSE (%) AEKF RMSE (%) VFFRLS-AEKF RMSE (%)
0.005 2.21 1.45 0.92
0.010 2.78 1.84 1.18
0.020 3.64 2.37 1.55
0.050 5.82 3.66 2.41

From Table 5, it can be seen that the proposed VFFRLS-AEKF algorithm maintains the smallest RMSE under all noise levels, demonstrating superior noise robustness. This is because the AEKF updates the noise covariance in real time based on the innovation, which prevents the filter from diverging when the noise statistics change. The variable forgetting factor in VFFRLS also helps to track fast parameter changes caused by varying operating conditions.

6. Implementation Considerations in Photovoltaic Agricultural Systems

In a photovoltaic agricultural system, the energy storage battery is subject to frequent and irregular charge/discharge cycles due to the intermittent nature of solar irradiance. The proposed VFFRLS-AEKF method is computationally efficient and suitable for real-time embedded implementation. The algorithm only requires simple recursive operations and matrix calculations of small dimensions (typically 3×3 for a second-order RC model with SOC as a state). Therefore, it can be easily executed on a microcontroller or a digital signal processor used in battery management systems for agricultural microgrids.

The parameter identification process using VFFRLS provides accurate model parameters, which are essential for the AEKF to achieve high SOC estimation accuracy. The adaptive adjustment of the forgetting factor ensures that the identification algorithm can track sudden changes in the battery’s internal resistance and capacitance, which may occur due to temperature variations or aging. This is particularly relevant in outdoor agricultural environments where temperature and humidity fluctuate widely.

Another important aspect is the balancing of the battery cells in the energy storage system. Since the SOC estimation is performed on each cell or on a representative cell, the proposed method can be extended to estimate the SOC of each cell in the string. The estimated SOC values can then be used for cell balancing, which helps to prolong the overall battery pack life and maintain system efficiency.

7. Comparison with Existing Methods

To position the proposed method within the existing literature, I have compiled a comparative summary of several recent SOC estimation methods for lithium-ion batteries in Table 6.

Table 6 Comparison of different SOC estimation methods
Method Model Parameter identification Maximum error (%)
EKF + OCV curve First-order RC Offline ≈3
Improved multi-innovation EKF Second-order RC Fixed forgetting factor RLS 0.948
Dynamic forgetting factor RLS + EKF Second-order RC Dynamic forgetting factor RLS ≈2
Adaptive RLS + UKF Second-order RC Adaptive RLS 2.5
ARWEKF Second-order RC Weighted adaptive RLS 1.36
FF-MILS + EKF Second-order RC Forgetting factor multi-innovation ≈1.5
VFFRLS + AEKF (proposed) Second-order RC Variable forgetting factor RLS 1.18 (RMSE)

The proposed VFFRLS-AEKF method compares favorably with other state-of-the-art methods, especially in terms of RMSE, which is a comprehensive metric of overall estimation accuracy. The maximum absolute error is also kept below 1.9%, which is acceptable for practical applications in photovoltaic agricultural microgrids.

8. Conclusion

In photovoltaic agricultural systems, the energy storage battery is responsible for improving power supply quality and ensuring the safe and stable operation of the entire system. Accurately estimating the SOC of the energy storage battery is a prerequisite for reliable power dispatch and is of great significance for extending battery life and improving battery safety. To this end, I proposed a VFFRLS-AEKF joint estimation method for SOC. Through lithium battery modeling, algorithm analysis, and experimental verification, the following conclusions can be drawn:

(1) Based on the second-order RC equivalent circuit model and the OCV-SOC function mapping relationship, the VFFRLS algorithm is used to identify battery parameters online, providing accurate real-time data for SOC estimation. The variable forgetting factor effectively solves the problem of the fixed forgetting factor in the traditional FFRLS, improving the accuracy and adaptability of parameter identification.

(2) When the initial SOC value has a deviation, the VFFRLS-AEKF joint algorithm can quickly converge to the true SOC value, showing high convergence and robustness. The convergence time is within about 10–13 seconds for initial SOC errors ranging from 0.2 to 1.0.

(3) Compared with the FFRLS-EKF algorithm, the VFFRLS-AEKF joint algorithm reduces the SOC estimation error to within 1.2% (RMSE), which is a significant improvement. The adaptive update of the process noise and observation noise covariance enables the filter to maintain high accuracy even under varying noise conditions, as demonstrated by the robustness tests.

In summary, the proposed VFFRLS-AEKF method provides a promising solution for accurate SOC estimation of energy storage batteries in photovoltaic agricultural systems. The method is not only accurate and robust but also computationally efficient, making it suitable for practical real-time implementation in battery management systems. Future work will focus on extending this method to consider temperature effects and battery aging, as well as integrating it with intelligent energy management strategies for photovoltaic agricultural microgrids.

Through this research, I hope to contribute to the development of reliable and efficient energy storage battery management technologies for photovoltaic agriculture, ultimately promoting the sustainable growth of smart agriculture.

Scroll to Top