System for electroencephalographic detection of an inadequacy between the state of a patient placed under ventilatory support and the setting of the machine used for this support, and use of this detection to adjust the setting

09808169 · 2017-11-07

Assignee

Inventors

Cpc classification

International classification

Abstract

The invention relates to a system for electroencephalographic detection of an improper adjustment of a ventilator used on a mammal. The system includes an electroencephalograph, capable of measuring, as a function of time, an electroencephalographic signal representative of a breathing process; and an input for receiving a respiratory initiation signal, different from the electroencephalographic signal, capable of indicating a respiratory initiation time. The detection system further includes means for specifying a beta frequency band comprised between 15 and 30 Hz and with a width comprising between 5 and 10 Hz; means for processing the measured electroencephalographic signal, configured for processing the measured electroencephalographic signal as it is being acquired, in the sole specified beta frequency band; and means for identifying, for each breathing cycle, an improper adjustment of the ventilator from the electroencephalographic signals processed in the sole beta frequency band.

Claims

1. A system for electroencephalographic detection of an improper adjustment of a ventilator used on a mammal, comprising: an electroencephalograph, capable of measuring, as a function of time, an electroencephalographic signal representative of a breathing process; an input receiving a respiratory initiation signal, different from the electroencephalographic signal, capable of indicating a respiratory initiation time; wherein the detection system further comprises: a beta band device specifying a sole beta frequency band comprised between 15 and 30 Hz and with a width comprised between 5 and 10 Hz; a processor configured to: process the measured electroencephalographic signal as it is being acquired, in the sole specified beta frequency band, calculate the instantaneous power of the electroencephalographic signal in the sole beta frequency band, and calculate, for each breathing cycle, from the instantaneous power, an average power of the electroencephalographic signal in the sole beta frequency band over a first interval; memory, storing the calculated instantaneous power; and an identifier identifying, for each breathing cycle, an improper adjustment of the ventilator from the electroencephalographic signals processed in the sole beta frequency band: wherein the identifier comprises a comparator comparing the instantaneous power calculated in a second interval extending in advance of the respiratory initiation time with the average power calculated over the first interval, the first interval extending in advance of the second interval, and wherein the identifier further comprises a detector, capable of detecting, for each breathing cycle, a deviation between the average power calculated in the first interval and the instantaneous power calculated in the second interval, and wherein said deviation comprises a decrease of the instantaneous power calculated in the second interval compared to the average power calculated over the first interval and is representative of an improper adjustment of the ventilator.

2. The electroencephalographic detection system according to claim 1, wherein the identifier identifying the improper adjustment is configured to identify, for each breathing cycle, a possible desynchronization of the electroencephalographic signal in the specified beta frequency band, said desynchronization preceding the respiratory initiation time.

3. The electroencephalographic detection system according to claim 1, wherein the identifier further comprises a trigger capable of triggering an indicator if a deviation is detected for a predetermined number of successive breathing cycles.

4. The electroencephalographic detection system according to claim 1, further comprising, at an input of the beta band device, a beta band determiner determining the beta frequency band, wherein said beta band determiner is also configured to establish a time-frequency map of the electroencephalographic signal measured by the electroencephalograph, wherein said time-frequency map is capable of indicating the change in the power spectral density of the electroencephalographic signal as a function of time and of the frequency of said signal, and a frequency detector detecting a frequency band in which the power spectral density of the electroencephalographic signal varies by a value greater than a predetermined threshold, this frequency band corresponding to the sole beta frequency band specified by the beta band device.

5. The electroencephalographic detection system according to claim 4, wherein the beta band device further comprising a back-averaging device back-averaging point by point the electroencephalographic signal over several identical time intervals, being each set on successive respiratory initiation times, each interval partly extending in advance of the respiratory initiation time, and in that the time-frequency map is obtained from the averaged electroencephalographic signal.

6. A ventilatory support installation, comprising: a ventilatory support machine, and a system configured for electroencephalographic detection of an improper adjustment according to claim 1.

7. The ventilatory support installation according to claim 6, further comprising a feedback control loop capable of modifying the adjustment of the ventilator according to the measurements carried out by the system for electroencephalographic detection of an improper adjustment.

