Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PAIN MANAGEMENT BASED ON BRAIN ACTIVITY MONITORING
Document Type and Number:
WIPO Patent Application WO/2018/132529
Kind Code:
A1
Abstract:
This document discusses, among other things, systems and methods for managing pain of a subject. A system includes one or more physiological sensors configured to sense a physiological signal indicative of patient brain activity. The physiological signals may include an electroencephalography signal, a magnetoencephalography signal, or a brain-evoked potential. The system may extract from the brain activity signal one or more signal metrics indicative of strength or pattern of brain electromagnetic activity associated with pain, and generate a pain score using the one or more signal metrics. The pain score can be output to a patient or a process. The system may select an electrode configuration for pain-relief electrostimulation based on the pain score, and deliver a closed-loop pain therapy according to the selected electrode configuration.

Inventors:
ANNONI ELIZABETH M (US)
GU JIANWEN (US)
ESTELLER ROSANA (US)
CLARK BRYAN ALLEN (US)
THAKUR PRAMODSINGH HIRASINGH (US)
SRIVASTAVA KYLE HARISH (US)
Application Number:
PCT/US2018/013257
Publication Date:
July 19, 2018
Filing Date:
January 11, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
BOSTON SCIENT NEUROMODULATION CORP (US)
International Classes:
A61B5/0476; A61B5/00; A61N1/36; A61B5/0484
Foreign References:
US20070213783A12007-09-13
US20160302720A12016-10-20
US20140276549A12014-09-18
US20160082265A12016-03-24
US20160144194A12016-05-26
US20150005842A12015-01-01
US8019439B22011-09-13
US7650184B22010-01-19
US201762445075P2017-01-11
US201762445053P2017-01-11
US201762445069P2017-01-11
US201762445082P2017-01-11
US201762445092P2017-01-11
US201762445095P2017-01-11
Attorney, Agent or Firm:
BEEKMAN, Marvin L. et al. (US)
Download PDF:
Claims:
What is claimed is:

1. A system for managing pain of a patient, the system comprising:

a sensor circuit coupled to one or more physiological sensors and configured to sense from the patient at least one physiological signal indicative of patient brain activity;

a pain analyzer circuit coupled to the sensor circuit, the pain analyzer circuit configured to:

generate, from each of the sensed at least one

physiological signal indicative of the patient brain activity, one or more signal metrics indicative of strength or a pattern of brain electromagnetic activity associated with pain; and generate a pain score using the generated one or more signal metrics; and

an output unit configured to output the pain score to a user or a process.

2. The system of claim 1, further comprising:

an electrostimulator configured to generate electrostimulation energy to treat pain; and

a controller circuit coupled to the pain analyzer circuit and the electrostimulator, the controller circuit configured to control the

electrostimulator to deliver a pain therapy and to control the electrostimulation energy generated by the electrostimulator according to the pain score.

3. The system of claim 2, wherein the controller circuit is further configured to:

select, based on the pain score, one or more active electrodes from a plurality of candidate electrodes; and

control the electrostimulator to deliver the pain therapy using the selected one or more active electrodes.

4. The system of claim 3, wherein:

the pain analyzer circuit is further configured to generate pain scores respectively associated with the plurality of candidate electrodes, the pain scores each indicative of patient pain during electrostimulation delivered using a respective candidate electrode; and

the selected one or more active electrodes correspond to respective pain scores less than pain scores associated with other candidate electrodes different from the selected one or more active electrodes.

5. The system of any one of claims 3-4, wherein the controller circuit is further configured to determine electrostimulation energy fractionalization for the one or more active electrodes based on the pain score.

6. The system of any one of claims 2-5, wherein the electrostimulator is further configured to deliver at least one of:

a spinal cord stimulation;

a brain stimulation; or

a peripheral nerve stimulation.

7. The system of any one of claims 1-6, wherein the at least one

physiological signal includes one or more electroencephalography (EEG) signals each recorded at a brain region of interest.

8. The system of claim 7, wherein:

the one or more physiological sensors include one or more electrodes disposed on a lead configured to be implanted in a patient brain; and

the sensor circuit is configured to sense the one or more EEG signals via the one or more electrodes disposed on the lead.

9. The system of claim 8, wherein the one or more electrodes disposed on the lead are further configured to deliver electrostimulation energy to treat pain.

10. The system of claim 7, wherein:

the one or more physiological sensors include one or more wearable sensors communicatively coupled to the sensor circuit, the one or more wearable sensors configured to be removably worn on a patient head; and

the sensor circuit is configured to sense the one or more EEG signals via the one or more wearable sensors.

11. The system of claim 7, wherein the one or more signal metrics include EEG power spectra at one or more frequency bands.

12. The system of any one of claims 1-11, wherein the at least one physiological signal includes a magnetoencephalography signal.

13. The system of any one of claims 1-12, wherein the at least one physiological signal includes a brain-evoked potential.

14. The system of any one of claims 1-13, wherein the pain analyzer circuit is further configured to generate the pain score using a combination of a plurality of the signal metrics weighted by their respective weight factors.

15. The system of claim 2, further comprising an implantable

neuromodulator device that includes one or more of the sensor circuit, the pain analyzer circuit, or the electrostimulator.

Description:
PAIN MANAGEMENT BASED ON BRAIN ACTIVITY MONITORING

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of priority under 35 U.S.C. §

119(e) of U.S. Provisional Patent Application Serial Number 62/445,061, filed on January 11, 2017, which is herein incorporated by reference in its entirety.

CROSS REFERENCE TO RELATED APPLICATIONS

[0002] This application is related to commonly assigned U.S. Provisional

Patent Application Serial No. 62/445,053, entitled "PAIN MANAGEMENT USING CARDIOVASCULAR PARAMETERS", filed on January 11, 2017, U.S. Provisional Patent Application Serial No. 62/445,069, entitled "PAIN MANAGEMENT BASED ON RESPIRATION-MEDIATED HEART RATES", filed on January 11, 2017, U.S. Provisional Patent Application Serial No.

62/445,075, entitled "PAIN MANAGEMENT BASED ON FUNCTIONAL MEASUREMENTS", filed on January 11, 2017, U.S. Provisional Patent Application Serial No. 62/445,082, entitled "PAIN MANAGEMENT BASED ON EMOTIONAL EXPRESSION MEASUREMENTS", filed on January 11, 2017, U.S. Provisional Patent Application Serial No. 62/445,092, entitled "PAIN MANAGEMENT BASED ON MUSCLE TENSION MEASUREMENTS", filed on January 11, 2017, U.S. Provisional Patent Application Serial No. 62/445,095, entitled "PATIENT- SPECIFIC CALIBRATION OF PAIN

QUANTIFICATION", filed on January 11, 2017, U.S. Provisional Patent Application Serial No. 62/395,641, entitled "METHOD AND APPARATUS FOR PAIN MANAGEMENT USING HEART SOUNDS", filed on September 16, 2016, U.S. Provisional Patent Application Serial No. 62/400,313, entitled "SYSTEMS AND METHODS FOR CLOSED-LOOP PAIN MANAGEMENT", filed on September 27, 2016, U.S. Provisional Patent Application Serial No. 62/400,336, entitled "METHOD AND APPARATUS FOR PAIN

MANAGEMENT USING OBJECTIVE PAIN MEASURE", filed on September 27, 2016, U.S. Provisional Patent Application Serial No. 62/412,587, entitled "METHOD AND APPARATUS FOR PAIN CONTROL USING BAROREFLEX SENSITIVITY DURING POSTURE CHANGE", filed on October 25, 2016, which are incorporated by reference in their entirety.

TECHNICAL FIELD

[0003] This document relates generally to medical systems and more particularly to systems, devices, and methods for pain management.

BACKGROUND

[0004] Pain is one of the most common and among the most personally compelling reasons for seeking medical attention, and consumes considerable healthcare resources each year. The relation between etiology, underlying mechanisms and the specific symptoms and signs related to painful disorders is complex. Pain in an individual patient may be produced by more than one mechanism.

[0005] Chronic pain, such as pain present most of the time for a period of six months or longer during the prior year, is a highly pervasive complaint and consistently associated with psychological illness. Chronic pain may originate with a trauma, injury or infection, or there may be an ongoing cause of pain. Chronic pain may also present in the absence of any past injury or evidence of body damage. Common chronic pain can include headache, low back pain, cancer pain, arthritis pain, neurogenic pain (pain resulting from damage to the peripheral nerves or to the central nervous system), or psychogenic pain (pain not due to past disease or injury or any visible sign of damage inside or outside the nervous system).

[0006] Chronic pain may be treated or alleviated using medications, acupuncture, surgery, and neuromodulation therapy such as local electrical stimulation or brain stimulation, among others. Examples of neuromodulation include Spinal Cord Stimulation (SCS), Deep Brain Stimulation (DBS),

Peripheral Nerve Stimulation (PNS), and Functional Electrical Stimulation (FES). Implantable neuromodulation systems have been applied to deliver such a therapy. An implantable neuromodulation system may include an implantable neurostimulator, also referred to as an implantable pulse generator (IPG), which can electrically stimulate tissue or nerve centers to treat nervous or muscular disorders. In an example, an IPG can deliver electrical pulses to a specific region in a patient spinal cord, such as particular spinal nerve roots or nerve bundles, to create an analgesic effect that masks pain sensation.

SUMMARY

[0007] By way of example, chronic pain management may involve determining appropriate treatment regimens such as SCS and evaluating therapy efficacy. Accurate pain assessment and characterization are desirable for managing patients with chronic pain. Currently, pain assessment generally relies on patient subjective report of pain symptoms, including severity, pattern, or duration of pain. Based on the patient reported pain sensation, a clinician may prescribe a pain therapy, such as to manually program an electrostimulator for delivering a neuromodulation therapy. However, the subjective description of pain sensation may be constrained by patient cognitive abilities. The subjective pain description may also be subject to intra-patient variation, such as due to a progression of a chronic disease, or a change in general health status or medication. Having a patient to report and describe each pain episode he or she has experienced is not efficient and may delay appropriate pain therapy.

Additionally, for patients in an ambulatory setting who lack immediate access to medical assistance, manual adjustment of pain therapy by a clinician may not be feasible especially if immediate therapy titration is required. The present inventors have recognized that there remains a demand for improving pain management, such as systems and methods for objective pain assessment and automated closed-loop pain therapy based on objective pain assessment.

[0008] This document discusses, among other things, systems, devices, and methods for assessing pain of a subject. The system includes one or more physiological sensors configured to sense a physiological signal indicative of patient brain activity. The physiological signals may include an

electroencephalography (EEG) signal, a magnetoencephalography (MEG) signal, or a brain-evoked potential. The system may extract from the

