A method for controlling fuel injection into a combustion chamber of a turbomachine, the turbomachine comprising a fuel supply circuit for an injection system of the combustion chamber, said supply circuit comprising a pilot injection line and a main injection line between which fuel supply of the combustion chamber is distributed,
- controlling method wherein, a transition of the supply distribution between the pilot injection line and the main injection line from a first distribution value to a second distribution value is made over a corresponding period of time (tt), the supply distribution having the second distribution value at the end of the corresponding period of time (tt),
- the controlling method comprising, for a transition of the supply distribution from a first distribution value to a second distribution value for which fuel distribution from the pilot injection line is reduced relative to that of said same pilot injection line for the first distribution value, the following steps of:
- a) determining at least one minimum value to be maintained of a pressure quantity of the supply circuit for at least one part of the period of time,
- b) determining at least one hydraulic quantity of the supply circuit,
- c) calculating, from the determined hydraulic quantity of the supply circuit, a calculated distribution value of fuel supply corresponding to the minimum value to be maintained of the pressure quantity, the calculated distribution value being chosen from a range of values defined between the first distribution value and the second distribution value, said range of values including the first and second distribution values,
- d) switching the fuel supply distribution to the calculated distribution value,
- at least steps b) to d) being successively repeated for the whole duration of the corresponding period of time (tt).