8. A method for detecting, via a system for electroencephalographic detection of an improper adjustment of a ventilator, an improper adjustment of a ventilator used on a mammal, comprising the steps: receiving, from an electroencephalograph, a measurement of an electroencephalographic signal as a function of time; determining, via an input receiving a respiratory initiation signal, for each breathing cycle, a respiratory initiation time; specifying, using a beta band device, a beta frequency band comprised between 15 and 30 Hz and with a width comprised between 5 and 10 Hz; processing, with a processor, the measured electroencephalographic signal, as it is being acquired, in the sole beta frequency band; calculating, via the processor, the instantaneous power of the electroencephalographic signal in the sole beta frequency band; calculating, via the processor, for each breathing cycle, from the instantaneous power, an average power of the electroencephalographic signal in the sole beta frequency band over a first interval; storing, in memory, the calculated instantaneous power; and identifying, via the processor, for each breathing cycle, an improper adjustment of the ventilator based on the electroencephalographic signal processed in the sole beta frequency band; wherein indentifying an improper adjustment of the ventilator based on the electroencephalographic signal processed in the sole beta frequency band comprises: comparing the instantaneous power calculated in a second interval extending in advance of the respiratory initiation time with the average power calculated over the first interval, the first interval extending in advance of the second interval, and detecting, for each breathing cycle, a deviation between the average power calculated in the first interval and the instantaneous power calculated in the second interval, wherein said deviation comprises a decrease of the instantaneous power calculated in the second interval compared to the average power calculated over the first interval and is representative of an improper adjustment of the ventilator, and wherein the system for electroencephalographic detection of an improper adjustment of a ventilator comprises the electroencephalograph, an input receiving a respiratory initiation signal, the beta band device, the memory, and the processor.

9. Non-transient memory comprising instructions which, when executed by a system comprising an electroencephalograph, an input receiving a respiratory initiation signal, a beta band device, and a processor, causes the system to carry out the method according to claim 8.

10. The electroencephalographic detection system according to claim 1, wherein the detector is configured for detecting the deviation by applying a statistical test.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention will be better understood upon reading the description which follows, only given as an example and made with reference to the appended drawings, wherein:

(2) FIG. 1 is a schematic view of a ventilatory support installation applied on a patient;

(3) FIG. 2 is an example of curves illustrating steps for processing an electroencephalographic signal by the system for electroencephalographic detection on an improper setting according to an example of the invention;

(4) FIG. 3 is an example of a set of curves, obtained from electrodes placed in different localizations, and illustrating, as a function of time, the change in a desynchronization ratio of an electroencephalographic signal collected for a patient placed under ventilatory support, in the presence of disharmony between the patient and the ventilator;

(5) FIG. 4 is a view similar to that of FIG. 3, in the absence of disharmony between the patient and the ventilator;

(6) FIG. 5 is an exemplary curve illustrating the change, as a function of time, of an electroencephalographic signal representative of a breathing phenomenon; and

(7) FIG. 6 is an illustration of the electroencephalographic signal of FIG. 5 in the form of a time-frequency map.

DETAILED DESCRIPTION

(8) FIG. 1 illustrates a ventilatory support installation 3 using a system for electroencephalographic detection of an improper adjustment according to examples of the invention.

(9) This installation 3 includes a mechanical ventilator 6 and a system 9 for detecting an improper adjustment of the ventilator 6.

(10) The ventilator 6 includes a turbine 12 able to provide an airflow to a patient at a determined flow rate and with a given pressure. At the outlet of the turbine 12 a valve 15 is provided for feeding or not feeding the pressurized air produced by the turbine 12 to the patient. The turbine 12 and the valve 15 are connected to a control unit 18, itself connected to a depression sensor 20 able to detect inspiration of the patient.

(11) The turbine 12 is connected, downstream from the valve 15, to a mask 22 which may be applied onto the upper airways of the patient. The depression sensor 20 is for example mounted in the mask 22 of the patient.

(12) Alternatively, the mask 22 may be replaced with an endotracheal probe.

(13) The control unit 18 is connected to an adjustment unit 24 capable of modifying the operating parameters of the machine 6, and in particular the flow rate imposed by the turbine 12, the pressure of the air flow, the switching instants of the valve 15, and any other parameter as known in the state of the art. Moreover, the control unit 18 includes an output capable of providing a respiratory initiation signal t.sub.0 representative of the start of an inspiration of the patient. In this embodiment, the respiratory initiation time t.sub.0 is detected by the control unit 18 by means of the depression sensor 20. According to an alternative, the respiratory initiation time t.sub.0 corresponds to a signal emitted by the machine 6 when it begins to provide air to the patient.

