The present disclosure generally relates to the field of treatment of neurological
disease, and in particular to devices for treating neurological diseases based on adaptive stimulation and to methods for controlling such devices. In detail, the present disclosure generally relates to a device (10) for adaptive treatment of neurological diseases comprising an implantable
electrode (11) configured to sense
neural activity signals and apply electrical stimulation signals, and a
processing and stimulation unit (14) connected to the implantable
electrode (11), wherein the
processing and stimulation unit at least comprises: a stimulation module (16) configured to generate a stimulation
signal to be carried at the implantable
electrode (11), the stimulation
signal being characterized by at least one
stimulation parameter; an acquisition module (20) configured to
record neural activity signal records of
neural activity signals sensed by the implantable electrode; and a
processing module (18) configured to process the neural activity signal records recorded by the acquisition module (20) based on a
control logic (22) and to tune the at least one
stimulation parameter (A) based on at least one neural activity signal
record processed according to the
control logic (22), the
control logic being a function depending on at least one signal feature (Fi) of the neural activity signal records, being based on at least one control parameter (Cj) and being made of a plurality of function pieces, wherein each function piece of the plurality of function pieces is related to a respective range of the at least one signal feature (Fi), wherein the processing module (18) is further configured to process the neural activity signal records recorded by the acquisition module (20) based on an initializing logic (23,23') and / or to receive at least one neural activity signal
record processed according to the initialization logic (23,23') and to initialize the at least one control parameter (Cj) of the control logic (22) based on at least one neural activity signal record processed according to the initializing logic (23); and wherein the initializing logic (23,23') is configured to extract at least one signal feature (Fi) form the neural activity signal records and to determine a distribution of the least one extracted signal feature (Fi) based on the number of times that the extracted signal feature (Fi) substantially reaches a given value of a plurality of given values or is comprised in a given range of a plurality of given ranges.