physiological signal one or more signal metrics indicative of strength or pattern of brain electromagnetic activity associated with pain, and generate a pain score using the one or more signal metrics. The pain score can be output to a patient or used for closed-loop control of a pain therapy. [0009] Example 1 is a system for managing pain of a patient. The system comprises a sensor circuit, a pain analyzer circuit, and an output unit. The sensor circuit may be coupled to one or more physiological sensors and configured to sense from the patient at least one physiological signal indicative of patient brain activity. The pain analyzer circuit may be coupled to the sensor circuit and configured to generate, from each of the sensed at least one physiological signal indicative of the patient brain activity, one or more signal metrics indicative of strength or a pattern of brain electromagnetic activity associated with pain, and generate a pain score using the generated one or more signal metrics. The output unit may be configured to output the pain score to a user or a process.

[0010] In Example 2, the subject matter of Example 1 optionally includes an electrostimulator configured to generate electrostimulation energy to treat pain, and a controller circuit coupled to the pain analyzer circuit and the electrostimulator. The controller circuit may be configured to control the electrostimulator to deliver a pain therapy and to control the electrostimulation energy generated by the electrostimulator according to the pain score.

[0011] In Example 3, the subject matter of Example 2 optionally includes the controller circuit that may be further configured to select, based on the pain score, one or more active electrodes from a plurality of candidate electrodes, and control the electrostimulator to deliver the pain therapy using the selected one or more active electrodes.

[0012] In Example 4, the subject matter of Example 3 optionally includes the pain analyzer circuit that may be configured to generate pain scores respectively associated with the plurality of candidate electrodes. The pain scores each may be indicative of patient pain during electrostimulation delivered using a respective candidate electrode. The selected one or more active electrodes correspond to respective pain scores less than pain scores associated with other candidate electrodes different from the selected one or more active electrodes.

[0013] In Example 5, the subject matter of any one or more of Examples

3-4 optionally includes the controller circuit that may be further configured to determine electrostimulation energy fractionalization for the one or more active electrodes based on the pain score. [0014] In Example 6, the subject matter of any one or more of Examples

2-5 optionally includes the electrostimulator that may be further configured to deliver at least one of a spinal cord stimulation, a brain stimulation, or a peripheral nerve stimulation.

[0015] In Example 7, the subject matter of any one or more of Examples

1-6 optionally includes the at least one physiological signal that may include one or more electroencephalography (EEG) signals each recorded at a brain region of interest.

[0016] In Example 8, the subject matter of Example 7 optionally includes the one or more physiological sensors that may include one or more electrodes disposed on a lead configured to be implanted in a patient brain. The sensor circuit may be configured to sense the one or more EEG signals via the one or more electrodes disposed on the lead.

[0017] In Example 9, the subject matter of Example 8 optionally includes the one or more electrodes disposed on the lead that may be further configured to deliver electrostimulation energy to treat pain.

[0018] In Example 10, the subject matter of Example 7 optionally includes the one or more physiological sensors that may include one or more wearable sensors communicatively coupled to the sensor circuit. The one or more wearable sensors may be removably worn on a patient head, and the sensor circuit may be configured to sense the one or more EEG signals via the one or more wearable sensors.

[0019] In Example 11, the subject matter of Example 7 optionally includes the one or more signal metrics that may include EEG power spectra at one or more frequency bands.

[0020] In Example 12, the subject matter of any one or more of

Examples 1-11 optionally includes the at least one physiological signal that may include a magnetoencephalography signal.

[0021] In Example 13, the subject matter of any one or more of

Examples 1-12 optionally includes the at least one physiological signal that may include a brain-evoked potential.

[0022] In Example 14, the subject matter of any one or more of

Examples 1-13 optionally includes the pain analyzer circuit that may be further configured to generate the pain score using a combination of a plurality of the signal metrics weighted by their respective weight factors.

[0023] In Example 15, the subject matter of Example 2 optionally includes an implantable neuromodulator device that includes one or more of the sensor circuit, the pain analyzer circuit, or the electrostimulator.

[0024] Example 16 is a method for managing pain of a patient using an implantable neuromodulator device (IND). The method comprises steps of: sensing at least one physiological signal from the patient via a sensor circuit, the at least one physiological signal indicative of patient brain activity; generating, from each of the sensed at least one physiological signal indicative of the patient brain activity, one or more signal metrics indicative of strength or a pattern of brain electromagnetic activity associated with pain; generating a pain score based on the generated one or more signal metrics; and outputting the pain score to a user or a process.

[0025] In Example 17, the subject matter of Example 16 optionally includes delivering a pain therapy via the IND, the pain therapy including electrostimulation energy determined according to the pain score.

[0026] In Example 18, the subject matter of Example 17 optionally includes selecting, based on the pain score, one or more active electrodes from a plurality of candidate electrodes, and delivering the pain therapy using the selected one or more active electrodes.

[0027] In Example 19, the subject matter of Example 18 optionally includes selecting one or more active electrodes that may include steps of:

generating pain scores respectively associated with the plurality of candidate electrodes, the pain scores each indicative of patient pain during

electrostimulation delivered using a respective candidate electrode; and selecting one or more active electrodes with respective pain scores less than pain scores associated with other candidate electrodes different from the selected one or more active electrodes.

[0028] In Example 20, the subject matter of Example 18 optionally includes determining electrostimulation energy fractionalization for the one or more active electrodes based on the pain score.

[0029] In Example 21, the subject matter of Example 16 optionally includes the at least one physiological signal that may include one or more electroencephalography (EEG) signals each recorded at a brain region of interest via an implantable or wearable sensor.

[0030] In Example 22, the subject matter of Example 21 optionally includes sensing the one or more EEG signals via one or more electrodes disposed on a lead implanted in a patient brain, and delivering electrostimulation energy to treat pain via the one or more electrodes disposed on the lead.

[0031] In Example 23, the subject matter of Example 16 optionally includes generating the pain score that may include using a combination of a plurality of the signal metrics weighted by their respective weight factors.

[0032] Objective pain assessment based on pain scores generated from information about patient brain activity, such as brain electromagnetic signals as discussed in this document, may improve automated patient pain

characterization, as well as individualized therapies to alleviate pain or to reduce side effects. The systems, devices, and methods discussed in this document may also enhance the performance and functionality of a pain management system or device. A device or a system programmed with the brain activity-based pain assessment methods can lead to improved automaticity in medical

diagnostics. More efficient device memory or communication bandwidth usage may be achieved by storing or transmitting medical information more relevant to clinical decisions. Additionally, through improved pain therapy efficacy based on patient individual need, battery longevity of an implantable device may be enhanced, or pain medication volume may be saved.

[0033] This summary is intended to provide an overview of subject matter of the present patent application. It is not intended to provide an exclusive or exhaustive explanation of the disclosure. The detailed description is included to provide further information about the present patent application. Other aspects of the disclosure will be apparent to persons skilled in the art upon reading and understanding the following detailed description and viewing the drawings that form a part thereof, each of which are not to be taken in a limiting sense.

BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Various embodiments are illustrated by way of example in the figures of the accompanying drawings. Such embodiments are demonstrative and not intended to be exhaustive or exclusive embodiments of the present subject matter.

[0035] FIG. 1 illustrates, by way of example and not limitation, a neuromodulation system and portions of an environment in which the neuromodulation system may operate.

[0036] FIG. 2 illustrates, by way of example and not limitation, a block diagram of a pain management system.

[0037] FIG. 3 illustrates, by way of example and not limitation, a block diagram of a pain management system comprising an implantable

neuromodulator.

[0038] FIGS. 4A-B illustrate, by way of example and not limitation, block diagrams of selecting active electrodes for delivering pain-relief electrostimulation energy based on the pain score.

[0039] FIG. 5 illustrates, by way of example and not limitation, a block diagram of a portion of the system for sensing brain electromagnetic activities such as an EEG and generating EEG parameters for pain quantification.

[0040] FIG. 6 illustrates, by way of example and not limitation, a flow chart of a method for managing pain in a patient.

[0041] FIG. 7 illustrates, by way of example of not limitation, a flow chart of a method for selecting one or more active electrodes for delivering electrostimulation for pain therapy.

[0042] FIG. 8 illustrates, by way of example of not limitation, a block diagram of an example machine upon which any one or more of the techniques discussed herein may perform.

DETAILED DESCRIPTION

[0043] In the following detailed description, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that the embodiments may be combined, or that other embodiments may be utilized and that structural, logical and electrical changes may be made without departing from the spirit and scope of the present invention. References to "an", "one", or "various" embodiments in this disclosure are not necessarily to the same embodiment, and such references contemplate more than one embodiment. The following detailed description provides examples, and the scope of the present invention is defined by the appended claims and their legal equivalents.

[0044] Clinically, electroencephalography (EEG) and

magnetoencephalography (MEG) studies are used to evaluate separate temporal and spatial components of the cerebral pain response. In clinical contexts, EEG refers to the recording of the brain's spontaneous electrical activity over a period of time and at distinctive scalp locations. EEG measures voltage fluctuations resulting from ionic current within the neurons of the brain, and can be recorded from multiple electrodes placed on the scalp. Certain EEG patterns may be associated with patient vulnerability to experience chronic pain in persons with spinal cord injury. Chronic neuropathic pain may also be associated with changes in EEG characteristics, including increased power density and peak frequency in the low frequency ranges. The ionic currents occurring naturally in the brain that produce the EEG signal also generate magnetic field, which can be measured as MEG. MEG is a functional neuroimaging technique for mapping brain activity by recording magnetic fields. It provides timing as well as spatial information about brain activity. Evoked potential is an electrical potential recorded from the nervous system, such as a brain, following presentation of a stimulus, which may be distinct from spontaneous neural potentials. The stimulus may be delivered through sight, hearing, touch, or electrical, mechanical, or pharmacological stimulus. The evoked electrical potentials travel along nerves to the brain, and can be recorded with electrodes attached to the scalp and skin over various peripheral sensory nerves. Close monitoring of patient brain electromagnetic activity may provide an objective assessment of pain, and may be used to improve pain therapy efficacy.

[0045] Disclosed herein are systems, devices, and methods for or assessing pain of a subject, and optionally programming pain therapy based on the pain assessment. In various embodiments, the present system may include sensors configured to sense physiological signals indicative of brain

electromagnetic activity, such as an EEG signal, a MEG signal, or a brain- evoked potential. A pain analyzer circuit may generate a pain score using signal metrics extracted from the brain electromagnetic activity signals. The system may include a neurostimulator that can deliver a pain therapy according to the pain score.

