Implantable medical device (IMD) with code path metrics
AssigneeAdvanced Neuromodulation Systems, Inc.
InventorsDaran DeShazo, Edward Lundberg
Life of this patent
Estimating the term…
Abstract
A system and method of quantifying, maintaining and managing the functional status and/or therapy settings of an IMD based on code path metrics is disclosed. The codebase of device firmware modules may be instrumented to obtain tracing data and timing metrics data corresponding to different code paths that may be taken when a device subsystem or associated functionality is accessed or activated. Code path metrics of actual code paths may be analyzed to detect a deviation from baseline code path metrics and generate a corresponding graduated response.
Claims27
An implantable medical device (IMD) for implantation in a patient, comprising:
- one or more processors for controlling IMD operations;
- a battery for powering IMD operations;
- circuitry for controlling provision of a medical therapy to the patient or for conducting medical diagnostic operations;
- wireless communication circuitry for conducting communication with one or more devices external to the patient after implantation;
- and
- persistent memory for storing firmware for execution by the one or more processors, wherein the firmware includes a plurality of firmware modules controlling one or more corresponding hardware components of the IMD for respective IMD functions, and wherein multiple identified code paths traversing respective firmware code instructions are identified for each of the plurality of firmware modules;
- wherein the one or more processors, when executing firmware code for the plurality of firmware modules, are configured to:
- store identifiers corresponding to respective code paths of the multiple identified code paths in one or more memory buffers to indicate execution of code of each respective code path;
- process stored code path identifiers stored in the one or more buffers to generate respective code path metrics;
- calculate at least one power consumption metric using one or more respective calculated code path metrics;
- and
- generate a power overconsumption flag upon determining that the power consumption metric indicates improper IMD operations.
A method for controlling an implantable medical device (IMD) for implantation in a patient, comprising:
- storing, in a persistent memory of the IMD, firmware for execution by one or more processors of the IMD, wherein the firmware includes a plurality of firmware modules controlling one or more corresponding hardware components of the IMD for respective IMD functions, and wherein multiple identified code paths traversing respective firmware code instructions are identified for each of the plurality of firmware modules;
- storing, by the one or more processors, code path identifiers when executing firmware code for the plurality of firmware modules, the identifiers corresponding to respective code paths of the multiple identified code paths in one or more memory buffers to indicate execution of code of each respective code path;
- processing, by the one or more processors, stored code path identifiers stored in the one or more buffers to generate respective code path metrics;
- calculating, by the one or more processors, at least one power consumption metric using one or more respective calculated code path metrics;
- and
- generate, by the one or more processors, a power overconsumption flag upon determining that the power consumption metric indicates improper IMD operations.
An implantable pulse generator (IPG) for providing electrical pulses to neural tissue of a patient, the IPG comprising:
- at least one processor for controlling IPG operations;
- a battery for powering the IPG operations;
- circuitry for generating electrical pulses to stimulate the neural tissue of the patient;
- wireless communication circuitry for conducting communication with one or more devices external to the patient after implantation;
- and
- persistent memory for storing firmware for execution by the at least one processor wherein the firmware includes a plurality of firmware modules for controlling corresponding subsystems of the IPG, each subsystem controlled by multiple identified code paths traversing firmware code for implementing each respective subsystem;
- wherein the at least one processor, when executing firmware code for the IPG subsystems, is configured to:
- store code path identifiers corresponding to respective code paths of the multiple identified code paths in one or more memory buffers to indicate execution of code of each respective code path;
- process stored code path identifiers stored in the one or more buffers to generate respective code path metrics;
- calculate at least one power consumption metric using one or more respective calculated code path metrics;
- and
- generate a power overconsumption flag upon determining that the power consumption metric indicates improper IMD operations.
Dependencies are inferred from the claim text.