[go: up one dir, main page]

CN112451854B - An implantable diaphragm pacemaker and control method thereof - Google Patents

An implantable diaphragm pacemaker and control method thereof Download PDF

Info

Publication number
CN112451854B
CN112451854B CN202011387736.0A CN202011387736A CN112451854B CN 112451854 B CN112451854 B CN 112451854B CN 202011387736 A CN202011387736 A CN 202011387736A CN 112451854 B CN112451854 B CN 112451854B
Authority
CN
China
Prior art keywords
stimulation
diaphragm
respiratory airflow
module
photoelectrode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011387736.0A
Other languages
Chinese (zh)
Other versions
CN112451854A (en
Inventor
杨明亮
李建军
顾小玉
石岩
任帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Rehabilitation Research Center
Original Assignee
China Rehabilitation Research Center
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Rehabilitation Research Center filed Critical China Rehabilitation Research Center
Priority to CN202011387736.0A priority Critical patent/CN112451854B/en
Publication of CN112451854A publication Critical patent/CN112451854A/en
Application granted granted Critical
Publication of CN112451854B publication Critical patent/CN112451854B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/18Applying electric currents by contact electrodes
    • A61N1/32Applying electric currents by contact electrodes alternating or intermittent currents
    • A61N1/36Applying electric currents by contact electrodes alternating or intermittent currents for stimulation
    • A61N1/3601Applying electric currents by contact electrodes alternating or intermittent currents for stimulation of respiratory organs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61NELECTROTHERAPY; MAGNETOTHERAPY; RADIATION THERAPY; ULTRASOUND THERAPY
    • A61N1/00Electrotherapy; Circuits therefor
    • A61N1/02Details
    • A61N1/04Electrodes
    • A61N1/05Electrodes for implantation or insertion into the body, e.g. heart electrode
    • A61N1/0519Endotracheal electrodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Radiology & Medical Imaging (AREA)
  • Veterinary Medicine (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Public Health (AREA)
  • Pulmonology (AREA)
  • General Health & Medical Sciences (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Biomedical Technology (AREA)
  • Algebra (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Operations Research (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Geometry (AREA)
  • Evolutionary Computation (AREA)
  • Cardiology (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computer Hardware Design (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Biology (AREA)
  • Physiology (AREA)
  • Computing Systems (AREA)
  • Electrotherapy Devices (AREA)

Abstract

本发明公开了一种植入式膈肌起搏器及其控制方法,包括:控制器、体表电极和光电极;控制器包括单片机、人机交互模块、光电极驱动模块、信号处理模块和恒流刺激模块;其中,单片机分别与人机交互模块、信号处理模块和恒流刺激模块电性连接;信号处理模块与体表电极电性连接;光电极驱动模块分别与恒流刺激模块和光电极电性连接。本发明能够实时监测、处理分析病人的表面膈肌电信号,实现刺激信号参数的在线调整,以使呼吸状态达到最佳,无需医护人员的手动调节,减少了医护人员的工作量。

The present invention discloses an implantable diaphragm pacemaker and a control method thereof, comprising: a controller, a body surface electrode and a photoelectrode; the controller comprises a single chip microcomputer, a human-computer interaction module, a photoelectrode driving module, a signal processing module and a constant current stimulation module; wherein the single chip microcomputer is electrically connected to the human-computer interaction module, the signal processing module and the constant current stimulation module respectively; the signal processing module is electrically connected to the body surface electrode; the photoelectrode driving module is electrically connected to the constant current stimulation module and the photoelectrode respectively. The present invention can monitor, process and analyze the patient's surface diaphragm electrical signal in real time, realize online adjustment of the stimulation signal parameters, so as to achieve the best respiratory state, without the need for manual adjustment by medical staff, thereby reducing the workload of medical staff.

Description

Implanted diaphragm pacemaker and control method thereof
Technical Field
The invention relates to the technical field of medical appliances, in particular to an implantable diaphragm pacemaker and a control method thereof.
Background
In China, tens of thousands of patients with respiratory muscle paralysis, chronic obstructive pulmonary disease, post-traumatic respiratory insufficiency and the like caused by central lesions such as central alveolar hypoventilation, brainstem, spinal cord and the like exist, and the treatment mode of the patients mainly depends on a breathing machine to realize mechanical ventilation. However, long-time mechanical ventilation brings about serious damage to physiological and psychological health of patients due to loss of speech and cough functions, easy occurrence of sequelae such as bedsores and respiratory tract infection, and the like, in addition to heavy economic burden on patients.
The main principle of the implanted diaphragm pacing technology, also called as diaphragmatic nerve stimulation technology, is that the diaphragm contraction is induced by generating pulse stimulation signals to diaphragmatic nerves under an external controller, so that the technology of physiological respiratory movement of a human body is replaced. The technique can effectively recover the spontaneous breathing function, language function and social activity of the patient, effectively reduce economic burden and the like, and can completely replace the function of a breathing machine. The implanted diaphragm pacing technology has been widely applied to the clinical partial or complete ventilation treatment of respiratory dysfunction diseases such as high-order spinal cord injury, chronic obstructive pulmonary disease and the like.
Currently, the most widely used diaphragmatic pacemakers are mainly produced by Avery, atrotech and MEDIMPLANT in australia, and the three types of pacemakers have basically the same working principle except for the difference of the number of electrodes and the stimulation mode. However, these diaphragm pacemakers are all open loop systems with no feedback regulation function. Only the diaphragm can be activated to cause the contraction of the diaphragm to produce the inspiration action, but the stimulation parameters cannot be adaptively adjusted according to the change of the respiratory demand, the change of the electrode quality along with the time or the fatigue of the diaphragm, so that the pacing effect which cannot meet the physiological demand of a human body can be produced by using the diaphragm pacemaker for a long time. Meanwhile, if the pacing effect is lower than the minimum requirement of a human body and nursing staff is not needed, the life safety of a patient is extremely threatened. In addition, the traditional electric stimulation mode is adopted in the existing implanted diaphragm pacing system, current flows to all directions of biological tissues, the spatial resolution is low, and accurate regulation and control of nerves cannot be achieved.
Therefore, how to provide a diaphragm pacemaker and a control method thereof capable of adaptively adjusting stimulation parameters according to physiological needs of a human body is a problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above, the invention provides an implantable diaphragm pacemaker and a control method thereof, which can monitor, process and analyze the surface diaphragm electrical signals of a diaphragm paced patient in real time, realize the on-line adjustment of the stimulation signal parameters, so that the breathing state is optimal, the manual adjustment of medical staff is not needed, and the workload of the medical staff is reduced.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
An implantable diaphragm pacemaker comprises a controller, a body surface electrode and an photoelectrode, wherein the controller comprises a singlechip, a man-machine interaction module, a photoelectrode driving module, a signal processing module and a constant current stimulation module, wherein the singlechip is respectively and electrically connected with the man-machine interaction module, the signal processing module and the constant current stimulation module;
the man-machine interaction module is used for setting or adjusting initial stimulation parameters of the singlechip;
The body surface electrode is used for collecting the electric signals of diaphragm muscles in real time;
the signal processing module predicts the actual respiratory airflow according to the electric signal of diaphragm;
The singlechip is used for comparing the actual respiratory airflow with the ideal respiratory airflow, and adaptively adjusting the initial stimulation parameters according to the comparison result to generate new stimulation parameters;
the constant-current stimulation module is used for generating constant stimulation current according to the new stimulation parameters;
the photoelectrode driving module is used for controlling the photoelectrode to generate a corresponding photoelectrode stimulation signal according to the stimulation current.
Preferably, the photoelectrode consists of a hydrogel substrate, a plurality of conductive electrode plates and a plurality of conductive electrode plates;
The hydrogel substrate comprises a mounting surface and mounting lugs, wherein the mounting surface is of an arc surface structure, the conductive electrode plates and the conductive electrode plates are arranged in a staggered array and embedded into the inner arc surface of the mounting surface, and the mounting lugs are radially mounted on the outer arc surface of the mounting surface and are symmetrically arranged.
Preferably, the cross section of the mounting surface is in a 2/3 circular arc shape.
Preferably, the body surface electrode is a medical surface electrode, and the surface of the medical surface electrode is coated with silver.
Preferably, the model of the singlechip is STM32F091RxT, and the model of the photoelectrode driving module is TLC5940 LED.
Compared with the prior art, the invention discloses an implanted diaphragm pacemaker, wherein a doctor sets initial stimulation parameters according to specific symptoms of a patient through a human-computer interaction module before implantation, body surface electrodes acquire the change condition of electric signals of diaphragm muscles of the patient in real time after implantation, a signal processing module converts and processes the electric signals of the diaphragm muscles to convert analog signals into digital signals, a singlechip calculates the processed diaphragm electric signals to judge whether the current stimulation degree meets the physiological requirements of the patient, and when the current stimulation parameters are not matched with the physiological requirements of the patient, the current stimulation parameters are adaptively adjusted to generate new stimulation parameters, under the new stimulation parameters, a constant current stimulation module generates constant stimulation current, a photoelectric driving module drives a photoelectric stimulation signal of corresponding degree according to the stimulation current and acts on diaphragm nerves, and the diaphragm nerves are controlled to pace corresponding degrees under the stimulation of the photoelectric signals, so that the purpose of adjusting respiratory airflow is achieved. The controller takes the singlechip as a core, and is assisted with the man-machine interaction module, the photoelectrode driving module, the signal processing module and the constant current stimulation module to form a closed loop system with a feedback regulation function, so that medical staff is not required to nurse in real time, self-adaptive adjustment can be carried out according to the physiological needs of patients, the safety and stability are greatly improved, and the life safety of the patients is ensured.
In addition, the invention can reduce the stimulation threshold by adopting a photoelectric combined stimulation mode, realize the accurate regulation and control of the phrenic nerve and improve the safety and the high efficiency of diaphragm pacing.
The invention also provides a control method of the implanted diaphragm pacemaker, which comprises the following steps:
Acquiring initial stimulation parameters of the diaphragm pacemaker and real-time electric signals of the diaphragm;
Predicting the current actual respiratory airflow according to the real-time electric signals of diaphragm;
Calculating ideal respiratory airflow based on an ideal respiratory airflow model, comparing the current actual respiratory airflow with the ideal respiratory airflow, and adaptively adjusting the initial stimulation parameters according to the comparison result to generate new stimulation parameters;
generating a constant stimulation current according to the new stimulation parameters;
and controlling the photoelectrode to generate a corresponding photoelectric stimulation signal according to the stimulation current, and acting on the contact site.
Preferably, the predicting the current actual respiratory airflow according to the real-time electric signal of the diaphragm comprises:
performing digital band-pass filtering processing on the diaphragmatic electromyographic signals acquired by the body surface electrodes in real time to obtain processed diaphragmatic electromyographic signals;
calculating a sample entropy value of the processed diaphragmatic electromyographic signals;
predicting a current actual respiratory airflow based on the sample entropy value.
Preferably, calculating the sample entropy value of the processed diaphragmatic electromyographic signal includes:
generating a data sequence { x (i) } based on the processed diaphragmatic electrical signals, wherein i = 1,2,..n, N is the sum of the data lengths;
respectively constructing m-dimensional vector matrixes X (i) and X (j) based on a data sequence { X (i) };
X(i)=[x(i),x(i+1),...,x(i+m-1)];X(j)=[x(j),x(j+1),...,x(j+m-1)];
wherein m represents m continuous values in the electromyographic signal data sequence, i is more than or equal to 1 and less than or equal to N-m+1, j is more than or equal to 1 and less than or equal to N-m, and i is not equal to j;
Determining a difference maximum d ij in the two vectors in X (i);
Given a similarity tolerance r, counting the number of d ij r < r in X (i), and averaging the sum of the numbers of d ij r < r under all N-m conditions;
In the formula, the value of r is 0.1-0.25SD (X), and SD represents the standard deviation of signals; Representing the ratio of the number of d ij r less than or equal to the number of elements in the d ij array in X (i), and B m (r) represents the average value of the vector sum of the numbers of d ij r less than or equal to the number of the elements in the d ij array under all N-m conditions;
the average of all vector sums of the m+1-dimensional vector matrix is calculated using the following formula:
the sample entropy of the diaphragmatic electrical signal with data length N is calculated using the following formula:
preferably, the calculating the ideal respiratory airflow based on the ideal respiratory airflow model, comparing the current actual respiratory airflow with the ideal respiratory airflow, and adaptively adjusting the initial stimulation parameter according to the comparison result, so as to generate a new stimulation parameter, including:
An ideal respiratory airflow model and a photoelectric stimulation waveform model are built, and ideal respiratory airflow is generated based on the ideal respiratory airflow model;
comparing the current actual respiratory airflow with the ideal respiratory airflow to generate a respiratory airflow difference value and a difference value change rate;
Blurring the difference value of the respiratory airflow and the change rate of the difference value, adaptively adjusting the initial stimulation parameter by using a blurring rule, and determining an adaptive adjustment rule of the stimulation parameter;
establishing a linear relation between the self-adaptive adjustment rule of the stimulation parameters and the photoelectric stimulation waveform model;
and adjusting the original stimulation parameters of the photoelectric stimulation waveform model based on the linear relation, and generating new stimulation parameters.
Preferably, the calculation formula of the adaptive adjustment rule of the stimulus parameter is as follows:
△fl(t)=fl1(t)-fl2(t);
u (t) is the system output control quantity at time t, K p is a proportional coefficient, K i is an integral coefficient, K d is a differential coefficient, fl 1 (t) is an ideal respiratory airflow, and fl 2 (t) is an actual respiratory airflow.
Compared with the prior art, the control method of the implanted diaphragm pacemaker comprises the steps that a doctor sets initial stimulation parameters according to specific symptoms of a patient through a human-computer interaction module, body surface electrodes acquire electric signal change conditions of diaphragm muscles of the patient in real time, a signal processing module converts and processes electric signals of the diaphragm muscles, predicts current actual respiratory airflow according to the electric signals of the diaphragm muscles and transmits the actual respiratory airflow to a singlechip, the singlechip compares the actual respiratory airflow with ideal respiratory airflow to judge whether the current stimulation degree meets physiological requirements of the patient, and when the actual respiratory airflow is inconsistent with the ideal respiratory airflow, the stimulation parameters are adaptively adjusted to generate new stimulation parameters, under the new stimulation parameters, constant stimulation current is generated by a constant current stimulation module, a photoelectric driving module drives a photoelectric electrode to generate photoelectric stimulation signals of corresponding degrees according to the stimulation current, the photoelectric stimulation signals act on diaphragm nerves, and the diaphragm nerves are stimulated by the photoelectric signals to control pacing of response degrees of the diaphragm muscles, so that the purpose of adaptively adjusting respiratory airflow is achieved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a block diagram of a diaphragmatic pacemaker according to the present invention;
fig. 2 is a schematic diagram of an application of the diaphragmatic pacemaker provided by the invention;
FIG. 3 is a schematic view of a structure of a photoelectrode according to the present invention;
Fig. 4 is a flowchart of a control method of the diaphragmatic pacemaker provided by the invention;
FIG. 5 is a flow chart of S2 provided by the invention;
Fig. 6 is a flowchart of S3 provided in the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1-2, the embodiment of the invention discloses an implantable diaphragm pacemaker, which comprises a controller 1, a body surface electrode 2 and a photoelectrode 3, wherein the controller 1 comprises a singlechip 11, a man-machine interaction module 12, a photoelectrode driving module 13, a signal processing module 14 and a constant current stimulation module 15, wherein the singlechip 11 is respectively and electrically connected with the man-machine interaction module 12, the signal processing module 14 and the constant current stimulation module 15, the signal processing module 14 is electrically connected with the body surface electrode 2, and the photoelectrode driving module 13 is respectively and electrically connected with the constant current stimulation module 15 and the photoelectrode 3;
the man-machine interaction module 12 is used for setting or adjusting initial stimulation parameters of the singlechip 11;
The body surface electrode 2 is used for collecting the electric signals of diaphragm muscles in real time;
the signal processing module 14 predicts the actual respiratory airflow from the electrical signal of the diaphragm muscle;
The singlechip 11 is used for comparing the actual respiratory airflow with the ideal respiratory airflow, and adaptively adjusting the initial stimulation parameters according to the comparison result to generate new stimulation parameters;
the constant current stimulation module 15 is used for generating constant stimulation current according to the new stimulation parameters;
The photoelectrode driving module 13 is used for controlling the photoelectrode 3 to generate corresponding photoelectric stimulation signals according to the stimulation current.
In the embodiment of the invention, the SCM 11 is STM32F091RxT model, and the SCM integrates high performanceThe M0 32 bit RISC core runs at frequencies up to 48mhz, the high speed embedded memory (flash memory up to 256kbytes and SRAM of 32 kbytes) is compatible to a high degree.
The photoelectrode driving module 13 selects a Texas instrument TLC5940 LED driver, the driver is provided with 16 constant current output channels, the maximum current of 120mA can be output, the driver is connected with a miniature light emitting diode of a light guide conductive photoelectrode, and a singlechip regulates and controls the frequency, amplitude and duty ratio of the output current, so that the flexible regulation of the light stimulation parameters (frequency, light intensity and duty ratio) can be realized.
The singlechip 11 respectively generates positive and negative pulses with stimulation amplitude, stimulation frequency, stimulation pulse width and inspiration time through two paths of DACs. The two paths of DACs realize voltage following through 2 operational amplifiers, and then realize the synthesis of the stimulation waveforms through 1 operational amplifier. In order to avoid external interference or influence of human impedance difference, the synthesized stimulation waveform is input to a constant-current stimulation module to ensure constant stimulation current of the system.
The signal processing module 14 selects an AD620 operational amplifier of ADI company to filter the noise of the system components, and selects an active double T trap to filter the power frequency interference, and the signals of the interference and the noise are read and analyzed by a singlechip ADC.
As shown in fig. 3, the photoelectrode 3 is composed of a hydrogel substrate 31, a plurality of conductive electrode pieces 32, and a plurality of conductive electrode pieces 33;
The hydrogel substrate 31 comprises a mounting surface 311 and mounting lugs 312, the mounting surface 311 is of a cambered surface structure, the conductive electrode plates 32 and the conductive electrode plates 33 are arranged in a staggered array and embedded into the inner cambered surface of the mounting surface 311, the mounting lugs 312 are radially arranged on the outer cambered surface of the mounting surface 311 and are symmetrically arranged, and the mounting lugs 312 are provided with mounting holes 3121.
In the embodiment, the light guide electrode plates are selected from micro light emitting diodes with the size of 200 mu m multiplied by 260 mu m, the conductive electrode plates are made of platinum materials with the size of 200 mu m multiplied by 260 mu m, and the light guide electrode plates and the conductive electrode plates are embedded into the hydrogel substrate with biological compatibility in a staggered mode so as to realize the functions of light guide and conductivity.
The mounting piece of the conductive photoelectric electrode is designed to be 2/3 circular arc, two mounting lugs are designed on two sides of the mounting piece, and mounting holes are formed in the mounting piece, so that a doctor can conveniently penetrate a surgical wire into the through holes to fix the electrode on the epidermis during surgery. The outer diameter of the hydrogel substrate is 4mm, the inner diameter is 3mm, the height is 10mm, a doctor performs surgery to penetrate the photoelectrode into the phrenic nerve, and the photoelectrode contacts with the nerve to realize photoelectric combined stimulation of the phrenic nerve.
In one embodiment, among others, the body surface electrodes 2 are provided with a set of 3 individual body surface electrodes 2. The body surface electrode 2 is attached to the skin of the body surface, the position is the straight line intersection point of the horizontal right (left) nipple of the chest of the human body and the natural vertical of the right (left) arm of the human body, the position of the second rib and the position of the fourth rib are the first position point and the second position point of electrode attachment, the third electrode is the reference electrode, and the third electrode is attached to the abdomen. The surface electrode adopts a medical surface electrode, and the surface is coated with silver, so that the surface electrode can be disassembled and used immediately, and is convenient to use.
As shown in fig. 4, the embodiment of the invention also discloses a control method of the implanted diaphragm pacemaker, which comprises the following steps:
s1, acquiring initial stimulation parameters of a diaphragm pacemaker and real-time electric signals of the diaphragm;
s2, predicting the current actual respiratory airflow according to the real-time electric signals of the diaphragm;
S3, calculating ideal respiratory airflow based on an ideal respiratory airflow model, comparing the current actual respiratory airflow with the ideal respiratory airflow, and adaptively adjusting initial stimulation parameters according to a comparison result to generate new stimulation parameters;
s4, generating constant stimulation current according to the new stimulation parameters;
S5, controlling the photoelectrode to generate a corresponding photoelectric stimulation signal according to the stimulation current, and acting on the contact site.
The following details the corresponding steps:
S2 specifically comprises:
s21, performing digital band-pass filtering processing on the diaphragm electromyographic signals acquired by the body surface electrodes in real time to obtain processed diaphragm electromyographic signals.
S22, calculating the sample entropy value of the processed diaphragm electromyographic signals.
The fixed sample entropy processing of the surface diaphragm electrical signal adopts a moving window calculation method, namely, for the surface diaphragm electrical signal with the length of N, a moving window with the length of N w is added, the overlapping amount of the windows is 90% of the length of the moving window N w, and the fixed sample entropy value in each moving window is calculated, so that a sample entropy curve is obtained.
The formula of the sample entropy calculation is:
S221, generating a data sequence based on the processed diaphragmatic electrical signals, and setting the data sequence of each frame of diaphragmatic electrical signals as { x (i) }, wherein i=1, 2, & gt, N, N being the sum of data lengths;
S222, respectively constructing m-dimensional vector matrixes X (i) and X (j) based on a data sequence { X (i) }, wherein vector dimension m=2;
X (i) = [ X (i), X (i+1),. The number of times, X (i+m-1) ], X (j) = [ X (j), X (j+1),. The number of times, X (j+m-1) ], wherein m represents m consecutive values in the data sequence of the electromyographic signal, 1.ltoreq.i.ltoreq.N-m+1, 1.ltoreq.j.ltoreq.N-m, i.noteq.j;
S223, defining the distance d [ X (i), X (j) ] between X (i) and X (j) as the maximum value d ij of the difference value between the two corresponding elements;
S224, counting the number of d ij r less than or equal to r in X (i) and averaging the sum of the numbers of d ij r less than or equal to r under all N-m conditions given a similarity tolerance r;
Wherein, the value of r is 0.1-0.25SD (X), SD represents the standard deviation of the signal, B i m (r) represents the ratio of the number of d ij r less than or equal to r in X (i) to the number of elements in the d ij array, and B m (r) represents the average value of the vector sum of the numbers of d ij r less than or equal to r under all N-m conditions;
s225, calculating the average value of all vector sums of the m+1-dimensional vector matrix by using the following formula:
S226, calculating a sample entropy value of the diaphragmatic electromyographic signal with the data length of N by using the following formula:
s23, predicting the current actual respiratory airflow based on the sample entropy value.
The diaphragm myoelectric signal X (i) _1 and the respiratory airflow signal fl (t) _1 are simultaneously acquired and recorded at a sampling frequency of 2000 Hz.
(1) The electromyographic signal is processed, wherein a zero-phase fourth-order Butterworth filter with the cut-off frequency of 5-400Hz is adopted for digital band-pass filtering during the collection of the surface diaphragmatic electromyographic signal, and fixed sample entropy calculation in a moving window is carried out to obtain a processed electromyographic signal X (i);
(2) Respiratory airflow signal processing, namely smoothing respiratory airflow signals by a moving average method to remove high-frequency noise and obtain processed respiratory airflow signals fl (t);
(3) The fixed sample entropy of the surface diaphragmatic electromyographic signal X (i) predicts the respiratory airflow signal fl (t) by a linear least squares (polynomial fitting) method, that is, a given electromyographic signal X (i) and airflow signal fl (t) are fitted by m times polynomial, and the coefficient a= [ a m,…,a1,a0 ] of the polynomial is calculated by calling a polyfit () function in matlab, so the relation between the respiratory airflow signal and the diaphragmatic electromyographic signal can be established as follows:
fl(t)=a*X(i);
s3 comprises the following steps:
s31, an ideal respiratory airflow model and a photoelectric stimulation waveform model are built, and ideal respiratory airflow is generated based on the ideal respiratory airflow model;
S32, comparing the current actual respiratory airflow with the ideal respiratory airflow to generate a respiratory airflow difference value and a difference value change rate;
S33, blurring the difference value and the difference value change rate of the respiratory airflow, adaptively adjusting initial stimulation parameters by using a blurring rule, and determining an adaptive adjustment rule of the stimulation parameters;
S34, establishing a linear relation between a self-adaptive adjustment rule of the stimulation parameters and the photoelectric stimulation waveform model;
s35, based on the linear relation, the original stimulation parameters of the photoelectric stimulation waveform model are adjusted, and new stimulation parameters are generated.
The principle of the self-adaptive closed-loop control is as follows:
(1) Calculating the difference Deltafl (t) between the ideal airflow fl 1 (t) and the actual respiratory airflow fl 2 (t) predicted based on the real-time acquired surface diaphragm electromyographic signals according to the acquired surface diaphragm electromyographic signals to predict airflow signals
△fl(t)=fl1(t)-fl2(t)。
(2) Calculating the error change rate delta flc (t):
△flc(t)=△fl(t)-△fl(t-1)。
(3) Discretizing the continuous control system according to an ideal PID control rule to obtain:
u (t) is the system output control quantity at the moment t, K p is a proportional coefficient, K i is an integral coefficient, and K d is a differential coefficient.
(4) Fuzzy controller design
The difference delta fl (t) between the ideal air flow and the actual predicted air flow and the difference change rate delta flc (t) are fuzzified by the membership function, and then the increment coefficient adjustment control parameters K p、ki and K d are deduced according to a fuzzy rule, so that the output control quantity u (t) is adjusted. And establishing a linear relation u (t) between the output control quantity u (t) and the stimulation parameter stim (a_1, a_2, f_1, f_2, d_1, d_2) models, and finally realizing the adjustment of the stimulation parameters.
According to the invention, the actual respiratory airflow is predicted according to the body surface diaphragm electrical signals, the predicted respiratory airflow physical quantity is used as a feedback signal, and the feedback signal is added into the self-adaptive fuzzy controller to form a closed-loop implanted diaphragm pacing system, so that the problem that the existing open-loop implanted diaphragm pacing system is poor in stimulation effect after long-time use is solved, in addition, the stimulation threshold is reduced in a photoelectric combined stimulation mode, and the stability and safety of diaphragm pacing are effectively enhanced. The invention monitors, processes and analyzes the surface diaphragmatic electromyographic signals of the patient with diaphragm pacing in real time, realizes the on-line adjustment of the stimulation signal parameters, so that the breathing state is optimal, the manual adjustment of medical staff is not needed, and the workload of the medical staff is reduced.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1.一种植入式膈肌起搏器,其特征在于,包括:控制器、体表电极和光电极;所述控制器包括单片机、人机交互模块、光电极驱动模块、信号处理模块和恒流刺激模块;其中,所述单片机分别与所述人机交互模块、所述信号处理模块和所述恒流刺激模块电性连接;所述信号处理模块与所述体表电极电性连接;所述光电极驱动模块分别与所述恒流刺激模块和所述光电极电性连接;1. An implantable diaphragm pacemaker, characterized in that it comprises: a controller, a body surface electrode and a photoelectrode; the controller comprises a single chip microcomputer, a human-computer interaction module, a photoelectrode driving module, a signal processing module and a constant current stimulation module; wherein the single chip microcomputer is electrically connected to the human-computer interaction module, the signal processing module and the constant current stimulation module respectively; the signal processing module is electrically connected to the body surface electrode; the photoelectrode driving module is electrically connected to the constant current stimulation module and the photoelectrode respectively; 所述单片机的型号STM32F091RxT,所述单片机调控输出电流频率、幅值及占空比,用于光刺激参数的灵活调节;所述单片机设置有两路DAC,分别产生具有刺激幅值、刺激频率、刺激脉宽、吸气时间的正、负脉冲;两路DAC通过2个运算放大器实现电压跟随,再经1个运算放大器实现刺激波形的合成,将合成的刺激波形输入给恒流刺激模块;The model of the single-chip microcomputer is STM32F091RxT. The single-chip microcomputer controls the output current frequency, amplitude and duty cycle for flexible adjustment of light stimulation parameters; the single-chip microcomputer is provided with two DACs, which respectively generate positive and negative pulses with stimulation amplitude, stimulation frequency, stimulation pulse width and inhalation time; the two DACs realize voltage following through two operational amplifiers, and then realize the synthesis of stimulation waveforms through one operational amplifier, and input the synthesized stimulation waveforms into the constant current stimulation module; 所述人机交互模块用于设置或调整所述单片机的初始刺激参数;The human-computer interaction module is used to set or adjust the initial stimulation parameters of the single-chip microcomputer; 所述体表电极用于实时采集膈肌的电信号;The body surface electrodes are used to collect electrical signals of the diaphragm in real time; 所述信号处理模块根据膈肌的电信号预测实际呼吸气流;The signal processing module predicts the actual respiratory airflow based on the electrical signal of the diaphragm; 所述信号处理模块采用AD620运算放大器实现系统元器件噪声的滤除;采用有源双T陷波器,用于滤除工频干扰;滤除干扰及噪声的信号经单片机DAC读取分析;The signal processing module uses an AD620 operational amplifier to filter out the noise of system components; an active double-T trap filter is used to filter out power frequency interference; the signal with filtered interference and noise is read and analyzed by the single-chip microcomputer DAC; 所述单片机用于将所述实际呼吸气流与理想呼吸气流进行比对,并根据比对结果对所述初始刺激参数进行自适应调整,生成新的刺激参数;所述刺激参数的自适应调整规律的计算公式如下:The single chip microcomputer is used to compare the actual respiratory airflow with the ideal respiratory airflow, and adaptively adjust the initial stimulation parameters according to the comparison result to generate new stimulation parameters; the calculation formula of the adaptive adjustment rule of the stimulation parameters is as follows: △fl(t)=fl1(t)-fl2(t);△fl(t)=fl 1 (t)-fl 2 (t); u(t)为t时刻系统输出控制量;Kp为比例系数;ki为积分系数;kd为微分系数;fl1(t)为理想呼吸气流;fl2(t)为实际呼吸气流;u(t) is the system output control quantity at time t; Kp is the proportional coefficient; ki is the integral coefficient; kd is the differential coefficient; fl1 (t) is the ideal respiratory airflow; fl2 (t) is the actual respiratory airflow; 所述恒流刺激模块用于根据所述新的刺激参数产生恒定的刺激电流;The constant current stimulation module is used to generate a constant stimulation current according to the new stimulation parameters; 所述光电极驱动模块用于根据所述刺激电流控制所述光电极产生相应的光电刺激信号;The photoelectrode driving module is used to control the photoelectrode to generate a corresponding photoelectric stimulation signal according to the stimulation current; 所述光电极驱动模块的型号为TLC5940LED驱动器,具备16个恒流输出通道,最大可输出120mA电流,与导光导电的光电极的微型发光二极管连接;The model of the photoelectrode driving module is TLC5940LED driver, which has 16 constant current output channels and can output a maximum current of 120mA, and is connected to the micro light emitting diode of the photoelectrode that guides light and conducts electricity; 所述光电极由水凝胶基底、多个导光电极片和多个导电电极片组成;The photoelectrode is composed of a hydrogel substrate, a plurality of light-conducting electrode sheets and a plurality of conductive electrode sheets; 其中,所述水凝胶基底包括安装面和安装耳;所述安装面为弧面结构;所述导光电极片和所述导电电极片呈交错阵列布置,并嵌入所述安装面的内侧弧面上;所述安装耳径向安装在所述安装面的外侧弧面上,且对称设置;所述安装耳上开设有安装孔,用于医生手术时将手术线穿入通孔将电极固定于表皮;The hydrogel substrate includes a mounting surface and mounting ears; the mounting surface is a curved surface structure; the light-guiding electrode sheets and the conductive electrode sheets are arranged in a staggered array and embedded in the inner curved surface of the mounting surface; the mounting ears are radially mounted on the outer curved surface of the mounting surface and are symmetrically arranged; the mounting ears are provided with mounting holes for doctors to insert surgical wires into the through holes to fix the electrodes to the epidermis during surgery; 导光电极片选用微型发光二极管,其尺寸为200μm×260μm;导电电极片采用铂金材料制备,尺寸为200μm×260μm;将导光、导电电极片交错阵列嵌入至具备生物兼容性的水凝胶基底中;The light-guiding electrode sheet is made of a micro-light-emitting diode with a size of 200μm×260μm; the conductive electrode sheet is made of platinum material with a size of 200μm×260μm; the light-guiding and conductive electrode sheets are staggered and embedded in a biocompatible hydrogel substrate; 水凝胶基底外径尺寸为4mm,内径为3mm,高度为10mm。The hydrogel substrate has an outer diameter of 4 mm, an inner diameter of 3 mm, and a height of 10 mm. 2.根据权利要求1所述的一种植入式膈肌起搏器,其特征在于,所述安装面的截面为2/3圆弧形。2. An implantable diaphragm pacemaker according to claim 1, characterized in that the cross-section of the mounting surface is a 2/3 arc shape. 3.根据权利要求1所述的一种植入式膈肌起搏器,其特征在于,所述体表电极采用医用表面电极,且其表面涂覆有银。3. An implantable diaphragm pacemaker according to claim 1, characterized in that the body surface electrode is a medical surface electrode, and its surface is coated with silver. 4.根据权利要求1所述的一种植入式膈肌起搏器,其特征在于,所述信号处理模块根据膈肌的实时电信号预测当前实际呼吸气流,包括:4. The implantable diaphragm pacemaker according to claim 1, wherein the signal processing module predicts the current actual respiratory airflow according to the real-time electrical signal of the diaphragm, comprising: 将所述体表电极实时采集的膈肌电信号进行数字带通滤波处理,得到处理后的膈肌电信号;Performing digital bandpass filtering on the diaphragm electrical signal collected in real time by the body surface electrode to obtain a processed diaphragm electrical signal; 计算处理后膈肌电信号的样本熵值;Calculate the sample entropy value of the processed diaphragm electrical signal; 基于所述样本熵值预测当前实际呼吸气流。The current actual respiratory airflow is predicted based on the sample entropy value. 5.根据权利要求4所述的一种植入式膈肌起搏器,其特征在于,计算处理后膈肌电信号的样本熵值,包括:5. The implantable diaphragm pacemaker according to claim 4, characterized in that the sample entropy value of the processed diaphragm electrical signal is calculated, comprising: 基于处理后的膈肌电信号生成数据序列{x(i)},其中,i=1,2,...,N,N为数据长度总和;Generate a data sequence {x(i)} based on the processed diaphragm electrical signal, where i=1, 2, ..., N, and N is the total length of the data; 基于数据序列{x(i)},分别构建m维矢量矩阵X(i)和X(j);Based on the data sequence {x(i)}, construct m-dimensional vector matrices X(i) and X(j) respectively; X(i)=[x(i),x(i+1),…,x(i+m-1)];X(j)=[x(j),x(j+1),…,x(j+m-1)];X(i)=[x(i),x(i+1),…,x(i+m-1)]; X(j)=[x(j),x(j+1),…, x(j+m-1)]; 其中,m表示膈肌电信号数据序列中连续的m个值;1≤i≤N-m+1;1≤j≤N-m;i≠j;Wherein, m represents the m consecutive values in the diaphragm electrical signal data sequence; 1≤i≤N-m+1; 1≤j≤N-m; i≠j; 确定X(i)中两个向量中的差值最大值dijDetermine the maximum difference d ij between two vectors in X(i); 给定相似容差r,统计X(i)中dij≤r的数目,并对所有N-m条件下的dij≤r的数目的向量总和求平均;Given a similarity tolerance r, count the number of d ij ≤ r in X(i) and average the vector sum of the number of d ij ≤ r under all Nm conditions; 上式中,r取值为0.1-0.25SD(X),SD表示信号的标准差;Bi m(r)表示X(i)中dij≤r的数目与dij数组中元素个数的比值,Bm(r)表示所有N-m条件下的dij≤r的数目的向量总和的平均值;In the above formula, r is 0.1-0.25SD(X), SD represents the standard deviation of the signal; B i m (r) represents the ratio of the number of dij ≤r in X(i) to the number of elements in the dij array, and B m (r) represents the average value of the vector sum of the number of dij ≤r under all Nm conditions; 利用下式计算m+1维矢量矩阵的所有向量总和的平均值:The average value of the sum of all vectors of an m+1 dimensional vector matrix is calculated using the following formula: 利用下式计算数据长度为N的膈肌电信号的样本熵值:The sample entropy value of the diaphragm electrical signal with a data length of N is calculated using the following formula: 6.根据权利要求4所述的一种植入式膈肌起搏器,其特征在于,所述单片机按照下述步骤生成新的刺激参数:6. The implantable diaphragm pacemaker according to claim 4, characterized in that the single chip microcomputer generates new stimulation parameters according to the following steps: 构建理想呼吸气流模型和光电刺激波形模型,并基于所述理想呼吸气流模型生成理想呼吸气流;Constructing an ideal respiratory airflow model and a photoelectric stimulation waveform model, and generating an ideal respiratory airflow based on the ideal respiratory airflow model; 将所述当前实际呼吸气流与所述理想呼吸气流进行比对,生成呼吸气流差值及差值变化率;Comparing the current actual respiratory airflow with the ideal respiratory airflow to generate a respiratory airflow difference and a difference change rate; 将所述呼吸气流差值和所述差值变化率模糊化,利用模糊规则自适应调整所述初始刺激参数,并确定刺激参数的自适应调整规律;Fuzzifying the respiratory airflow difference and the difference change rate, adaptively adjusting the initial stimulation parameters using fuzzy rules, and determining the adaptive adjustment rules of the stimulation parameters; 建立所述刺激参数的自适应调整规律与所述光电刺激波形模型间的线性关系;Establishing a linear relationship between the adaptive adjustment rule of the stimulation parameters and the photoelectric stimulation waveform model; 基于所述线性关系,对所述光电刺激波形模型的原有刺激参数进行调节,并生成新的刺激参数。Based on the linear relationship, the original stimulation parameters of the photoelectric stimulation waveform model are adjusted, and new stimulation parameters are generated.
CN202011387736.0A 2020-12-01 2020-12-01 An implantable diaphragm pacemaker and control method thereof Active CN112451854B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011387736.0A CN112451854B (en) 2020-12-01 2020-12-01 An implantable diaphragm pacemaker and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011387736.0A CN112451854B (en) 2020-12-01 2020-12-01 An implantable diaphragm pacemaker and control method thereof

Publications (2)

Publication Number Publication Date
CN112451854A CN112451854A (en) 2021-03-09
CN112451854B true CN112451854B (en) 2025-01-21

Family

ID=74805249

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011387736.0A Active CN112451854B (en) 2020-12-01 2020-12-01 An implantable diaphragm pacemaker and control method thereof

Country Status (1)

Country Link
CN (1) CN112451854B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113967023B (en) * 2021-10-27 2023-08-29 复旦大学 Closed-loop optogenetic intervention system and intervention method
CN114849083B (en) * 2022-04-11 2025-05-30 中国科学院合肥物质科学研究院 A simulation system and method for human respiratory motion
CN118557895B (en) * 2024-08-01 2024-10-22 南昌大学附属康复医院(南昌大学第四附属医院) Autonomous diaphragmatic stimulation device and related products

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103301576A (en) * 2013-05-27 2013-09-18 中国科学院苏州生物医学工程技术研究所 Implantable multimodal neuromodulation electrode based on photoelectric technology and manufacturing method thereof
CN103330979A (en) * 2013-05-30 2013-10-02 中山大学 Breathing machine control method and breathing machine apply control method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012134505A1 (en) * 2011-03-28 2012-10-04 Neurostream Technologies General Partnership System and method for treating apnea using evoked swallow
US9872989B2 (en) * 2015-04-02 2018-01-23 The Florida International University Board Of Trustees System and method for neuromorphic controlled adaptive pacing of respiratory muscles and nerves
US10195429B1 (en) * 2017-08-02 2019-02-05 Lungpacer Medical Inc. Systems and methods for intravascular catheter positioning and/or nerve stimulation
CN111973874B (en) * 2020-08-14 2022-07-29 北京航空航天大学 Photoelectric combined stimulation device and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103301576A (en) * 2013-05-27 2013-09-18 中国科学院苏州生物医学工程技术研究所 Implantable multimodal neuromodulation electrode based on photoelectric technology and manufacturing method thereof
CN103330979A (en) * 2013-05-30 2013-10-02 中山大学 Breathing machine control method and breathing machine apply control method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Improvement in Neural Respiratory Drive Estimation from Diaphragm Electromyographic Signals using Fixed Sample Entropy;Luis Estrada etc.;IEEE;第20卷(第2期);1-10 *
Luis Estrada etc..Improvement in Neural Respiratory Drive Estimation from Diaphragm Electromyographic Signals using Fixed Sample Entropy.IEEE.2015,第20卷(第2期),1-10页. *

Also Published As

Publication number Publication date
CN112451854A (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN112451854B (en) An implantable diaphragm pacemaker and control method thereof
CN105916549B (en) Systems and related methods for optimizing multi-electrode neural pacing
CN103349814B (en) The device of the airway disorders for the treatment of horse and system
US8644921B2 (en) Neuromodulation system and method for treating apnea
US12070601B2 (en) Stimulation system for exercising diaphragm and method of operation thereof
DE60319419T2 (en) SLEEP DETECTION WITH ADJUSTABLE THRESHOLD
US4827935A (en) Demand electroventilator
US8644939B2 (en) Method and device for the detection, identification and treatment of sleep apnea/hypopnea
US20160206875A1 (en) Neurostimulation method and system to treat apnea
US20050216064A1 (en) Sensitivity analysis for selecting therapy parameter sets
CN110353874A (en) A kind of sleep disordered breathing treatment system
CN105879223B (en) Method and apparatus for triggering external diaphragm pacemaker by using surface electromyogram signal as synchronization signal
Onders Functional electrical stimulation: restoration of respiratory function
CN106422060A (en) Dual-mode dual-control diaphragm stimulation mechanical ventilation assist device
CN116549853B (en) Pulse generators, stimulators, storage media and program products
CN107158564A (en) A kind of external diaphragm pacemaker of the medium frequency electric stimulation of low frequency modulations
CN2768819Y (en) Nerve function rebuilding instrument
CN206560596U (en) A kind of man-machine synchronized with breath ventilation assist device
CN117065217A (en) Potential signal acquisition equipment and method, medical system, readable storage medium
CN1803216A (en) Method for directly controlling functionalized electronic simulator using brain wave
CN120132219A (en) Low-fatigue multimode external diaphragm pacemaker based on electrocardiosignal feedback
CN210186244U (en) A device for desynchronizing neuronal activity
Alexander Motor Recruitment Properties of 16-Contact Composite Flat Interface Nerve Electrodes (C-FINES) in the Human Upper Extremity
WO2025076355A1 (en) System and method for providing disordered breathing therapy
CN109173052A (en) Nerve stimulation rehabilitation system, neurostimulation methods based on motion intention

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant