Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
DIGITALLY ADJUSTABLE PHRENIC NERVE STIMULATOR SYSTEM
Document Type and Number:
WIPO Patent Application WO/2019/075072
Kind Code:
A1
Abstract:
A system for electrical ventilation stimulation of a patient including an implantable nerve stimulator including a stimulation circuit and a pulse generator that produces biphasic charge-balanced pulses to stimulate a phrenic nerve, an external digital programming device having near field communication transmission and a digital interface, and wherein the external digital programming device is used to control settings of the implantable nerve stimulator.

Inventors:
REVINSKI ALEXEY (US)
GONG KIRBY (US)
CRIPE EMMA (US)
WANG MICHELLE (US)
GLUCKSBERG MATTHEW (US)
WEESE-MAYER DEBRA (US)
CHIN ANTHONY (US)
Application Number:
PCT/US2018/055226
Publication Date:
April 18, 2019
Filing Date:
October 10, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
UNIV NORTHWESTERN (US)
ANN AND ROBERT H LURIE CHILDRENS HOSPITAL OF CHIGAGO (US)
International Classes:
A61N1/36; A61H31/00
Domestic Patent References:
WO2005018737A12005-03-03
Foreign References:
US20060122661A12006-06-08
US9776005B22017-10-03
US7970475B22011-06-28
US6415183B12002-07-02
Other References:
DIMARCO ET AL.: "Phrenic Nerve Pacing Via Intramuscular Diaphragm Electrodes in Tetraplegic Subject's Chest", CHEST, vol. 127, no. 2, March 2005 (2005-03-01), pages 671 - 678, XP055592053, ISSN: 0012-3692, Retrieved from the Internet DOI: 10.1378/chest.127.2.671
ONDERS RP. ET AL.: "Characterization of the human diaphragm muscle with respect to the phrenic nerve motor points for diaphragmatic pacing", AM SURG., vol. 70, no. 3, March 2004 (2004-03-01), pages 241 - 247, XP055592059, Retrieved from the Internet
Attorney, Agent or Firm:
THIMMIG, David, M. (US)
Download PDF:
Claims:
Claims

1. A system for electrical ventilation stimulation of a patient, comprising:

an implantable nerve stimulator including a stimulation circuit and a pulse generator that produces biphasic charge-balanced pulses to stimulate a phrenic nerve;

an external digital programming device having near field communication transmission and a digital interface;

wherein the external digital programming device is used to control settings of the implantable nerve stimulator.

2. The system of claim , wherein the implantable nerve stimulator utilizes an electrode for phrenic nerve stimulation and a subcutaneous anode plate.

3. The system of claim , wherein the implantable nerve stimulator is powered by a battery.

4. The system of claim 3, wherein the battery is wireiessly chargeable.

5. The system of claim 1 , wherein the external digital programming device utilizes wireless communication in changing the settings of the implantable nerve stimulator.

8. The system of claim 5, wherein the wireless communication occurs via a near field communications network allowing settings of the implantable nerve stimulator to be set remotely.

7. The system of claims 1 , wherein the system automatically adjusts to bio-feedback mechanisms to operate the implantable nerve stimulator autonomously.

8. A method of using an implantable nerve stimulator for electrical stimulation to control ventilation of a patient, comprising:

surgical placement of an implantable nerve stimulator in the patient that produces charge-balanced pulses to stimulate a phrenic nerve; and

utilizing an external digital programming device to program settings of the implantable nerve stimulator with respect to parameters and modes for wireless operation of the implantable nerve stimulator,

9. The method of claim 8, wherein implanting in the patient an implantable nerve stimulator includes implanting an electrode for phrenic nerve stimulation and a subcutaneous anode plate. 0. The method of claim 8, wherein the implantable nerve stimulator further includes a stimulation circuit and a pulse generator that produces biphasic charge- balanced pulses to stimulate a phrenic nerve.

11. The method of claim 8, wherein utilizing an external digital programming device to program settings of the implantable nerve stimulator further comprises the external digital programming device communicating with the implantable nerve stimulator via a digital interface and near field communication transmission.

12. The method of claim 8, wherein using an implantable nerve stimulator for electrical stimulation to control ventilation of a patient further comprises charging a battery in the implantable nerve stimulator wireiessiy.

Description:
Title

Digitally-Adjustable Phrenic Nerve Stimulator System

Cross-Reference to Related Application

[0001] This application claims the benefit of U.S. Provisional Patent

Application Serial No. 62/570, 164, filed October 10, 2017, the disclosure of which is hereby incorporated by reference in its entirety.

Field Of The Invention

[0002] The present disclosure generally relates to the field of controlling respiration of a patient and more particularly to devices and methods used in providing stimulation pulses to the phrenic nerve to cause a diaphragm contraction and thereby provide a breath.

Background of the Invention

[0003] Patients with conditions like Congenital Central Hypoventilation Syndrome (CCHS), quadripiegia and Amyotrophic Lateral Sclerosis (ALS) need continuous and prolonged artificial ventilation as life-support. External mechanical positive pressure ventilation and diaphragm pacing (a form of negative pressure ventilation) generally are regarded as the two most effective solutions.

[0004] Positive pressure ventilation may be provided by means of an external mechanical ventilator connected to the patient's airway via a tracheostomy. This has the clear disadvantages of requiring the tracheostomy and connection to