[0046] The present system may be implemented using a combination of hardware and software designed to provide a closed-loop pain management regimen to increase therapeutic efficacy, increase patient satisfaction for neurostimulation therapies, reduce side effects, and/or increase device longevity. The present system may be applied in any neurostimulation (neuromodulation) therapies, including but not limited to SCS, DBS, PNS, FES, motor cortex stimulation, sacral nerve stimulation, radiofrequency ablation, and vagus nerve stimulation (VNS) therapies. In various examples, instead of providing closed- loop pain therapies, the systems, devices, and methods described herein may be used to monitor the patient and assess pain that either occurs spontaneously or is induced by nerve block procedures or radiofrequency ablation therapies, or side effects like paresthesia caused by the stimulation therapy. The patient monitoring may include generating recommendations to the patient or a clinician regarding pain treatment.

[0047] FIG. 1 illustrates, by way of example and not limitation, a neuromodulation system 100 for managing pain of a subject such as a patient with chronic pain, and portions of an environment in which the neuromodulation system 100 may operate. The neuromodulation system 100 may include an implantable system 110 that may be associated with a body 199 of the subject, and an external system 130 in communication with the implantable system 110 via a communication link 120.

[0048] The implantable system 110 may include an ambulatory medical device (AMD), such as an implantable neuromodulator device (IND) 112, a lead system 114, and one or more electrodes 116. The IND 112 may be configured for subcutaneous implant in a patient's chest, abdomen, upper gluteal surface, or other parts of the body 199. The IND 112 may be configured as a monitoring and diagnostic device. The IND 112 may include a hermetically sealed can that houses sensing circuitry to sense physiological signals from the patient via sensing electrodes or ambulatory sensors associated with the patient and in communication with the IND 112, such as the one or more electrodes 116. In some examples, the sensing electrodes or the ambulatory sensors may be included within the IND 112. The physiological signals, when measured during a pain episode, may be correlative to severity of the pain. In an example, the one or more electrodes 116 may be surgically positioned on at least a portion of the brain to sense brain activity therein. The brain activity may include brain electromagnetic activity such as represented as an EEG, a MEG, or brain-evoked potentials. The IND 112 may characterize patient pain based on the sensed physiological signals, such as to determine an onset, intensity, severity, duration, or patterns of the pain experienced by the subject. The IND 112 may generate an alert to indicate the pain episode or pain exacerbation, or efficacy of a pain therapy, and present the alert to a clinician.

[0049] The IND 112 may alternatively be configured as a therapeutic device for treating or alleviating the pain. In addition to the pain monitoring circuitry, the IND 112 may further include a therapy unit that can generate and deliver energy or modulation agents to a target tissue. The energy may include electrical, magnetic, thermal, or other types of energy. In some examples, the IND 112 may include a drug delivery system such as a drug infusion pump that can deliver pain medication to the patient, such as morphine sulfate or ziconotide, among others.

[0050] The IND 112 may include electrostimulation circuitry that generates electrostimulation pulses to stimulate a neural target via the electrodes 116 operably connected to the IND 112. In an example, the electrodes 116 may be positioned on or near a spinal cord, and the electrostimulation circuitry may be configured to deliver SCS to treat pain. In another example, the electrodes 116 may be surgically placed at other neural targets such as a brain or a peripheral neutral tissue, and the electrostimulation circuitry may be configured to deliver brain or peripheral stimulations. Examples of electrostimulation may include deep brain stimulation (DBS), trigeminal nerve stimulation, occipital nerve stimulation, vagus nerve stimulation (VNS), sacral nerve stimulation, sphenopalatine ganglion stimulation, sympathetic nerve modulation, adrenal gland modulation, baroreceptor stimulation, or transcranial magnetic stimulation, spinal cord stimulation (SCS), dorsal root ganglia (DRG) stimulation, motor cortex stimulation (MCS), transcranial direct current stimulation (tDCS), transcutaneous spinal direct current stimulation (tsDCS), pudendal nerve stimulation, multifidus muscle stimulation, transcutaneous electrical nerve stimulation (TENS), tibial nerve stimulation, among other peripheral nerve or organ stimulation. The IND 112 may additionally or alternatively provide therapies such as radiofrequency ablation (RFA), pulsed radiofrequency ablation, ultrasound therapy, high-intensity focused ultrasound (HIFU), optical stimulation, optogenetic therapy, magnetic stimulation, other peripheral tissue stimulation therapies, other peripheral tissue denervation therapies, or nerve blocks or injections.

[0051] In various examples, the electrodes 116 may be distributed in one or more leads of the lead system 114 electrically coupled to the IND 112. In an example, the lead system 114 may include a directional lead that includes at least some segmented electrodes circumferentially disposed about the directional lead. Two or more segmented electrodes may be distributed along a circumference of the lead. The actual number and shape of leads and electrodes may vary according to the intended application. Detailed description of construction and method of manufacturing percutaneous stimulation leads are disclosed in U.S. patent No. 8,019,439, entitled "Lead Assembly and Method of Making Same," and U.S. Patent No. 7,650, 184, entitled "Cylindrical Multi-Contact Electrode Lead for Neural Stimulation and Method of Making Same," the disclosures of which are incorporated herein by reference. The electrodes 116 may provide an electrically conductive contact providing for an electrical interface between the IND 112 and tissue of the patient. The neurostimulation pulses are each delivered from the IND 1 12 through a set of electrodes selected from the electrodes 116. In various examples, the neurostimulation pulses may include one or more individually defined pulses, and the set of electrodes may be individually definable by the user for each of the individually defined pulses.

[0052] Although the discussion herein with regard to the

neuromodulation system 100 focuses on an implantable device such as the IND 112, this is meant only by way of example and not limitation. It is within the contemplation of the present inventors and within the scope of this document, that the systems, devices, and methods discussed herein may also be used for pain management via subcutaneous medical devices, wearable medical devices (e.g., wrist watches, patches, garment- or shoe-mounted devices, headgear, eye glasses, or earplugs), or other external medical devices, or a combination of implantable, wearable, or other external devices. The therapy, such as electrostimulation or medical therapies, may be used to treat various neurological disorders other than pain, which by way of example and not limitation may include epilepsy, migraine, Tourette's syndrome, obsessive compulsive disorder, tremor, Parkinson's disease, or dystonia, among other movement and affective disorders.

[0053] The external system 130 may be communicated with the IND 112 via a communication link 120. The external system 130 may include a dedicated hardware/software system such as a programmer, a remote server-based patient management system, or alternatively a system defined predominantly by software running on a standard personal computer. In some examples, at least a portion of the external system 130 may be ambulatory such as configured to be worn or carried by a subject. The external system 130 may be configured to control the operation of the IND 112, such as to program the IND 112 for delivering neuromodulation therapy. The external system 130 may additionally receive via the communication link 120 information acquired by IND 112, such as one or more physiological signals. In an example, the external system 130 may determine a pain score based on the physiological signals received from the IND 112, and program the IND 112 to deliver pain therapy in a closed-loop fashion. Examples of the external system and neurostimulation based on pain score are discussed below, such as with reference to FIGS. 2-3.

[0054] The communication link 120 may include one or more communication channels and intermediate devices between the external system and the IND, such as a wired link, a telecommunication link such as an internet connection, or a wireless link such as one or more of an inductive telemetry link, a radio-frequency telemetry link. The communication link 120 may provide for data transmission between the IND 112 and the external system 130. The transmitted data may include, for example, real-time physiological signals acquired by and stored in the IND 112, therapy history data, data indicating device operational status of the IND 112, one or more programming instructions to the IND 112 which may include configurations for sensing physiologic signal or stimulation commands and stimulation parameters , or device self-diagnostic test, among others. In some examples, the IND 1 12 may be coupled to the external system 130 further via an intermediate control device, such as a handheld external remote control device to remotely instruct the IND 112 to generate electrical stimulation pulses in accordance with selected stimulation parameters produced by the external system 130, or to store the collected data into the external system 130.

[0055] Portions of the IND 112 or the external system 130 may be implemented using hardware, software, firmware, or combinations thereof. Portions of the IND 112 or the external system 130 may be implemented using an application-specific circuit that may be constructed or configured to perform one or more particular functions, or may be implemented using a general- purpose circuit that may be programmed or otherwise configured to perform one or more particular functions. Such a general-purpose circuit may include a microprocessor or a portion thereof, a microcontroller or a portion thereof, or a programmable logic circuit, or a portion thereof. For example, a "comparator" may include, among other things, an electronic circuit comparator that may be constructed to perform the specific function of a comparison between two signals or the comparator may be implemented as a portion of a general -purpose circuit that may be driven by a code instructing a portion of the general-purpose circuit to perform a comparison between the two signals.

[0056] FIG. 2 illustrates, by way of example and not limitation, a block diagram of a pain management system 200, which may be an embodiment of the neuromodulation system 100. The pain management system 200 may assess pain of a subject using at least one physiological signal, and program a pain therapy based on the pain assessment. As illustrated in FIG. 2, the pain management system 200 may include a sensor circuit 210, a pain analyzer circuit 220, a memory 230, a user interface 240, and a therapy unit 250.

[0057] The sensor circuit 210 may be coupled to one or more

physiological sensors to sense from the patient at least one physiological signal. The sensor circuit 210 may include sense amplifier circuit that may pre-process the sensed physiological signals, including, for example, amplification, digitization, filtering, or other signal conditioning operations. Various physiological signals, such as cardiac, pulmonary, neural, or biochemical signals may demonstrate characteristic signal properties in response to an onset, intensity, severity, duration, or patterns of pain. In an example, the sensor circuit 210 may be coupled to implantable or wearable sensors to sense cardiac signals such as electrocardiograph (ECG), intracardiac electrogram, gyrocardiography, magnetocardiography, heart rate signal, heart rate variability signal, cardiovascular pressure signal, or heart sounds signal, among others. In another example, the sensor circuit 210 may sense pulmonary signals such as a respiratory signal, a thoracic impedance signal, or a respiratory sounds signal. In yet another example, the sensor circuit 210 may sense biochemical signals such as blood chemistry measurements or expression levels of one or more biomarkers, which may include, by way of example and not limitation, B-type natriuretic peptide (B P) or N-terminal pro b-type natriuretic peptide (NT- proB P), serum cytokine profiles, P2X4 receptor expression levels, gamma- aminobutyric acid (GAB A) levels, T Fa and other inflammatory markers, Cortisol, adenosine, Glial cell-derived neurotrophic factor (GDNF), Nav 1.3, Nav 1.7, or Tetrahydrobiopterin (BH4) levels, among other biomarkers.

[0058] In an example, the sensor circuit 210 may sense at least one signal indicative of patient brain activity. The physiological sensor may be an ambulatory sensor, such as an implantable or wearable sensor associated with the patient, configured to sense brain electromagnetic activity. Alternatively, the physiological sensor may be a bedside monitor of brain electromagnetic activity. The signals sensed by the physiological sensors may include EEG, MEG, or a brain-evoked potential. Examples of sensors for sensing brain electromagnetic activities are discussed below, such as with reference to FIG. 5.

