Nowadays, thermo electrical (TE) modules are increasingly popular because their prices go down and new potential applications have emerged. This paper presents modeling, simulation, and control of the power generation of a thermoelectric generator (TEG) using Matlab/Simulink. To get the aim of maximizing the power from the TEG, an MPPT controller based on sliding mode control (SMC) was implemented on a boost DC/DC converter, to ensure that the TEG operates at its peak power whatever the conditions of entry. To examine the modeling and the truthful function of the MPPT method, an HZ-20 module feeding a resistor through a chopper was used. The proposed tracker offers best performances in static and dynamic regimes comparing to Perturb and Observe (P&O) technical algorithm. The results indicate that the average efficiency of the proposed method is found equal to 98.58% greater than the efficiency attained by P&O which is equal to 96.02%.