cumbersome and heavy equipment that must always be with the patient.

[0005] During diaphragm pacing, the patient's diaphragm is either directly or indirectly stimulated with electrical pulses. Prior art devices that utilize direct diaphragm (muscle) stimulation require significant power usage. Phrenic nerve stimulation is an approach to diaphragm pacing that electrically stimulates the phrenic nerve (which intrinsically innervates the diaphragm), leading to

diaphragmatic contraction and a breath. The current state-of-the-art phrenic nerve diaphragm stimulation system uses less power than a direct diaphragm stimulation system, but also relies on outdated analog technology. Such technology requires the patient to be tethered to an external control device (a transmitter) throughout pacing, and offers limited programming options that must be modified with a small handheld phiilips screwdriver.

[0008] A more physiologically-appropriate approach is provided by the currently available Avery Breathing Pacemaker, a diaphragm pacing system manufactured by Avery Biomedical Devices, which is the only FDA-approved phrenic nerve stimulator system known to the inventors. It is a system that accomplishes some physiological needs and consists of an external analog radio-frequency (RF) transmitter and bilaterally subcutaneously implanted short-range RF receivers. The patient is required to be tethered to two antenna coils attached to the external transmitter. The transmitter generates RF signals and transfers them using external the antennae attached to the patient's body directly over the subcutaneous bilaterally-implanted receivers.

[0007] The receivers' analog circuit transduces the signal into simulation pulses, which travel along the stainless steel wires to the specially designed phrenic nerve electrodes placed thoracoscopicaily in the chest (bilateral electrodes and connecting wires linking to the subcutaneously implanted receivers). The pulses pass from the electrodes to the respective phrenic nerves, the nerves stimulate the diaphragm, and a breath is generated. However, the Avery system has notable disadvantageous limitations. The system offers only one respiration mode per transmitter (such as walking, running or sitting), has limited versatility with respect to use during serious exercise (does not provide adequate ventilator support to avert low oxygen and increased carbon dioxide), requires external batteries (fit into the external transmitter) and cumbersome wearable external components (the transmitter and the two antennae). The external transmitter takes on all of the control functionality, so without it (via the antennae) actively transmitting in immediate range of the subcutaneously implanted receivers, stimulation and artificial breathing are not possible. The external transmitter also offers less than reliable metrics for adjusting its respiration settings and the physician and technical team have to manually adjust the system by hand (using a miniature philiips screwdriver and a flashlight), viewing the output using surface Electromyography (EMG) electrodes that are pre-amplified then seen on a digital oscilloscope.

Summary

[0008] This disclosure presents a new digitally adjustable phrenic nerve (DAPhNe) stimulator system that is directed to patients who acquire, genetically or otherwise, severe autonomic nervous system disorders that result in prolonged hypoventilation, often with abnormal responses to low oxygen or elevated carbon dioxide. The new system addresses and overcomes limitations in the prior art.

[0009] In a first aspect, the disclosure provides a system for electrical ventilation stimulation of a patient that includes an implantable nerve stimulator including a stimulation circuit and a pulse generator that produces biphasic charge- balanced pulses to stimulate a phrenic nerve, an external digital programming device having near field communication transmission and a digital interface, wherein the external digital programming device is used to control settings of the implantable nerve stimulator.

[00010] In a second aspect, the disclosure provides a method of using an implantable nerve stimulator for electrical stimulation to control ventilation of a patient that includes surgical placement of an implantable nerve stimulator in the patient that produces charge-balanced pulses to stimulate a phrenic nerve, and utilizing an external digital programming device to program settings of the implantable nerve stimulator with respect to parameters and modes for wireless operation of the implantable nerve stimulator.

[00011] The digitally-adjustable phrenic nerve stimulator system includes an implantable stimulator and an external controller that wirelessly communicates with the stimulator. The part of the system that is implantable electrically stimulates the patient's phrenic nerves, which innervate the diaphragm muscle and provide a natural way for the patients to breathe. Thus, this approach avoids prior art external mechanical positive pressure ventilation and direct stimulation of the diaphragm muscle in pacing. While the system originally was designed to target CCHS, it is applicable to any other hypoventilation-inducing conditions, in which a long-term solution is necessary or desired.

[00012] As above noted and explained further herein, the example digitally- adjustable phrenic nerve (DAPhNe) stimulator system and example methods of using the same of this disclosure provide several advantageous features. It also is to be understood that both the foregoing general description and the following detailed description are exemplary and provided for purposes of explanation only, and are not restrictive of the claimed subject matter. Further features and objects of the present disclosure will become more fully apparent in the following description of the preferred embodiments and from the appended claims.

Brief Description of the Drawings

[00013] In describing the preferred embodiments, reference is made to the accompanying figures wherein like parts have like reference numerals, and wherein:

[00014] Figure 1 a shows a system having an implanted stimulator and external controller;

[00015] Figure 1 b is a table listing device output parameters in the form of breathing parameter settings;

[00018] Figure 2a-2d provide stimulation electrode voltage potential with respect to body ground, normalized by tissue impedance: with the time scale in Figure 2a being seconds over multiple breaths and showing inspiratory and expiratory phases; the time scale in Figure 2b being tens of milliseconds and showing two pulse cycles; the time scale in Figure 2c being hundreds of