[0059] The pain analyzer circuit 220 may generate a pain score using at least the physiological signals received from the sensor circuit 210. The pain analyzer circuit 220 may be implemented as a part of a microprocessor circuit, which may be a dedicated processor such as a digital signal processor, application specific integrated circuit (ASIC), microprocessor, or other type of processor for processing information including physical activity information. Alternatively, the microprocessor circuit may be a general purpose processor that may receive and execute a set of instructions of performing the functions, methods, or techniques described herein.

[0060] The pain analyzer circuit 220 may include circuit sets comprising one or more other circuits or sub-circuits that may, alone or in combination, perform the functions, methods or techniques described herein. In an example, hardware of the circuit set may be immutably designed to carry out a specific operation (e.g., hardwired). In an example, the hardware of the circuit set may include variably connected physical components (e.g., execution units, transistors, simple circuits, etc.) including a computer readable medium physically modified (e.g., magnetically, electrically, moveable placement of invariant massed particles, etc.) to encode instructions of the specific operation. In connecting the physical components, the underlying electrical properties of a hardware constituent are changed, for example, from an insulator to a conductor or vice versa. The instructions enable embedded hardware (e.g., the execution units or a loading mechanism) to create members of the circuit set in hardware via the variable connections to carry out portions of the specific operation when in operation. Accordingly, the computer readable medium is communicatively coupled to the other components of the circuit set member when the device is operating. In an example, any of the physical components may be used in more than one member of more than one circuit set. For example, under operation, execution units may be used in a first circuit of a first circuit set at one point in time and reused by a second circuit in the first circuit set, or by a third circuit in a second circuit set at a different time.

[0061] As illustrated in FIG. 2, the pain analyzer circuit 220 may include a signal metrics generator 221 and a pain score generator 225. The signal metrics generator 221 may generate one or more brain activity signal metrics 222 from the sensed at least one physiological signal. The signal metrics may include temporal or spatial parameters, statistical parameters, morphological parameters, and spectral parameters extracted from the signal transformed into the frequency domain or other transformed domain. In an example where the sensed physiological signal includes one or more EEG, MEG, or a brain-evoked potential, the signal metrics may be indicative of strength or a pattern of brain electromagnetic activity associated with pain. Examples of the signal metrics for pain quantification are discussed below, such as with reference to FIG. 5.

[0062] The pain score generator 225 may generate a pain score using the measurements of the signal metrics generated by the signal metrics generator 221. The pain score can be represented as a numerical or categorical value that quantifies the patient overall pain symptom. In an example, a composite signal metric may be generated using a combination of a plurality of the signal metrics respectively weighted by weight factors. The combination can be linear or nonlinear. The pain score generator 225 may compare the composite signal metric to one or more threshold values or range values, and assign a corresponding pain score (such as numerical values from 0 to 10) based on the comparison.

[0063] In another example, the pain score generator 225 may compare the signal metrics to their respective threshold values or range values, assign corresponding signal metric-specific pain scores based on the comparison, and compute a composite pain score using a linear or nonlinear fusion of the signal metric-specific pain scores weighted by their respective weight factors. In an example, the threshold can be inversely proportional to signal metric' s sensitivity to pain. A signal metric that is more sensitive to pain may have a corresponding lower threshold and a larger metric-specific pain score, thus plays a more dominant role in the composite pain score than another signal metric that is less sensitive to pain. Examples of the fusion algorithm may include weighted averages, voting, decision trees, or neural networks, among others. The pain score generated by the pain score generator 225 may be output to a system user or a process.

[0064] In various examples, in addition to the physiological signals such as the brain electromagnetic activity signals, the sensor circuit 210 may sense one or more functional signals from the patient. Examples of the functional signals may include, but not limited to, patient posture, gait, balance, or physical activity signals, among others. The sensor circuit 210 may sense the functional signals via one or more implantable or wearable motion sensors, including an accelerometer, a gyroscope (which may be a one-, two-, or three-axis gyroscope), a magnetometer (e.g., a compass), an inclinometer, a goniometer, an electromagnetic tracking system (ETS), or a global positioning system (GPS) sensor, among others. Detailed description of functional signals for use in pain characterization are disclosed in commonly assigned U.S. Provisional Patent Application Serial No. 62/445,075, entitled " PAIN MANAGEMENT BASED ON FUNCTIONAL MEASUREMENTS", the disclosures of which are incorporated herein by reference. The signal metrics generator 221 may generate functional signal metrics from the functional signals, and the pain score generator 225 may determine the pain score using a linear or nonlinear combination of the muscle tension signal metrics and the functional signal metrics. Commonly assigned U.S. Provisional Patent Application Serial No. 62/445,053, entitled "PAIN MANAGEMENT BASED ON CARDIOVASCULAR PARAMETERS" describes cardiovascular parameters such as arterial pulsatile activity and electrocardiography for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S. Provisional Patent Application Serial No. 62/445,061, entitled "PAIN MANAGEMENT BASED ON BRAIN ACTIVITY MONITORING" describes information of brain activity for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety.

Commonly assigned U.S. Provisional Patent Application Serial No. 62/445,069, entitled "PAIN MANAGEMENT BASED ON RESPIRATION-MEDIATED HEART RATES" describes information of respiration-mediated heart rate for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S. Provisional Patent Application Serial No. 62/445,082, entitled "PAIN MANAGEMENT BASED ON EMOTIONAL EXPRESSION MEASUREMENTS" describes measurements of patient emotional expressions for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S.

Provisional Patent Application Serial No. 62/445,092, entitled "PAIN

MANAGEMENT BASED ON MUSCLE TENSION MEASUREMENTS" describes measurements of patient muscle tension including electromyography for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. One or more of these additional signals or measurements may be used by the pain analyzer circuit 220 to generate a pain score.

[0065] The memory 230 may be configured to store sensor signals or signal metrics such as generated by the sensor circuit 210 and the signal metrics generator 221, and the pain scores such as generated by the pain score generator 225. Data may be stored at the memory 230 continuously, periodically, or triggered by a user command or a specific event. In an example, as illustrated in FIG. 2, the memory 230 may store weight factors, which may be used by the pain score generator 225 to generate the composite pain score. The weight factors may be provided by a system user, or alternatively be automatically determined or adjusted such as based on the corresponding signal metrics' reliability in representing an intensity of the pain. Examples of the automatic weight factor generation are discussed below, such as with reference to FIG. 3. [0066] The user interface 240 may include an input circuit 241 and an output unit 242. In an example, at least a portion of the user interface 240 may be implemented in the external system 130. The input circuit 241may enable a system user to program the parameters used for sensing the physiological signals, generating signal metrics, or generating the pain score. The input circuit 241 may be coupled to one or more input devices such as a keyboard, on-screen keyboard, mouse, trackball, touchpad, touch-screen, or other pointing or navigating devices. In some example, the input device may be incorporated in a mobile device such as a smart phone or other portable electronic device configured to execute a mobile application ("App"). The mobile App may enable a patient to provide pain description or quantified pain scales during the pain episodes. In an example, the input circuit 241 may enable a user to confirm, reject, or edit the programming of the therapy unit 250, such as parameters for electrostimulation, as to be discussed in the following.

[0067] The output unit 242 may include a display to present to a system user such as a clinician the pain score. The output unit 242 may also display information including the physiological signals, trends of the signal metric, or any intermediary results for pain score calculation such as the signal metric- specific pain scores. The information may be presented in a table, a chart, a diagram, or any other types of textual, tabular, or graphical presentation formats, for displaying to a system user. The presentation of the output information may include audio or other human-perceptible media format. In an example, the output unit 242 may generate alerts, alarms, emergency calls, or other forms of warnings to signal the system user about the pain score.

[0068] The therapy circuit 250 may be configured to deliver a therapy to the patient based on the pain score generated by the pain score generator 225. The therapy circuit 250 may include an electrostimulator configured to generate electrostimulation energy to treat pain. In an example, the electrostimulator may deliver spinal cord stimulation (SCS) via electrodes electrically coupled to the electrostimulator. The electrodes may be surgically placed at a region at or near a spinal cord tissue, which may include, by way of example and not limitation, dorsal column, dorsal horn, spinal nerve roots such as the dorsal nerve root, dorsal root entry zone, spinothalamic tract, and dorsal root ganglia. The SCS may be in a form of stimulation pulses that are characterized by pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, pulse shape or waveform, temporal pattern of the stimulation, among other stimulation parameters. Examples of the stimulation pattern may include burst stimulation with substantially identical inter-pulse intervals, or ramp stimulation with incremental inter-pulse intervals or with decremental inter-pulse intervals. In some examples, the frequency or the pulse width may change from pulse to pulse. The electrostimulator may additionally or alternatively deliver electrostimulation to other target tissues such as peripheral nerves tissues. In an example, the electrostimulator may deliver transcutaneous electrical nerve stimulation (TENS) via detachable electrodes that are affixed to the skin.

[0069] The therapy circuit 250 may additionally or alternatively include a drug delivery system, such as an intrathecal drug delivery pump that may be surgically placed under the skin, which may be programmed to inject medication or biologies through a catheter to the area around the spinal cord. Other examples of drug delivery system may include a computerized patient-controlled analgesia pump that may deliver the prescribed pain medication to the patient such as via an intravenous line. In some examples, the therapy circuit 250 may be delivered according to the pain score received from the pain score generator 225.

[0070] FIG. 3 illustrates, by way of example and not limitation, a block diagram of another example of a pain management system 300, which may be an embodiment of the neuromodulation system 100 or the pain management system 200. The pain management system 300 may include an implantable

neuromodulator 310 and an external system 320, which may be, respectively, embodiments of the IND 112 and the external system 130 as illustrated in FIG. 1. Examples of the implantable neuromodulator 310 may include an implantable pulse generator (IPG) for providing SCS therapy, an IPG for providing DBS therapy, or an IPG for providing peripheral nerve stimulation (PNS) therapy. The external system 320 may be communicatively coupled to the implantable neuromodulator 310 via the communication link 120.

