The invention is directed to a medical device for implantation within or mounted on a patient's body. Such medical device is usually configured to monitor the health condition of a patient and/or to deliver a therapy to the patient. The invention is further directed to a method for determining an orientation of same, a respective computer program product and a respective computer readable data carrier.
An active or passive medical device, for example, a pacemaker (with leads), a BioMonitor, an Implantable Leadless Pacer (ILP), an Implantable Leadless Pressure Sensor (ILPS), an Implantable Cardiac Defibrillator (ICD) or a Shockbox, a device that delivers spinal cord stimulation (SCS), deep brain stimulation (DBS) or neurostimulation or a device that delivers one or more therapeutic substances, e.g. a drug pump, contains sensors that collect physiological signals in order to monitor the health status of the patient and/or delivers a therapy to the patient.
As patient monitoring in general hospital wards and at home becomes more and more common, the circumstances, under which the monitored parameters are obtained or under which the therapy is delivered, have to be assessed automatically and with increasing accuracy.
With regard to health condition monitoring and therapy application, patient posture is an important clinical measure which can be affected by, and therefore may be an indicator for, an improvement or decline in the patient's health condition. Implantable or body-mountable devices containing accelerometers are capable of determining the posture of the patient implanted with the device, but only if the orientation of the device with respect to the patient's body is known. Therefore, determining the orientation of the medical device with respect to the patient's body is a critical step in providing a patient posture metric.
Known medical devices either require a manual calibration to determine the device orientation with regard to the patient's body, or they perform automatic estimation of the orientation using assumptions which generally may not hold true.
Manual calibration methods for determining the device orientation with regard to the patient's body require a procedure in which the patient assumes various positions while the medical device communicates with a device programmer. First, this procedure may be cumbersome and not desired by either the patient or health care provider (HCP). Second, as a medical device may migrate in location over time, manual calibration methods would necessitate re-performing this procedure at regular intervals (e.g. during patient follow-ups) in order to keep correct estimates of the device orientation and thereby the patient's posture.
Existing automatic estimations of device orientation with regard to a patient's body use algorithms that make the assumption that the “yaw” angle of the device relative to the patient is close to zero, wherein yaw is defined as the angle between the device's Z axis and the Z axis of the patient's body. While this may sometimes be a safe assumption for devices implanted in the pectoral region, it is not always guaranteed. Furthermore, devices implanted in other regions of the body may have a “yaw” angle which differs significantly from zero depending on the specific region. Therefore, the existing solutions make an assumption which is not generalizable and may not even be true for the originally intended scope of the solution (i.e. pectoral device implants). As a result, the estimated device orientations and patient postures obtained by existing automatic solutions may be incorrect.
Document EP 2 598 028 B1 describes a method for automatic calibration of an orientation of an implanted or body-mounted device relative to the body. In order to assess the accelerometer data the method defines a reference condition that comprises a reference posture or reference posture range which has at least one predetermined characteristic. The characteristic relates to a particularly high or low prevalence of this posture or posture range which may be incorrect in certain circumstances. Further, the automatic calibration uses cluster analysis which is computationally intensive. Additionally, the known method assumes that the patient's supine posture is perfectly flat.
Document U.S. Pat. No. 8,758,274 describes a method that creates posture state definitions, each including a defined vector describing a corresponding posture state based on the coordinate system of an accelerometer or a gyroscope of a medical device. The orientation of the patient's body with regard to this coordinate system is not considered.
Accordingly, it is desirable to provide an automatic estimation of medical device orientation with regard to a patient's body (thereby overcoming the drawbacks of manual calibration methods) which does not make a priori assumptions about the device's orientation or specific prevalence and therefore is generalizable to medical devices implanted or body-mounted in any region of the body.
The above problem is solved by a medical device with the features of claim 1, by a method for determining an orientation of a medical device with the features of claim 7, by a computer program product with the features of claim 13, and by a computer readable data carrier with the features of claim 14.
In particular, the problem is solved by a medical device for implantation within or mounting on a patient's body comprising an accelerator unit, a data memory unit and a processor which are electrically interconnected, wherein for the medical device three orthogonal axes (XD, YD, ZD) and for the patient's body three orthogonal axes (XP, YP, ZP) are defined, wherein the accelerator unit is configured to determine 3-dimensional proper acceleration data along sensitive axes corresponding to the three orthogonal axes of the medical device (XD, YD, ZD) and the processor is configured to process said acceleration data determined by the accelerator unit, wherein the processor is configured
The medical device is any device which is configured to be implanted partly or fully within a patient's body or mounted on the patient's body. As indicated above the medical device is configured to monitor the health condition of a patient and/or to deliver a therapy to the patient. Further, as an implanted or body-mounted device the medical device moves with the patient's body as it is thereby basically fixed to the body. In some cases, the medical device may carry out a very small relative movement with regard to the patient's body if the patient moves due to the tissue properties but this will be ignored in the following. Particularly, the medical device is a pacemaker, ILP, ICD, Shockbox, device that delivers SCD, or a BioMonitor. The invention may also be used in the above examples of medical devices. Mounting on the patient's body means that the medical device is permanently or temporarily attached to the patient's body, for example by suturing.
For the medical device three orthogonal axes (XD, YD, ZD) and for the patient's body three orthogonal axes (XP, YP, ZP) are defined. Each system of three orthogonal axes (XD, YD, ZD) and (XP, YP, ZP) forms a 3-dimensional Cartesian coordinate system, wherein the axes XD and XP are an x-axis, the axes YD and YP a y-axis and the axes ZD and ZP a z-axis. With regard to a pacemaker, the axis ZD is the axis which is normal to the largest flat surfaces of the pacemaker. Accordingly, the largest flat surfaces are parallel to the XD, YD-plane. Regarding the patient's body the +XP axis is towards the patient's left arm, the +YP axis is towards the patient's head, and the +ZP axis is outwards from the patient's chest. When the patient is in a standing position, this means that the patient +XP, +YP, and +ZP axes are orthogonal, anti-parallel, and the axes XP, ZP orthogonal to the earth's direction of gravitation, respectively.
The medical device comprises the accelerator unit, the data memory unit and the processor which are electrically interconnected. This means, inter alia, that they are capable to exchange data.
The accelerator unit of the medical device may comprise a 3-dimensional accelerometer sensor, for example one 3-dimensional accelerometer or several 1- or 2-dimensional accelerometers, such as a piezo electric and/or micro-electro mechanical (MEMs) accelerometer and/or mechanical accelerometer and/or gravimeter or any combination of these sensors. The term 3-dimensional means that the acceleration unit is configured to determine 3-dimensional proper acceleration data along sensitive axes corresponding to the three orthogonal axes of the medical device (XD, YD, ZD). Accordingly, the acceleration data determined by the acceleration unit always comprise three values, namely the acceleration along the XD-axis, the acceleration along the YD-axis and the acceleration along the ZD-axis. Proper acceleration is the acceleration (the rate of change of velocity) of the unit in its own instantaneous rest frame. For example, an accelerometer at rest on the surface of the Earth will measure an acceleration into the direction of Earth's gravity, straight upwards (by definition) of g≈9.81 m/s2 because the Earth's surface exerts a normal force upwards relative to the local inertial frame (the frame of a freely falling object near the surface). By contrast, accelerometers in free fall (falling toward the center of the Earth at a rate of about 9.81 m/s2) will measure zero. Usually, the acceleration is quantified in the SI unit m/s2 or in terms of standard gravity (multiples of g).
The data memory unit of the medical device may include any volatile, non-volatile, magnetic, or electrical media, such as a random-access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), electrically-erasable programmable ROM (EEPROM), flash memory, or any other memory device. The data memory unit may store the measured (raw) acceleration data determined by the acceleration unit.
With regard to the invention the processor is regarded as a functional unit of the medical device, that interprets and executes instructions comprising an instruction control unit and an arithmetic and logic unit. The processor may comprise a microprocessor, a controller, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA, discrete logic circuitry or any combination thereof. The processor processes the (raw) acceleration data received from the accelerator unit directly or the acceleration data received from the data memory unit.
The medical device may comprise further modules such a power supply such as a battery, at least one signal generator for generating, for example, electrical or electromagnetically therapy signals in order to provide the therapy to the patient, a sender module for sending data to an external unit such as a remote computer or Programmer and/or a transceiver module for bi-directionally exchanging data with such remote computer or Programmer. The sender transceiver module, the power supply, the at least one sensor and/or the signal generator may be electrically connected to the processor. All above mentioned modules/units may be modules/units separate from the processor or may be at least partly integrated within the processor of the medical device. The sender module and/or the transceiver module may communicate wirelessly with the remote computer or Programmer, for example using electromagnetic waves, for example Bluetooth, WLAN, ZigBee, NFC, Wibree or WiMAX in the radio frequency region, or IrDA or free-space optical communication (FSO) in the infrared or optical frequency region. Communication by wire (electrical and/or optical communication) may be possible, as well. The remote computer is a functional unit that can perform substantial computations, including numerous arithmetic operations and logic operations without human intervention, such as, for example, a personal mobile device (PMD), a desktop computer, a server computer, clusters/warehouse scale computer or embedded system.
The processor is configured to differentiate between an active state and a rest state of the medical device and thereby of the patient's body as the medical device moves with the patient's body. According to the invention, the patient's body is in an active state if the processor determines an actual activity/motion level (of the medical device) above a predefined threshold. If the activity level is below or equal to this threshold, it is assumed that the patient's body is at rest. The activity level may be determined using different sensors, for example the accelerator unit, other sensors such as a gyroscope, heart rate sensor, temperature sensor, or respiration sensor. If the activity level is determined using the accelerator unit, the processor processes the 3-dimensional acceleration data of the acceleration unit in real time with the intent of determining patient activity (i.e. motion). As an example, the device may process (e.g. filter, rectify, integrate, etc.) the output of one axis (or multiple axes) and then compare the processed value to a predefined threshold. If the processed value is greater than the predefined threshold, the device will indicate that the patient's body is in the active state. The specific processing steps and threshold may be defined such that the device will only detect patient motion/activity during events that are generally accepted to be physical activities, such as walking, running, cycling, (stair) climbing, jumping up and down, and will not trigger during events that are not generally accepted to be physical activities, such as breathing.
According to the invention the processor is adapted to determine an actual orientation of the three orthogonal axes of the medical device (XD, YD, ZD) with regard to a horizontal plane (first component of orientation determination) and/or to determine an actual yaw-angle between one axis ZD of the medical device and the corresponding axis ZP of the patient's body (second component of orientation determination). After determination of both components of orientation determination, i.e. of the actual orientation of the three orthogonal axes of the medical device (XD, YD, ZD) with regard to a horizontal plane and of the actual yaw-angle between the axes ZD, ZP, the orientation of all axes of the medical device (XD, YD, ZD) with regard to all axes of the patient's body (XP, YP, ZP) is known. However, one component may be known quite perfectly so that it is only necessary to determine the other component thereby receiving the full actual orientation of the medical device and the patient's body.
According to the invention the processor is configured to determine the actual orientation (θx, θy, θz) of the three orthogonal axes of the medical device (XD, YD, ZD) when the patient is upright with regard to the horizontal plane as shown in
Then, at the end of the third predefined time interval (e.g. several hours, days or weeks) the specific acceleration data from all groups of said acceleration data that were determined by the accelerator unit within the third predefined time interval (which is longer than or equal to the first time interval and longer than or equal to the second time interval) are read by the processor from the data memory unit. All specific acceleration data form at least one or a plurality of snapshots. Practically speaking, not all of these snapshots will truly capture when the patient's body is upright and at rest. As examples, the device may trigger activity during an event in which the patient is not upright, or the patient may change posture from/to a non-upright position immediately before/after an upright activity. However, these instances would typically be in the minority of snapshots captured. Accordingly, in one embodiment from these read specific acceleration data of third time interval a median acceleration data or another average acceleration data is then determined. The advantage of determining the median acceleration data is that the above outliers do not influence the median result. The median acceleration value or the average acceleration value is determined from the specific acceleration data as a median value or an average value (e.g. the mentioned mean values above) for each axis separately, wherein each of the median acceleration data or the average acceleration data is a 3-dimensional acceleration data. In case the third time interval covers only one specific acceleration data, the average acceleration data or the median acceleration data corresponds to the respective specific acceleration data.
Finally, from the specific acceleration data, the median acceleration data or the average acceleration data the actual orientation of the three orthogonal axes of the medical device (XD, YD, ZD) with regard to a horizontal plane, when the patient is upright, may be determined using the following equations Eq. 1 to 3:
wherein ax, ay, az are the acceleration data components for each axis of the specific acceleration data, the median acceleration data or the average acceleration data.
Further, the actual yaw-angle between the one axis ZD of the medical device and the corresponding axis ZP of the patient's body is determined by the processor. The yaw-angle is denoted here as Φ and is defined as the angle between the medical device's Z axis (i.e. ZD) and the Z axis of the patient's body (i.e. the anteroposterior axis of the patient, ZP), as shown in
For determining the actual yaw-angle the following steps are executed by the processor of the medical device:
The above procedure is executed because it was observed that the acceleration data measured by the acceleration unit during the specific activity changes if the yaw angle Φ changes. Accordingly, the yaw-angle can be derived from the acceleration data continuously measured over the predefined fourth time interval (for example several seconds to several minutes) for the specific activity. The measurement is stopped if the specific activity is stopped. If another activity type is used for determining the yaw-angle, the determination procedure needs to be adapted to the other activity type.
Determination of the predefined specific activity can be achieved by using advanced signal processing techniques on the accelerometer data, such as, for example, a machine learning classifier that has been trained to identify various predefined activities from accelerometer data. Alternatively, because the most common activity of daily living is walking, whenever an active state is detected by the device, the device may calculate the yaw-angle, assuming that the activity is a walking activity, and store it to memory, resulting in a plurality of stored yaw-angles. Note that for the calculation of the yaw-angle, the assumption that all activities are a walking activity will be generally incorrect, and therefore there will be some incorrect yaw-angle calculations. However, for most populations the majority of activities are walking activities, and therefore the majority of calculated yaw-angles will be correct. Therefore, after some sixth time period (e.g. a day, a week, etc.) the device may calculate the median of the stored yaw-angles, and this median result will produce the correct yaw-angle due to the nature of the median calculation and the majority of stored yaw-angles being correct.
Calculation of the yaw-angle for a walking activity is achieved as follows. During a walking activity, acceleration along the XP axis has a fundamental frequency that is half the fundamental frequency along the YP or ZP axes, due to the nature of the walking motion (gait). The fundamental frequency in the YP and ZP axes are equal to the step frequency (i.e. number of steps/second) of the walking activity. For example, if the patient walks at 2 steps/second (2 Hz), the fundamental frequency of acceleration along the YP and ZP axes will be equal to the step frequency of 2 Hz, while the fundamental frequency of acceleration along the XP axis will be equal to half the step frequency, 1 Hz.
Note that a yaw-angle Φ of 0° indicates that the ZD axis of the device is aligned with the ZP axis of the patient, while a Φ of 90° indicates that the ZD axis of the device is aligned with the XP axis of the patient. Consequently, the fundamental frequency of acceleration data from the ZD axis of the device will be equal to the step frequency when Φ=0°, but will be equal to half the step frequency when Φ=90°. Therefore, it is possible to determine Φ by examining the frequency-domain features of the ZD axis and comparing them to the step frequency of the walking activity.
The step frequency of the walking activity can be calculated from the accelerometer data collected by the device in several ways. As one particular example, the device may use the previously calculated (θx, θy, θz) to determine which axis is most aligned with the YP axis of the patient, corresponding to a θ=90°. For example, if the (θx, θy, θz) were found to be (0°, 80°, 10°), then the device would determine that the YD axis is most aligned with the YP axis of the patient because θy (80°) is closest to 90°. Finally, the device would calculate the fundamental frequency of the accelerometer data collected from the YD axis during the walking activity to determine the step frequency. As another example, the device may calculate the total acceleration from all three axes during the walking activity, using the following equation:
Finally, the device would calculate the fundamental frequency of atotal to determine the step frequency.
Once the step frequency is known, the frequency-domain features of accelerometer data from the ZD axis can be examined to determine the yaw-angle. As one example, the signal power at the step frequency (Pstep) and the signal power at half the step frequency (Phalfstep) can be calculated. As described earlier, when the ZD axis is aligned with ZP (Φ=0°) the fundamental frequency of the acceleration from the ZD axis will be equal to the step frequency, meaning that the bulk of signal power from the acceleration data will be around the step frequency, and Pstep will be much larger than Phalfstep. Conversely, when the ZD axis is aligned with XP (Φ=90), the fundamental frequency of the acceleration from the ZD will be equal to half the step frequency, meaning that the bulk of signal power from the acceleration data will be around half the step frequency, and Pstep will be much smaller than Phalfstep.
Therefore, an estimate of Φ can be calculated by assessing the relationship between the measured Pstep and Phalfstep. The relationship may be, for example, a learned regression model relating Pstep and Phalfstep to Φ from a dataset of accelerometer signals during walking from many patients. As another example, the relationship may be as simple as the ratio of Pstep to Phalfstep. The former approach is likely to be more accurate, however the specific relationship used by a particular device to calculate Φ will be dependent on the accuracy required by such device and the computational resources available to the device.
The above is only one particular example of how to estimate Φ during a walking activity. However, other time- and/or frequency-domain methods can also be used, including but not limited to relationships between signal amplitudes or magnitudes, signal-to-noise ratios, phase, etc. These relationships can be calculated among any of the accelerometer axes in the device. Such relationships must be calculated based on knowledge of the activity during which Φ is calculated: the above described a walking activity, but other activities may also be used if sufficient knowledge about the expected relationships in the accelerometer data is known for those particular activities.
In one embodiment the data memory module comprises a circular buffer configured such that acceleration data defined above are continuously stored in the circular buffer for a predefined time interval, for example several seconds up to several minutes wherein acceleration data which are older than this time interval are overwritten by the newest acceleration data. Using the circular buffer memory space is saved.
In one embodiment, as explained below in more detail, the processor is configured to determine an actual posture of the patient based on the determined actual orientation of the three orthogonal axes of the medical device (XD, YD, ZD) with regard to the horizontal plane and the determined actual yaw-angle between one axis ZD of the medical device and the corresponding axis ZP of the patient's body. The determined patient posture may be used to calculate the percentage of time the patient is upright versus in laying down as an overall health status indicator. Further, the determined posture may be utilized to corroborate other indicators of the patient's health, for example (e.g., respiratory effort, cough indicator, fever indicator). The patient's posture is the position in which the full body of the patient is. There are several postures as the patient goes about daily life, for example upright or horizontal postures like lying forward or prone (face down), lying backward or supine (face up), lying right, lying left, etc.
The above problem is also solved by a method for determining an orientation of a medical device for implantation within or mounting on a patient's body comprising an accelerator unit, a data memory unit and a processor which are electrically interconnected, wherein for the medical device three orthogonal axes (XD, YD, ZD) and for the patient's body three orthogonal axes (XP, YP, ZP) are defined, wherein the accelerator unit determines 3-dimensional proper acceleration data along sensitive axes corresponding to the three orthogonal axes of the medical device (XD, YD, ZD) and the processor processes said acceleration data determined by the accelerator unit, wherein the processor
In one embodiment of the above method the at least one specific acceleration data derived from the first group of acceleration data and/or the second group of acceleration data is an average of the respective group of acceleration data.
In one embodiment of the above method from all read at least one specific acceleration data of the third time interval a median acceleration data is determined and the actual orientation of the three orthogonal axes of the medical device (XD, YD, ZD) with regard to the horizontal plane is calculated from the determined median acceleration data.
In one embodiment said acceleration data are continuously stored in a circular buffer for a predefined fifth time interval, wherein acceleration data which are older than the fifth time interval are overwritten by the newest acceleration data.
Once (θx, θy, θz) and Φ are known, the orientation of the medical device with respect to the patient's body is fully-known, and the processor of the medical device may thereafter accurately determine the patient's posture at any time based on these values. More specifically, in order to the determine the patient's posture the medical device may thereafter measure the accelerator unit output at any time that the patient is inactive. The medical device may then calculate the orientation of the device with respect to the horizontal plane at this particular instant in time, using Eqs. 1-3. These new angles can be called (αx, αx and αz). Any difference between (αx, αx and αz) and (θx, θy, θz) corresponds to a difference in the patient's posture compared to a standing position (because (θx, θy, θz) was calculated from a standing reference posture, as described above). This difference between (αx, αx and αz) and (θx, θy, θz), and knowledge of Φ (which does not change) therefore fully describes the patient's new posture relative to a standing position. Note that calculating the difference between (αx, αx and αz) and (θx, θy, θz), and the use of Φ in the manner described above can be achieved by using standard methods well-known in the field of linear algebra, such as rotation matrices, dot-products, etc., and are therefore not elaborated upon further here.
Once the patient's posture is estimated, it can be used in various indicators of the patient's health. One such indicator may be the percentage of time the patient is upright versus in a “laying down” position. For example, if a daily trend of the patient's posture indicates that the percentage of time spent laying down is increasing, it may be used with other device sensors/metrics (e.g. temperature, activity) to screen for fever.
The posture estimation may also be used for more specific trends, such as night-time posture only. As an example, a night-time posture trend may be tracked when a patient is going from a supine lying position to a more upright lying position over the course of a few days in order to relieve pulmonary congestion. In general, changes in night-time posture may reveal changes the patient is making in order to sleep/breathe more comfortably. The posture trend may also be paired with a respiratory effort algorithm that measures respiratory rate/tidal volume algorithm (using an impedance or accelerometer signal) to further corroborate changes in breathing ability.
As another example, if the device has a cough detection algorithm (e.g., using an impedance or accelerometer signal), the posture estimation may be used to corroborate this algorithm: an increase in coughs and a change in the patient's posture trend may provide more evidence of a respiratory infection to an HCP. The changes in the posture trend may occur either throughout the day, or at specific times. For example, a transition to more upright postures during the night only may be used to corroborate a respiratory infection.
The above method is, for example, realized as a computer program which comprises instructions which, when executed, cause the processor to perform the steps of the above method (to be executed by the medical device, in particular at its processor) which is a combination of above and below specified computer instructions and data definitions that enable computer hardware to perform computational or control functions or which is a syntactic unit that conforms to the rules of a particular programming language and that is composed of declarations and statements or instructions needed for a above and below specified function, task, or problem solution.
Furthermore, a computer program product is disclosed comprising instructions which, when executed by a processor, cause the processor to perform the steps of the above defined method. Accordingly, a computer readable data carrier storing such computer program product is disclosed.
The technical advantage of this invention is that it provides the ability to estimate Φ automatically without a manual calibration procedure, and without assuming it is equal to zero, thereby leading to higher accuracy of the determined posture of the patient. The determination of the actual values (θx, θy, θz) and Φ of a medical device may be used for many clinical applications, including heart failure monitoring, improved activity recognition/classification algorithms, and objective measures of pain and health outcomes. It also has significant clinical utility in the current COVID-19 pandemic, providing a potentially important indicator of the patient's overall health and a means to corroborate other indicators of the disease. Furthermore, the technique is applicable to many products (see above examples) and may improve existing or upcoming activity recognition/classification algorithms.
The present invention will now be described in further detail with reference to the accompanying schematic drawing, wherein
The pacemaker 10 may comprise modules/units (not shown) such as a processor, a data memory unit, a signal generator unit for providing treatment signals (e.g. pacing signals), a sensor comprising an IEGM measuring unit for sensing ventricular depolarization, a transceiver module for sending and receiving messages to a Programmer or remote computer, and a power source wherein the modules/units are electrically connected to each other. The power source may include a battery, e.g., a rechargeable or non-rechargeable battery. The data memory unit may include any memory type mentioned above.
The accelerator unit 40 comprises an accelerometer sensor 41, for example ultralow power MEMS accelerometer ADXL362 of Analog Devices, which is sensitive to both DC and AC accelerations in the three orthogonal directions depicted in
For a pacemaker 10 implanted in the chest of the patient, the ideal scenario from an orientation perspective is when the pacemaker's XD, YD, and ZD axes are aligned with the patient's body XP, YP, and ZP axes. The patient's body +XP axis is towards the patient's left arm, the +YP axis is towards the patient's head, and the +ZP axis is outwards from the patient's chest. When the patient is in a standing position, this means that the patient's body +XP, +YP, and +ZP axes are orthogonal, and the XP, ZP-plane is further orthogonal to the earth's gravitational field direction G, respectively.
Typically, due to implantation considerations the pacemaker's and patient's body axes will not align in the ideal orientation depicted in
It is now explained, how the processor of the pacemaker 10 determines the actual orientation of the three orthogonal axes of the pacemaker (XD, YD, ZD) with regard to the horizontal plane H. First, the processor processes the outputs (ax, ay, az) of the accelerator unit 40 derived by its sensor 41 in real time with the intent of determining patient activity (i.e. motion). As an example, the device could process (e.g. filter, rectify, integrate, etc.) the output of one axis (or multiple axes) and then compare the processed value to a pre-defined threshold. If the processed value is greater than the threshold, the device will indicate the presence of patient activity. Similarly, once the pacemaker 10 has flagged that the patient is in a state of motion, the device can wait for the processed value to fall below the threshold in order to indicate that the patient has stopped performing an activity and is at rest. The specific processing steps and threshold can be defined such that the device will only detect patient motion during events that are generally accepted to be physical activities, such as walking, and will not trigger during events that are not generally accepted to be physical activities, such as breathing.
For example, the sensor 41 output (ax, ay, az) can be stored continuously in a circular buffer of the data memory unit for several seconds, overwriting old data as new data comes in. When the processor triggers that patient activity has occurred (using the method described above), the data in the buffer covering a second time interval (e.g. several seconds) immediately prior to the trigger can be averaged and stored in RAM of the data memory unit. Alternatively, or in addition to this, when the processor triggers that patient activity has ceased, the buffer may be allowed to fill for another time interval (first time interval) of several seconds. The acceleration data for each of the first time interval and the second time interval are then averaged and stored in RAM of the data memory unit. Both methods effectively store many snapshots in the form of one triple of acceleration data for each first time interval or second time interval of the sensor output when the patient is assumed to be standing and at rest.
Then, the median of all the “standing” snapshots stored in RAM may be used to approximate the sensor output for the patient in an upright standing position. Specifically, at the end of the day the device may calculate the median value of all the “standing” snapshots stored in RAM throughout one day (third time interval). Then this median value of acceleration data for each pacemaker axis is used to calculate the angles (θx, θy, θz) according to above equations Eq. 1, Eq. 2 and Eq. 3. This means that the median values are used as ax, ay, az-values and from the Eq. 1 to 3 the values (θx, θy, θz) are determined. The third time interval can be extended (e.g. to several days or weeks) to further improve the reliability of the calculation.
The results of a prototype implementation of the above algorithm is shown in
In addition to calculating the angles (θx, θy, θz) of the pacemaker's axes with respect to the horizontal plane H, their angles with respect to the patient's body 30 must also be calculated for a full description of the device orientation. Once (θx, θy, θz) is known, only one more angle is needed for this full description, which will be called “yaw” to maintain consistency with terminology in prior art. Yaw, denoted here as Φ, can be defined as the angle between the pacemaker's axis ZD and the patient's body axis ZP (i.e. the anteroposterior axis of the patient's body), as shown in
For the purpose of an example, consider a walking activity as a specific activity of the active state.
Based on the differences between
As another example,
Another example on how to calculate Φ during a walking activity is achieved as follows. During a walking activity, acceleration along the patient's X axis has a fundamental frequency that is half the fundamental frequency along the patient's Y or Z axes, due to the nature of the walking motion (gait). The fundamental frequency in the Y and Z axes are equal to the step frequency (i.e. number of steps/second) of the walking activity. For example, if the patient walks at 2 steps/second (2 Hz), the fundamental frequency of acceleration along the patient's Y and Z axes will be equal to the step frequency of 2 Hz, while the fundamental frequency of acceleration along the patient's X axis will be equal to half the step frequency, 1 Hz.
Note that a Φ of 0° indicates that the Z axis of the device is aligned with the Z axis of the patient, while a Φ of 90° indicates that the Z axis of the device is aligned with the X axis of the patient. Consequently, the fundamental frequency of acceleration data from the Z axis of the device will be equal to the step frequency when Φ=0°, but will be equal to half the step frequency when Φ=90. Therefore, it is possible to determine Φ by examining the frequency-domain features of the accelerometer data from the device's Z axis and comparing them to the step frequency of the walking activity.
Similar to the calculation of (θx, θy, θz) described above, the processor of the pacemaker 10 may calculate and store Φ many times over a given time period (e.g. hours, days, weeks) and then perform an aggregation function (e.g. median) to reduce the influence of outliers and provide a reliable estimate of Φ.
Once (θx, θy, θz) and Φ are known, the orientation of the pacemaker 10 with respect to the patient's body 30 is fully-known, and the pacemaker 10 can thereafter accurately estimate the patient's posture at any time. More specifically, the pacemaker 10 can thereafter measure the accelerometer sensor output while the patient is inactive, apply an appropriate transformation to the output using the estimated (θx, θy, θz) and Φ, and use the transformed output to estimate the patient's posture.
Number | Date | Country | Kind |
---|---|---|---|
21185518.4 | Jul 2021 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/061702 | 5/2/2022 | WO |
Number | Date | Country | |
---|---|---|---|
63193668 | May 2021 | US |