microseconds and showing a single pulse cycle; and Figure 2d showing pulse phases referenced through this disclosure;

[00017] Figures 3a-3d show how three control signals control device output, with Figure 3a showing a desired device output signal, Figure 3b showing pulse timing logic input, Figure 3c showing pulse polarity logic input, and Figure 3d showing pulse magnitude control input;

[000 8] Figure 4 shows an overall hardware diagram for the stimulation implant;

[00019] Figure 5 shows a theoretical stimulation circuit;

[00020] Figure 8 shows an equivalent circuit when pulse polarity control signal

(VPOL) is high;

[00021] Figure 7 shows an equivalent circuit when pulse polarity control signal VPOL is low;

[00022] Figure 8a shows a circuit diagram of the digitally-adjustable phrenic nerve (DAPhNe) stimulator prototype;

[00023] Figure 8b is a table listing active and passive components used in the DAPhNe stimulator prototype;

[00024] Figure 9 is an enlarged photograph of the prototype DAPhNe stimulator;

[00025] Figure 0 is an enlarged photograph of custom printed circuit boards (PCBs) for the DAPhNe microcontroller unit (MCU) (top left in photograph) and the DAPhNe stimulation circuit (STIM) (bottom right in the photograph);

[00026] Figure 1 1 is an enlarged photograph of an ANT7-T- 24LRQ4 Near Field Communication (NFC) Antenna Board;

[00027] Figure 12 is a diagram showing the two-state time-based state machine aspect of the DAPhNe stimulator;

[00028] Figure 13 is a diagram showing the hardware peripheral even chain that produces biphasic pulses; and

[00029] Figure 14 is a table listing three four-value peripheral configuration buffers.

[00030] It should be understood that the drawings are not to scale. While some details of the example digitally-adjustable phrenic nerve stimulator system, including potential alternative configurations, have not been included, such details are considered within the comprehension of those of skill in the art in light of the present disclosure. It also should be understood that the present invention is not limited to the example embodiments illustrated.

Detailed Description of the Preferred Embodiment

[00031] A digitally adjustable phrenic nerve stimulator system 2, shown in Figure 1a, is provided as a direct improvement over the prior art systems. The system includes an implanted stimulator or digital implant 4 and an external controller 6. The implant 4 provides pulse generation, with digital adjustment via wireless Near Field Communications (NFC) technology. The external controller 6 includes an NFC transmitter that provides a digital user interface.

[00032] Overview of Stimulator implant and External Controller

[00033] As opposed to prior art mechanical ventilation, the system 2 uses the body's own phrenic nerve-diaphragm connection to induce diaphragm contraction, thereby making a breath. Thus, by providing stimulation pulses to the nerve, the implanted stimulator 4 causes the diaphragm to contract. This develops negative pressure on inspiration (with respect to atmospheric) inside the patient's airways, drawing oxygenated air into the lungs. Upon rest, the diaphragm relaxes and exhalation occurs.

[00034] The digitally adjustable system 2 accomplishes diaphragm pacing by using stimulation pulses that reach the nerve through an embedded electrode, but the digital implant 4 is able to autonomously generate its own simulation pulses without the need for an external controller that must be in constant communication or for the patient to wear cumbersome external components. The digital implant 4 includes a stimulation circuit and generates biphasic charge-balanced pulses to stimulate the phrenic nerve. Use of monopolar nerve stimulation while balancing electrical charge passing through the tissue helps to prevent nerve damage due to long term stimulation. The system 2 is very efficient with respect to power consumption, because it only stimulates two nerves. This allows the implant 4 to be battery powered and responsible for stimulation output generation and proper breathing control on its own. [00035] The system's external controller 8 is used to wirelessly program new breathing mode parameters into the implant's software. The external controller 4 is used to change the pulse settings of the implant 4, permitting multiple programmable breathing parameters and modes. The controller 6 and implant 4 communicate via wireless NFC technology and the lithium ion battery in the implant 4 may be wirelessly charged. Wireless control allows the patient to remain untethered to any external devices. It is further contemplated that use of bio-feedback mechanisms may allow the system to become almost completely autonomous, eliminating the need for regular control with an external device.

[00036] The digitally adjustable phrenic nerve stimulator system 2 enhances mobility of patients in need of continuous artificial ventilation and supports a wider range of exertional activities, compared to prior art systems. The new system 2 provides patients and healthcare personnel with an intuitive, wireless, multi-modal system that supports a range of breathing modes to provide artificial ventilation for life-support in age-appropriate activities of daily living. The system includes a digital wireless handheld external controller 6 and a battery-powered implantable stimulator 4. The implant 4 is capable of autonomously stimulating the phrenic nerve, while the external controller 8 is used by a physician or healthcare personnel to program various breathing parameters and modes unique to each patient, which may permit patients to switch between preprogrammed breathing modes. Thus, upon changing breathing modes (i.e. from "walking" to "running" or "sitting", "eating", etc.), the external device 6 communicates new breathing parameters to the implant 4 via NFC technology. The implant 4 autonomously provides breathing control at the desired settings, while the external controller 6 is only used to switch the implant 4 from one mode to another on a per breath basis.

