<p>This article discusses the issue of improving the efficiency of photovoltaic <br /> systems based on a two-way DC-DC converter. It proposed a method for controlling <br /> a photovoltaic system using the ANFIS algorithm based on fuzzy logic and a system <br /> of neural networks. The main purpose of the study is to effectively control the <br /> battery charging process by optimizing the energy flow, increasing the stability <br /> of the system voltage, and reducing current fluctuations. The model takes into <br /> account two important factors – time and ambient temperature – since these <br /> parameters directly affect the efficiency of solar panels. The MATLAB/Simulink <br /> environment served as the simulation platform for the study. The effectiveness of <br /> the proposed control algorithm was compared with traditional methods, and its <br /> results showed a significant improvement in the dynamic stability of the system. <br /> The ANFIS algorithm automates control of the energy flow in a photovoltaic <br /> system, which helps improve the quality of the generated electricity. It is advisable <br /> to apply the results obtained in renewable energy systems, especially in the <br /> management of solar photovoltaic systems connected to low-voltage power grids. <br /> The results of the study may be an innovative approach to improving the efficiency <br /> of photovoltaic systems with a dual DC-DC converter.</p>