Dynamic programming is a very powerful algorithmic paradigm which solves a problem by identifying subproblems and tackling them one by one. First the smallest are solved, and then using their answers, it can be figured out larger ones, until the whole lot of them is solved. This paper presents a control strategy for hybrid electric vehicles, based on the dynamic programming, applied in MATLAB, Simulink environment, using ADVISOR. It was tried this method due to the calculation speed of the suitable torque and speed required from the engine, considering the driver power request (torque and speed), and the state of charge (SOC) of the batteries. Using the fuel converter (FC) fuel map, and the remaining SOC of the battery pack, it was designed an algorithm that will chose at each time the required torque and speed from the first and second source of power.