[00037] The implantable stimulator 4 performs phrenic nerve stimulation for long-term ventilatory support with multimodal capabilities and breath-to-breath control. The implant 4 includes a microcontroller and a stimulation circuit. The device draws current through the tissue by means of a hemi-cuff electrode and a subcutaneous anode plate. This new system 2 supports a wider range of patient activities and allows for increased patient mobility compared to prior art systems. The easily adjustable digital nature of the system will improve control over breathing modes by patients and healthcare professionals.

[00038] Constant-Current Stimulation

[00039] To stimulate the neural tissue, the system 2 applies a constant current through the phrenic nerve. This is referred to as constant-current stimulation (CCS). CCS pulls a constant current through the load no matter the tissue impedance, which ensures proper neural excitation at each stimulation pulse. CCS leads to relatively larger power consumption than use of a constant-voltage stimulation (CVS) system, but provides more reliable stimulation. Because the focus of the system 2 is on patient treatment, support, and reliability, the implanted stimulator 4 employs CCS to achieve phrenic nerve excitation. Hence, it pulls a programmable current through tissue, limited only by the device's rail-to-rail power supply.

[00040] Charge Balancing Biphasic Stimulation

[00041] As the charge is injected into the tissue, it disrupts the electrical potential balance in neural cells. The body naturally achieves ionic balance in the tissue via cellular pumps and channels, but this process happens gradually.

Stimulation devices usually do not balance the charge they inject into the tissue. While this is a tolerable short-term solution, prolonged unbalanced solutions may be suitable for patients.

[00042] To combat this issue, some researchers have used a biphasic stimulation pattern using dual power supplies, in effect, a negative stimulation pulse depolarizes the nerve, and the following positive re-charge pulse balances out the injected charge. The present system 2 provides a solution to this as well, it generates a positive re-charge pulse that has a much smaller magnitude but takes place for a longer time period than the negative stimulation pulse. By matching the total amount of charge exchanged during each positive and negative pulse, the implanted stimulator 4 takes care of the charge-balancing problem, but also prevents the unwanted anodic stimulation. [00043] Device Output

[00044] Based on the above considerations, the output of the system 2 consists of biphasic pulses and the stimulation electrode voltage potential with respect to body ground, normalized by tissue impedance is depicted in Figures 2a-2d,

[00045] Programmable Parameters

[00046] The system has full control of all the depicted parameters, and Figure b provides a table of the breathing parameter settings satisfied by a prototype of the implant 4. With respect to the parameters, it should be understood that most minimum and maximum values would be limited in software to ensure patient safety and further evaluation will be required to determine absolute minimum and maximum values that should be allowed by the device,

[00047] Output Waveform

[00048] Turning to Figures 2a-2d, one can appreciate that Figure 2a has a time scale in seconds for multiple breaths, showing inspiratory and expiratory phases, and that on the breath-to- breath scale shown in Figure 2a, the system 2 has full control of the patient's breathing rate and inspiratory time. Figure 2b has a time scale in tens of milliseconds and shows two pulse cycles. For optimal physiological stimulation, the pulse cycles are generated at 20Hz, with the higher frequencies allowed to smooth out the contraction curve seen in Figure 2b. Figure 2c has a time scale in hundreds of microseconds and shows a single pulse cycle. The pulses themselves are generated having four phases, as shown in Figure 2c. Figure 2d refers to the pulse phases referenced throughout the document. The actual stimulation pulse is followed by a period of rest (IPR), followed by a recharge pulse smaller than the stimulation pulse in magnitude and larger in length by a certain Stimuiation-to-Recharge Scaling (SRS) ratio. For example, with SRS = 10, the recharge pulse is 10 times longer than the stimulation pulse, but also 10 times smaller in magnitude. This allows for the positive pulse to assume a low magnitude, yet completely balance the charge injected into tissue. The fourth phase is the resting phase, during which no signals are generated until the next pulse cycle. [00049] Stimulation Controi Signal

[00050] To achieve the device output shown in Figures 2a-2d, the implanted stimulator includes an embedded microcontroller. The microcontroller provides the following three control signals to a hardware stimulation circuit: pulse timing logic (on/off), referred to hereinafter as VTIM; pulse polarity logic (positive/negative), referred to hereinafter as VPOL; and pulse magnitude analog signal, referred to hereinafter as V AG, Figures 3a-3d show how the three signals control device output during ail four phases of the pulse cycle. Figure 3a shows an example desired device output signal; Figure 3b shows an example pulse timing logic input signal; Figure 3c shows pulse polarity logic input; and Figure 3d shows an example pulse magnitude controi input signal.

[00051 ] Example Hardware Prototype

[00052] Figure 4 shows a hardware module diagram for a prototype. The device is powered by a 3.7V Lithium ion battery, which is charged wirelessiy using a Qi- capable power receiver SoC through the patient's thin skin layer. The battery supplies energy to two voltage supplies. The 3.3V supply powers the embedded microcontroller (MCU) and the wireless NFC memory; the 10V boost supply powers the stimulation circuit. The device draws current through the tissue by means of a hemi-cuff electrode and a subcutaneous anode plate.

[00053] Stimulation Circuit

[00054] With respect to previously mentioned Figures 3a-3d, the

microcontroller outputs three control signals that interface with a stimulation circuit of the stimulation implant 4. The theoretical stimulation circuit, along with a