[0071] The implantable neuromodulator 310 may include several components of the pain management system 200 as illustrated in FIG. 2, including the sensor circuit 210, the pain analyzer circuit 220, the memory 230, and the therapy unit 250. The sensor circuit 210 may be communicatively coupled, via a wired or wireless connection, to one or more implantable or wearable sensors configured to sense brain electromagnetic activities such as EEG signals. The EEG signals may be recorded from multiple electrodes placed on the scalp. In some examples, the EEG signals may include intracranial EEG, also known as electrocorticography (ECoG), by using an array of electrodes positioned directly on the cortical surface of the brain to record electrical activity from the cerebral cortex. Examples of the sensors for sensing EEG signals are discussed below with reference to FIG. 5. As discussed with reference to FIG. 2, the pain analyzer circuit 220 includes the pain score generator 225 that determines a pain score using weight factors stored in the memory 230 and the signal metrics from the signal metrics generator 221 which may also be included in the pain analyzer circuit 220. The implantable neuromodulator 310 may include a controller circuit 312, coupled to the therapy unit 250, that controls the generation and delivery of pain therapy, such as neurostimulation energy. The controller circuit 312 may control the generation of electrostimulation pulses according to specific stimulation parameters. The stimulation parameters may be provided by a system user. Alternatively, the stimulation parameters may be automatically determined based on the intensity, severity, duration, or pattern of pain, which may be subjectively described by the patient or automatically quantified based on the physiological signals sensed by the sensor circuit 210. For example, when a patient-described or sensor-indicated quantification exceeds a respective threshold value or falls within a specific range indicating elevated pain, the electrostimulation energy may be increased to provide stronger pain relief. Increased electrostimulation energy may be achieved by

programming a higher pulse intensity, a higher frequency, or a longer

stimulation duration or "on" cycle, among others. Conversely, when a patient- described or sensor-indicated pain quantification falls below a respective threshold value or falls within a specific range indicating no pain or mild pain, the electrostimulation energy may be decreased. The controller circuit 312 may also adjust stimulation parameters to alleviate side effects introduced by the electrostimulation of the target tissue.

[0072] Additionally or alternatively, the controller circuit 312 may control the therapy unit 250 to deliver electrostimulation pulses via specific electrodes. In an example of pain management via SCS, a plurality of segmented electrodes, such as the electrodes 116, may be distributed in one or more leads. The controller circuit 312 may configure the therapy unit 250 to deliver electrostimulation pulses via a set of electrodes selected from the plurality of electrodes. The electrodes may be manually selected by a system user or automatically selected based on the pain score. Examples of selecting electrodes for electrostimulation based on the pain score are discussed below, such as with reference to FIGS. 4A-B.

[0073] The implantable neuromodulator 310 may receive the information about electrostimulation parameters and the electrode configuration from the external system 320 via the communication link 120. Additional parameters associated with operation of the therapy unit 250, such as battery status, lead impedance and integrity, or device diagnostic of the implantable neuromodulator 310, may be transmitted to the external system 320. The controller circuit 312 may control the generation and delivery of electrostimulation using the information about electrostimulation parameters and the electrode configuration from the external system 320. Examples of the electrostimulation parameters and electrode configuration may include: temporal modulation parameters such as pulse amplitude, pulse width, pulse rate, or burst intensity; morphological modulation parameters respectively defining one or more portions of stimulation waveform morphology such as amplitude of different phases or pulses included in a stimulation burst; or spatial modulation parameters such as selection of active electrodes, electrode combinations which define the electrodes that are activated as anodes (positive), cathodes (negative), and turned off (zero), and stimulation energy fractionalization which defines amount of current, voltage, or energy assigned to each active electrode and thereby determines spatial distribution of the modulation field.

[0074] In an example, the controller circuit 312 may control the generation and delivery of electrostimulation in a closed-loop fashion by adaptively adjusting one or more stimulation parameters or stimulation electrode configuration based on the pain score. For example, if the score exceeds the pain threshold (or falls within a specific range indicating an elevated pain), then the first electrostimulation may be delivered. Conversely, if the composite pain score falls below a respective threshold value (or falls within a specific range indicating no pain or mild pain), then a second pain therapy, such as second electrostimulation may be delivered. The first and second electrostimulations may differ in at least one of the stimulation energy, pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, pulse shape or waveform, electrostimulation pattern such as electrode configuration or energy

fractionalization among active electrodes, among other stimulation parameters. In an example, the first electrostimulation may have higher energy than the second electrostimulation, such as to provide stronger effect of pain relief.

Examples of increased electrostimulation energy may include a higher pulse intensity, a higher frequency, and a longer stimulation duration or "on" cycle, among others.

[0075] The parameter adjustment or stimulation electrode configuration may be executed continuously, periodically at specific time, duration, or frequency, or in a commanded mode upon receiving from a system user a command or confirmation of parameter adjustment. In some examples, the closed-loop control of the electrostimulation may be further based on the type of the pain, such as chronic or acute pain. In an example, the pain analyzer circuit 220 may trend the signal metric over time to compute an indication of abruptness of change of the signal metrics, such as a rate of change over a specific time period. The pain episode may be characterized as acute pain if the signal metric changes abruptly (e.g., the rate of change of the signal metric exceeding a threshold), or as chronic pain if the signal metric changes gradually (e.g., the rate of change of the signal metric falling below a threshold). The controller circuit 312 may control the therapy unit 250 to deliver, withhold, or otherwise modify the pain therapy in accordance with the pain type. For example, incidents such as toe stubbing or bodily injuries may cause abrupt changes in certain signal metrics, but no adjustment of the closed-loop pain therapy is deemed necessary. On the contrary, if the pain analyzer circuit 220 detects chronic pain

characterized by gradual signal metric change, then the closed-loop pain therapy may be delivered accordingly.

[0076] The adaptive adjustment of stimulation parameters or stimulation electrode based on the pain score as discussed above may be based on paresthesia effect, that is, patient perception of stimulation and its effect on pain. The adaptive adjustment may provide desired paresthesia coverage while minimizing patient comfort and/or energy usage. In some examples, the controller circuit 312 may adjust stimulation parameters or stimulation electrode for sub-perception stimulation (e.g., sub-perception SCS) using the sensed brain activity. In contrast to supra-perception stimulation where paresthesia may be readily felt by the patient, sub-perception stimulation may take several hours or over a day before a patient may be able to assess the therapeutic effect of the stimulation. Electrode location or other stimulation parameters may be varied, while the pain analyzer circuit 220 may monitor the brain activity for indicators that predict stimulation efficacy, such as based on a comparison to the brain activity signal template representative of effective prevention of pain sensation. Even though the pain might not be reduced yet by stimulation, the brain activity may show early indications that predict the therapeutic effect of pain relief

[0077] The external system 320 may include the user interface 240, a weight generator 322, and a programmer circuit 324. The weight generator 322 may generate weight factors used by the pain score generator 225 to generate the pain score. The weight factors may indicate the signal metrics' reliability in representing an intensity of the pain. A sensor metric that is more reliable, or more sensitive or specific to the pain, would be assigned a larger weight than another sensor metric that is less reliable, or less sensitive or specific to the pain. In an example, the weight factors may be proportional to correlations between a plurality of quantified pain scales (such as reported by a patient) and

measurements of the measurements of the signal metrics corresponding to the plurality of quantified pain scales. A signal metric that correlates with the pain scales is deemed a more reliable signal metric for pain quantification, and is assigned a larger weight factor than another signal metric less correlated with the quantified pain scales. In another example, the weight generator 322 may determine weight factors using the signal sensitivity to pain. The signal metrics may be trended over time, such as over approximately six months. The signal sensitivity to pain may be represented by a rate of change of the signal metrics over time during a pain episode. The signal sensitivity to pain may be evaluated under a controlled condition such as when the patient posture or activity is at a specific level or during specific time of the day. The weight generator 322 may determine weight factors to be proportional to signal metric' s sensitivity to pain.

[0078] The programmer circuit 324 may produce parameter values for operating the implantable neuromodulator 310, including parameters for sensing physiological signals and generating signal metrics, and parameters or electrode configurations for electrostimulation. In an example, the programmer circuit 324 may generate the stimulation parameters or electrode configurations for SCS based on the pain score produced by the pain score generator 225. Through the communication link 120, the programmer circuit 324 may continuously or periodically provide adjusted stimulation parameters or electrode configuration to the implantable neuromodulator 210. By way of non-limiting example and as illustrated in FIG. 3, the programmer circuit 324 may be coupled to the user interface 234 to allow a user to confirm, reject, or edit the stimulation parameters, sensing parameters, or other parameters controlling the operation of the implantable neuromodulator 210. The programmer circuit 324 may also adjust the stimulation parameter or electrode configuration in a commanded mode upon receiving from a system user a command or confirmation of parameter adjustment.

[0079] The programmer circuit 324, which may be coupled to the weight generator 322, may initiate a transmission of the weight factors generated by the weight generator 322 to the implantable neuromodulator 310, and store the weight factors in the memory 230. In an example, the weight factors received from the external system 320 may be compared to previously stored weight factors in the memory 230. The controller circuit 312 may update the weight factors stored in the memory 230 if the received weight factors are different than the stored weights. The pain analyzer circuit 220 may use the updated weight factors to generate a pain score. In an example, the update of the stored weight factors may be performed continuously, periodically, or in a commanded mode upon receiving a command from a user. In various examples, weight factors may be updated using a fusion model. Commonly assigned U.S. Provisional Patent Application Serial No. 62/445,095, entitled "PATIENT-SPECIFIC CALIBRATION OF PAIN QUANTIFICATION" describes systems and methods for calibrating a fusion model, such as adjusting weights for signal metrics, using a reference pain quantification, the disclosure of which is incorporated herein by reference in its entirety.

[0080] In some examples, the pain score may be used by a therapy unit

(such as an electrostimulator) separated from the pain management system 300. In various examples, the pain management system 300 may be configured as a monitoring system for pain characterization and quantification without delivering closed-loop electrostimulation or other modalities of pain therapy. The pain characterization and quantification may be provided to a system user such as the patient or a clinician, or to a process including, for example, an instance of a computer program executable in a microprocessor. In an example, the process includes computer-implemented generation of recommendations or an alert to the system user regarding pain medication (e.g., medication dosage and time for taking a dose), electrostimulation therapy, or other pain

management regimens. The therapy recommendations or alert may be based on the pain score, and may be presented to the patient or the clinician in various settings including in-office assessments (e.g. spinal cord stimulation

programming optimization), in-hospital monitoring (e.g. opioid dosing during surgery), or ambulatory monitoring (e.g. pharmaceutical dosing

recommendations).

[0081] In an example, in response to the pain score exceeding a threshold which indicates elevated pain symptom, an alert may be generated and presented at the user interface 240 to remind the patient to take pain medication. In another example, therapy recommendations or alerts may be based on information about wearing-off effect of pain medication, which may be stored in the memory 230 or received from the user interface 240. When the drug effect has worn off, an alert may be generated to remind the patient to take another dose or to request a clinician review of the pain prescription. In yet another example, before a pain therapy such as neurostimulation therapy is adjusted (such as based on the pain score) and delivered to the patient, an alert may be generated to forewarn the patient or the clinician of any impending adverse events. This may be useful as some pain medication may have fatal or debilitating side effects. In some examples, the pain management system 300 may identify effect of pain medication addiction such as based on patient physiological or functional signals. An alert may be generated to warn the patient about effects of medication addiction and thus allow medical

