The study for MPPT of photovoltaic system based on terminal sliding mode control method