A method for controlling combustion of a combustion engine so as to protect it from a phenomenon of abnormal combustion generating vibrations in a cylinder, referred to as "knocking", said vibrations having a frequency comprised between 600 Hz and 1200 Hz, said method comprising: a step of calculating a charge limitation (Lim_ChE) of said combustion engine as a function of a level of fouling of a combustion chamber, and a step of applying said charge limitation (Lim_ChE) to the combustion engine, the step of calculating the charge limitation comprising: - a step of determining a current operating point of said combustion engine, - a step of qualitative calculating of fouling of the combustion chamber (Cal_EnB) of said combustion engine as a function of said operating point, - a step of calculating a quantity of oil (Cal_Qh) added in a cylinder of said combustion engine as a function of said operating point, - a step of calculating a final fouling (Cal_EnF) of said combustion chamber as a function of results provided by the preceding calculations, and - a step of calculating the charge limitation (Lim_ChE) as a function of said final fouling, the step of qualitative calculation of fouling (Cal_EnB) being characterized in that it is based on a counter, designated as base fouling counter, incrementing as a function of a first increment cartography for an indexed cold oil temperature at engine speed and at manifold pressure, of a second increment cartography relative to an indexed hot oil temperature at engine speed and at manifold pressure, and of a barycentre relative to a temperature of liquid coolant. a step of calculating a charge limitation (Lim_ChE) of said combustion engine as a function of a level of fouling of a combustion chamber, and a step of applying said charge limitation (Lim_ChE) to the combustion engine, the step of calculating the charge limitation comprising: - a step of determining a current operating point of said combustion engine, - a step of qualitative calculating of fouling of the combustion chamber (Cal_EnB) of said combustion engine as a function of said operating point, - a step of calculating a quantity of oil (Cal_Qh) added in a cylinder of said combustion engine as a function of said operating point, - a step of calculating a final fouling (Cal_EnF) of said combustion chamber as a function of results provided by the preceding calculations, and - a step of calculating the charge limitation (Lim_ChE) as a function of said final fouling, - a step of determining a current operating point of said combustion engine, - a step of qualitative calculating of fouling of the combustion chamber (Cal_EnB) of said combustion engine as a function of said operating point, - a step of calculating a quantity of oil (Cal_Qh) added in a cylinder of said combustion engine as a function of said operating point, - a step of calculating a final fouling (Cal_EnF) of said combustion chamber as a function of results provided by the preceding calculations, and - a step of calculating the charge limitation (Lim_ChE) as a function of said final fouling, the step of qualitative calculation of fouling (Cal_EnB) being characterized in that it is based on a counter, designated as base fouling counter, incrementing as a function of a first increment cartography for an indexed cold oil temperature at engine speed and at manifold pressure, of a second increment cartography relative to an indexed hot oil temperature at engine speed and at manifold pressure, and of a barycentre relative to a temperature of liquid coolant.