"summarized" depiction of the microcontroller is shown in Figure 5. The circuit consists of a programmable current sink, a polarity switching circuit, and a "valve" MOSFET switch (Q1) controlling the current sink.

[00055] Current Sink Circuit

[00056] The programmable current sink is implemented with a precision op- amp, a low Rdson MOSFET, and a high-precision current flow control resistor (R2). The voltage potential applied to the positive terminal of the op-amp appears at the R2-Q2 node in the circuit via negative feedback; this establishes a certain current over R2. With a value of 200Ω, 1V at the positive terminal of the op-amp results in 5mA of current flowing through R2, The op-amp outputs just enough voltage to the gate of Q2 as to establish this current through R2 and equate the potential at its positive and negative terminals.

[00057] Current flowing through R2 comes only from the source of Q2.

Assuming the dual SPDT switch is configured in such a way that the load is in series with Q2, ail of this current also flows through the load. In this way, a programmable current is pulled through the load, no matter its actual impedance.

[00058] Control Switch

[00059] The Q1 OSFET acts as a "valve" for the VMAG signal output from the microcontroller; the gate of Q1 is connected to VTIM output. So, when VTIM is high, Q1 fully conducts (VTIM is always greater than VMAG, which is in the range of 0- 2V), and VMAG appears at the positive terminal of the op-amp, forcing current to flow through the load. When VTIM is low, Q1 does not conduct; the positive terminal of the op-amp is pulled to device ground by R1 , and no current flows through the load.

[00060] Polarity Switching Circuit

[00061] The signal VPOL controls the orientation of the dual SPDT switch. Both SPDT branches of the switch are tied together to VPOL - they are both switched when VPOL changes. When VPOL is high, the equivalent circuit is shown in Figure 6. Body ground is connected to the 0V source, and stimulation electrode - to the drain of Q2. When Q2 conducts, current flows from body ground to the stimulation electrode - electrode is driven low with respect to body ground.

[00062] Alternatively, when VPOL is driven low, the equivalent circuit is shown in Figure 7. in this case, the stimulation electrode is connected to the 10V source, and body ground - to the drain of Q2. When Q2 conducts, the electrode is driven higher than body ground, and current flows in the opposite direction, balancing the charge pulled through tissue during a previous negative pulse. Capacitor C1 prevents spikes appearing at the output of the op-amp as a result of sudden switching of Q1 , and C2 smooths out the spikes caused by sudden switching of Q2, Both capacitors are there to smooth out current spikes through the tissue.

[00063] Device Circuit Diagram

[00064] Figure 8a shows the overall device circuit diagram. No device protection features have been incorporated into the design yet - only functionally relevant components described below. Figure 8b provides a table listing the active and special passive components used in the prototype.

[00065] Prototype Hardware Design

[00066] The current prototype incorporates some of the above components in custom-designed PCBs, and others as part of third- party solutions, some of which are open-source devices. An enlarged photograph of the current prototype stimulator is shown in Figure 9. Figure 8a lists the active and special passive components used in the prototype.

[00067] Battery

[00068] The battery powering the current prototype is LIR2450H, a 190 mAh rechargeable Li-Ion coin cell. A breakout board was designed for this battery size (large square white-colored prototyping board on top left of Figure 9). it features a 2450-size battery holder, a push button (SPST) and an SPDT switch, with multiple screw-in ports for the positive and negative terminals of the battery.

[00069] 3.3V DC Supply

[00070] The prototype is powered by the aforementioned Li-Ion battery.

Batteries of this type can assume close to 4.0 V when fully charged, and go down to 3.0V when discharged. Yet, the chosen microcontroller is most stable at a 3.3V supply. So, a simple buck converter or a linear regulator cannot be used, as the battery voltage can dip below 3.3V for some portion of the discharge cycle. A buck- boost converter, however, is very suitable,

[00071] The stimulator prototype uses a 3.3V DC supply board by SparkFun, LiPower PRT-10255. it powers the microcontroller, NFC memory chip, and related circuitry. At the heart of the board is the TPS61200 buck/boost converter from Texas Instruments, which features programmable voltage output, over temperature protection, and an undervoltage lockout (UVLO) feature.

[00072] The latter feature makes sure the battery is not overdrawn by the rest of the circuit. At a certain programmable low voltage threshold, the converter essentially disconnects the battery supply from the rest of the circuit. On the LiPower board, this threshold was adjusted to about 3.0V by soldering a 1 ΜΩ resistor (R16) in parallel with R13 (see the circuit diagram in Figure 8a). While this power supply board from SparkFun is a good short-term solution, it will be appreciated that a microcontroller running on a sub-2V supply may be used and, in that case, a simple buck-converter with a UVLO-like feature may be used.

[00073] Charging Circuitry

[00074] The battery of the device is wirelessiy charged using a Qi-compatib!e device, in the current prototype, the wireless power receiver is an evaluation board from ST Microelectronics that uses their STWLC03 Dual Mode Qi/PMA power receiver IC, STEVAL-ISB039V1 R. The external transmitter that supplies energy to the STWLC03 board is the STEVAL-1SB039V1T board, based on ST's 32-bit ARM- Cortex M0 STM32F0 microcontroller.