intervention.

[0082] In some examples, the pain analyzer circuit 220 may be alternatively included in the external system 320. The pain analyzer circuit 220, or a portion of the pain analyzer circuit 220 such as the signal metrics generator 221 or the pain score generator 225, may be included in a wearable device configured to be worn or carried by a subject. At least a portion of the sensor circuit 210 may also be included in the external system 320, such that the physiological signal indicative of brain electromagnetic activities that are sensed by one or more physiological sensors (e.g., ambulatory EEG sensors or bedside EEG sensors) may be transmitted to the external system 320 for processing, and generating the pain score based on the processed brain electromagnetic activity signals. A clinician may use the external system 320 to program the implantable neuromodulator 310 with appropriate pain therapy based on the pain score generated at the external system 320, such as during a clinical trial or patient follow-up visit at the clinic.

[0083] FIGS. 4A-B illustrate, by way of example and not limitation, block diagrams of portions of a system for selecting active electrodes for delivering pain-relief electrostimulation energy based on the pain score. FIG. 4A illustrates an IPG 410 operably coupled to two neuromodulation leads 420 A- B via a header 412. The IPG 410 can be an embodiment of the IPG 110 as shown in FIG. l . The IPG 410 includes a can housing 411 that encloses circuitry and other components for sensing physiological signals, delivering

electrostimulations, and controlling other device operations. The

neuromodulation leads 420 A-B each includes a plurality of electrodes 430 axially disposed an elongated cylindrical lead body. The electrodes 430 may be used for delivering neuromodulation of a specific target tissue, such as SCS at a spinal cord region, DBS at a brain region, or PNS at or next to a peripheral nerve. The electrodes 430 may take the form of column electrodes (or ring electrodes) or circumferentially segmented electrodes with specified electrode size, shape, and inter-electrode spacing along the length of the respective lead body. By way of example and not limitation, the lead 420A may carry electrodes E1-E8, and the lead 420B may carry electrodes E9-E16. In some examples, at least some of the electrodes 430 may also be coupled to a sensor circuit to sense tissue electrical activity, such as brain activity or neural activity at or near the spinal cord.

[0084] FIG. 4B illustrates a diagram of electrode selection for delivering pain-relief electrostimulation from a plurality of candidate electrodes such as the electrodes 430 on one or both of the neuromodulation leads 420 A-B. The electrode selection may be performed using the pain management system 200 or 300. The electrode selection may be based on relative pain-reduction effects when electrostimulation energy is delivered according to configurations involving one or more of the candidate electrodes.

[0085] The pain episode may include spontaneous pain experienced in patient daily life. Alternatively, a pain episode may be induced such as in a clinic and administered by a clinician. In an example, pain may be induced by delivering electrostimulation energy according to a pre-determined stimulation protocol. The pre-determined stimulation protocol may include a plurality of electrode configurations arranged in a specified order. Each electrode configuration may include a designation of an anode and a cathode, each selected from the candidate electrodes (such as some or all of the electrodes 430) and a reference electrode such as the device can housing 411. In an example, the electrode configuration includes a unipolar configuration with one of the candidate electrodes (such as El -El 6) designated as a cathode and the device can housing 411 as an anode. In another example, the electrode configuration includes a bipolar configuration with one of the candidate electrodes (such as E1-E16) designated as a cathode and another candidate electrode, different than the cathode, as an anode. In some examples, pain may be induced by

temporarily withholding pain-relief therapy (such as electrostimulation) or varying therapy dosage to achieve intermediate levels of pain reduction effect. Additionally or alternatively, pain induction procedure may include applying heat, pressure, or other artificial stimuli during quantitative sensory testing, administering nerve block or adjusting pharmaceutical agents, psychological or stress stimulation, or physical exercise such as strenuous leg lift or grip test, among others.

[0086] A pain assessment session may be initiated to analyze patient perception and physiological responses to the spontaneous or induced pain episodes. The pain assessment session may be automatically triggered by a sensor indicator, or activated manually by the patient (such as during a spontaneous pain episode) or a clinician (such as during an induced pain episode). The pain assessment session may include evaluating the

electrostimulation's pain-relief effect. [0087] During the pain assessment session, physiological signals indicative of patient brain activity, such as an EEG signal, may be recorded during the pain-relief electrostimulation according to each of the electrode configurations in the pre-determined stimulation protocol, and analyzed such as using the pain management system 200 or 300, 1. A plurality of EEG parameters may be extracted from the sensed EEG signal, such as using the signal metrics generator 221. By way of example and not limitation, a pain score report 451 includes metric-specific pain scores corresponding to pain-relief

electrostimulation applied according to an electrode configuration with electrode El as a cathode and the can housing 411 as an anode. The metric-specific pain scores may be determined by comparing the respective signal metrics, i.e., the EEG parameters, to their respective threshold values. A positive indicator "+", or a metric-specific numerical score of "1", is assigned for an EEG parameter if that EEG parameter exceeds its respective threshold value, indicating pain persistence or undesirable pain reduction. Conversely, a negative indicator or a metric-specific numerical score of "0", is assigned for an EEG parameter if that EEG parameter falls below its respective threshold value and indicates no pain or desirable pain reduction. A composite pain score may be computed using a combination of the metric-specific pain scores corresponding to the EEG parameters evaluated. In an example, the composite pain score may be computed as a sum or weighted sum of the metric-specific pain scores. In the illustrated example in FIG. 4B, a total score of "2" is obtained for the electrode configuration involving electrode El .

[0088] The above illustrated process may similarly be performed for other electrode configurations, which may result in a pain score report 452 with a composite pain score of "1" for electrode configuration involving electrode E2, another pain score report 453 with a composite pain score of "0" for electrode configuration involving electrode E3, and so on. The composite pain scores associated with the electrode configurations included in the stimulation protocol may be presented to the patient or a clinician, such as in a form of a table 460. In lieu of or in addition to the numerical pain scores, graphical representations, such as a colored bar representing the composite pain scores, may be included in the table 460. In the example illustrated in FIG. 4B, the electrode E5

corresponds to a pain score of "4", which is the highest among the tested electrodes E1-E8, indicating the least effectiveness in pain reduction compared to pain-relief electrostimulation delivered according to electrode configurations involving other electrodes different from electrode E5. The electrodes E3, E4 and E6 each corresponds to a pain score of "0", the lowest among the tested electrodes E1-E8, indicating the highest effectiveness in pain reduction. As such, in a closed-loop pain therapy or clinician programmed pain therapy, the electrode E5 may be excluded, and at least one of the electrodes E3, E4 or E6 may be selected as active electrodes (such as cathodes) for delivering electrostimulation energy.

[0089] In some examples, as an alternative of the metric-specific pain score, a metric-specific pain reduction score may be determined for each EEG parameter. A pain reduction score of "1" is assigned if the EEG parameter indicates pain relief (or desirable pain reduction) and a pain reduction score of "0" is assigned if the EEG parameter indicates pain persistence (or undesirable pain reduction). A composite pain reduction score may be computed using a combination of the metric-specific pain reduction scores. One or more electrodes that correspond to the highest composite pain reduction score among the tested electrodes E1-E8 indicate the highest effectiveness in pain reduction, and may be selected as active electrodes (such as cathodes) for delivering electrostimulation energy.

[0090] The above-discussed electrode selection based on pain scores associated with EEG parameters may be modified for selecting, or determining values of, one or more other therapy parameters, including: electrode energy fractionalization which defines amount of current, voltage, or energy assigned to each active electrode and thereby determines spatial distribution of the modulation field; temporal modulation parameters such as pulse amplitude, pulse width, pulse rate, or burst intensity; morphological modulation parameters respectively defining one or more portions of stimulation waveform morphology such as amplitude of different phases or pulses included in a stimulation burst, among others. The disclosed method may also be used in selecting one or more active therapy regimes from a plurality of candidate therapy regimes each involving a combination of multiple therapy parameters such as electrode selection, energy fractionalization, waveform temporal and morphological parameters. For example, in an automated closed-loop pain therapy or clinician programmed pain therapy, a particular value for a specific therapy parameter, or a particular therapy regime, may be selected and programmed to the IPG 411 for delivering electrostimulation therapy to relieve patient pain.

[0091] FIG. 5 illustrates, by way of example and not limitation, a block diagram of a portion of the system for sensing brain electromagnetic activities such as an EEG and generating EEG parameters for pain quantification. The EEG parameters may be used by the pain management system 200 or 300 to characterize and quantify patient pain. The system portion may include one or more EEG sensors 501 through 504, the sensor circuit 210, and an EEG parameter generator 520 which is an embodiment of the signal metrics generator 221.

[0092] One or more types of EEG sensors may be used to sense the EEG signals. According to the manner of interaction with the patient, the EEG sensors may include, by way of example and not limitation, one or more of a wearable wired EEG sensor 501, a wearable wireless EEG sensor 502, an implantable lead-based EEG sensor 503, or an implantable wireless EEG sensors 504.

[0093] The wearable wired EEG sensor 501 may be worn on a patient head and connected to a bedside stationary EEG monitor. An example of the wearable wired EEG sensor 501 may include an EEG cap with scalp electrodes mounted thereon such as according to the international 10-20 system. The wearable wireless EEG sensor 502 may be mounted on a removable headwear, such as a cap, a hat, a headband, or eye glasses, among others. Alternatively, the wearable wireless EEG sensor 502 may be mounted on a removable accessory such as an earpiece, an ear plug, or an ear patch. The earpiece may be personalized to allow tight fit within patient concha and ear cannel and secure electrode-tissue contact. Alternatively, the electrodes may be placed close to the ear such as hidden behind the ear lobe. The implantable lead-based EEG sensors 503 may include electrodes disposed on an implantable lead configured to be positioned on a target tissue site for therapeutic electrostimulation, such as a lead configured to be implanted in patient brain for DBS, or a lead implanted at a head location to provide occipital or trigeminal PNS. The electrodes may not only be used to provide electrostimulation energy at the implanted sites to treat pain, but can also be coupled to a sensor circuit to sense brain activity such as an EEG. An example of the implantable-lead based EEG sensors is illustrated in FIG. 4A. The implantable wireless EEG sensor 504 may be subcutaneously implanted at a head location to sense an EEG signal. The wearable wireless EEG sensor 502 and the implantable wireless EEG sensor 504 may each include a transmitter circuit configured for transmitting the sensed EEG signal to the sensor circuit 210 or the IPG 411 via a wireless communication link, such as a Bluetooth protocol, an inductive telemetry link, a radio-frequency telemetry link, Ethernet, or IEEE 802.11 wireless, among others.

