a maximum power point tracking method and system for use with a power generator comprises sampling instantaneous output voltage and current of the power generator at a first instant in time and at a second instant in time to obtain first and second power samples , generating a reference voltage or current signal from a difference of the first and second power samples ; comparing the reference voltage or current to the instantaneous power generator voltage or current and generating at least one gating signal ; and repeating so as to minimize the difference of the first and second power samples ; wherein the gating signal affects magnitude of the output voltage and current of the power generator ; wherein the maximum power point is tracked when the difference signal is minimized . the power generator may be at least one photovoltaic cell , wind turbine , or fuel cell .