The present invention relates to a system and method for tracking the relative displacement between a first element and a second element, by using a permanent magnet and a magnetic sensor.
It is useful to measure displacement between two points in a structure, and in particular the change in that displacement over time. This can apply a vast range of physical structures, on a vast range of scales. For example, it can be useful to measure the amount by which two parts of a prosthetic joint move, relative to each other, over a given timescale. This invention was developed with a view to detection of aseptic loosening of an elbow joint, but it will be appreciated that the principles of the invention may be applied to various other orthopaedic prostheses, including knee and hip prostheses, as well as other (i.e. non-prosthetic, or non-anatomical) structures entirely.
Aseptic loosening of an elbow prosthesis is considered to be a key contributor in the failure of total elbow arthroplasty (i.e. surgery in which the elbow joint is totally replaced with a prosthesis). It has been found that relative migration of the implant from its original position leads to ingrowth of fibrous tissue, rather than bone. It is for this reason that proper fixation of the implant is essential, i.e. to avoid unnecessary growth of fibrous tissue. This can only be achieved if there is a stable interface between the implant and bone. According to various different studies, relative motion of more than 150 μm tends to give rise to undesirable growth of fibrous tissue. Bone ingrowth is generally favoured when the relative motion between the implant and the bone is below the 150 μm mark.
Several designs of elbow prostheses have ten-year survival rates ranging from 63% to 91%. In spite of these new designs, aseptic loosening remains a problem that affects the longevity of elbow prostheses. Compared with the survival rates of total knee and hip arthroplasty, which are considerably higher at 90% and 95% respectively, the survival rate of total elbow arthroplasty is 79.5%. It is clear to see that there is a long way to go in improving the longevity of elbow prostheses, particularly with regard to aseptic loosening.
Early detection of loosening is key to identifying early bone loss, and the “silent failure” often seen in total elbow arthroplasty. Early detection would reduce the burden on the clinical team, and in doing so would reduce the hospital costs, and allow clinicians and researchers learn about the loosening behaviour and therefore be able to design better implants to prevent such loosening. Our understanding of the causes and mechanism of aseptic loosening is still minimal, and this is due primarily to a lack of continuous monitoring. So, diagnosing early aseptic loosening remains a challenge.
Currently, x-ray imaging is used in clinical practice to detect loosening at regular time intervals (for example once or twice a year). However, early stages of loosening are ambiguous, and can be subjective due to low specificity and accuracy, and there is a high rate of detection of false positives. X-ray imaging is therefore limited in its ability to provide an accurate and reliable picture of loosening, but at present remains the gold standard technique. Other imaging modalities have also been carried out in detecting prosthesis loosening which includes: arthrography, bone scintigraphy, magnetic resonance imaging (MRI), and 18-fluorodeoxyglucose positron emission tomography (FCG-PET). The main issue with these techniques is that their respective detection performances are variable, they can time-consuming, it can be difficult to interpret the results, they can be observer-dependent, and costly. This makes these methods inappropriate for detecting early migration of a prosthesis.
At present, the high precision radiographic method for detecting aseptic loosening is Radiostereometric Analysis (RSA) technique. RSA can measure early signs of prosthesis displacement within the first postoperative year. However, this technique can only be adopted as a clinical research tool, and can only be used in a small number of patients.
The radiographic and RSA techniques are not suitable for prolonged monitoring, because they must be performed by a radiologist, and the prolonged exposure to radiation has obvious health risks.
Another technique that may be used is vibrometry, in which loosening is detected based on measuring the propagated vibrations of a tibia component of a knee prosthesis using 3D accelerometers. This technique, however, only has 20% higher sensitivity and specificity than the radiographic techniques, and at the moment has never been tested in respect of elbow prostheses. However in order to perform this technique, it is necessary to modify the implanted elbow prosthesis—which is not viable, as the design of the implants has been optimized through many years of research.
The present invention aims to address the issues, identified above, with prior art techniques for improved detection of loosening of structures such as elbow prostheses, and in particular prolonged monitoring. Broadly speaking, the present invention provides a solution to this problem in the provision of a detection system in which the measurement of a magnetic field is used to detect the linear and angular displacement of an element. Specifically, a first aspect of the present invention provides a system for tracking relative displacement between a first element and a second element in a structure, the system including: a permanent magnet fixed relative to the first element; a magnetic sensor fixed relative to the second element, the magnetic sensor configured to measure a magnetic field strength; and a processor configured to determine the relative displacement between the first element and the second element, based on the magnetic field strength measured by the magnetic sensor.
This system presented in this application has many advantages which include low cost, accuracy, durability, measurement sensitivity and robustness to different material (liquid, non-magnetic material etc.).
It should be noted here that the term “relative displacement” should be interpreted broadly to cover both the scalar value of distance, and also the vector value of displacement, i.e. having both a magnitude (the distance) and a direction. The term “magnetic field strength” as used in this application may be used to refer to either of the following: magnetic field strength (usually denoted H or H, and alternatively referred to as “magnetic field intensity”, “magnetic field”, or “magnetizing field”), or magnetic flux density (usually denoted B or B, and alternatively referred to as “magnetic induction” or “magnetic field”), or any equivalent measurable physical effect which is proportional to either of these two. The skilled person is aware that in a vacuum the magnetic flux density and the magnetic field strength are the same, but that in a material (as will likely be the case in this invention) the magnetic field strength is given by:
Here, M is the magnetization of the material, which is the vector field which represents the density of permanent or induced magnetic dipole moments in a magnetic material.
In some cases, the magnetic sensor may be configured to generate magnetic field strength data based on the measured magnetic field strength, and to transmit this data to the processor. Then, the processor may be configured to convert this magnetic field strength data into relative displacement data, for example by using a predetermined algorithm (to be discussed in detail later). The system may further include a memory, and the processor may be configured to store the relative displacement data and optionally, the magnetic field strength data in the memory. Alternatively, in other cases, the magnetic sensor may be configured to transmit the magnetic field strength data to the memory, and the processor may then be configured to access this data in order to determine the relative displacement between the first element and the second element, thereby generating relative displacement data, which may then also be stored in the memory. In such cases, the system may be configured to delete the magnetic field strength data once the relative displacement data has been stored to the memory. The processor may be configured to generate the relative displacement data continuously. The system may include a sensing module which includes the magnetic sensor, and optionally, the processor or the memory. In configurations in which either the processor or memory is not located within with sensing module, the sensing module preferably includes a transmission means (preferably a wireless transmission means) for transmitting the magnetic field strength data and/or relative displacement data out of the sensing module, to whichever components which are located outside the sensor module.
As discussed, the invention is directed primarily to the tracking of the relative displacement between the first element and the second element, rather than taking a single measurement. In order to better achieve this, the magnetic sensor may be configured continuously to measure the magnetic field strength, thereby continuously generating magnetic field strength data. In other cases, the magnetic sensor may be configured to measure the magnetic field strength and thereby to generate the magnetic field strength data at predetermined intervals, and optionally to transmit the magnetic field strength data to the processor or memory at predetermined intervals. The frequency with which the measurement takes place (i.e. the inverse of the time interval between successive measurements) may be referred to herein as the “sampling frequency”, and may be between 1 and 10,000 Hz. The device may be configurable to utilize one of a plurality of frequency modes, the plurality of modes including at least a first mode and a second mode, and optionally a third mode. Any of these modes may be an ultra-low power mode with a sampling frequency of 1 to 100 Hz, preferably 5 to 50 Hz, and most preferably around 10 Hz. Throughout this application the term “around” should be interpreted to refer to a variation of ±10%. Another of the modes may be a low power mode, with a sampling frequency of 10 to 1,000 Hz, preferably 50 to 500 Hz, and most preferably around 100 Hz. Another of the modes may be a master controlled mode having a sampling frequency around 1,000 to 10,000 Hz, preferably 2,000 to 5,000 Hz, and most preferably around 3,300 Hz.
The device may be calibrated. In other words, the processor or a memory of the device may have stored thereon calibration data, wherein the relative displacement between the first element and the second element is determined based on both the magnetic field strength and the calibration data. The calibration data may include a predetermined magnetic field strength and a predetermined relative displacement between the first element and the second element, optionally in the form of magnetic field strength data, and predetermined relative displacement data. Specifically, the when the first element is separated from the second element by the predetermined relative displacement, the magnetic field strength measured at the magnetic sensor is the predetermined magnetic field strength. This effectively provides a baseline measurement from which other measurements may be calibrated. The processor may be configured to determine the difference between the measured magnetic field strength and the predetermined magnetic field strength, and to determine the relative displacement between the first element and the second element based on this difference, and the calibration data. The processor may be configured to determine the deviation between the predetermined relative displacement and the actual relative displacement between the first element and the second element, based on e.g. the deviation between the predetermined magnetic field strength and the measured magnetic field strength. If the predetermined relative displacement is known, and the deviation is known, then it is straightforward to calculate the actual relative displacement between the first element and the second element. In some cases, where all that is required is to track the change in the relative displacement between the first element and the second element (sometimes referred to herein as the “migration”) there is no need to calculate the actual (i.e. absolute) relative displacement between the two elements. A detailed explanation of the calibration process is given in the detailed description, later in this application.
The magnetic sensor is preferably configured to measure a vector value of the magnetic field strength, i.e. both a magnitude of the magnetic field strength, and its direction at a given location. Preferably, the magnetic sensor is configured to measure three orthogonal components of the magnetic field strength at the sensor, which are referred to herein as the x-component (or Bx), y-component (or By), and the z-component (or Bz). In this respect, the sensor itself may be considered to have three corresponding axes. For example, the magnetic sensor may include three one-dimensional, or scalar (e.g. Hall effect) sub-sensors arranged mutually orthogonally, each of the three one-dimensional sensors configured to measure a magnitude of a respective one of the three orthogonal components of the magnetic field at the sensor. The direction of the component of the magnetic field at the sensor of which a given sub-sensor is configured to measure or determine the magnitude is referred to the “orientation” of that sub-sensor. The orientations of the three sub-sensors are thus preferably mutually orthogonal. The orientations of the sub-sensors preferably correspond to the axes of the magnetic sensor, mentioned above.
Alternatively, the processor may be configured to convert, for example using a conversion module, magnetic field strength data including both the magnitude of the magnetic field and its direction into magnetic field strength data including the component of the magnetic field strength in each of three mutually orthogonal directions. The processor is preferably also able to convert between different coordinate systems, for example the processor may be configured to convert the components of the magnetic field in Cartesian coordinates into the components of the magnetic field in cylindrical, polar, or spherical coordinates.
The permanent magnet is preferably a cylindrical magnet, and it is preferred that the z-axis of the cylinder (i.e. the long or longitudinal axis) is parallel to the z-axis of the magnetic sensor, as defined earlier in this application. A cylindrical magnet is preferred in the present invention because it is able to produce a greater degree of magnetization as compared to other shaped magnets, such as rings, spheres, or tubes. It is particularly preferred that the z-axis of the cylinder is not only parallel, but also aligned with the z-axis of the sensor. In other words, the z-axis of the cylinder and the z-axis of the magnetic sensor are preferably collinear. On implantation, or at another time, the system is preferably calibrated by ensuring that the z-axis of the magnetic sensor is aligned with the z-axis of the magnetic field of the magnet. In other words, it is preferably that the z-axis of the cylindrical magnet is initially aligned with the z-axis of the sensor, and that the z-axis of the cylindrical magnet and the z-axis of the magnetic sensor are preferably initially collinear.
The operation of the system will now be described. Note that a detailed mathematical description of the determination of the relative displacement between the first element and the second element will be set out later in this application.
The magnetic sensor is configured to determine the value of the magnitude of the z-component of the magnetic field strength of the permanent magnet. In other words, the magnetic sensor is configured to determine the magnitude of Bz that would be measured by the sensor if the z-axes of the magnet and the sensor were aligned. Based on this value, the processor may be configured to determine the z-distance between the permanent magnet and the magnetic sensor. Herein, the term “z-distance” refers to the distance between two points in the z-direction. The processor may be configured to determine the z-distance based on a predetermined relationship between the z-component of the magnetic field strength of the permanent magnet and the z-distance. One such relationship is the following:
The terms in this relationship are defined later on in this application. It will be appreciated that this equation cannot be solved analytically for z. So, the processor may be configured to solve this equation numerically. For example, the processor may be configured to input a plurality of trial values of z into this equation, and to select the value of z as the value which results in a value of Bz_T which is closest to the value of the magnitude of the z-component of the magnetic field strength of the permanent magnet measured by the magnetic sensor.
With knowledge of the z-distance, and the x- and y-components of the magnetic field strength, it is then possible to calculate the values of the x-distance and the y-distance, and thus to calculate the relative displacement between the permanent magnet and the magnetic sensor. Specifically, the processor may be configured to determine the x-distance based on at least the z-distance, and the values of the magnitudes of the x- and z-components of the magnetic field strength at the magnetic sensor, measured by the magnetic sensor. Similarly, the processor may be configured to determine the y-distance based on at least the z-distance, and the values of the magnitudes of the y- and z-components of the magnetic field strength at the magnetic sensor, measured by the magnetic sensor. In order to do so, the processor may be configured to utilize the below relationships:
These equations are derived, and explained in more detail in the “detailed description” section of this application.
It will be appreciated that, in addition to varying as the z-distance changes, the value of the z-component of the magnetic field at the sensor varies as the x- and y-distances change. Similarly, the values of the x- and y-components of the magnetic field at the sensor vary as the z-distance changes. This is known as the cross-talk effect. With displacement in the z-direction, the value of the z-distance which is used to calculate the deviations in the x- and y-directions will become inaccurate. In order to address this, in some cases the present invention is configured to periodically update the value of the z-distance which it uses to calculate the x- and y-distances. It will be recalled that the magnetic sensor may either continuously generate magnetic field strength data, or to measure the magnetic field strength at predetermined intervals. The processor may be configured to update the z-distance value at regular intervals. For example, when the magnetic sensor is configured to continuously generate magnetic field strength data, the processor may be configured to update the z-distance value at regular intervals in time. Alternatively, or additionally, when the magnetic sensor is configured to measure the magnetic field strength at predetermined intervals, the processor may be configured to update the z-distance after a predetermined number of measurements of magnetic field strength have been taken. In other words, the processor may be configured to update the z-distance value after a predetermined number of samples have been taken.
We now discuss how the z-distance is updated. In some cases, the z-distance may simply be recalculated using the methods outlined previously in this disclosure. However, in other cases, after the predetermined amount of time, or after the predetermined number of measurements have been taken, the processor may be configured to recalculate the z-distance to generate a new z-distance, and then the processor may be configured to compare the new z-distance with the old z-distance. If the new z-distance differs from the old z-distance by more than or equal to a predetermined difference threshold, then the processor is configured to adopt the new z-distance. If the new z-distance differs from the old z-distance by less than the predetermined difference threshold, the processor is configured to reject the new z-distance, and to continue calculating the x-distance and y-distance using the old z-distance.
There are different types of magnetic sensors, which utilize various techniques and technologies to detect and measure the magnetic field strength. The various techniques or phenomena which may be employed to measure the magnetic field strength include, non-exhaustively, the following: Hall Effect, anisotropic magnetoresistance (AMR), giant magnetoresistance (GMR), Flux gate effect, induction coil effect, MEMS Lorentz force and other magnetic phenomena. Preferably the magnetic sensor is configured to measure the magnetic field strength at a resolution from 10−12 to 10−3 Tesla (i.e. picoTesla to milliTesla). It is preferable to use a Hall Effect sensor to measure the magnetic field strength, because they are compact in size, low cost, and easy to integrate with data acquisition systems. As the skilled person is aware, Hall Effect sensors consist of a thin sheet of semiconductor known as Hall element. When a continuous current is flowing across the Hall element and there is no magnetic field, the current distribution is the same with no potential difference seen. However, when this sensor is subjected to any magnetic field, a Lorentz force deflects the charge carriers resulting in a potential difference. A Hall Effect sensor is generally able to measure a magnetic field strength of up to 1 Tesla. Generally, commercially available Hall Effect sensors are able to measure a magnetic field in three axes with very little power consumption. The magnetic sensor preferably also includes a temperature sensor for thermal drift compensation, and a digital output, optionally via an I2C or SPI bus, in order to integrate with the processor. Preferably, all of the components of the magnetic sensor are integrated on a single chip. The dimensions of the chip may, in some cases be equal to or less than 3 mm×3 mm×1 mm. Examples of magnetic sensors which may be used are: TLV493D/E (Infineon, Neubiberg, Germany), MLX90393 (Melexis, leper, Belgium) and AS54XX (Ams, Premstaetten, Austria).
In order to further improve the accuracy of the magnetic field strength readings taken by the magnetic sensor of the present invention, it is preferable that the system may include a plurality of sensors. For example, the system may include two magnetic sensors, or three magnetic sensors. However, in preferred configurations the system includes four magnetic sensors: a first magnetic sensor, a second magnetic sensor, a third magnetic sensor, and a fourth magnetic sensor. The system may include a sensing module or a sensing formation which includes the plurality of magnetic sensors. In configurations of the invention in which there are four magnetic sensors, the sensors may be arranged in a cross formation. The first sensor and the second sensor (herein, the “first pair of sensors”) may be separated in a first direction, and the third sensor and the fourth sensor (herein, the “second pair of sensors”) may be separated in a second direction, preferably perpendicular or substantially perpendicular to the first direction. The imaginary line connecting the first pair of sensors preferably bisects the imaginary line connecting the second pair of sensors. Preferably, each of the plurality of magnetic sensors is configured to measure the three orthogonal components of the magnetic field strength, as discussed in detail above with respect to the single magnetic sensor. Preferably, each of the plurality of magnetic sensors is identical to the other magnetic sensors, i.e. the system may include a plurality of identical magnetic sensors. The first direction is preferably parallel to the y-direction, and the second direction is preferably parallel to the x-direction. The plurality of magnetic sensors are preferably mounted with the same orientation. The plurality of magnetic sensors are preferably fixed in relation to each other, i.e. relative movement between the magnetic sensors is not possible.
In arrangements in which there are a plurality of magnetic sensors, it is preferable that the sensors are arranged in the x-y plane, and that the value of the z-component of the magnetic field strength at the plurality of sensors may be calculated by taking an average of the value of the z-component of the magnetic field strength as measured by each of the plurality of magnetic sensors. This ensures a more accurate measurement of the z-component of the magnetic field strength than is obtainable with a single sensor. The values of the x- and or y-components of the magnetic field strength at the plurality of sensors may be calculated in the same way. Alternatively, the values of the x- and y-components of the magnetic field strength may be calculated as a linear superposition of the values of the x- or y-components of the magnetic field strengths as measured by each sensor. More details about this are given later in this application, with reference to a specific implementation of the invention.
When data is received continuously, or quasi-continuously (i.e. at high frequency intervals) from the magnetic sensor, it may be susceptible to high frequency noise, which cannot be removed by a conventional finite impulse response (FIR) filter, which is a filter whose impulse response is of finite duration, because usually settles to zero in time, an example of which is a simple moving average filter. In preferred cases, the processor is configured to apply a Savitzky-Golay (SG) filter, or a modified SG filter (detailed description later on in this application) to the magnetic field strength data, or to the relative displacement data, in order to smooth it, and to remove the high frequency noise. A SG filter is basically a low pass filter, or a type of FIR filter which is also able to preserve the high frequency content of the desired signal. This in contrast to a simple FIR filter, in which the high frequency content of both the noise and the signal is removed.
Alternatively, the noise component of the signal may be removed using a discrete wavelet transform (DWT) denoising technique. DWT denoising techniques provide effective denoising with minimal computational complexity. Specifically, the processor may be configured to perform a DWT denoising technique on the magnetic field strength data, or to the relative displacement data (either may be referred to as the “data” in the remainder of this paragraph, for conciseness). The technique may include any or all of the following steps: transforming the data into the wavelet domain, optionally by selecting a mother wavelet function from a wavelet family, for example the Sym 6 wavelet. The processor may be configured to define a decomposition level, for example 6, which was found to smooth out the signal well with minimal reduction to the actual signal information. The processor may be configured then to reduce selected components of the coefficients of the wavelet transform, optionally by selection of a thresholding function. The preferred thresholding function is the Stein's Unbiased Risk Estimate (SURE) threshold. A mathematical definition of this thresholding function is set out later in this disclosure. The processor may then be configured to select the thresholding selection rule. In the present case, the preferred thresholding selection rule is global thresholding in which the noise is assumed to have Gaussian distribution having the same amplitude and frequency distribution that span the same data length. Finally, the reduced coefficients may be rescaled and inversely transformed to give the denoised signal.
The disclosure above relates to the method and the processing used by the system of the present invention, but now we turn to the structural elements. As discussed at the outset of this application, an important application of the invention is for determining migration of prosthetic joints. Specifically, the system may be used to detect aseptic loosening, which arises from a failure of the bond between the implant and the bone, leading to migration of the implant. The term “aseptic” here indicates that the loosening occurs because of the failure of the bond over time, rather than due to infection. However, it is noted that the present invention could equally well be used to detect migration of an implant due to infection. Accordingly, in some cases, the first element may include a prosthesis, preferably an orthopaedic prosthesis such as an artificial elbow joint. An important purpose of the invention is to track the migration of the prosthesis relative to the bone. So, in such cases, the second element preferably includes a component which is fixable to a bone. Accordingly, the magnet may be fixed relative to the bone. Alternatively, the magnet itself may be fixable to the bone.
It is important that orthopaedic prostheses are secured tightly to bone. This is generally achieved by filling the space between the prosthesis and the bone into which it is implanted with bone cement. In such cases, the system may further include a cement restrictor which is configured to prevent the cement from diffusing further into the bone undesirably. When loosening of the prosthesis occurs, the prosthesis becomes detached from the bone cement, and is thus able to migrate within a person's body. Overall, therefore the system may include: a first element comprising an orthopaedic prosthesis, and a second element which is fixable to a bone, and optionally bone cement filling the space between the orthopaedic prosthesis and the bone, and optionally a cement restrictor. The magnetic sensor is preferably attached to or embedded into the prosthesis. The magnet is preferably fixable to the bone, fixed to the cement restrictor, or embedded within the bone cement. In this way, when the prosthesis becomes displaced from the bone cement, the relative displacement between the magnet and the magnetic sensor changes, thereby causing the magnetic field strength measured by the sensor to change, which change can be converted into a change in the relative displacement between the two. It should be noted that in the above arrangement, the magnet and magnetic sensor could be switched around, and the same technical effect would be achieved. A detailed description of the structural features of the invention with reference to the drawings will be given later in this application.
A second aspect of the invention provides a method of tracking relative displacement between a first element and a second element in a structure, the structure including a magnet fixed to the first element and a magnetic sensor fixed to the second element, and the method including the steps of: measuring, using the magnetic sensor, a magnetic field strength; and determining the relative displacement between the relative displacement between the first element and the second element, based on the magnetic field strength measured by the magnetic sensor. It will be appreciated that the second aspect of the invention may be performed by systems according to the first aspect of the invention. The optional features set out above with respect to the first aspect of the invention apply equally well here, where compatible. Certain optional features of the invention are set out below, though this does not constitute an exhaustive list.
In some cases, the method may include the step of the magnetic sensor generating magnetic field strength data based on the measured magnetic field strength, and transmitting this data to a processor. The method may include a step of converting this magnetic field strength data into relative displacement data, for example by using a predetermined algorithm (to be discussed in detail later). This step may be performed by the processor. The method may further include a step of storing the relative displacement data and optionally, the magnetic field strength data, for example in a memory. Alternatively, in other cases, the magnetic sensor may transmit the magnetic field strength data to a memory, and the method may further include a step of accessing this data in order to determine the relative displacement between the first element and the second element, thereby generating relative displacement data, which may then also be stored in a memory. In such cases, the method may include a step of deleting the magnetic field strength data once the relative displacement data has been stored to the memory. The step of generating relative displacement data may include generating the relative displacement data continuously.
As discussed, the invention is directed primarily to the tracking of the relative displacement between the first element and the second element, rather than taking a single measurement. In order to better achieve this, the step of generating magnetic field strength data may include continuously generating magnetic field strength data. In other cases, the step of generating magnetic field strength data may include measuring the magnetic field strength at predetermined intervals, and optionally transmitting the magnetic field strength data to e.g. a processor or memory at predetermined intervals. The frequency with which the measurement takes place (i.e. the inverse of the time interval between successive measurements) may be between 1 and 10,000 Hz. The device may be configurable to utilize one of a plurality of frequency modes, the plurality of modes including at least a first mode and a second mode, and optionally a third mode. Any of these modes may be an ultra-low power mode with a sampling frequency of 1 to 100 Hz, preferably 5 to 50 Hz, and most preferably around 10 Hz. Throughout this application the term “around” should be interpreted to refer to a variation of ±10%. Another of the modes may be a low power mode, with a sampling frequency of 10 to 1,000 Hz, preferably 50 to 500 Hz, and most preferably around 100 Hz. Another of the modes may be a master controlled mode having a sampling frequency around 1,000 to 10,000 Hz, preferably 2,000 to 5,000 Hz, and most preferably around 3,300 Hz.
The device may be calibrated. In other words, the processor or a memory of the device may have stored thereon calibration data, wherein the “determining step” may include determining the relative displacement between the first element and the second element based on both the magnetic field strength and the calibration data. The calibration data may include a predetermined magnetic field strength and a predetermined relative displacement between the first element and the second element, optionally in the form of magnetic field strength data, and predetermined relative displacement data. Specifically, the when the first element is separated from the second element by the predetermined relative displacement, the magnetic field strength measured at the magnetic sensor is the predetermined magnetic field strength. This effectively provides a baseline measurement from which other measurements may be calibrated. The method may include a step of determining the difference between the measured magnetic field strength and the predetermined magnetic field strength, and determining the relative displacement between the first element and the second element based on this difference, and the calibration data. The method may include a step of determining the deviation between the predetermined relative displacement and the actual relative displacement between the first element and the second element, based on e.g. the deviation between the predetermined magnetic field strength and the measured magnetic field strength. If the predetermined relative displacement is known, and the deviation is known, then it is straightforward to calculate the actual relative displacement between the first element and the second element. In some cases, where all that is required is to track the change in the relative displacement between the first element and the second element (sometimes referred to herein as the “migration”) there is no need to calculate the actual (i.e. absolute) relative displacement between the two elements. A detailed explanation of the calibration process is given in the detailed description, later in this application.
The step of measuring preferably includes measuring a vector value of the magnetic field strength, i.e. both a magnitude of the magnetic field strength, and its direction at a given location. Specifically, this step preferably includes measuring three orthogonal components of the magnetic field strength at the sensor, which are referred to herein as the x-component (or Bx), y-component (or By), and the z-component (or Bz). In this respect, the sensor itself may be considered to have three corresponding axes as described in more detail with respect to the first aspect of the invention.
The method may further include converting, for example using a conversion module, magnetic field strength data including both the magnitude of the magnetic field and its direction into magnetic field strength data including the component of the magnetic field strength in each of three mutually orthogonal directions. The method may also include converting between different coordinate systems, where necessary, for example converting the components of the magnetic field in Cartesian coordinates into the components of the magnetic field in cylindrical, polar, or spherical coordinates.
The permanent magnet is preferably a cylindrical magnet, and it is preferred that the z-axis of the cylinder (i.e. the long or longitudinal axis) is parallel to the z-axis of the magnetic sensor, as defined earlier in this application. It is particularly preferred that the z-axis of the cylinder is not only parallel, but also aligned with the z-axis of the sensor. On implantation, or at another time, the system is preferably calibrated by ensuring that the z-axis of the magnetic sensor is aligned with the z-axis of the magnetic field of the magnet. In other words, the z-axis of the cylindrical magnet is preferably initially aligned with the z-axis of the sensor.
The operation of the system will now be described.
The magnetic sensor preferably determines the value of the magnitude of the z-component of the magnetic field strength of the permanent magnet. In other words, the magnetic sensor is configured to determine the magnitude of Bz that would be measured by the sensor if the z-axes of the magnet and the sensor were aligned. The method may then include a step of determining the z-distance between the permanent magnet and the magnetic sensor, based on the value of the magnitude of the z-component of the magnetic field strength of the permanent magnet. The z-distance may be determined based on a predetermined relationship between the z-component of the magnetic field strength of the permanent magnet and the z-distance. One such relationship is the following:
The terms in this relationship are defined later on in this application. It will be appreciated that this equation cannot be solved analytically for z. The method may include a step of solving this equation numerically. For example, the method may include the steps of inputting a plurality of trial values of z into this equation, and selecting the value of z as the value which results in a value of Bz_T which is closest to the value of the magnitude of the z-component of the magnetic field strength of the magnet measured by the magnetic sensor.
The method may then include the step of determining the x-distance based on at least the z-distance, and the values of the magnitudes of the x- and z-components of the magnetic field strength at the magnetic sensor, measured by the magnetic sensor. The method may then also include the step of determining the y-distance based on at least the z-distance, and the values of the magnitudes of the y- and z-components of the magnetic field strength at the magnetic sensor, measured by the magnetic sensor. This may be done using the relationships set out earlier in this application.
The method may further include a step of periodically updating the value of the z-distance which it uses to calculate the x- and y-distances. The z-distance value may be updated at regular intervals. For example, when the magnetic sensor is configured to continuously generate magnetic field strength data, the method may include a step of updating the z-distance value at regular intervals in time. Alternatively, or additionally, when the magnetic sensor is configured to measure the magnetic field strength at predetermined intervals, the method may include a step of updating the z-distance after a predetermined number of measurements of magnetic field strength have been taken. The z-distance value may be updated after a predetermined number of samples have been taken.
We now discuss how the z-distance is updated, in the context of the second aspect of the invention. In some cases, the z-distance may simply be recalculated using the methods outlined previously in this disclosure. However, in other cases, after the predetermined amount of time, or after the predetermined number of measurements have been taken, the method may include the step of recalculating the z-distance to generate a new z-distance, and comparing the new z-distance with the old z-distance. If the new z-distance differs from the old z-distance by more than or equal to a predetermined difference threshold, the new z-distance may be adopted. If the new z-distance differs from the old z-distance by less than the predetermined difference threshold, new z-distance may be rejected, and to the method may include the step of continuing calculating the x-distance and y-distance using the old z-distance.
According to the second aspect of the invention, the magnetic sensor(s) may be as in the first aspect of the invention so that disclosure will not be repeated here.
In order to further improve the accuracy of the magnetic field strength readings taken by the magnetic sensor of the present invention, it is preferable that the system may include a plurality of sensors. The plurality of sensors may be as set out earlier in this disclosure.
In arrangements in which there are a plurality of magnetic sensors, the value of the z-component of the magnetic field strength at the plurality of sensors may be calculated by taking an average of the value of the z-component of the magnetic field strength as measured by each of the plurality of magnetic sensors. This ensures a more accurate measurement of the z-component of the magnetic field strength than is obtainable with a single sensor. The values of the x- and or y-components of the magnetic field strength at the plurality of sensors may be calculated in the same way. Alternatively, the values of the x- and y-components of the magnetic field strength may be calculated as a linear superposition of the values of the x- or y-components of the magnetic field strengths as measured by each sensor. More details about this are given later in this application, with reference to a specific implementation of the invention.
In preferred cases, the method may include the step of applying a Savitzky-Golay (SG) filter, or a modified SG filter (detailed description later on in this application) to the magnetic field strength data, or to the relative displacement data, in order to smooth it, and to remove the high frequency noise.
Alternatively, the noise component of the signal may be removed using a discrete wavelet transform (DWT) denoising technique. Specifically, the method may include the step of performing a DWT denoising technique on the magnetic field strength data, or to the relative displacement data (either may be referred to as the “data” in the remainder of this paragraph, for conciseness). The method may include any or all of the following steps: transforming the data into the wavelet domain, optionally by selecting a mother wavelet function from a wavelet family (for example Sym 6, as discussed above). The method may further include a step of defining a decomposition level (for example 6, as discussed above). The method may then include a step of reducing selected components of the coefficients of the wavelet transform, and optionally of selecting a thresholding function. The preferred thresholding function is the Stein's Unbiased Risk Estimate (SURE) threshold. A mathematical definition of this thresholding function is set out later in this disclosure. The method may further include a step of selecting a thresholding selection rule. In the present case, the preferred thresholding selection rule is global thresholding in which the noise is assumed to have Gaussian distribution having the same amplitude and frequency distribution that span the same data length. Finally, the reduced coefficients may be rescaled and inversely transformed to give the denoised signal.
Embodiments of the present invention, and experimental results will now be described with reference to the drawings, in which:
The bone cement 134 (either in the configuration shown in
At the distal end 128 of the humeral shaft 126 is a magnetic sensor 136. The magnetic sensor 136 may take any of the forms suggested earlier in this application, as well as any other of which the skilled person may be aware. In preferred implementations, the magnetic sensor 136 is a magnetoresistive sensor. In the example which was used to obtain the results set out later in this application, the Infineon TLV493D magnetic sensor was used to detect magnetic field intensity in 3 orthogonal directions and from this, the prosthesis position can be determined. The PCB was designed for the sensor and then the sensor was enclosed in 2 mm thick titanium alloy (Ti-6AL-4V). Before calibrating the sensor according to the appropriate working envelope, the sensor 136 must be configured with the data acquisition device, since the sensor 136 is a digital sensor utilizing 120 communication protocol. NI MyRio was used as a data acquisition device to retrieve data from the magnetic sensor via its serial data pin (SDA) serial clock pin (SCL). As the magnetic sensor has the output via 120 protocol, two pull up resistors were required on the 120 line (SDA and SCL) as shown in
In which Rmin is the minimum pull-up resistor value, Vcc is the supply voltage, VCL(Max) and ICL are low level output voltage and current respectively.
In which Rmax is the maximum pull-up resistor value, tr is the rise time, and Cb is the bus capacitance. The pull-up resistor value can then be selected as any value between Rmin and Rmax.
At the end of the matrix of bone cement 134 which is furthest from the pivot component 108, there is a permanent magnet 138 and a cement restrictor 140. In the present invention, the cement restrictor 140 is in the form of a disc of material including a number of slits cut into it, which is placed in the cavity 132 at its distal end, in order to prevent cement migration towards the shoulder S. The particular cement restrictor which was used to obtain the experimental results below was a Hardinge Cement Restrictor (see
Where Bx and By are the components of the magnetic field at point P in the x- and y-directions respectively, and x and y are the coordinate positions of point P on the x- and y-axes. Br is the magnetic field in the component of the magnetic field in the radial direction (i.e. the component of the magnetic field in the x-y plane), and r is the distance from the z-axis of the magnet in a direction parallel to the x-y plane.
Thus, the coordinate of the magnetic field at point P can be calculated by using the following equation.
So, to obtain the three-axis displacement of the sensor from the three-axis magnetic field the relationship between (Br, Br) and (z, r) is enough where Bz is the magnetic field along the z axis of the sensor.
For these reasons, and as discussed, it is also necessary to calibrate the magnetic sensor 136. For example, to determine the distance between the magnet and sensor in one direction requires that we understand the interdependency of the output data with movement in the other axes. So, in this section a preferred method is described for the calibration of the magnetic sensor 136 which can be used to determine the change in relative displacement of the second element (i.e. the magnet 138) and the first element (i.e. the magnetic sensor 136). As the magnetic sensor has the capability of measuring magnetic field along three orthogonal axes simultaneously, the sensor can be used to measure field direction in two different planes. By using this concept, we can calibrate the sensor and identify its starting position. For the axis magnetised cylindrical permanent magnet the magnetic field along its axis (i.e. at a radius of zero) can be derived from:
In which M is the axial magnetization of the magnetic, μ0 is the relative magnetic permeability, and z is the distance from the pole of the magnet in the z-direction. Dm is the diameter of the magnet. The theoretical localization of the permanent magnet can be found by using the equation:
Where Bx, By, Bz are the three components of the magnetic flux density measured by the magnetic sensor 136 along its x-, y- and z-axes respectively. The overall method which is used to determine the z-distance from the measured magnetic field values, the algorithm shown in
In some configurations, a plurality of magnetic sensors may be used, as illustrated in
Thereafter, the same relations as outlined above apply. In order to determine the z-value, the method shown in
In step S07, the values of BC and Bz_T are compared, and in step S08 it is determined whether the difference between the two meets a certain criterion. If so, the z-value used to calculate Bz_T is deemed to be the “correct” value for the z-distance. In other words, if BC and Bz_T differ by less than or equal to a predetermined threshold, the z-value which gives that value of Bz_T is determined to be the “correct” z-value in step S09, and the corresponding value of z, is noted. If the difference between the two exceeds the threshold, then the process returns to step S02, taking the next value of z, until a suitable value of Bz_T is arrived at. In some cases, the successive z-values which are input into the equations to determine BT are at 0.01 mm intervals, but other intervals are also envisaged (e.g. 0.05 mm, 0.1 mm, 0.5 mm).
As discussed, the focus of the present invention is to track the change in relative displacement between the magnet and magnetic sensor. So, in step S10, it is determined whether the value of z is the same as the previous value. In preferred cases, the requirement is not that the z-value is exactly the same; rather, if the “new” z-value differs from the previous z-value by an amount which is less than a predetermined difference threshold, then the previous z-value is maintained, in step S11. And, if not, in step S11, the value of z is updated. Then, after a fixed interval (i.e. the sampling interval) the process is repeated. Now that the z distance is determined, it is possible to determine the linear displacements in the x- and y-axes as follows.
As shown in
Then, the x- and y-distances may be found as follows:
x=z·tan β
y=z·tan α
Filtering the Results (i): Savitzky-Golay Filter
As discussed earlier in this application, the results can be improved by filtering the received data. The data received from the sensor need to be smoothened as it contain high frequency content that cannot be removed by plain FIR average filter. To achieve the high degree of noise removal from the desired signal, the length (N) of the signal has to be larger so that the signal bandwidth become greater than the filter pass band frequency.
In the current study, Savitzky-Golay (SG) filter also known as least-square or polynomial smoothing filter is used to smooth the desired signal. The SG filter is basically a low pass filter or it can be also consider as a type of finite impulse response FIR digital filter that can preserve the high-frequency content of the desired signal. The output signal from the sensor can be represented as:
y(n)=x(n)+w(n)
Where x(n) represents the magnetic field signal with high frequency content while w(n) is the associated noise with magneto resistive sensor i.e. Johnson (thermal noise), shot noise, 1/f (flicker) noise. The SG filter can be defined by two parameters that are denoted as K for the polynomial degree and M for sequence. The following assumptions are made in the SG filter:
I. All data points of the signal should be natural numbers.
II. The length of the signal should be N=2M+1 and is odd for the sequence of M.
III. Data points should be positioned symmetrically about the origin xo as follow:
x
N=[x−M, . . . ,x−1,x0,x1, . . . ,xM]
Polynomial smoothing of N samples of data is equivalent to replacing them by the values that lie on smooth polynomial curves drawn between the noisy samples.
{circumflex over (x)}
m
=c
0
+c
1
m+ . . . +c
k
m
k
,−M≤m≤M
Where {circumflex over (x)}m represent the mth smooth data point. The coefficients ci are determined optimally by least square fit that minimize the least square error and also fits the given data on corresponding polynomial curve. For N data samples the performance index can be minimized as follows:
Similarly, we define K+1 polynomial basis vectors as follows:
S=[s0,s1, . . . ,sk]
Hence, the smooth data can be represented in vector form as:
As the data points should be symmetrically about the origin, the middle smoothed value y0={circumflex over (x)}0 is given in terms of middle SG filter b0.
The N-dimensional vector x can be shifted to n instants of time as follows:
x→[xn−M, . . . ,xn−1,xn,xn+1, . . . ,xn+M]
The resulting length N, order K, SG filter for smoothing a noisy sequence x(n) will be, in its steady-state form as:
Filtering the Results (ii): DWT Denoising.
As discussed, the data received from the sensors can be difficult to analyse because it may contain high content of noise. Therefore the data may need to be smooth. In an alternative to Savitzky-Golay filtering, discrete wavelet transform (DWT) denoising techniques may be used to estimate the signal from the sensor and remove noise component. DWT provides an effective denoising with minimal computational complexity. The DWT denoising technique consists of three main steps with five parameters as shown in the flowchart in
First, is the data from the sensor needs to be transformed into a wavelet domain with the length of the signal power of 2. This transformation can be done by selecting a mother wavelet function (ø) from the wavelet family. Selecting a suitable type of wavelet is extremely important for denoising the data because something two similar wavelets may give different denoising data. After selection of the wavelet function, the decomposition level (k) needs to be defined. Then, a criterion is selected to reduce or shrink the coefficient of the wavelet transform. The coefficient of the wavelet transform can be reduced by selecting a specific thresholding function (β). There are four types of thresholding functions that are commonly used. Among them, Stein's Unbiased Risk Estimate (SURE) threshold is mostly used because of its state of the art decomposition of noise and better performance. The SURE thresholding can be define as:
Where x, is the detailed wavelet coefficient, t is the candidate threshold, N is the length of data and M is the number of the data points less than t. SURE thresholding is generally used to obtain the unbiased variance between the unfiltered and filtered data. After defining the function, the thresholding selection rule (γ) is selected. In DWT denoising, denoising of the signal depends greatly on the selection of the noise threshold. The wrong choice can result in lowering down the signal strength. Traditional thresholding transforms the coefficient whose magnitude is below the specified value. In the DWT denoising technique, there are different thresholding selection parameters but the most commonly used threshold is the global thresholding. In global thresholding noise is assumed to have Gaussian distribution, having the same amplitude and frequency distribution that span the same data length. Global thresholding can be further divided into soft and hard thresholding which can be defined respectively in the equations below:
Where and xj,i are x′j,i the noise and denoise coefficients of the wavelet at a jth decomposing level and i location. Finally, the shrunk coefficients are first rescaled (p) and then inversely transform to the original domain which is the denoised signal.
To check the performance of the filtered data signal to noise ratio (SNR) and its root mean square error (RMSE) can be determined as below:
The section below includes experimental data from two sets of experiments. In the first, a single magnetic sensor was used. In the second set of data, a quad sensor (i.e. a sensing arrangement including four magnetic sensors, such as the one shown in
A. Single Sensor Configuration
To evaluate the performance of the sensor and to obtain the correlation between the magnetic field and displacement, a mechanical testing system, shown in
Sensor Calibration
The sensor was first calibrated in the z-axis only in order to estimate the distance between the sensor and magnet. The permanent magnet was placed perpendicular to the z-axis of the sensor (Note that North Pole was facing towards the sensor, if poles changes the magnetic field sign change from positive to negative) and was moved linearly with the range of 18 mm at a step size of 1 mm. The resulted data set was processed with the algorithm as shown in
After estimating the distance between sensor and magnet, a similar set of experiments were conducted to analyse how the system detected the displacement of the sensor/magnet if they moved in a non-z direction. To evaluate this, the sensor was first moved linearly in y-axis ranging from 0.1 mm to 4 mm with the step size of 0.5 mm (at z=15 mm). It was and also moved angularly around the y-axis ranging from 0 to 4.0 degrees.
The graphs in
Also, the graphs in
Sensor Performance for Different Movements and Materials
The calibration steps described above, and whose results were shown in
Sensitivity
In the literature, there is no specific information about the minimum distance between the humeral tip and the cement restrictor in total elbow arthroplasty. However, in shoulder arthroplasty the minimum distance between cement restrictor and humeral component is around 10 mm. In order to check the sensitivity of the system of the present invention, the inventors placed the permanent magnet in the cement restrictor at a distance of greater than 10 mm from the magnetic sensor and showed the system performs under static and dynamic linear movement in they direction ranging from 0.15 mm to 1 mm.
The results show that, ideally, the distance between sensor and magnet for static and dynamic displacement should be below 16 mm.
Linear and Angular Movement
B. Quad Sensor Configuration
A similar experimental setup was used to analyse the quad sensor arrangement, as for the single sensor arrangement. First, the effect of the magnetic field on the quad sensor configuration was analysed. As shown in
It can be seen that the y-components of the magnetic field strength of all four sensors change in unison as the permanent magnet is moved in the y-direction, but with different magnitude because of their position. The magnetic field of sensors 3 and 4 were almost the same because their y-distance values are the same. In contrast, because sensors 1 and 2 are 6 mm apart from each other in the y-direction, they have a magnetic field magnitude difference. Similarly, when the magnet was moved in x-axis all the sensors showed the same magnetic field variation response but with different magnitude.
As shown in
Z-Distance Estimation
As described in the previous section the quad sensor needs to be calibrated in order to determine the localization of the magnet. The first step of the detection algorithm is to determine the z-distance between the sensor and magnet. In order to check the effect of the quad sensor in estimating the z-distance, the permanent magnet enclosed in cement restrictor was placed perpendicularly, pointing towards to the quad sensor that was hermetically sealed in 2 mm thick titanium alloy. By using the linear actuator the distance between the quad sensor and magnet was increased with a step size of 1 mm.
Linear Movement in y-Direction
As discussed in the calibration section, displacement detection in the x and y-axis can be determined by using the equations given earlier in this application. In order to analyse the performance of the quad sensor in detecting movement in the x- and y-directions. The sensor was first moved linearly in the y-direction ranging from 0.15 to 4.0 mm with a step size of 0.5 mm, keeping the x-distance constant and with a z-Distance of 15 mm. Compared with the single sensor configuration, the noise content in the quad sensor is low as previously described. However, additional filtering is carried out here, in order to smooth the data. Table 3 below shows the selected type of DWT filter along with its parameters. The selection of mother wavelet and decomposition was based on the signal reconstruction and SNR value.
Table 4 describes the RMSE and SNR between both configurations. It was observed that in the single sensor configuration the maximum SNR value was 45 dB at 1.50 mm displacement and with increase in distance the RMSE increased. While, in quad senor configuration with increase in distance the SNR value increased and this configuration showed a maximum RMSE of 0.051.
Angular Movement in x-Direction
The change in z-distance arises because as the magnet angularly moves it changes the distance between the sensor and magnet, which our algorithm was able to detect. Also, the in z-distance can differentiate between linear and angular movement. The change in the y-distance is due to the orientation of the magnet.
This shows that the quad sensor configuration of the present invention clearly specifies the position of the magnet. During the angular movement experiment, the starting position of the magnet was at the centre of sensor S1, then moved 4 degrees in both the positive and negative directions. As discussed, the single sensor can detect angular displacement up to 3 degrees depending upon the orientation. In
The sensor selection criteria depend upon the localization of the magnet. It can be observed that during positive x-direction displacement, the magnet is displaced between sensor S1 and S3. Therefore eliminating S2 and S4 value from the quad configuration gives a well-matched result. Similarly, during the negative x-direction displacement the single sensor and quad sensor configurations were able to detect the movement with minimum error, but as explained previously as the magnet lies between sensor S1 and S4. Therefore, by combining the values of these sensors and eliminating sensors S2 and S3 gives better, well-matched results.
Cross-Talk
The magnetic field density of a permanent cylindrical magnet displays two features: non-linearity and cross talk. Due to these, the magnetic field does not vary linearly with spatial location, and movement in a single can direction (e.g. the x-direction) can lead to a change in all three of the components of the magnetic field strength, which is experienced by e.g. the magnetic sensor. These features give rise to a correlation between displacement and magnetic field which is not-insignificant and challenging to resolve.
A similar set of experiments was conducted to analyse the effect of the correlation of magnetic field with respect to displacement by moving the magnet in the z-direction to 4 mm with the step size of 1 mm at different y-distances.
Resolution
To analyse the sensitivity of the quad sensor configuration in static and dynamic movement. 4 sets of experiments were conducted by moving the magnet quasi statically and dynamically in the y-direction to 1 mm with a set of 0.15, 0.20, 0.30, 0.50 and 1.00 mm at different z-distances. The selection of z-distances was based on the teaching of the literature, that the minimum distance between the humeral tip and cement restrictor is 10 mm. So, the starting z-distance was selected to be 10 mm and the end z-distance 20 mm. The results of these experiments are shown in
Number | Date | Country | Kind |
---|---|---|---|
2005220.5 | Apr 2020 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2021/058055 | 3/26/2021 | WO |