(14) In the following, by breathing cycle is meant the time interval corresponding to an expiration followed by a complete inspiration. Each breathing cycle extends around a respiratory initiation time t.sub.0.

(15) The system 9 for detecting an improper adjustment includes an electroencephalograph 27, capable of measuring an electroencephalographic (EEG) signal representative of breathing, and capable of providing an EEG signal s(t) as a function of time. Such a signal s(t) is illustrated by curve 1 of FIG. 2.

(16) The electroencephalograph 27 for example includes between 2 and 64 electrodes positioned on the skull of the patient and notably at the supplementary motor area, i.e. the premotor cortex. In the illustrated embodiment, the electroencephalograph 27 includes 6 electrodes 46A, 46B, 46C, 46D, 46E, 46F. In this embodiment, the electrodes 46E and 46F are a reference electrode and a ground electrode respectively. The use of six electrodes 46A, 46B, 46C, 46D, 46E, 46F is a typical configuration for use in resuscitation. The electrodes 46A, 46B, 46C, 46D, 46E, 46F may be of any nature; they are notably needle electrodes or surface electrodes.

(17) As known, the electroencephalograph 27 includes means 30 for collecting the electroencephalographic signal s(t), filtering and amplification means 33, capable of filtering the measured electroencephalographic signal s(t), for example in a frequency band comprised between 0.03 and 40 Hz as well as sampling means 36 in order to digitize the EEG signal s(t), for example with a sampling frequency of 256 Hz. It further includes computer means 39 for storing the sample values, associated with their respective sampling instants.

(18) The system 9 also includes means 42 for specifying a beta frequency band, comprised between 15 and 30 Hz and with a width comprised between 5 and 10 Hz. This beta frequency band corresponds to the frequency band of the EEG, in which, during motor execution of a cortical command, a reduction in the power of the EEG signal is observed before the instant at which execution of the movement starts, followed by an increase in the power of the EEG signal, after the instant at which execution of the movement starts. This reduction in the power corresponds to the phenomenon of event-related desynchronization, while the increase in the power corresponds to the phenomenon of movement-related synchronization. The beta frequency band varies depending on the patient.

(19) The specification means 42 for example comprise a computer input interface, configured for receiving lower limit and upper limit values of the beta frequency band, inputted by a user.

(20) Alternatively, the specification means 42 are connected to the output of means 45 for determining the beta frequency band, as described later on.

(21) The system 9 further includes a unit 48 for processing the measured electroencephalographic signal s(t), which has an input connected to the electroencephalograph 27 for receiving the electroencephalographic signal s(t) provided by the electroencephalograph 27. The processing unit 48 includes an input for receiving the respiratory initiation signal t.sub.0, connected to the corresponding output of the machine 6, as well as an input for receiving the beta frequency band, connected to the output of the specification means 42.

(22) At its output, the processing unit 48 is connected to means 51 for identifying an improper adjustment of the ventilator 6.

(23) The processing unit 48 is able to process the electroencephalographic signal s(t) provided by the electroencephalograph 27 in the sole beta frequency band specified via specification means 42 as this signal s(t) is being acquired by the electroencephalograph 27.

(24) The processing unit 48 comprises filtering means 54, able to filter the EEG signal s(t) provided by the electroencephalograph 27, in the beta frequency band specified by the specification means 42, so as to only keep the components of the EEG signal s(t) with a frequency comprised in the beta frequency band. The filtering means 54 for example comprise a filter with an infinite pulse response of the order of 6. The filtering means 54 are capable of providing at the output an EEG signal s′(t) in the sole beta frequency band, an example of which is illustrated by curve 2 of FIG. 2.

(25) The filtering means 54 are connected at the output to computation means 57, capable of calculating the instantaneous power P(t) of the EEG signal s′(t) in the sole beta frequency band. For this purpose, the computation means 57 are capable of calculating the square of the modulus of the amplitude of the electroencephalographic signal s′(t) by applying the following formula: P(t)=|s′(t)|.sup.2. The curve 3 of FIG. 2 illustrates an example of the thereby calculated instantaneous power P(t).

