The invention discloses a maximum power point tracking control method and a system thereof of photovoltaic electrical energy optimization. The maximum power point tracking control method comprises the following steps of: step one, sampling output voltage and output current of a photovoltaic electrical energy optimized photovoltaic module to obtain the output voltage and the output current, and calculating and obtaining voltage variable quantity and current variable quantity in a default time period; step two, calculating slope of the output power to the output voltage curve based on the output voltage, the output current, the voltage variable quantity and the current variable quantity; step three, determining whether the slope is less than or equal to a default error threshold, if so, executing step four, otherwise, executing step five; step four, determining whether the mean value of the slope in the default time period equals to zero, if so, determining that the system works at the maximum power point, and returning step one; and step five, changing the value of the photovoltaic electrical energy optimized reference voltage by determining sign symbol of the slope and returning the step one.