An electrical stimulation system including: a mechanism generating at least one electrical signal to be applied to a biological tissue that is to stimulated and measuring a response of the biological tissue to each electrical signal; a calculation mechanism estimating, based on each electrical signal and on a corresponding response of the biological tissue, at least one parameter of an electrical model of the biological tissue and its interface with the electrical stimulation system and determining, using the model, at least one parameter of a stimulation pulse to be applied to the biological tissue by the electrical stimulation system; and a mechanism generating a stimulation pulse to be applied to the biological tissue.