[00075] The STEVAL-ISB039V R board supplies a constant 5V when the transmitting board's wireless coil is in range of reception. This 5V supply is then used by a Li-ion charge management controller from Microchip Technology, MCP73831 , to charge the LIR2450H battery. MCP73831 is a complete charging solution for Li-Ion batteries, and features multiple charging modes (Preconditioning, Fast Charge, Constant Voltage - all internally managed), and a UVLO feature like TPS61200. The charging cycle only starts once the supply voltage from STWLC03 rises above about 3.4V. The MCP73831 chip also features a tri-state status pin; LEDs L4 and L5 in the circuit diagram in Figure 8a are used in this prototype to visually monitor the status of the battery when charging.

[00076] NFC IVIemory Antenna Board

[00077] As a great substitute for a custom NFC antenna interface, the ANT7-T- M24LR04 reference board from STMicroeiectronics shown in Figure 11 is used as a passive NFC receiver tag in the current prototype. It features a 14mm x14mm NFC antenna, and Dl P-style holes for breakout pins for its power supply and I2C interface data pins.

[00078] Breakout Board Components

[00079] CP73831 (Li-lon charging IC), ADG1636 (SPDT switch IC), and a Schottky diode used to prevent current backflow into the 10V supply (when it is off) from digital inputs of ADG1638 were installed in the prototype using breakout boards.

[00080] DAPhNe MC v 1.0 Printed Circuit Board

[00081 ] A custom PCB design has been developed for the microcontroller that houses the device's software (see Figure 10, top left). The board also acts as a plug- in receiver for the ANT7-T-M24LR04 board (see Figure 9, bottom left). The DAPhNe MCU is a two-layer PCB that features:

[00082] STM8L152C8T6 microcontroller.

[00083] 16 Hz external crystal oscillator used to clock CPU and other peripherals.

[00084] 32.768 kHz external crystal oscillator used for the Real Time Clock (RTC) peripheral.

[00085] 0805 package passives.

[00086] On/off switch, connecting the 3.3V supply from TPS61200 to the rest of the board.

[00087] Power status LED.

[00088] Two general-use LEDs for firmware debugging.

[00089] Screw-in port for the power supply wires.

[00090] Four-O.r-maie-header-pin interface to the ST-L1 NK V2 debuggertooi.

[00091 ] 24 0.1 " Dl P-style breakout pins, used partly to securely position the PCB on a breadboard and partly as signal output pins, to be interfaced with DAPhNe STI and other boards in the prototype.

[00092] Four-0.1 "-pin female connector that acts as a plug port for the ANT7-T- M24LR04 NFC board.

[00093] Push-button used to reset the MCU. [00094] After the DAPhNe MCU v .0 was designed and incorporated into the prototype, one of the MCU pins that was merely used to drive a blue LED for debugging (PB0) actually got an essential role in the device functionality (pulse polarity control signal), and had to be connected to one of the free breakout pins on the PCB by an external wire.

[00095] DAPhNe SHIV! v 1.0 Printed Circuit Board

[00098] A custom PCB design was developed for the stimulation circuit (STIM), excluding the polarity switch IC (see Figure 10, bottom right, and Figure 9, middle left). The polarity-switching circuit is housed externally using standard breakout boards (Figure 9, middle right). The DAPhNe STIM PCB was originally designed to plug in directly into the DAPhNe MCU board, but was installed separately in the prototype. DAPhNe STIM is a two-layer PCB that features:

[00097] LTC3459 10V boost-converter.

[00098] LT 492 single supply dual precision op-amp.

[00099] DMN1019USN 12V N-channei enhancement mode MOSFETS.

[000100] 0805 package passives.

[000101] On/off switch that connects the battery power supply to the rest of the board.

[000102] Power status LED.

[000103] Twelve 0.1 " DiP-styie breakout pins, used partly to securely position the PCB on a breadboard and partly as signal input/output pins, to be interfaced with DAPhNe MCU and other boards in the prototype,

[000104] Four-0.1"-pin female connector that acts as a breakout connector for the polarity-switching circuit, if some pins of the four-pin connector are jumped to each other, the device would still work, but the stimulation electrode will only be able to be driven lower than body ground - this is essentially a polarity-switching circuit bypass.

[000105] Screw-in mount for the stimulation electrode and body ground electrode plate, currently not used in the prototype. [000 08] Two-pin jumper breakout for development of the LTC3459's shutdown feature (not used).

[000107] Software Design

[000108] The heart of the device is a small 8-bit microcontroller from

ST icroelectronics, STM8L152C6T8. The software on this device was developed in ANSI C99 using IAR Embedded Workbench for STM8 (code-size-limited kickstart edition), in conjunction with ST's debugging tool for their ST 8 and ST 32 microcontrollers, called ST-LINK V2. ST's standard peripheral code library for ST 8L15x devices was used to create the source code specific to this CU. An application code library for the 24LR04 NFC memory tag was used to

communicate with if using I2C peripheral.

[000109] Software Requirements

[000110] The software requirements for this device were as follows:

[000111] The program must cyclically generate pulse timing, pulse magnitude, and pulse polarity signals to control the external hardware of the stimulator,

[000112] The program must respect the patient's need for inspiratory and expiratory phases of the breath cycle.

[000113] The output of the device must have programmable pulse length (PL), pulse frequency (PF), pulse magnitude (PM), inter-pulse resting period (IPR), stimuiation-to-recharge scaling ratio (SRS), breathing rate (BR), and inspiratory time (IT). See Figure 2 (in Section 4.3) for visual representation of these variables.