[0094] The sensor circuit 210 may be communicatively coupled to the one or more EEG sensors 501-504 via a wired or wireless connection. The sensor circuit 210 may include sense amplifier circuit that may pre-process the sensed EEG signal. From the processed physiological signals, the EEG parameter generator 520 may extract one or more EEG parameters. In an example, at least a part of the sensor circuit 210 or the EEG parameter generator 520 may be implemented in, and executed by, a mobile device. Examples of the mobile device may include a smart phone, a wearable device, a fitness band, a portable health monitor, a tablet, a laptop computer, or other types of portable computerized device. Alternatively, at least a part of the sensor circuit 210 or the EEG parameter generator 520 may be included in a wearable device

incorporating signal processing circuitry to analyzing the EEG signals and generating pain scores. The wearable device may be worn or otherwise associated on the wrist, arm, upper or lower leg, trunk, or other body part suitable for a tight or loose belt-band containing the wearable, or located inside a wallet, a purse, or other handheld accessories.

[0095] The EEG parameter generator 520 may generate one or more

EEG parameters from the sensed EEG signal. By way of example and not limitation, the EEG parameters may include timing parameters, temporal statistical parameters, morphology parameters, and spectral parameters.

Examples of the timing parameters may include a time interval between a first characteristic point in one signal and a second characteristic point in another signal. Examples of the statistical parameters may include signal mean, median, or other central tendency measures or a histogram of the signal intensity, variance, standard deviation, or higher-order statistics, among others. Examples of the morphological parameters may include maximum or minimum within a specific time period such as a cardiac cycle, positive or negative slope, among others.

[0096] In some examples, the sensor circuit 210 may perform signal transformation on the sensed EEG signal, such as a Fourier transform or wavelet transform. One or more signal metrics may be extracted from the transformed EEG signals, which may include signal power spectra at specific frequency bands, dominant frequency, coherence, spectral entropy, mutual information, frequency shift of spectral peaks, spectral width or a Q-factor of power spectra, or other features extracted from the frequency domain or other transformed domain. In an example, multiple epochs of EEG recordings, each having a specified duration, may be collected. The sensor circuit 210 may include a filter bank comprising filters with respective characteristics such as passbands and center frequencies. In an example, each epoch of EEG recording may be filtered through the filter bank to obtain one or more of: a delta wave within a frequency band of approximately 1-4 Hertz (Hz), a theta wave within a frequency band of approximately 4-7 Hz, an alpha wave within a frequency band of approximately 8-15 Hz, or a beta wave within a frequency band of approximately 16-30 Hz, among others. The EEG parameters may include power spectra, dominant frequency, or other spectral parameters of these distinct EEG waves at distinct frequency bands averaged over the multiple epochs. In some examples, EEG signals may be collected from various brain regions of interest, which may include frontal, central, parietal, occipital, and temporal regions. The EEG parameters may include power spectra, dominant frequency, or other spectral parameters of the distinct EEG waves corresponding to different brain regions of interest. The pain score generator 225 may generate pain score at least based on the EEG parameters.

[0097] FIG. 6 illustrates, by way of example and not limitation, a method

600 for managing pain of a patient. The method 600 may be implemented in a medical system, such as the pain management system 200 or 300. In an example, at least a portion of the method 600 may be executed by a

neuromodulator device (IND) such as the implantable neuromodulator 310. In an example, at least a portion of the method 600 may be executed by an external programmer or remote server-based patient management system, such as the external system 320 that are communicatively coupled to the IND. The method 600 may be used to provide neuromodulation therapy to treat chronic pain or other disorders.

[0098] The method 600 begins at step 610, where at least one

physiological signal indicative of patient brain activity may be sensed from the patient, such as using the sensor circuit 210. Examples of the brain activity signal may include electroencephalography (EEG), magnetoencephalography (MEG), or a brain-evoked potential, among other brain electromagnetic signals. The brain activity signals may be associated with patient pain vulnerability to experience chronic pain. Therefore, monitoring of patient brain electromagnetic activity may provide an objective assessment of pain. The brain activity signal may be sensed via an implantable or wearable sensor associated with the patient, such as one or more of the EEG sensors 501-504 as illustrated in FIG. 5 for sensing EEG signals using implantable electrodes or sensors, or non-invasive surface electrodes or sensors. In some examples, the EEG signals may be collected from various brain regions of interest, which may include frontal, central, parietal, occipital, and temporal regions. The brain activity signal may alternatively be sensed via a bedside monitor such as an EEG monitor. In various examples, other physiological signals may additionally be sensed at 610, including, for example, cardiac, pulmonary, neural, or biochemical signals each having characteristic signal properties indicative of onset, intensity, severity, duration, or patterns of pain. In some examples, in addition to the brain activity signals and other physiological signals, one or more functional signals may be sensed at 610, such as via one or more implantable or wearable motion sensors. Examples of the functional signals may include patient posture, gait, balance, or physical activity signals, among others. The functional signals may be used together with the brain activity signal in assessing patient pain.

[0099] At 620, one or more signal metrics may be generated from the sensed one or more brain activity signals. The signal metrics may include temporal or spatial parameters, statistical parameters, or morphological parameters. In an example where the sensed physiological signal includes one or more EEG, MEG, or a brain-evoked potential, the signal metrics may be indicative of strength or a pattern of brain electromagnetic activity associated with pain. In some example, the sensed at least one brain activity signal may be processed by applying a signal transformation such as Fourier transform or wavelet transform. One or more signal metrics may be extracted from the transformed signals, such as signal power spectra at specific frequency bands, dominant frequency, coherence, spectral entropy, mutual information, frequency shift of spectral peaks, spectral width or a Q-factor of power spectra, or other features.

[00100] In an example, the signal metrics may include one or more of

EEG timing parameters, EEG temporal statistical parameters, EEG morphology parameters, or EEG power spectral parameters, as illustrated in FIG. 5. The EEG power spectra at a plurality of frequency bands correspond to distinct EEG components, including a delta wave at approximately 1-4 Hz, a theta wave at approximately 4-7 Hz, an alpha wave at approximately 8-15 Hz, or a beta wave at approximately 16-30 Hz, among others. In some examples, the EEG parameters may include respective spectral parameters corresponding to different brain regions of interest.

[00101] At 630, a pain score may be generated using the measurements of the signal metrics indicative of brain electromagnetic activity. The pain score may be represented as a numerical or categorical value that quantifies overall pain quality in the subject. In an example, a composite signal metric may be generated using a combination of the signal metrics weighted by their respective weight factors. The composite signal metric may be categorized as one of a number of degrees of pain by comparing the composite signal metric to one or more threshold values or range values, and a corresponding pain score may be assigned based on the comparison. In another example, the signal metrics may be compared to their respective threshold values or range values and a corresponding signal metric-specific pain score may be determined. A composite pain score may be generated using a linear or nonlinear fusion of the signal metric-specific pain scores each weighted by their respective weight factors. In some examples, the pain score may be computed using a subset of the signal metrics selected based on their temporal profile of pain response. Signal metrics with quick pain response (or a shorter transient state of response) may be selected to compute the pain score during a pain episode. Signal metrics with slow or delayed pain response (or a longer transient state of response before reaching a steady state ) may be used to compute the pain score after an extended period following the onset of pain such as to allow the signal metrics to reach steady state of response. In some examples, patient demographic information such as patient age or gender may be used in computing the pain score. A higher pain threshold for the composite signal metric may be selected for male patients than for female patients. Additionally or alternatively, the respective weight factors may be determined based on patient demographic information. The weight factors for the signal metrics may be tuned to a lower value than the weight factors for the same signal metric in a female patient.

[00102] At 642, the pain score may be output to a user or to a process, such as via the output unit 242 as illustrated in FIG. 2. The pain score, including the composite pain score and optionally together with metric-specific pain scores, may be displayed on a display screen. Other information such as the brain activity signals and the signal metrics extracted from the brain activity signals may also be output for display or for further processing. In some examples, alerts, alarms, emergency calls, or other forms of warnings may be generated to signal the system user about occurrence of a pain episode or aggravation of pain as indicated by the pain score.

[00103] The method 600 may include, at 644, an additional step of delivering a pain therapy to the patient according to the pain score. The pain therapy may include electrostimulation therapy, such as spinal cord stimulation (SCS) via electrodes electrically coupled to the electrostimulator. The SCS may be in a form of stimulation pulses that are characterized by pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, waveform, among other stimulation parameters. Other electrostimulation therapy, such as one or a combination of DBS, FES, VNS, TNS, or PNS at various locations, may be delivered for pain management. The pain therapy may additionally or alternatively include a drug therapy such as delivered by using an intrathecal drug delivery pump.

[00104] In various examples, the pain therapy (such as in the form of electrostimulation or drug therapy) may be delivered in a closed-loop fashion. Therapy parameters, such as stimulation waveform parameters, stimulation electrode combination and fractionalization, drug dosage, may be adaptively adjusted based at least on the pain score. The pain-relief effect of the delivered pain therapy may be assessed based on the signal metrics such as the

cardiovascular parameters, and the therapy may be adjusted to achieve desirable pain relief. The therapy adjustment may be executed continuously, periodically at specific time, duration, or frequency, or in a commanded mode upon receiving from a system user a command or confirmation of parameter adjustment. In an example, if the pain score exceeds the pain threshold (or falls within a specific range indicating an elevated pain), then the first electrostimulation may be delivered. Conversely, if the composite pain score falls below a respective threshold value (or falls within a specific range indicating no pain or mild pain), then a second pain therapy, such as second electrostimulation may be delivered. The first and second electrostimulations may differ in at least one of the stimulation energy, pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, pulse shape or waveform, electrostimulation pattern such as electrode configuration or energy fractionalization among active electrodes, among other stimulation parameters. In some examples, the therapy adjustment may include selecting a set of electrodes, based on the pain scores, from a plurality of candidate electrodes disposed along the length of an implantable lead. The electrodes may be manually selected by a system user, or

automatically selected based on a comparison of the pain scores associated with pain-relief electrostimulation delivered via the respective candidate electrodes. Examples of electrode selection method based on the pain scores are discussed below, such as with reference to FIG. 7.

[00105] The method 600 may proceed at 610 to sense functional signals in response to the therapy delivered at 644. In some examples, the responses of the signal metrics to pain therapy delivered at 644 may be used to gauge composite pain score computation such as by adjusting the weight factors. In an example, weight factors may be determined and adjusted via the weight generator 322 as illustrated in FIG. 3, to be proportional to signal metric' s sensitivity to pain.

[00106] FIG. 7 illustrates, by way of example and not limitation, a method