(26) According to an example, the computation means 57 are further configured for computing, for each respiratory cycle comprising a respiratory initiation time t.sub.0, the average power P.sub.mD of the EEG signal s′(t) in the sole beta frequency band, over an interval I.sub.D, of duration d.sub.D, extending in advance of the respiratory initiation time t.sub.0, as well as the average power P.sub.mR of this signal s′(t) over an interval I.sub.R, of duration d.sub.R, extending in advance of the interval I.sub.D.

(27) The beginning of the interval I.sub.D precedes the respiratory initiation time t.sub.0 by less than 2 seconds. The beginning of the interval I.sub.R precedes the respiratory initiation time t.sub.0 by 3.5 to 1 second.

(28) The duration d.sub.D of the interval I.sub.D is comprised between 0.125 and 2 seconds. The interval I.sub.D entirely extends before the respiratory initiation time t.sub.0. The duration d.sub.R of the interval I.sub.R is comprised between 0.1 and 0.5 seconds. The interval I.sub.R extends in advance of the interval I.sub.D and does not overlap the interval I.sub.D.

(29) In order to calculate the average power P.sub.mD of the signal s′(t) over the interval I.sub.D, the computation means 57 are for example configured for applying the following formula (1):

(30) P m D = 1 t 2 - t 1 t = t 1 t = t 2 P ( t ) d t ( 1 )

(31) wherein

(32) t.sub.1 corresponds to the instant of the beginning of the interval I.sub.D;

(33) t.sub.2=t.sub.1+d.sub.D; and

(34) P(t) is the instantaneous power of the EEG signal s′(t) in the sole beta frequency band, calculated by the computation means 57.

(35) In order to calculate the average power P.sub.mR of the signal s′(t) over the interval I.sub.R, the computation means 57 are configured for applying the formula (1), t.sub.1 corresponding to the instant of the beginning of the interval I.sub.R and t.sub.2=t.sub.1+d.sub.R.

(36) The processing unit 48 further comprises storage means 60 capable of storing the instantaneous power P(t), as well as the average powers P.sub.mD and P.sub.mR calculated by the computation means 57.

(37) The means 51 for identifying an improper adjustment of the machine 6 are capable of identifying, for each breathing cycle, possible desynchronization of the EEG signal s′(t) in the specified beta frequency band.

(38) The identification means 51 includes comparison means 63, configured for comparing, for each breathing cycle, the average power P.sub.mD calculated over the interval I.sub.D with the average power P.sub.mR, calculated over the interval I.sub.R. For this purpose, they are for example configured for calculating, for each breathing cycle, an average desynchronization ratio R, representative of a desynchronization of the EEG signal s′(t) in the beta frequency band, by applying the following formula:

(39) R = P m D - P m R P m R × 100

(40) wherein

(41) P.sub.mD is the average power of the signal s′(t) over the interval I.sub.D; and

(42) P.sub.mR is the average power of the signal s′(t) over the interval I.sub.R.

(43) The identification means 51 further has detection means 66 capable of detecting, for each breathing cycle, whether there exists desynchronization of the EEG signal s′(t). The detection means 66 are capable of comparing, for each breathing cycle, the average desynchronization ratio R, with a predetermined value noted as V. The predetermined value V is for example equal to −15%. If the detection means 66 detect an average desynchronization ratio R less than the predetermined value V, a counter 69 of the detection system 9 is incremented.

(44) If the detection means 66 detect that the average desynchronization ratio R is not less than the predetermined value V, the counter 69 is reset to zero.

(45) According to another example, the computation means 57 of the processing unit 48 are capable of calculating the average power P.sub.mR over the interval I.sub.R in the way described above, and the comparison means 63 of the identification means 51 are configured for calculating over the interval I.sub.D, an instantaneous desynchronization ratio R′(t) by applying the following formula:

(46) R ( t ) = P ( t ) - P mR P mR × 100

(47) wherein:

(48) P(t) is the instantaneous power of the signal s′(t) over the interval I.sub.D; and

(49) P.sub.mR is the average power of the signal s′(t) over the interval I.sub.R.

(50) The curve 4 of FIG. 2 illustrates change in the instantaneous desynchronization ratio R′(t) of the signal s′(t) as a function of time. The sets of curves of FIGS. 3 and 4 illustrate the change in the instantaneous desynchronization ratio R′(t) of the signal s′(t), in the presence of desynchronization and in the absence of desynchronization, respectively. The curves of FIGS. 3 and 4 are respectively obtained by applying the processing steps indicated above to the signal s(t) stemming from electrodes placed at different bypasses. FIGS. 3 and 4 were obtained with a different number of electrodes.