[000114] The device must update its stimulation settings on the very next breath after new settings are communicated to if via the NFC interface, to ensure proper responsiveness.

[000115] The device must remain in the lowest power states as much as possible to conserve the energy supplied to it by a battery unit.

[000118] Power Consumption Considerations

[000117] In implantable medical devices, the focus is always on power efficiency. The main consumers of energy in any embedded system are usually wireless modules and microprocessors. Using passive NFC communication instead of ZigBee, Bluetooth Low Energy, or any other short range wireless technologies eliminates the bulk of power consumption. On another front, however, a very power- conscious microcontroller was chosen. But even when using a power-optimized microprocessor, it is its software that ultimately determines the battery life.

[000118] In any microprocessor not furnished with an on-chip wireless module, the next main power consumer is its central processing unit (CPU), in low-power applications, the CPU on the device must be kept in low- power modes as much as possible, and tasks not explicitly requiring CPU activity must be accomplished using other on-chip hardware. This has been the main focus of software development of the DAPhNe stimulator.

[000 19] Software Architecture

[000120] The software architecture of the device is essentially a two-state time- based state machine (See Figure 12). The device alternates between "inspiratory mode" (IM) and "expiratory mode" (EM); the transitions between these two states are triggered by the device's real-time clock (RTC) unit. While no biological feedback is shown, its use was contemplated. During IM, the device outputs stimulation and recharge pulses. During EM, the device updates its internal variables based on information read from its NFC memory and then rests until the next IM. CPU is kept inactive for as much time as possible, and RTC is used to wake up the CPU upon exiting the M or EM.

[000121] Reducing CPU Duty Cycte

[000122] By "daisy-chaining" multiple on-chip hardware peripherals, stimulation control signals are achieved without active involvement of the CPU. Besides quickly checking the NFC memory for new data using I2C during EM and starting the peripheral event chain during IM, the CPU activity is not needed. During periods of computational inactivity, the device is put into one of two low-power modes.

[000123] Inspiratory IVIode {M): WFI IVIode

[000124] At the beginning of IM, the CPU merely updates the RTC counter to an inspiratory time value (basically, sets a wake-up alarm for itself), and starts a hardware timer, TIM1. This timer triggers the chain of peripheral events explained further herein.

[000125] After updating RTC and TIM1 , the CPU issues a Wait-For-lnterrupt (WFI) instruction; in WFI mode, the CPU is stopped, while other peripherals are still running. As mentioned, the device "wake up" upon RTC overflow interrupt.

[000126] Expiratory IVlode (EiVI): Active Halt IVIode

[000127] Upon waking up from IM's WFI mode via an RTC interrupt, the device enters EM. Again, it updates the RTC counter value - this time, to count expiratory time. It disables TIM1 and TI 2 outputs, effectively shutting down the stimulation circuit, checks the NFC memory for new data using I2C protocol, and issues a "Half instruction. Because RTC has been enabled prior to the instruction, the device enters Active Halt mode. In this mode, CPU and all other peripherals except for RTC are stopped. This greatly reduces the device's power consumption.

[000128] Peripheral Chaining

[000129] The firmware uses the following hardware peripherals to accomplish the above cyclic biphasic pulse generation without involvement of CPU:

[000130] TI 1 - advanced 16-bit control timer, used to control pulse timing (VTIM).

[000131] TIM2 - general purpose 16-bit timer, used to control pulse polarity (VPOL)

[000132] TIM4 - basic 8-bit timer, used to trigger digital-to-analog conversions.

[000133] DAC - 12-bit digitai-to-anaiog converter (DAC), used to control pulse magnitude (VMAG).

[000134] DMA - 4-channel Direct Memory Access (DMA) controller, used to update peripheral memory registers.

[000135] Peripheral Event Flow

[000136] Figure 13 shows how the hardware peripherals are chained together to produce the biphasic pulses. This chain of events happens during each of the four pulse phases shown in Figure 2c. The following sections explain Figure 13 in greater detail. [000137] TIM1

[000138] A new phase starts when TIM1 reaches its auto-reload value. During reload, it resets its counter to 0. The capture compare register of TIM1 is set to 0 permanently, so TIM 1 actually overflows on the very next dock cycle. After that, it simply counts up to the auto-reload value.

[000139] Upon overflow, TIM1 issues an update event trigger flag. TIM 1 toggles its pin output (effectively switching the current magnitude output signal on and off via an external MOSFET). It also issues an update event trigger flag polled by TIM2 and TIM4, and a transfer request on its DMA channel.

[000140] Upon request, DMA transfers a value from the device's random-access memory (RAM) into the T1M __ARR (auto-reload) register, in effect, this controls when TIM1 overflows (and the rest of the chain starts over) next. A simple four value buffer, i.e. {150,450, 1500, ( /PF - (150 + 100 + 1500)} (this example is in units of με), supplied to the TIM1_ARR register would result in the stimulation circuit being on for 150 ps (stimulation phase), off for 450 με (inter-pulse phase), on for 1500 με (recharge phase), and off for the rest of the pulse period. The equivalent signal output from the TIM1 output pin can be seen in Figure 3b.

