Method for controlling the regeneration of a particulate filter, in which the mean oxygen content is varied by alternating oxygen-rich phases with oxygen-lean phases throughout the duration of a regeneration cycle of the particulate filter, in which: - a mass of the soot particles in the particulate filter is compared with a second threshold value and a first phase of the regeneration cycle is initiated when the mass of soot particles in the particulate filter is above a second threshold value, and as regeneration is initiated a first temperature setpoint (T_cons1) is imposed upstream of the particulate filter, - when a temperature (T av_FAP) measured upstream of the particulate filter is above or equal to a first temperature setpoint (T_cons1), a second phase of the regeneration of the particulate filter is initiated, during which second phase the mass of the soot particles in the particulate filter is compared against a third threshold value and so long as the mass of the soot particles in the particulate filter is above said third threshold value and at the same time the temperature (T av_FAP) measured upstream of the particulate filter is above or equal to the first temperature setpoint (T_cons1), a second temperature setpoint (T_cons2) is imposed upstream of the particulate filter, and a reduced second oxygen content setpoint (Ox_cons2) is imposed, by reducing the alternation of oxygen-rich phases and oxygen-lean phases in order to obtain an actual oxygen content equal to the second oxygen content setpoint (Ox_cons2), during said second regeneration phase, when the mass of soot is below or equal to said third threshold value, a third temperature setpoint (T_cons3) is imposed upstream of the particulate filter and a third oxygen content setpoint (Ox_cons3), higher than the second oxygen content setpoint (Ox_cons2) is calculated by increasing the alternation of oxygen-rich phases with oxygen-lean phases, characterized in that the oxygen content (Ox) is increased linearly as far as the third oxygen content setpoint (Ox_cons3) as a function of the reduction in the mass of soot particles remaining in the particulate filter. - a mass of the soot particles in the particulate filter is compared with a second threshold value and a first phase of the regeneration cycle is initiated when the mass of soot particles in the particulate filter is above a second threshold value, and as regeneration is initiated a first temperature setpoint (T_cons1) is imposed upstream of the particulate filter, - when a temperature (T av_FAP) measured upstream of the particulate filter is above or equal to a first temperature setpoint (T_cons1), a second phase of the regeneration of the particulate filter is initiated, during which second phase the mass of the soot particles in the particulate filter is compared against a third threshold value and so long as the mass of the soot particles in the particulate filter is above said third threshold value and at the same time the temperature (T av_FAP) measured upstream of the particulate filter is above or equal to the first temperature setpoint (T_cons1), a second temperature setpoint (T_cons2) is imposed upstream of the particulate filter, and a reduced second oxygen content setpoint (Ox_cons2) is imposed, by reducing the alternation of oxygen-rich phases and oxygen-lean phases in order to obtain an actual oxygen content equal to the second oxygen content setpoint (Ox_cons2),