(51) According to this example, the detection means 66 are configured for applying, for the whole of the values of the instantaneous desynchronization ratio R′(t) a statistical test, for example a Wilcoxon test, in order to determine, for each breathing cycle, whether there exists a deviation expressing desynchronization between the power P(t) of the signal s′(t) in the interval I.sub.D and the average power P.sub.mR of the signal s′(t) in the interval I.sub.R. In the case when the detection means 66 are configured for applying a Wilcoxon test, the null hypothesis is rejected if the first species risk is less than 1%, i.e. a deviation expressing desynchronization is seen if the first species risk is less than 1%.

(52) According to a further example, the computation means 57 of the processing unit 48 are configured for calculating the average power P.sub.mR over the interval I.sub.R in the way described above, and the detection means 66 are configured for applying, for the whole of the values of the instantaneous power P(t) calculated over the interval I.sub.D, a statistical test, for example a Wilcoxon test, in order to determine, for each breathing cycle, whether there exists a deviation expressing desynchronization between the power P(t) of the signal s′(t) in the interval I.sub.D and the average power P.sub.mR of the signal s′(t) in the interval I.sub.R. In the case when the detection means 66 are configured for applying a Wilcoxon test, the null hypothesis is rejected if the first species risk is less than 1%, i.e. a deviation expressing desynchronization is seen if the first species risk is less than 1%.

(53) According to these examples, at each breathing cycle, if the detection means 66 detect a deviation expressing desynchronization between the power P(t) of the signal s′(t) in the interval I.sub.D and the average power P.sub.mR of the signal s′(t) in the interval I.sub.R, the counter 69 is incremented.

(54) If the detection means 66 do not detect any deviation expressing desynchronization between the power P(t) of the signal s′(t) in the interval I.sub.D and the average power P.sub.mR of the signal s′(t) in the interval I.sub.R, the counter 69 is reset to zero.

(55) An EEG signal s(t) may be obtained at the output of the electroencephalograph 27 for each of the electrodes of the electroencephalograph 27. Only one of these signals s(t) has been illustrated in FIG. 2. The detection system 9 according to the invention is capable of applying the same processing operation to the EEG signals s(t) stemming from each of the electrodes of the electroencephalograph 27, so as to obtain an average desynchronization ratio R or an instantaneous desynchronization ratio R′(t) for each of them.

(56) According to an example, only one of the EEG signals s(t) from a particular electrode is taken into account for incrementing or resetting the counter 69 by the detection means 66.

(57) According to an alternative example, the average desynchronization ratio R or instantaneous desynchronization ratio R′ obtained from EEG signals s(t) from several electrodes are taken into account for incrementing or resetting the counter 69 by the detection means 66.

(58) The identification means 51 further includes means 72 for triggering an indicator, capable of triggering an indicator 75 when the counter 69 exceeds a predetermined threshold value, i.e. when desynchronization has been detected for a predetermined number of successive breathing cycles.

(59) The indicator 75 is thus able to indicate the existence of disharmony between the patients and the support machine 6 to the practitioner. The indicator 75 is for example an indicator light, an acoustic signal or any other suitable means for alarming the practitioner.

(60) According to another example, the trigger means 72 are able to trigger the indicator 75 as soon as the counter 69 becomes greater than 1, i.e. at each breathing cycle for which the detection means 66 detect desynchronization.

(61) According to a further example, a feedback control loop 78 connects the system for detecting an improper adjustment 9 to the support machine 6. The feedback control loop 78 is able to modify the settings of the ventilator 6 when the detection system 9 detects disharmony, i.e. in particular when the indicator 75 is triggered. For this purpose, the feedback control loop 78 is able to apply an algorithm of a known type, capable of modifying the settings of the machine 6 by successive iterations, and capable of being only applied when the system 9 detects disharmony.

(62) The system 9 further includes means 81 for providing a piece of information representative of an improper adjustment of the machine 6 to a practitioner. These information providing means 81 are connected to the identification means 51. For example they comprise a display screen and are capable of displaying for example the curves illustrated in FIG. 2, in particular change of the instantaneous desynchronization ratio R′(t) as a function of time and the EEG signal s(t) recorded by the electroencephalograph 27, as well as the number of breathing cycles associated with desynchronization during the last 20 breathing cycles and the time having elapsed without any desynchronization. In this case, the information providing means 81 are also able to receive information from the electroencephalograph 27 and the processing unit 48.

