PHYSIOLOGICAL MEASUREMENT DEVICE, SYSTEM AND METHOD
20250049371 ยท 2025-02-13
Inventors
Cpc classification
A61B5/7217
HUMAN NECESSITIES
A61B5/725
HUMAN NECESSITIES
International classification
Abstract
The present invention relates to a physiological measurement device, system and method. The device (11) comprises multiple input channels (15) configured to obtain multiple measurement signals (s.sub.i) acquired from a subject; a recording unit (10) configured to filter the multiple measurement signals (s.sub.i) by use of a digital filter and calculate multiple vector signals (y.sub.j) from the multiple filtered measurement signals; a stimulation unit (20) configured to generate one or more stimulation signals (w.sub.k) for electrically stimulating tissue of the subject; multiple output channels (22, 32) configured to output the multiple vector signals (y.sub.i) and the one or more stimulation signals (w.sub.k); and a processing unit (27) configured to determine adjusted filter coefficients of the digital filter during or after the generation and output of the one or more stimulation signals (w.sub.k) based on the current filter coefficients, the one or more stimulation signals (w.sub.k) and the multiple measurement signal (s.sub.i) acquired while the one or more stimulation processing stimulation signals (w.sub.k) are outputted for stimulation.
Claims
1. Physiological measurement device comprising: multiple input channels configured to obtain multiple measurement signals (s.sub.i) acquired from a subject; a recording unit configured to filter the multiple measurement signals (s.sub.i) by use of a digital filter and calculate multiple vector signals (y.sub.i) from the multiple filtered measurement signals, wherein a vector signal represents a differential signal and is calculated by forming a linear combination of at least two filtered measurement signals; a stimulation unit configured to generate one or more stimulation signals (w.sub.k) for electrically stimulating tissue of the subject; multiple output channels configured to output the multiple vector signals (y.sub.i) and the one or more stimulation signals (w.sub.k); and a processing unit configured to determine adjusted filter coefficients of the digital filter during or after the generation and output of the one or more stimulation signals (w.sub.k) based on the current filter coefficients, the one or more stimulation signals (w.sub.k) and the multiple measurement signal (s.sub.i) acquired while the one or more stimulation signals (w.sub.k) are outputted for stimulation, wherein the digital filter is configured to filter the multiple measurement signals, after the adjusted filter coefficients have been determined, by use of the adjusted filter coefficients.
2. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to compute the adjusted filter coefficients on a sample-by-sample basis, in particular using a least-mean-squares or recursive-least-squares algorithm, or block-wise, in particular using an optimization algorithm.
3. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to compute the adjusted filter coefficients by minimizing a cost function to reflect the magnitude of common-mode interference.
4. Physiological measurement device as claimed in claim 1 wherein the recording unit comprises an analog filter for analog filtering of the multiple measurement signals (s.sub.i), an analog-to-digital converter for converting the filtered measurement signals into digital signals, in particular in single-ended mode, and a digital filter for digital filtering of the digital signal to generate the multiple vector signals (y.sub.i).
5. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to determine adjusted filter coefficients after each stimulation event or after a predetermined or arbitrary number of stimulation events.
6. Physiological measurement device as claimed in claim 1, further comprising a memory device configured to store multiple different sets of filter coefficients (x.sub.i) related to one input channel and wherein the processing unit is configured to select one of the different sets of filter coefficients (x.sub.i) for determining the adjusted filter coefficients.
7. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to calculate multiple vector signals (y.sub.i), one of said multiple vector signals being calculated from multiple filtered measurement signals based on a definition vector (v.sub.i), wherein the memory device is configured to store different sets of filter coefficients (x.sub.i) related to one input channel, and wherein the processing unit is configured to select one of the different sets of filter coefficients (x.sub.i) for calculating a specific vector signal (y.sub.i).
8. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to generate samples (c.sub.i) of one or more stimulation signals applied to the multiple input channels; input at least one definition vector (v.sub.i) describing a linear combination of samples (c.sub.i) of at least two input channels; optimize a metric calculated from at least one vector signal (y.sub.j), the vector signal being based on the samples (c.sub.i) of the one or more stimulation signals and the definition vector (v.sub.i); and obtain, based on the optimizing, at least one set of filter coefficients (x.sub.i) for at least one digital filter associated with a specific input channel.
9. Physiological measurement device as claimed in claim 8, wherein the processing unit is configured to input multiple definition vectors (v.sub.i) and to obtain at least one set of filter coefficients (x.sub.i) for a specific input vector (v.sub.i).
10. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to optimize the metric by multiple optimizing steps, wherein a set of filter coefficient obtained by one optimizing step being kept as constant for a subsequent optimizing step and/or by use of at least one linear equality constraint with respect to a filter coefficient (x.sub.i) and/or by use of at least one nonlinear inequality constraint for limiting a gain of a certain digital filter at a given frequency.
11. Physiological measurement device as claimed in claim 1, wherein the processing unit is configured to sample the one or more stimulation signals at a sampling rate (f.sub.samp) that is increased compared to an operating sampling rate applied to perform physiological measurements by the physiological measurement device and/or with a resolution (res) that differs from a measurement resolution of samples received to perform the physiological measurements.
12. Physiological measurement device as claimed in claim 8, wherein the processing unit is configured to optimize the metric by minimizing a penalty function of output samples (y.sub.i), the output samples corresponding to at least one vector signal (y.sub.i) calculated from the stimulation signal filtered according to the filter coefficients (x.sub.i) and from the definition vector (v.sub.i), in particular by minimizing multiple different penalty functions of the output samples (y.sub.i) simultaneously or minimizing a scalar target function of different penalty functions.
13. Physiological measurement system comprising: multiple measurement electrodes configured to acquire multiple measurement signals (s.sub.i) from a subject; a physiological measurement device as defined in any one of the preceding claims; multiple stimulation electrodes configured to apply one or more stimulation signals (w.sub.k) generated by the physiological measurement device its to the subject for electrically stimulating tissue of the subject; and an output configured to output multiple vector signals (y.sub.i) calculated by the physiological measurement device.
14. Physiological measurement method comprising: obtaining multiple measurement signals acquired from a subject; filtering the multiple measurement signals by use of a digital filter and calculate multiple vector signals from the multiple filtered measurement signals, wherein a vector signal represents a differential signal and is calculated by forming a linear combination of at least two filtered measurement signals; generating one or more stimulation signals for electrically stimulating tissue of the subject; outputting the multiple vector signals and the one or more stimulation signals; determining adjusted filter coefficients of the digital filter during or after the generation and output of the one or more stimulation signals based on the current filter coefficients, the one or more stimulation signals and the multiple measurement signal acquired while the one or more stimulation signals are outputted for stimulation; and filtering the multiple measurement signals, after the adjusted filter coefficients have been determined, by use of the adjusted filter coefficients.
15. Computer program comprising program code means for causing a computer to carry out the steps of the method as claimed in claim 14 when said computer program is carried out on the computer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0049] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiment(s) described hereinafter. In the following drawings
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
DETAILED DESCRIPTION OF EMBODIMENTS
[0058] Closed-loop neuromodulation is an emerging technology that has been proposed for the therapy and management of neurological conditions like Parkinson's disease, epilepsy and spinal cord injuries. The technology is based on devices (also called stimulator/recorder) that can provide stimulation signals to nerve tissue, and simultaneously record the electrical activity of the tissue in order to initiate, modify and monitor the therapeutic stimulation and its effects. Another application that requires both electrophysiological recording capability and stimulation capability is bi-directional brain-machine-interfaces. Measured electrophysiological signals are used to convey information from the brain to the machine, and targeted electrical stimulation is used to transmit information from the machine to the brain.
[0059] Electrophysiological recorders record small electric potential differences occurring between locations on or inside a patient's body due to physiological activity of electrically excitable cells like nerve cells and muscle cells. The potential differences are small (microvolt to millivolt range) and usually superimposed on a comparatively large common-mode signal component (millivolts to volts). The common-mode signal occurs due to external sources, most commonly in the form of power line interference, and it needs to be suppressed in order to avoid artefacts in the physiological recording. The differential mode measurement would in theory provide good suppression of the common-mode signal components. However, due to input channel mismatch, common-mode to differential-mode conversion occurs in real devices. For this reason, real devices employ additional measures to suppress common-mode interference, such as driven reference electrode feedback loops (right leg drive in electrocardiography).
[0060] The present invention presents a device, system and method for electrophysiological stimulation and measurement of (electro)physiological measurement signal. The invention uses the common-mode artefact generated by the stimulation as a calibration signal to update digital filter coefficients of the recorder component. The adjustment improves the common-mode rejection of the recorder component. This improves the rejection of both the artefact generated by the stimulation as well as of interference from external sources.
[0061]
[0062] The physiological measurement device 11 may be an electrophysiological measurement device such as an ECG or an EEG. Various configurations, in particular regarding the number N of channels and the number M of output signals are possible.
[0063] A comparatively simple example is an ECG or EEG device having a single output signal (single vector) and two electrodes connected to two inputs (two channels). The only definition vector needed for such a measurement device 11 may be v.sub.1=[1,1].
[0064] According to another example of a physiological measurement system 110 shown in
[0065] The output vector signals y.sub.1, . . . , y.sub.12 may be defined according to twelve leads visualized by means of the output device 103 to medical personnel. The leads and respective vector signals include lead I (LARA), lead II (LLRA), lead III (LLLA), aVR (RA0.5*(LA+LL)), aVL (LA0.5*(RA+LL)), aVF (LL(RA+LA)), and (VnWCT); n=1, . . . , 6. WCT corresponds to the Wilson's central terminal voltage which is approximated as (RA+LA+LL)/3.
[0066] Two exemplary stimulation electrodes S1, S2 are provided, in this example attached to the subject's body, in other embodiments implanted into the subject's body. Separate electrodes for recording of measurement signals and injecting the stimulation signal(s) are preferably used, which simplifies the circuitry and excludes the presence of dual-purpose electrodes that require special consideration when updating the filter coefficients.
[0067] Stimulation electrodes are e.g. used in neuromodulation, which allows the possibility to treat different pathologies. The term neuromodulation is essentially electrical stimulation of the nervous system in order to modulate or modify a specific function (as in movement disorders, pain, epilepsy), and can be delivered in different ways: through stimulation over skin surface, peripheral nerve stimulation, cortical stimulation, or deep brain stimulation. A pulse generator (as part of the physiological measurement device 11 or as external part) is generally used to generate and modify different stimulation settings.
[0068] The present disclosure is not limited to the depicted and explained physiological measurement devices. For example a 15-lead or an 18-lead ECG can be provided based on the present disclosure as well. It is also possible to provide a high-density EEG based on the present disclosure having 32 or more channels. Further, different types, numbers and arrangements of stimulation electrodes, depending on the desired application, can be used.
[0069]
[0070] A recording unit 10 filters the multiple measurement signals s.sub.i by use of a digital filter and calculates multiple vector signals y (also called difference signals) from the multiple filtered measurement signals. The recording unit 10 is preferably configured to pick up electrophysiological signals from a human or animal and to sample the signals in single-ended mode against a common, stable reference This allows individual input channel-specific digital filters to be applied to the recorded signals before differences/vectors/leads are calculated.
[0071] A stimulation unit 20 generates one or more stimulation signals w.sub.k for electrically stimulating tissue of the subject. The stimulation unit is preferably configured to deliver stimulation signals to electrically excitable tissue (nerve or muscle tissue) of a human or animal.
[0072] Multiple output channels 22, 32 are provided to output the multiple vector signals y.sub.i (to the output 103, e.g. a display) and the one or more stimulation signals w.sub.k (to the stimulation electrodes 102; preferably wired, e.g. via one or more signal cables).
[0073] A processing unit 27 determines adjusted filter coefficients x.sub.i of the digital filter during or after the generation and output of the one or more stimulation signals w.sub.1 based on the current filter coefficients x.sub.i, the one or more stimulation signals w.sub.k and the multiple measurement signal s.sub.i acquired while the one or more stimulation signals w.sub.k are outputted for stimulation. The processing unit 27 may be implemented by a computer or processor, in hard- and/or software, e.g. as one or more programmed microprocessor(s). The processing unit 27 is further preferably configured to control the recording unit 10 and the stimulation unit 20 and their functionalities.
[0074] The processing unit may thus update the coefficients of individual channel-specific digital filters during or after the stimulation unit produces a stimulation signal. This minimizes the appearance of the common-mode stimulation artefact in the difference (vector) signals. Different algorithms may be used for updating the filter coefficients, for example online sample-by-sample optimization (least-mean-squares (LMS) or recursive-least-squares (RLS)), or block-wise optimization.
[0075] The present invention is based on the insight that devices with integrated stimulation functionality may generate substantial common-mode signals when generating stimulation signals. Devices with the purpose of providing stimulation signals are subject to less restrictive limits, meaning that the stimulation signals can be large enough to be used for input channel calibration/mismatch compensation. The present invention thus leverages signals generated for the primary purpose of stimulating tissue for the secondary purpose of updating the channel-specific digital filter coefficients.
[0076]
[0077] In the shown embodiment, the multichannel analog to digital converter 21 comprises multiple analog to digital converters (ADC 23) where each of these ADCs is associated with a specific channel. In another embodiment, a single ADC 23 may be associated with multiple channels and the multichannel analog to digital converter 21 may comprise a multiplexer to selectively connect one channel to the respective ADC. When using a multiplexer, one ADC 33 may be used to convert the input signal of every channel one after the other. Using the multiplexer, several input channels can be sampled sequentially with one ADC. In a possible implementation, e.g. an ECG device, two ADCs may be present operable to sample e.g. five ECG input channels sequentially per ADC for a total of ten input channels.
[0078] A digital interface of the multichannel analog to digital converter 21 is connected to a processing unit 25 of the measurement device 11 so that the samples c.sub.i of the individual input signals s.sub.i are forwarded to the processing unit 25.
[0079] The processing unit 25 may comprise a first processor 27 and a first memory device 29 that constitute a computing device operable to perform various processing steps needed to perform measurements by the physiological measurement device 11. The processing unit 25 comprises multiple digital input filters 31. The number of input filters may correspond to the number N of channels and one digital input filter 31 may be assigned to one specific channel. The individual input filter 31 may be implemented as Finite Impulse Response (FIR) filters having filter coefficients represented by column vectors x.sub.i with i=1, . . . ,N. A length K of the individual vectors x.sub.i corresponds to the number of filter coefficients of each digital filter 31. The digital filters 31 are also referred to as Input Channel Specific digital Filters (ICSFs) because they are applied to the samples c.sub.i of the input signals s.sub.i before differential output signals are derived from these samples.
[0080] The present disclosure is not limited to a specific filter topology. Instead of FIR filters other filters like Infinite Impulse Response (IIR) filters may be applied. The filters 31 may be implemented in software, i.e. a computer program stored in the memory device 29 may be programmed so that the first processor 27 executes a filter algorithm based on the filter coefficients x.sub.i.
[0081] The filter coefficients x.sub.i may be stored in a programmable and non-volatile section of the first memory device 29. The processing unit 25 may be accessible by the processing unit 27 (which may be implemented separately from the processing unit 25 or as a common processing unit) so that the processing unit 27 can read the samples x.sub.i and program and adjust the filter coefficients x.sub.i.
[0082] The processing unit 25 is operable to calculate one or more output signals y (j=1, . . . M) from the samples c.sub.i of the individual input signals filtered by the individual digital input filters 31. The output signals y.sub.j, also referred to as vector signals or just to as vectors, may be calculated by forming a linear combination of filtered samples {tilde over (c)}.sub.i of multiple channels, thereby performing a differential measurement with respect to at least two input signals s.sub.i. This linear combination may be specified by a definition vector v.sub.j of a specific output signal y.sub.j, where 1.sup.T*v.sub.j=0 and 1 stands for a column vector of ones, i.e. 1.sup.T=[1, . . . , 1] and * denotes the scalar product. The output signal is y.sub.j=y.sub.j=c.sub.l*v.sub.j. The linear combination described by the definition vector specifies a differential measurement. The differential measurement may be based on two or more channels. In some applications like ECG or EEG, the vector signals are often also referred to as leads.
[0083] In physiology, voltage measurements are almost always differential. Other physical quantities like pressure or temperature are usually measured as absolute values (e.g. a temperature of 37 C. or an intra-arterial pressure of 100 mmHg), but in some cases, differential measurements can be of interest (cardiac output can be measured by thermodilution, which requires measuring the temperature difference at two points in a blood vessel). The here described technology can thus be applied to differential measurements that are not voltage measurements, too.
[0084] For the sake of simplicity,
[0085]
[0086] However, in practical implementation of the measurement device 11, the signal y.sub.1 includes a common mode part to some extent due to differences of electrical characteristics e.g. of components 19, 21, 23 of a signal path related to the individual channels.
[0087] In electrophysiology voltages are measured that occur between points on the surface of a patient due to activity of muscle cells or nerve cells. The signals of interest are usually in the microvolt (EEG) to millivolt (ECG) range, while the common-mode component of the signal can be tens or hundreds of millivolts. In a medical context, there are many possible sources of interference (including common mode interference) ranging from other pieces of medical equipment, electronic communication or networking devices and power line noise. In order for the output signal y.sub.j to be useful for diagnosis and therapy, electrophysiological measurement devices 11 are required to have a high common mode rejection ratio (CMRR). Although there are standardized test procedures for determining the CMRR in the range of power line frequency of 50 Hz or 60 Hz, common-mode interference should also be mitigated at other frequencies. The frequencies where common-mode interference should be mitigated may include frequencies outside the ECG/EEG bands, especially if the recording device performs some kind of out-of-band processing (for example for electrode impedance measurement or ECG pacemaker pulse detection).
[0088] As explained above, the recording unit 10 records electric potentials from several electrodes. The electrodes are in contact with the patient's tissue, usually by the means of an implanted electrode array (external electrodes, e.g. adhesive or needles, may also be used). Each electrode is connected to analog input circuitry within the device. The analog input circuitry usually contains a low-pass filter, but may also contain other filter characteristics like high-pass or band-stop filters. Due to the use of real components, the analog input circuitry is subject to component tolerances, which lead to impedance mismatch. This is one source of common-mode to differential-mode conversion. Another source of common-mode to differential-mode conversion is the impedance of the tissue-electrode interface. This impedance may also vary slowly over time if the electrode-tissue interface degrades.
[0089] After passing through the analog input circuitry, each electrode signal (also called measurement signal or input signal) is converted to digital form using an analog-to-digital converter. The conversion occurs in single-ended mode, which means that the electrode signal is reference against an internal, stabilized electric potential. After analog-to-digital conversion, each electrode signal passes through a digital filter with adjustable coefficients. After this filter, vectors (differences/leads) are formed from the individual electrode signals, and the vectors contain the information that is used to evaluate the progress of the therapy.
[0090] The stimulation unit 20 emits stimulation signals w.sub.k(k=1, . . . , K) via the output channels 22 to the stimulation electrodes, which cause activation of electrically excitable tissue (usually nerve tissue). The stimulation waveforms usually have a relatively large amplitude in order to reliably cause tissue excitation. The stimulation signal also causes a large common-mode signal at the inputs of the recording unit 10, specifically any input electrodes that are not used as outputs for the stimulation pulse.
[0091] To mitigate common-mode interference, the digital filters 31 may be designed such that a common-mode part of the respective output signals y.sub.j is minimized. To this end the processing unit 27 shown in
[0092] As the physiological measurement device 11, in particular the stimulation unit 20, controls the timing and waveform of the stimulation, single-ended electrode data when stimulation occurs can be recorded as measurement signals. Updated filter coefficients x.sub.i can then be calculated by the processing unit using the single-ended data samples, prior knowledge of expected signal and noise waveforms, and the current filter coefficients x.sub.i. This can be done in a sample-by-sample basis using algorithms like least-mean-squares (LMS) or recursive-least-squares (RLS), or block-wise using optimization algorithms.
[0093] The prior knowledge may be known properties of physiological waveforms, for example frequency domain properties or statistical properties. A frequency domain property would be knowledge that the energy of the signal of interest is mostly contained within a known frequency range. Statistical properties vary between different measurement types. ECG signals, for example, are sparse, which means that many samples of an ECG wave are equal or close to zero. The derivatives of ECG signals with respect to time are also sparse, i.e., the slope and the curvature of ECG signals are frequently close to zero. Sparsity of the derivatives implies that the signal has a structure in time. In statistical terms, sparsity implies that the probability density function is leptokurtic/supergaussian.
[0094] The probability density function of ECG signals is also usually asymmetric, which results in a skewness value that is not close to zero. Additionally, some time domain properties of ECG signals are known, for example that the absolute value of the slope is usually below 350 mV/s.
[0095] Other measurements may have different properties. Electromyographic signals, for example, are also usually sparse (recognizable segments of activity and inactivity) and hence leptokurtic. EEG signals are usually more random, i.e. they are dense instead of sparse. Measurements that can pick up single action potentials are sparse, as excitable cells have refractory periods with no activity between each action potential.
[0096] Such properties can be integrated into the cost function or constraints to find filter coefficients that result in output vector signals that coincide with the known properties. Similarly, known properties of the interfering signal (i.e. the stimulation signal) can be used to look for filter coefficients that minimize the similarity of the output vector signal with the interference. Line noise interference, for example, is usually dense (values far from zero for a large percentage of the time) and platykurtic/subgaussian.
[0097] In the embodiment shown in
[0098] The cost function that is minimized may be chosen to reflect the magnitude of the common-mode interference. In an embodiment, this could mean a simple measure like the energy contained in the vector signals. The optimization can also be subject to constraints, for example to ensure that the differential-mode gain (responsible for accurate reproduction of the signal of interest) is not reduced, or to limit the values of the calculated filter coefficients to avoid overflow. In general, the filter coefficient calculation happens while the device is in use on a patient.
[0099] In one embodiment, as shown in
[0100]
[0101] It shall be noted that the adjustment of the filter coefficients is only carried out if stimulation signals are generated and outputted. Further, the adjustment of the filter coefficients may not always be carried out when stimulation signals are generated and outputted, but may be carried out a regular or irregular intervals or randomly or only in response to a particular trigger or instruction.
[0102]
[0103]
[0104] Generally, one stimulation signal provided to all input channels. Only a single stimulation signal is applied to the patient through the stimulation output electrodes. The appearance of this signal at each of the input electrodes is slightly different due to the differences in the input transfer functions, but each input channel signal is still a rendering of the same stimulation signal. So there are at least two single-ended input channel signals.
[0105] A stimulation signal is usually much larger in amplitude than the bioelectric signals that the recording unit picks up. Depending on the application, the stimulation signal is either delivered via electrodes that are only used for this purpose, or via electrodes that are also used as recorder inputs outside the periods where stimulation occurs.
[0106] The present invention makes use of the fact that the stimulation signal often appears as a large common-mode component at the input electrodes. However, due to the analog parts of the input channels (G1, G2 in
[0107] The device according to the present invention has access to the raw samples of the ADCs, as well as the calculated difference signal y, which is the difference of the ADC signals after being processed by the equalization filters. For samples affected by the stimulation signal, the device can seek filter coefficients that minimize some measure (e.g. 12-norm, supremum norm) of the magnitude of y, under a set of constraints. The result are updated filter coefficients.
[0108] According to the present invention adjusted filter coefficients of the digital filter are determined during or after the generation and output of the one or more stimulation signals based on the current filter coefficients, the one or more stimulation signals and the multiple measurement signal acquired while the one or more stimulation signals are outputted for stimulation. In an embodiment the information is used to formulate a cost function and constraints for an optimization problem. The optimization problem can then be solved with respect to the updated coefficients. For example, the deviation of the updated coefficients from the current coefficients can be penalized in the cost function, or limited by constraints. This prevents the optimizer from creating large jumps in the coefficient values.
[0109] In another example, the cost function penalizes some measure of the amplitude of the measurement signal, for example the 12/Euclidean norm. As the measurement signal during the stimulation pulse contains significant amounts of common-mode interference, minimizing its amplitude with respect to the filter coefficients will result in updated coefficients that provide better common mode rejection also when no stimulation signal is applied.
[0110] In another example, the deviation of the updated coefficients from some initial or nominal values can be penalized or limited. This excludes solutions that are too far from those that are known to be acceptable.
[0111] In another example, the maximum of the covariance of the stimulation signal and the measurement signals can be penalized. This would be an advanced implementation compared to just penalizing the amplitude of the measurement signals during stimulation.
[0112] In another example, the start and duration of the stimulation events is known. This is used to trigger the recording of measurement data that is likely to contain a large common-mode component from the stimulation pulse.
[0113] In the following, an exemplary implementation of the optimization problem, the cost functions and constraints will be described. The following notation will be used: [0114] a, b, c: scalars [0115] b, x, y: column vectors [0116] A, B, X: matrices [0117] 0, 1: vectors of all zeros and all ones, respectively [0118] b.sup.T, x.sup.T: Transposed vectors [0119] . . . .sub.2: 12-norm, Euclidean norm [0120] . . . .sub.1: 11-norm [0121] . . . .sub.: Supremum norm, Chebyshev norm, uniform norm
[0122] A general FIR filter may be defined as follows
[0123] The difference of two filtered signals is as follows:
[0124] The last form is useful when the vectors b are unknowns or optimization variables.
[0125] The output vector y.sub.diff containing samples at several points in time can be expressed as
y.sub.diff corresponds to y.sub.1. The anti-diagonals matrices X.sub.1 and X.sub.2 contain the same value, i.e. the matrices are Hankel matrices. By reversing the order of the coefficients in the vectors b, X.sub.1 and X.sub.2 can be converted into the more familiar form of Toeplitz matrices that contain the same value on each diagonal. This does not change the equations or the solution.
[0126] The optimization problem for updating filter coefficients may be implemented as follows: Record x.sub.1 and x.sub.2 during stimulation events. Form matrix X from this data by arranging the contents of x.sub.1 and x.sub.2 in matrix. As each x can be thought as being the sum of a common-mode component (e.g. x.sub.1,cmi) and a differential-mode component (x.sub.1,dm), the matrix X can likewise be expressed as X=X.sub.dm+X.sub.cm, with X.sub.cm being significantly larger than X.sub.dm in some matrix norm sense during stimulation events.
[0127] The general optimization goal may be: minimize X.Math.b with respect to b, since during stimulation events, the differential-mode signal is small, the common-mode signal is large, and the change (gradient) of the norm with regard to b is mainly determined by the common-mode signal component. Use constraints and regularization to avoid solutions that are not useful (e.g. b=0) and to impart required properties on the filter coefficients, like minimal attenuation of the signal of interest.
[0128] An example of a cost function can be formulated as:
This uses the square of Euclidean norms as this results in an optimization problem that is easier to solve numerically and may even have a closed-form solution. Besides penalizing the magnitude of the output vector y.sub.diff, the cost function also penalizes the deviation of the vector of filter coefficients from some initial condition. This regularization serves both to improve numeric behavior if the matrix X is ill-conditioned or underdetermined, and to limit the deviation from the initial coefficient values b.sub.initial. b.sub.initial may be a set of nominal values determined at design time of the device, or correspond to the current set of filter coefficients, thus penalizing large steps away from the current coefficients. The factor is used to adjust the trade-off between minimizing common-mode to differential conversion and the solution staying close to b.sub.initial.
[0129] Constraints can be used to impart required properties on the solution. For example, equality constraints of the form
can be used to constrain the gain of the equalization filter b.sub.k to c at f=0 Hz. As the signal of interest is usually located near 0 Hz (relative to the total frequency range), one such constraint for each equalization filter ensures that the equalization filter does not significantly attenuate the signal of interest.
[0130] If the required gain at f=0 Hz is not known exactly, pairs of inequality constraints of the form
can be used to constrain the gain at f=0 Hz to lie in the closed interval [d; c]. This gives the optimization algorithm some freedom as far as the gain at 0 Hz is concerned.
[0131] The gain at frequencies f other than 0 Hz can be constrained with inequality constraints of the form
This only allows constraining the gain to be less-or-equal to some value while preserving the convexity of the optimization problem. Equal- or greater-or-equal constraints will result in a nonconvex optimization problem.
[0132] Bounds constraints on the filter coefficients of the form b.sub.i<=c and b.sub.i>=d (usually with d=c and c positive) can be used to constrain the value of the coefficients to the range of the data type used for storing them, or to a lower absolute value to avoid numerical overflow during the calculation of the filter output value. Many commercially and freely available optimization packages accept bounds constraints as input, which may result in more effective computation compared to listing bounds constraints among the general constraint inputs. More elaborate bound constraint setups can be used to constrain the deviation of the optimization result from some nominal or initial filter coefficient vector.
[0133] The optimization problem should be formulated as a convex optimization problem if possible, which means the cost function to be minimized should be convex, the inequality constraints should be convex, and the equality constraints should be affine (linear is not entirely correct, but often used synonymously to affine colloquially).
[0134] In summary, the present invention improve the input channel symmetry of electrophysiological recorders which are part of, combined with or used together with electrophysiological stimulation devices. The stimulating action of such devices causes a substantial, undesired common-mode signal component. As the timing and the waveform of the stimulation is known, the individual input channel digital filter coefficients can be calculated, which compensate the existing input channel asymmetry. This makes the device, in particular the recorder, less sensitive to common-mode interference from any sourcenot only the interference cause by the stimulator function, but also to interference from unknown external sources. Less sensitivity to interference improves the therapeutic benefit of therapeutic devices like closed-loop neuromodulators and the reliability of non-therapeutic devices like brain-machine interfaces.
[0135] The present invention is particularly applicable in electrophysiological stimulation devices which also contain electrophysiological recording functionality, and where the effect of the stimulation causes a substantial common-mode signal at the input of the recorder component.
[0136] One group of devices is closed-loop neuromodulation devices. They provide therapeutic stimulation only when and to the degree that it is necessary and need to monitor neurological signals to determine the necessity, degree and success of the therapy. Improved artefact and interference rejection improves monitoring of therapy effects and disease progress and ultimately increases the chance of therapeutic benefits. In this context, the measurement signals acquired from the subject may be used to modify and/or monitor the effect of the stimulation. For instance, stimulation parameters amplitude, timing and/or shape of the stimulation signal(s) may be adapted or controlled based on the information gained from the measurement signals that may show the effect of the stimulation.
[0137] A second group of devices is bi-directional brain-machine interfaces. Improved artefact and interference rejection improves the accuracy and reliability of information gathered from the brain and transmitted to the machine.
[0138] While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the invention is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims.
[0139] In the claims, the word comprising does not exclude other elements or steps, and the indefinite article a or an does not exclude a plurality. A single element or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
[0140] A computer program may be stored/distributed on a suitable non-transitory medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems.
[0141] Any reference signs in the claims should not be construed as limiting the scope.