[000141] Upon being triggered on TIM1 overflow, TIM2 and TIM4 start counting up. They are configured as slaves to TIM1 , and are being synchronized with it using update event triggers.

[000142] TIM 2

[000143] On overflow or update event trigger from TI 1 , T1M2 issues its own DMA request and toggles its own pin output, switching the polarity of the stimulation signal.

[000144] The same way that DMA controller updates the auto-reload register of TIM1 , DMA also controls TIM2 timing. In this case, however, DMA transfers a RAM value into TIM2's capture compare register instead. When TIM2's counter reaches the capture/compare (CC) value, an overflow event is generated, and a DMA transfer request is issued, it is important to note, that TIM1 and TIM2 are docked at the same exact frequency. [000145] In this application, polarity of the signal should be switched right after the negative stimulation pulse to positive, and right after the positive stimulation pulse to negative, as shown in Figure 3c. The software accomplishes this by feeding the DMA TIM2 channel a buffer storing {OxFFFF, 50, OxFFFF, 50}. When the CC value is larger than TIMI 's auto-reload value (i.e. OxFFFF), TIM2 does not have time to reach overflow, and does not toggles its output. However, the TIM1 trigger event still forces TIM2 to issue a DMA request, updating its CC register to a low value (i.e. 50 clock cycles for stability). The effect of the above is that stimulation polarity switches only during the two resting phases (inter-pulse and rest), and never during the actual pulses.

[000146] TIM4

[000147] On TIM1 update event, TIM4 also is triggered. Unlike TIM2, TIM4 does not control any output signals by itself; it is simply used as a gateway to trigger DAC conversions and DMA requests. TI 4 is the only trigger source for DMA in medium density STM8L devices.

[000148] Upon TIM1 trigger, T1M4 starts counting up. However, its CC register is set to 1 , so T1M4 overflows very quickly. It is also configured in "One Pulse" mode, meaning that after overflowing (and issuing an update event), it does not continue counting.

[000149] On its quick overflow, TIM4 issues its own update event trigger, which is polled in hardware by DAC.

[000150] DAC

[000151] On TIM4 update event trigger, DAC performs a conversion of its data register to an analog voltage on its pin output. Upon conversion, DAC issues a DMA transfer request on its configured DMA channel. DMA then transfers a value from RAM to the DAC data register, which is used on the next conversion (on the next phase). By feeding in a buffer like {(high value), (low value), (low value), (high value)}, DAC output assumes the waveform shown in Figure 3d. [000152] DMA

[000153] In short, the device uses three channels of the direct memory access controller to update the ΤΊ 1 , TIM2, and DAC infernal registers, and thus, alter the output signal of the stimulation circuit during each phase of the pulse cycle,

[000154] Peripheral Configuration Buffers

[000155] Three software buffers are used to pump data into the three peripheral registers using DMA. At run-time, these are stored in RAM after each NFC memory check and settings calculation. CPU starts TIM 1 and shuts down; DMA starts

cyclically loading these RAM buffers into TIM T ' s auto-reload register, TIM2's capture/compare register, and DAC's data register.

[000158] The table in Figure 4 shows the three four-value buffers; first value is loaded prior to the stimulation phase, second - during inter-pulse phase, and so on. Effect of the shown values is explained below as well.

[000157] Safety Ending IM

[000158] At the end of IM, depending on the programmed inspiratory time, the pulse phase may be one of the four described above, although optimally, the device should arrive into the "resting" phase (Phase 4) for the duration of EM. When IM ends, the microcontroller starts the RTC counting up do expiratory time and polls the TIM 1_ARR register. At each phase switch, it compares TIM 1_ARR with the software buffer value for Phase 4 timing. If comparison result is false, it keeps going through the pulse phases until Phase 4 is achieved. At this point, the device continues with EM. This ensures that the last stimulation pulse cycle ends safely in Phase 4 before the device goes into EM.

[000159] NFC Data Exchange

[000160] At this prototype stage, no specific data protocol has been developed. An external device simply transmits a string of characters containing 5 comma- separated four-digit numbers.

[000161] The string is of type {0150,0300,2000, 1200,0500}, meaning δθμβ PL, 3.00mA PM , 20.00 bpm BR, 1 .200s IT, 500με I PR". PF is hardcoded to 20Hz and SRS is hardcoded to 10, although both can easily be manipulated in the same way as PL, PM, BR, IT, and IPR with minor changes in code.

[000162] No backward communication protocol has been designed - reading from the NFC memory tag with an external transceiver simply returns the last communicated values.

[000163] As an external transceiver, the prototype uses a receiver board from the M24LR-D1SCOVERY kit from ST Microelectronics, which contains the CR95HF- V D5T transceiver chip. The kit comes with proprietary demo GUI software, which allows for easy data input.

[000164] It will be appreciated that the disclosed digitally adjustable phrenic nerve stimulator system provides novel and highly advantageous devices and methods used in providing stimulation pulses to the phrenic nerve to cause a diaphragm contraction and thereby provide a breath. The system provides an opportunity for controlling a patient's breathing, without being tethered to external devices. While the disclosed system is susceptible of embodiment in many different forms, the present disclosure can be considered as an exemplification of the principals of the invention and is not intended to limit the invention to the examples illustrated, and is only limited by the appended daims and legal equivalents thereof.