(63) Optionally, the system 9 for detecting an improper adjustment further comprises means 45 for determining the beta frequency band. These determination means 45 include an input for receiving the EEG signal s(t) provided by the electroencephalograph 27 and an input for receiving the respiratory initiation signal t.sub.0, connected to the corresponding output of the support machine 6.

(64) The means 45 for determining the beta frequency band comprise means 84 for segmenting the EEG signal s(t) into identical successive time intervals I.sub.1, I.sub.2, . . . , I.sub.n. Each time interval I.sub.1, I.sub.2, . . . , I.sub.n comprises a respiratory initiation time t.sub.0. Each time interval I.sub.1, I.sub.2, . . . , I.sub.n has a duration d. The duration d consists of a duration d.sub.1 extending in advance with respect to the respiratory initiation time t.sub.0 and of a duration d.sub.2 extending with delay with respect to the respiratory initiation time t.sub.0. The durations d, d.sub.1 and d.sub.2 are identical for all the intervals I.sub.1, I.sub.2, . . . , I.sub.n.

(65) The duration d is between 0.375 and 3 seconds, the duration d.sub.1 between 0.125 and 2 seconds and the duration d.sub.2 is between 0.250 and 1 second.

(66) FIG. 5 is a schematic illustration of an EEG signal s(t) segmented into intervals I.sub.1, I.sub.2, . . . , I.sub.n by the segmentation means 84. In this figure, the duration d is equal to 1.5 seconds, the duration d.sub.1 to 1,250 milliseconds and the duration d.sub.2 to 250 milliseconds.

(67) The means 45 for determining the beta frequency band further comprise means 87 for back-averaging the sampled values of the EEG signal s(t) stored in memory over n successive time intervals I.sub.1, I.sub.2, . . . , I.sub.n, i.e. including successive respiratory initiation times t.sub.0. The back-averaging means 87 are for example formed with a microcomputer applying a suitable program. More specifically, the back-averaging means 87 are able to produce the arithmetic mean point by point between the corresponding sampled values of the n successive time intervals I.sub.1, I.sub.2, . . . , I.sub.n of the recorded EEG signal. The number n of time intervals I.sub.1, I.sub.2, . . . , I.sub.n is comprised between 20 and 80, and is for example equal to about 30.

(68) Thus, the back-averaging means 87 are configured for providing, from n portions of the signal s(t) over the intervals I.sub.1, I.sub.2, . . . , I.sub.n, an averaged signal s.sub.m(t) over a time interval I.sub.m having the same characteristics as the intervals I.sub.1, I.sub.2, . . . , I.sub.n and therefore comprising a respiratory initiation time t.sub.0.

(69) The means 45 for determining the beta frequency band further comprise means 90 for establishing a time-frequency map, further called a spectrogram, of the averaged signal s.sub.m(t) obtained at the output of the back-averaging means 87. The time-frequency map is able to indicate the change in the power spectral density of the averaged signal s.sub.m(t) as a function of the frequency of said signal s.sub.m(t) and of time.

(70) The means 90 for establishing the time-frequency map are for example configured for applying to the averaged signal s.sub.m(t) a short term Fourier transform or a discrete wavelet transform in order to obtain a transformed signal F(f,t), and then for calculating the power spectral density P(f,t) of the transformed signal F(f,t), this power spectral density P(f,t) corresponding to the square of the modulus of the transformed signal F(f,t). The means 90 for establishing the time-frequency map are further configured in order to represent the power spectral density P(f,t) of the transformed signal F(f,t) as a function of frequency and time on a time-frequency map.

(71) According to an example, illustrated in FIG. 6, the power spectral density P(f,t) is expressed in decibels, relatively to a reference power spectral density P.sub.ref. This quantity is noted as ERSP (Event Related Spectral Perturbation). The reference power spectral density P.sub.ref corresponds to the value of the power spectral density P(f,t) of the transformed signal F(f,t) over a reference interval extending in advance with respect to the respiratory initiation time t.sub.0. The reference interval has a duration comprised between 150 and 300 ms. The beginning of the reference interval precedes the respiratory initiation time by a duration comprised between 0.1 and 0.5 seconds and for example of about 250 milliseconds. The reference interval further extends in advance with respect to a movement preparation interval, i.e. for preparing the inspiration, and does not overlap this preparation interval. The beginning of the preparation interval precedes the respiratory initiation time t.sub.0 by a duration comprised between 0.1 and 0.5 seconds.