700 for selecting one or more active electrodes for delivering electrostimulation for pain therapy. The electrode selection may be based on pain scores generated based on physiological signals sensed during a pain episode. The method 700 may be implemented in a medical system, such as the pain management system 200 or 300. In an example, at least a portion of the method 700 may be executed by a neuromodulator device (IND) such as the implantable neuromodulator 310. In an example, at least a portion of the method 700 may be executed by the external system 320 that are communicatively coupled to the IND. The external system 320 may include an external programmer, a wearable device, or a remote server-based patient management system, among others.

[00107] The method 700 begins at 710, where one or more pain episodes may be monitored or induced. Spontaneous pain episodes that occur in an ambulatory setting in patient daily life may be monitored at 712 such as using one or more physiological sensors. Additionally or alternatively, one or more pain episodes may be induced at 712. Pain induction may be performed in a clinic and administered by a medical professional. Examples of the pain induction procedure may include applying heat, pressure, or other artificial stimuli during quantitative sensory testing, administering nerve block or adjusting pharmaceutical agents, temporarily withholding pain-relief therapy or varying therapy dosage to achieve intermediate levels of pain reduction effect, psychological or stress stimulation, or physical exercise such as strenuous leg lift or grip test, among others.

[00108] At 720, a pain assessment session may be initiated during spontaneous or induced pain, either automatically triggered by a sensor indicator or activated manually by the patient (such as during a spontaneous pain episode) or a clinician (such as during a induced pain episode). The pain assessment session may include delivering electrostimulation energy according to a predetermined stimulation protocol, and evaluating the electrostimulation's pain- relief effect. The pre-determined stimulation protocol may include a plurality of electrode configurations arranged in a specified order. Each electrode configuration includes an anode and a cathode, each selected from a plurality of candidate electrodes (such as electrodes El -El 6 in FIG. 4 A) and a reference electrode (such as the device can housing 411 in FIG. 4 A).

[00109] At 730, at least one physiological signal indicative of patient brain activity may be sensed during the pain assessment session, such as using the pain management system 200 or 300. In an example, an EEG signal may be recorded during the pain-relief electrostimulation according to each of the electrode configurations in the pre-determined stimulation protocol. EEG parameters may be extracted from the sensed EEG signal such as using the signal metrics generator 221. Metric-specific pain scores corresponding to pain- relief electrostimulation applied according to an electrode configuration involving various candidate electrodes may be determined, such as illustrated in FIG. 4B. A composite pain score is computed using a combination of the metric-specific pain scores corresponding to the EEG parameters evaluated. In an example, the composite pain score may be computed as a sum or weighted sum of the metric-specific pain scores. Composite pain scores may similarly computed for pain-relief electrostimulation according to other electrode configurations. The composite pain scores associated with the electrode configurations included in the stimulation protocol may be presented to the patient or a clinician.

[00110] At 740, the composite pain scores associated with the electrode configurations included in the stimulation protocol may be compared to each other. At 750, one or more active electrodes may then be selected based on the comparison. The selected one or more active electrodes correspond to respective pain scores less than pain scores associated with other candidate electrodes different from the selected one or more active electrodes. In an example, one or more candidate electrodes that correspond to the lowest composite pain score may be selected, indicating the highest effectiveness in pain reduction.

[00111] Alternatively, a metric-specific pain reduction score may be determined for each signal metric at 730, where a pain reduction score of "1" indicates desirable pain reduction effect, and a pain reduction score of "0" indicates undesirable pain reduction effect. A composite pain reduction score may be computed using a combination of the metric-specific pain reduction scores. Composite pain reduction scores associated with the electrode configurations included in the stimulation protocol may be compared to each other at 740. One or more electrodes that correspond to the highest composite pain reduction score among the candidate electrodes indicate the highest effectiveness in pain reduction, and may be selected at 750 as active electrodes for delivering electrostimulation energy.

[00112] The method 700 for selecting active electrodes based on pain scores may be modified for selecting, or determining values of, one or more other therapy parameters, including: electrode energy fractionalization which defines amount of current, voltage, or energy assigned to each active electrode and thereby determines spatial distribution of the modulation field; temporal modulation parameters such as pulse amplitude, pulse width, pulse rate, or burst intensity; morphological modulation parameters respectively defining one or more portions of stimulation waveform morphology such as amplitude of different phases or pulses included in a stimulation burst, among others. The disclosed method may also be used in selecting one or more active therapy regimes from a plurality of candidate therapy regimes each involving a combination of multiple therapy parameters such as electrode selection, energy fractionalization, waveform temporal and morphological parameters. For example, in an automated closed-loop pain therapy or clinician programmed pain therapy, a particular value for a specific therapy parameter, or a particular therapy regime, may be selected and programmed to the IPG 411 for delivering electrostimulation therapy to relieve patient pain.

[00113] FIG. 8 illustrates generally a block diagram of an example machine 800 upon which any one or more of the techniques (e.g.,

methodologies) discussed herein may perform. Portions of this description may apply to the computing framework of various portions of the LCP device, the IND, or the external programmer.

[00114] In alternative embodiments, the machine 800 may operate as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine 800 may operate in the capacity of a server machine, a client machine, or both in server-client network environments. In an example, the machine 800 may act as a peer machine in peer-to-peer (P2P) (or other distributed) network environment. The machine 800 may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile telephone, a web appliance, a network router, switch or bridge, or any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term "machine" shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein, such as cloud computing, software as a service (SaaS), other computer cluster configurations.

[00115] Examples, as described herein, may include, or may operate by, logic or a number of components, or mechanisms. Circuit sets are a collection of circuits implemented in tangible entities that include hardware (e.g., simple circuits, gates, logic, etc.). Circuit set membership may be flexible over time and underlying hardware variability. Circuit sets include members that may, alone or in combination, perform specified operations when operating. In an example, hardware of the circuit set may be immutably designed to carry out a specific operation (e.g., hardwired). In an example, the hardware of the circuit set may include variably connected physical components (e.g., execution units, transistors, simple circuits, etc.) including a computer readable medium physically modified (e.g., magnetically, electrically, moveable placement of invariant massed particles, etc.) to encode instructions of the specific operation. In connecting the physical components, the underlying electrical properties of a hardware constituent are changed, for example, from an insulator to a conductor or vice versa. The instructions enable embedded hardware (e.g., the execution units or a loading mechanism) to create members of the circuit set in hardware via the variable connections to carry out portions of the specific operation when in operation. Accordingly, the computer readable medium is communicatively coupled to the other components of the circuit set member when the device is operating. In an example, any of the physical components may be used in more than one member of more than one circuit set. For example, under operation, execution units may be used in a first circuit of a first circuit set at one point in time and reused by a second circuit in the first circuit set, or by a third circuit in a second circuit set at a different time.

[00116] Machine (e.g., computer system) 800 may include a hardware processor 802 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof), a main memory 804 and a static memory 806, some or all of which may communicate with each other via an interlink (e.g., bus) 808. The machine 800 may further include a display unit 810 (e.g., a raster display, vector display, holographic display, etc.), an alphanumeric input device 812 (e.g., a keyboard), and a user interface (UI) navigation device 814 (e.g., a mouse). In an example, the display unit 810, input device 812 and UI navigation device 814 may be a touch screen display. The machine 800 may additionally include a storage device (e.g., drive unit) 816, a signal generation device 818 (e.g., a speaker), a network interface device 820, and one or more sensors 821, such as a global positioning system (GPS) sensor, compass, accelerometer, or other sensor. The machine 800 may include an output controller 828, such as a serial (e.g., universal serial bus (USB), parallel, or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connection to communicate or control one or more peripheral devices (e.g., a printer, card reader, etc.).

[00117] The storage device 816 may include a machine readable medium 822 on which is stored one or more sets of data structures or instructions 824 (e.g., software) embodying or utilized by any one or more of the techniques or functions described herein. The instructions 824 may also reside, completely or at least partially, within the main memory 804, within static memory 806, or within the hardware processor 802 during execution thereof by the machine 800. In an example, one or any combination of the hardware processor 802, the main memory 804, the static memory 806, or the storage device 816 may constitute machine readable media.

[00118] While the machine readable medium 822 is illustrated as a single medium, the term "machine readable medium" may include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) configured to store the one or more instructions 824.

[00119] The term "machine readable medium" may include any medium that is capable of storing, encoding, or carrying instructions for execution by the machine 800 and that cause the machine 800 to perform any one or more of the techniques of the present disclosure, or that is capable of storing, encoding or carrying data structures used by or associated with such instructions. Non- limiting machine readable medium examples may include solid-state memories, and optical and magnetic media. In an example, a massed machine readable medium comprises a machine readable medium with a plurality of particles having invariant (e.g., rest) mass. Accordingly, massed machine-readable media are not transitory propagating signals. Specific examples of massed machine readable media may include: non-volatile memory, such as semiconductor memory devices (e.g., Electrically Programmable Read-Only Memory

(EPROM), Electrically Erasable Programmable Read-Only Memory

(EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD- ROM disks. [00120] The instructions 824 may further be transmitted or received over a communications network 826 using a transmission medium via the network interface device 820 utilizing any one of a number of transfer protocols (e.g., frame relay, internet protocol (IP), transmission control protocol (TCP), user datagram protocol (HDP), hypertext transfer protocol (HTTP), etc.). Example communication networks may include a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), mobile telephone networks (e.g., cellular networks), Plain Old Telephone (POTS) networks, and wireless data networks (e.g., Institute of Electrical and Electronics Engineers (IEEE) 802.11 family of standards known as WiFi®, IEEE 802.16 family of standards known as WiMax®), IEEE 802.15.4 family of standards, peer-to-peer (P2P) networks, among others. In an example, the network interface device 820 may include one or more physical jacks (e.g., Ethernet, coaxial, or phone jacks) or one or more antennas to connect to the communications network 826. In an example, the network interface device 820 may include a plurality of antennas to wirelessly communicate using at least one of single-input multiple-output (SEVIO), multiple-input multiple-output (MTMO), or multiple-input single-output (MISO) techniques. The term "transmission medium" shall be taken to include any intangible medium that is capable of storing, encoding or carrying instructions for execution by the machine 800, and includes digital or analog communications signals or other intangible medium to facilitate communication of such software.

[00121] Various embodiments are illustrated in the figures above. One or more features from one or more of these embodiments may be combined to form other embodiments.

[00122] The method examples described herein can be machine or computer-implemented at least in part. Some examples may include a computer- readable medium or machine-readable medium encoded with instructions operable to configure an electronic device or system to perform methods as described in the above examples. An implementation of such methods may include code, such as microcode, assembly language code, a higher-level language code, or the like. Such code may include computer readable

instructions for performing various methods. The code can form portions of computer program products. Further, the code can be tangibly stored on one or more volatile or non-volatile computer-readable media during execution or at other times.

[00123] The above detailed description is intended to be illustrative, and not restrictive. The scope of the disclosure should, therefore, be determined with references to the appended claims, along with the full scope of equivalents to which such claims are entitled.