Patent attributes
A method of controlling a neural stimulus by use of feedback. The neural stimulus is applied to a neural pathway in order to give rise to an evoked action potential on the neural pathway. The stimulus is defined by at least one stimulus parameter. A neural compound action potential response evoked by the stimulus is measured. From the measured evoked response a feedback variable is derived. A feedback loop is completed by using the feedback variable to control the at least one stimulus parameter value. The feedback loop adaptively compensates for changes in a gain of the feedback loop caused by electrode movement relative to the neural pathway.