(72) Finally, the determination means 45 includes means 93 for detecting the beta frequency band from the time-frequency map established by the means 90 for establishing the time-frequency map.

(73) The means 93 for detecting the beta frequency band are capable of determining the frequency band of the EEG signal s(t) in which there exists, for a predetermined duration, a deviation between the power spectral density P(f,t) of the transformed signal F(f,t) and the reference power spectral density P.sub.ref, which is greater than a predetermined value. Thus, the detection means 93 are capable of determining the frequency band in which the power spectral density P(f,t) of the transformed signal F(f,t) is less than the reference power spectral density P.sub.ref by a value greater than a predetermined value. This predetermined value is for example equal to about 15% and the predetermined duration is for example equal to 100 ms.

(74) In the example illustrated in FIG. 6, the detection means 93 are capable of determining this deviation from the ERSP. They are then capable of determining the frequency band in which, for a predetermined duration, the value of the ERSP is less than −0.7, which corresponds to a variation of 15% between the power spectral density P(f,t) and the reference power spectral density P.sub.ref, the power spectral density P(f,t) being less by at least 15% than the reference spectral density P.sub.ref. The thereby determined frequency band corresponds to the beta frequency band. It is materialized by an ellipse in FIG. 6.

(75) As was indicated above, the beta frequency band corresponds to a frequency band of the electroencephalographic signal, in which desynchronization is observable before the beginning of the movement, materialized by the respiratory initiation time t.sub.0. Such a desynchronization only occurs in the case of the execution of a cortical command. When the patient is in harmony with the machine 6, there is no cortical motor activity related to breathing. No desynchronization is then observed. The determination of the beta frequency band by the determination means 45 therefore requires that the patient performs, during the number n of successive breathing cycles, voluntary respiratory movements or respiratory movements which are known to respond to a cortical command.

(76) Within the scope of the method for determining the beta frequency band applied by the means 45 for determining the beta frequency band, a first method for generating such voluntary respiratory movements or for are known to respond to a cortical command, consists of voluntarily upsetting the settings of the support machine 6 for a number n of breathing cycles, notably if the patient is in a coma. This upset for example consists in a transient decrease in the sensitivity of the threshold for triggering the support provided by the ventilator 6. Alternatively, if the patient is conscious and able to breathe by himself/herself, he/she performs a number n of voluntary inspirations, for example in the form of maximum voluntary sniffs.

(77) According to an embodiment of the method for detecting an improper adjustment of a ventilator according to the invention, the beta frequency band is determined only once by the means 45 for determining the beta frequency band. According to an alternative, the means 45 for determining the beta frequency band determine the beta frequency band at regular intervals while the patient is artificially ventilated.

(78) The system for detecting an improper adjustment of a ventilator according to the invention has the advantage of not requiring any averaging of the electroencephalographic signal for determining disharmony. Indeed, the system is able to detect the existence of desynchronization, and therefore a voluntary breathing effort, or more generally a breathing effort in response to a cortical command from the patient, which is the sign of a disharmony between the patient and the machine, at each breathing cycle.

(79) Thus, the system according to the invention is able to detect disharmony in real time and to also find a remedy thereto rapidly, by modifying the settings of the ventilator, either automatically via a feedback control loop or manually by a practitioner.

(80) Further, the system according to the invention is able to analyze the signal in a particularly reliable way. Indeed, the filtering of the electroencephalographic signal in the beta frequency band suppresses a certain number of artifacts of the electroencephalographic signal, sources of errors, and notably artifacts related to the movement of the patient, to the cables for collecting the electroencephalographic signal, to the presence of a large number of electrical apparatuses (operating with a frequency of 50 Hz in France and of 60 Hz in the United States) or of artifacts related to the sweating phenomenon of the patient, responsible for variations of the signal in low frequencies, i.e. in frequencies below 1 Hz.

(81) Finally, the desynchronization signal, i.e. the signal representing the instantaneous desynchronization ratio (curve 4 of FIG. 2) has a high signal-to-noise ratio, and notably higher than when a signal, obtained by averaging without any preliminary filtering in the beta band, is used.