The application discloses a photovoltaic flexible power
point tracking method and
system based on data driving, and the method comprises the following steps: calculating the difference between the output power of a photovoltaic array and a given reference power, and judging whether the flexible power point has been tracked based on the difference; if the flexible power point has not been tracked, applying a disturbance
signal to the current output
voltage of the photovoltaic array, and obtaining the output power of the photovoltaic array after
voltage disturbance; estimating the gradient based on the output power of the photovoltaic array before and after disturbance; updating the output
voltage of the photovoltaic array based on the gradient, the reference power, the output voltage and the output power of the photovoltaic array before disturbance; filtering the updated output voltage to obtain the
voltage reference value of the photovoltaic array at the next moment; and repeating the above process until the flexible power point is tracked. The application is based on the data
driving mode, and does not depend on the photovoltaic array model at all, thereby solving the problem that the photovoltaic array model is difficult to accurately establish.