A contact displacement calibration method, system, device and medium for a neural stimulator
By using impedance measurement and fitting curves in the nerve stimulator to determine the electrode lead displacement, automatic calibration is achieved, solving the problem of changes in the electrical stimulation effect caused by the electrode lead displacement of the nerve stimulator, reducing the risk and complexity of the surgery, and improving treatment stability and safety.
Patent Information
- Application Number
- CN202411223834.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-09-03
AI Technical Summary
After implantation, the electrode wire of the nerve stimulator is easily displaced due to stress caused by human movement, resulting in changes in the distance between the electrode contacts and the target nerve and the intermediate media environment, affecting the effect of electrical stimulation. The existing solutions increase the complexity and risk of surgery or Relying on remote control by doctors makes it difficult to effectively solve the displacement problem.
By outputting impedance measurement pulse signals on the electrode lead of the nerve stimulator, an impedance distribution table and fitting curve between the contact and the reference contact are obtained, the displacement of the stimulating contact is determined, and automatic calibration is performed to avoid designing an anti-displacement structure. and human intervention.
Automatic identification and calibration of electrode wire displacement is realized, stimulation parameters are adjusted, electrical stimulation effect is ensured, surgical risks and complexity are reduced, and treatment stability and safety are improved.
Smart Images

Figure CN118718257B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical device technology, and in particular to a contact displacement calibration method, system, device and medium for a neurostimulator. Background Art
[0002] The implanted part of the neurostimulator usually consists of a pulse generator (stimulator) and an electrode wire. There is also a design that combines the two, that is, the electrode contacts on the electrode wire are made on the surface of the pulse generator. The neurostimulator is surgically implanted in human tissue and electrically stimulates muscle or nerve tissue according to the patient's condition.
[0003] Since the electrode wires of a neurostimulator are usually thin and light, they can easily be displaced due to the force of human activities after implantation. Once displacement occurs, the distance between the conductive contacts on the electrode wires used to output electrical stimulation and the target nerves (neural plexus) and the intermediate medium environment change. The previously set electrical stimulation parameters may no longer produce a therapeutic effect or may cause discomfort or even injury to the patient due to excessive stimulation.
[0004] The current common practice is to place the metal contacts of the neurostimulator as close to the nerves as possible during implant surgery, which increases the complexity and risk of the surgery; or to design anti-displacement components into the structure of the electrode wire, which increases the size of the electrode wire and increases surgical injuries and risks; or to contact the doctor for remote control and resetting of parameters when the patient feels abnormal stimulation.
[0005] However, the method of designing anti-displacement components will cause the overall size of the neurostimulator to increase, the incision to become larger, and the difficulty of surgery to increase; the method of designing a remote control mechanism, on the one hand, requires doctors to respond immediately and there are difficulties in control communication and effectiveness due to delays / interference; on the other hand, doctors lack displacement information and find it difficult to grasp the direction of control. Summary of the invention
[0006] Based on this, it is necessary to provide a contact displacement calibration method, system, device and medium for a neurostimulator to address the above technical problems.
[0007] In a first aspect, an embodiment of the present application provides a contact displacement calibration method for a neurostimulator, wherein the neurostimulator includes a pulse generator and an electrode wire, wherein the electrode wire includes a plurality of contacts, and the method includes:
[0008] When the electrode wire does not move, controlling the pulse generator to output a first impedance measurement pulse signal to obtain a first impedance distribution table between each of the contacts and a reference contact;
[0009] Based on the first impedance distribution table, obtaining impedance fitting curves in different directions;
[0010] Controlling the pulse generator to output a second impedance measurement pulse signal at a fixed period to obtain a second impedance distribution table between each of the contacts and the reference contact;
[0011] Determining the displacement of the stimulation contact based on the second impedance distribution table and the impedance fitting curve in each direction;
[0012] A contact displacement calibration is performed based on the displacement of the stimulation contact.
[0013] In one embodiment, there are multiple reference contacts, and the method further includes:
[0014] Obtaining a plurality of first impedance distribution tables between each of the contacts and each of the reference contacts;
[0015] Based on the first impedance distribution tables, obtaining corresponding impedance fitting curves in different directions;
[0016] Obtaining a plurality of second impedance distribution tables between each of the contacts and each of the reference contacts;
[0017] Based on a plurality of the second impedance distribution tables and a corresponding plurality of impedance fitting curves in different directions, an optimal displacement of the stimulation contact is obtained.
[0018] In one embodiment, the method further comprises:
[0019] Controlling the pulse generator to output a first impedance measurement pulse signal at different pulse widths to obtain a plurality of first impedance distribution tables between each of the contacts and a reference contact;
[0020] Based on the first impedance distribution tables, obtaining corresponding impedance fitting curves in different directions;
[0021] Obtaining a plurality of second impedance distribution tables between each of the contacts and the reference contact at each of the pulse widths;
[0022] Based on a plurality of the second impedance distribution tables and a corresponding plurality of impedance fitting curves in different directions, an optimal displacement of the stimulation contact is obtained.
[0023] In one embodiment, obtaining the optimal displacement of the stimulation contact based on the plurality of second impedance distribution tables and the corresponding plurality of impedance fitting curves in different directions comprises:
[0024] Based on each of the second impedance distribution tables and the corresponding multiple impedance fitting curves in different directions, obtaining multiple displacements of the stimulation contact in each direction;
[0025] Combining multiple displacements of the stimulation contact in each direction to obtain multiple displacements of the stimulation contact;
[0026] Statistical analysis or cluster analysis is performed on the displacements of the plurality of stimulation contacts to obtain the optimal displacement of the stimulation contacts.
[0027] In one embodiment, the direction includes at least one of the following: X direction, Y direction, and 45 degree direction, and obtaining the displacement of the stimulation contact based on the second impedance distribution table and the impedance fitting curve in each direction includes:
[0028] determining stimulation contacts of the neurostimulator;
[0029] determining an impedance value between the stimulation contact and the reference contact based on the second impedance distribution table;
[0030] Based on the impedance value and the impedance fitting curve in each direction, respectively obtaining the displacement of the stimulation contact in the X direction, the Y direction and the 45-degree direction;
[0031] Based on the displacement of the stimulation contact in the X direction, the Y direction and the 45-degree direction, the displacement of the stimulation contact is obtained.
[0032] In one embodiment, the method comprises:
[0033] During an idle period when the pulse generator outputs a stimulation pulse signal, the pulse generator is controlled to output the first impedance measurement pulse signal and the second impedance measurement pulse signal.
[0034] In one embodiment, after performing displacement calibration based on the displacement of the stimulation contact, the method further includes:
[0035] determining a first impedance value between the stimulation contacts;
[0036] Determining an adjustment value of the stimulation pulse signal output by the pulse generator based on the first impedance value and a second impedance value between the stimulation contacts when the electrode wire is not displaced;
[0037] Based on the adjustment value, the stimulation pulse signal output by the pulse generator is adjusted.
[0038] In a second aspect, an embodiment of the present application further provides a contact displacement calibration system for a neurostimulator, wherein the neurostimulator comprises a pulse generator and an electrode wire, wherein the electrode wire comprises a plurality of contacts, and the system comprises:
[0039] A first obtaining module, configured to control the pulse generator to output a first impedance measurement pulse signal when the electrode wire is not displaced, so as to obtain a first impedance distribution table between each of the contacts and a reference contact;
[0040] A fitting module, used for obtaining impedance fitting curves in different directions based on the first impedance distribution table;
[0041] A second obtaining module, used for controlling the pulse generator to output a second impedance measurement pulse signal at a fixed period, and obtaining a second impedance distribution table between each of the contacts and the reference contact;
[0042] A determination module, configured to determine the displacement of a stimulation contact based on the second impedance distribution table and the impedance fitting curve in each direction;
[0043] A calibration module is used to perform contact displacement calibration based on the displacement of the stimulation contact.
[0044] In a third aspect, an embodiment of the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the method as described in the first aspect above.
[0045] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect above is implemented.
[0046] In the contact displacement calibration method of the above-mentioned neurostimulator, the displacement of the electrode wire in the human body is identified based on the impedance distribution and changes between multiple contacts, and the direction and amount of displacement are calculated by the impedance fitting curve before the displacement and the impedance distribution after the displacement. For the implantable neurostimulator, no additional anti-displacement structure needs to be designed, and no human intervention is required. It can automatically identify the occurrence of electrode wire displacement and perform displacement calibration, and automatically adjust the stimulation parameters to adapt to the displacement.
[0047] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0049] Figure 1 is a hardware structure block diagram of a terminal device of a contact displacement calibration method for a neural stimulator in one embodiment;
[0050] Figure 2 is a schematic flow chart of a contact displacement calibration method for a neurostimulator in an embodiment;
[0051] Figure 3 is a schematic diagram of the distribution of electrode wire contacts and the association between the contacts in one embodiment;
[0052] Figure 4 is a schematic diagram of an impedance measurement pulse signal in an embodiment;
[0053] Figure 5 is a schematic diagram of a reference contact in the X-axis direction, the Y-axis direction and the 45-degree angle direction in an embodiment;
[0054] Figure 6 is a schematic diagram of impedance fitting curves in different directions in an embodiment;
[0055] Figure 7 is a schematic diagram of impedance fitting curves in different directions obtained at another measurement frequency in one embodiment;
[0056] Figure 8 is a schematic diagram of an electrode conductor in which the contacts are in a straight line in one embodiment;
[0057] Fig. 9 is a schematic diagram of using the idle time of a stimulation pulse to perform impedance measurement in one embodiment;
[0058] Fig.10 is a block diagram of a contact displacement calibration system for a neurostimulator in one embodiment;
[0059] Fig.11 It is a schematic diagram of the structure of a computer device in an embodiment. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 4 is a hardware structure block diagram of a terminal of the contact displacement calibration method of a neural stimulator of this embodiment. Figure 1 As shown, the terminal may include one or more ( Figure 1Only one is shown in the figure) processor 102 and memory 104 for storing data, wherein processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0062] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the contact displacement calibration method of the neurostimulator in the present embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0063] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.
[0064] The present application provides a contact displacement calibration method for a neurostimulator, wherein the neurostimulator comprises a pulse generator and an electrode wire, wherein the electrode wire comprises a plurality of contacts. Figure 1 The terminal in is used as an example to illustrate. Figure 2 As shown, the method comprises the following steps:
[0065] Step 201, when the electrode wire is not displaced, controlling the pulse generator to output a first impedance measurement pulse signal to obtain a first impedance distribution table between each of the contacts and a reference contact;
[0066] For example, Figure 3 Take the electrode lead shown in the figure as an example. Figure 1 The schematic diagram of the distribution of contacts of the electrode wire and the association between the contacts is shown. The electrode has 16 contacts, which are contacts 1, 2, 3, ... 15, and 16 from top to bottom and from left to right. For example, with contact 1 as the reference contact, the impedance value between other contacts and contact 1 can be obtained. In the specific implementation process, other contacts (such as contacts 4, 13, and 16 at the end points) can also be selected as reference contacts, and this embodiment does not make specific restrictions.
[0067] The impedance value between each contact and the reference contact is obtained by an impedance measurement method to obtain a first impedance distribution table. The impedance measurement method is specifically to control the pulse generator to output a first impedance measurement pulse signal, wherein the first impedance measurement pulse signal is a fixed voltage or current pulse, and then collect the corresponding current or voltage between each contact and the reference contact, and use Ohm's law (impedance R=U / I) to calculate the impedance value between each contact and the reference contact to obtain the first impedance distribution table. Figure 4 As shown, the current pulse signal or voltage pulse signal output by the impedance measurement is shown, and the pulse width is adjustable, corresponding to different frequencies. As shown in Table 1, the first impedance distribution table obtained by measurement is shown, and the impedance value between each contact and the reference contact 1 is recorded in the table. In the human body, the impedance value between two points is related to the type and distribution of the surrounding tissues, so the distribution characteristics of the surrounding tissues can be corresponded according to the impedance distribution characteristics.
[0068] Table 1
[0069]
[0070] Step 202, obtaining impedance fitting curves in different directions based on the first impedance distribution table;
[0071] Specifically, according to the obtained first impedance distribution table, an impedance curve fitting in a specific direction can be performed. Figure 5 and Figure 6 As shown, the corresponding impedance fitting curve is obtained by fitting the reference contact 1 in the X direction, the Y direction and the 45-degree angle direction based on the impedance distribution table in Table 1, and the corresponding polynomial equation can be determined through the impedance fitting curve.
[0072] Step 203: Control the pulse generator to output a second impedance measurement pulse signal at a fixed period to obtain a second impedance distribution table between each of the contacts and the reference contact.
[0073] Specifically, assuming that the contact of the electrode wire is displaced, the pulse generator is controlled to output a second impedance measurement pulse signal at a fixed period, and the impedance distribution is measured regularly. The impedance value between each contact and the reference contact is obtained through impedance measurement to obtain a second impedance distribution table.
[0074] Step 204: Determine the displacement of the stimulation contact based on the second impedance distribution table and the impedance fitting curve in each direction.
[0075] Specifically, according to the newly obtained second impedance distribution table, the impedance value between each contact and the reference contact can be obtained, and the impedance value is substituted into the polynomial equation of the impedance fitting curve obtained in the X direction, Y direction, and 45-degree direction before the displacement, and the position value of each contact in each direction is obtained. By comparing the position value with the position value before the displacement, the displacement of each contact in each direction can be obtained, thereby obtaining the displacement of each contact. Through the above steps, the displacement of the stimulation contact in the electrode wire can be determined.
[0076] Step 205: perform contact displacement calibration based on the displacement of the stimulation contact.
[0077] Specifically, after obtaining the displacement of the stimulation contact, the contact closest to the one before the displacement can be found according to the displacement value, and the stimulation channel can be switched. For example, before the displacement, the electrical stimulation is output on contact 6 and contact 7. If the displacement value obtained in each direction (XY-45 degree direction) is (1, 1, 1), then after the displacement, the electrical stimulation is switched to contact 1 and contact 2.
[0078] In the contact displacement calibration method of the above-mentioned neurostimulator, the displacement of the electrode wire in the human body is identified based on the impedance distribution and changes between multiple contacts, and the direction and amount of displacement are calculated by the impedance fitting curve before the displacement and the impedance distribution after the displacement. For the implantable neurostimulator, no additional anti-displacement structure needs to be designed, and no human intervention is required. It can automatically identify the occurrence of electrode wire displacement and perform calibration, and automatically adjust the stimulation parameters to adapt to the displacement.
[0079] In one embodiment, there are multiple reference contacts, such as setting contact 1, contact 4, contact 13 and contact 16 at the end points as reference contacts, and the method further includes the following contents:
[0080] Step 301, when the electrode wire has not been displaced, control the pulse generator to output a first impedance measurement pulse signal to obtain a plurality of first impedance distribution tables between each of the contacts and each of the reference contacts; for example, when there are four reference contacts, obtain the corresponding four first impedance distribution tables through impedance measurement.
[0081] Step 302: Based on a plurality of the first impedance distribution tables, obtain a plurality of corresponding impedance fitting curves in different directions.
[0082] Specifically, for each reference contact point measured and obtained in the first impedance distribution table, fitting is performed in different directions to obtain a corresponding impedance fitting curve and polynomial equation.
[0083] Step 303: Control the pulse generator to output a second impedance measurement pulse signal at a fixed period, and obtain a plurality of second impedance distribution tables between each of the contacts and each of the reference contacts.
[0084] Specifically, impedance distribution measurement is performed regularly to obtain a plurality of second impedance distribution tables between each of the contacts and each of the reference contacts. For example, when there are four reference contacts, four corresponding second impedance distribution tables are obtained through impedance measurement.
[0085] Step 304: Obtain an optimal displacement of the stimulation contact based on a plurality of the second impedance distribution tables and a corresponding plurality of impedance fitting curves in different directions.
[0086] Specifically, for each reference contact, the displacement of the stimulation contact can be determined based on the corresponding second impedance distribution table and the impedance fitting curve in each direction. Since multiple reference contacts are set in this embodiment, multiple groups of displacement values are obtained, and then the optimal displacement is calculated by statistics (such as taking the average after removing the maximum and minimum values, least squares method) or clustering (such as k clustering) method.
[0087] In this embodiment, after obtaining multiple groups of displacements by calculating with different reference contact points, statistical or clustering operations are performed to improve the accuracy of displacement calculation.
[0088] In one embodiment, the method further comprises the following steps:
[0089] Step 401, when the electrode wire is not displaced, control the pulse generator to output a first impedance measurement pulse signal at different pulse widths to obtain a plurality of first impedance distribution tables between each of the contacts and a reference contact.
[0090] Specifically, because the impedance value between the contacts after implantation in the human body is different at different frequencies (because the human body impedance is not a pure resistor), the pulse width of the impedance measurement is adjustable. Corresponding to different frequencies, the impedance distribution value at different frequencies can be measured by changing the pulse width of the impedance measurement, thereby expanding the amount of data used for statistics or clustering and improving the accuracy. As shown in Table 2, the first impedance distribution table obtained by measuring at another measurement frequency with contact 1 as the reference contact is shown. Figure 7 The impedance fitting curves in different directions obtained based on the impedance distribution table in Table 2 at the measurement frequency are shown.
[0091] Table 2
[0092]
[0093] Step 402, based on the plurality of first impedance distribution tables, obtaining a plurality of corresponding impedance fitting curves in different directions;
[0094] Specifically, for the first impedance distribution table obtained by measuring at each pulse width, fitting is performed in different directions to obtain a corresponding impedance fitting curve and polynomial equation.
[0095] Step 403: Control the pulse generator to output a second impedance measurement pulse signal at each pulse width at a fixed period, and obtain a plurality of second impedance distribution tables between each of the contacts and each of the reference contacts.
[0096] Step 404: Obtain an optimal displacement of the stimulation contact based on a plurality of the second impedance distribution tables and a corresponding plurality of impedance fitting curves in different directions.
[0097] Specifically, for each impedance measurement pulse width, the displacement of the stimulation contact is obtained according to the corresponding second impedance distribution table and the impedance fitting curve in each direction. Since the impedance distribution values at different frequencies are measured by changing the pulse width of the impedance measurement in this embodiment, multiple groups of displacement values are obtained, and then the optimal displacement is calculated by statistics (such as taking the average after removing the maximum and minimum values, least squares method) or clustering (such as k clustering) method.
[0098] This embodiment obtains the impedance distribution at different frequencies by measuring the impedance with different pulse widths, so as to obtain multiple groups of displacements, thereby increasing the amount of data for displacement calculation, thereby expanding the amount of data used for statistics or clustering, performing statistical or clustering operations to obtain the optimal displacement of the stimulation contact, and improving the accuracy of displacement calculation.
[0099] In one embodiment, obtaining the optimal displacement of the stimulation contact based on the plurality of second impedance distribution tables and the corresponding plurality of impedance fitting curves in different directions comprises the following:
[0100] Based on each of the second impedance distribution tables and the corresponding multiple impedance fitting curves in different directions, multiple displacements of the stimulation contacts in each direction are obtained; the multiple displacements of the stimulation contacts in each direction are combined to obtain multiple displacements of the stimulation contacts; statistical analysis or cluster analysis is performed on the displacements of the multiple stimulation contacts to obtain the optimal displacement of the stimulation contacts.
[0101] Specifically, the present application performs impedance measurement by setting multiple reference contacts and / or changing the pulse width of impedance measurement, thereby expanding the amount of data used for statistics or clustering. Since the polynomial may have multiple solutions, all solutions can be retained to form a displacement value combination (such as forming multiple displacement vector values by displacement in the XY-45 degree direction), and multiple groups of displacement values can be obtained. Then, the best displacement can be obtained by statistical (such as removing the maximum and minimum values and taking the average, least squares method) or clustering (such as k clustering) methods to improve the accuracy of displacement calibration.
[0102] In one embodiment, the direction includes at least one of the following: X direction, Y direction, and 45 degree direction, and obtaining the displacement of the stimulation contact based on the second impedance distribution table and the impedance fitting curve in each direction includes:
[0103] Determine the stimulation contact of the neural stimulator; determine the impedance value between the stimulation contact and the reference contact based on the second impedance distribution table; obtain the displacement of the stimulation contact in the X direction, the Y direction and the 45-degree direction based on the impedance value and the impedance fitting curve in each direction; obtain the displacement of the stimulation contact based on the displacement of the stimulation contact in the X direction, the Y direction and the 45-degree direction.
[0104] Exemplarily, the stimulation contacts of the neurostimulator are contact 6 and contact 7. According to the second impedance distribution table, the impedance value between the stimulation contact and the reference contact is determined; then the corresponding impedance value is substituted into the polynomial equation corresponding to the impedance fitting curve obtained by fitting in the X direction, the polynomial equation corresponding to the impedance fitting curve obtained by fitting in the Y direction, and the polynomial equation corresponding to the impedance fitting curve obtained by fitting in the 45-degree direction, respectively, to obtain the displacement of the stimulation contact in the X direction, the displacement in the Y direction, and the position value in the 45-degree direction, respectively. By comparing the position value with the position value in each direction before the displacement, the displacement of the stimulation contact in each direction can be obtained, thereby obtaining the displacement of the stimulation contact.
[0105] It should be noted that the contact displacement calibration method of any embodiment of the present application is not limited to the following Figure 3 The array electrodes shown. Figure 8 As shown, even if the contacts are distributed in a straight line for a single electrode or multiple electrodes, based on the same inventive concept, the contact displacement calibration method can also perform displacement calculation in a single direction to achieve contact displacement calibration.
[0106] In one embodiment, the method includes the following: controlling the pulse generator to output the first impedance measurement pulse signal and the second impedance measurement pulse signal during an idle period when the pulse generator outputs a stimulation pulse signal.
[0107] Specifically, Fig. 9 As shown, a schematic diagram of the pulse generator outputting a pulse signal is shown, wherein the stimulation pulse signal is used to stimulate human nerves, and the impedance measurement pulse signal is used to measure the impedance value between each contact and the reference contact. In this embodiment, the impedance measurement pulse signal is output during the idle time of the stimulation pulse to perform impedance measurement. Since the current / voltage value used for impedance measurement is small, it will not cause human nerve movement and will not affect the stimulation effect.
[0108] In one embodiment, after performing displacement calibration based on the displacement of the stimulation contact, the method further includes the following:
[0109] Determine a first impedance value between the stimulation contacts; determine an adjustment value of the stimulation pulse signal output by the pulse generator based on the first impedance value and a second impedance value between the stimulation contacts when the electrode wire has not been displaced; and adjust the stimulation pulse signal output by the pulse generator based on the adjustment value.
[0110] For example, if the impedance between stimulation contacts 6 and 7 before displacement is 500, and the impedance between stimulation contacts 1 and 2 after displacement is 510, the stimulation current / voltage can be adjusted by 2% accordingly. In this embodiment, after displacement calibration, the stimulation amplitude is fine-tuned according to the current impedance value of the switched stimulation channel to achieve more precise regulation.
[0111] The present application also provides a contact displacement calibration system for a neurostimulator, wherein the neurostimulator includes a pulse generator and an electrode wire, wherein the electrode wire includes a plurality of contacts, such as Fig.10 As shown, the system comprises:
[0112] A first obtaining module 10 is used to control the pulse generator to output a first impedance measurement pulse signal when the electrode wire is not displaced, so as to obtain a first impedance distribution table between each of the contacts and a reference contact;
[0113] A fitting module 20, configured to obtain impedance fitting curves in different directions based on the first impedance distribution table;
[0114] A second obtaining module 30, used for controlling the pulse generator to output a second impedance measurement pulse signal at a fixed period, and obtaining a second impedance distribution table between each of the contacts and the reference contact;
[0115] A determination module 40, configured to determine the displacement of a stimulation contact point based on the second impedance distribution table and the impedance fitting curve in each direction;
[0116] The calibration module 50 is used to perform contact point displacement calibration based on the displacement of the stimulation contact point.
[0117] In one embodiment, there are multiple reference contacts, and the first acquisition module 10 is also used to obtain multiple first impedance distribution tables between each of the contacts and each of the reference contacts; the fitting module 20 is also used to obtain multiple corresponding impedance fitting curves in different directions based on the multiple first impedance distribution tables; the second acquisition module 30 is also used to obtain multiple second impedance distribution tables between each of the contacts and each of the reference contacts; the determination module 40 is also used to obtain the optimal displacement of the stimulation contact based on the multiple second impedance distribution tables and the corresponding multiple impedance fitting curves in different directions.
[0118] In one embodiment, the first acquisition module 10 is also used to control the pulse generator to output a first impedance measurement pulse signal at different pulse widths to obtain multiple first impedance distribution tables between each of the contacts and the reference contact; the fitting module 20 is also used to obtain multiple corresponding impedance fitting curves in different directions based on the multiple first impedance distribution tables; the second acquisition module 30 is also used to obtain multiple second impedance distribution tables between each of the contacts and the reference contact at each of the pulse widths; the determination module 40 is also used to obtain the optimal displacement of the stimulation contact based on the multiple second impedance distribution tables and the corresponding multiple impedance fitting curves in different directions.
[0119] In one embodiment, the determination module 40 is also used to: obtain multiple displacements of the stimulation contact in each direction based on each of the second impedance distribution tables and the corresponding multiple impedance fitting curves in different directions; combine the multiple displacements of the stimulation contact in each direction to obtain multiple displacements of the stimulation contacts; perform statistical analysis or cluster analysis on the displacements of the multiple stimulation contacts to obtain the optimal displacement of the stimulation contact.
[0120] In one embodiment, the direction includes at least one of the following: X direction, Y direction, and 45 degree direction, and the determination module 40 is further used to: determine the stimulation contact of the neural stimulator; determine the impedance value between the stimulation contact and the reference contact based on the second impedance distribution table; obtain the displacement of the stimulation contact in the X direction, the Y direction, and the 45 degree direction based on the impedance value and the impedance fitting curve in each direction; obtain the displacement of the stimulation contact based on the displacement of the stimulation contact in the X direction, the Y direction, and the 45 degree direction.
[0121] In one of the embodiments, the system is further configured to control the pulse generator to output the first impedance measurement pulse signal and the second impedance measurement pulse signal during an idle period when the pulse generator outputs a stimulation pulse signal.
[0122] In one embodiment, the system also includes an adjustment module, which is used to: determine a first impedance value between the stimulation contacts; determine an adjustment value of the stimulation pulse signal output by the pulse generator based on the first impedance value and a second impedance value between the stimulation contacts when the electrode wire is not displaced; and adjust the stimulation pulse signal output by the pulse generator based on the adjustment value.
[0123] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0124] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.11 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method can be achieved through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a contact displacement calibration method for a neurostimulator is implemented.
[0125] Those skilled in the art will understand that Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0126] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned embodiments of the contact displacement calibration method for a neurostimulator are implemented.
[0127] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0128] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0129] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A contact displacement calibration method for a neurostimulator, wherein the neurostimulator comprises a pulse generator and an electrode wire, wherein the electrode wire comprises a plurality of contacts, wherein: The method comprises: When the electrode wire does not move, controlling the pulse generator to output a first impedance measurement pulse signal to obtain a first impedance distribution table between each of the contacts and a reference contact; Based on the first impedance distribution table, obtaining impedance fitting curves in the X direction, the Y direction, and the 45-degree direction; Controlling the pulse generator to output a second impedance measurement pulse signal at a fixed period to obtain a second impedance distribution table between each of the contacts and the reference contact; determining stimulation contacts of the neurostimulator; Based on the second impedance distribution table, determining the impedance value between the stimulation contact and the reference contact; based on the impedance value and the impedance fitting curve in each direction, respectively obtaining the displacement of the stimulation contact in the X direction, the Y direction and the 45-degree direction; based on the displacement of the stimulation contact in the X direction, the Y direction and the 45-degree direction, obtaining the displacement of the stimulation contact; Based on the displacement of the stimulation contact, the contact closest to the stimulation contact before displacement is determined, and the stimulation channel is switched to perform contact displacement calibration.
2. The method according to claim 1, characterized in that There are multiple reference contacts, and the method further includes: Obtaining a plurality of first impedance distribution tables between each of the contacts and each of the reference contacts; Based on the first impedance distribution tables, obtaining corresponding impedance fitting curves in different directions; Obtaining a plurality of second impedance distribution tables between each of the contacts and each of the reference contacts; Based on a plurality of the second impedance distribution tables and a corresponding plurality of impedance fitting curves in different directions, an optimal displacement of the stimulation contact is obtained.
3. The method according to claim 1, characterized in that The method further comprises: Controlling the pulse generator to output a first impedance measurement pulse signal at different pulse widths to obtain a plurality of first impedance distribution tables between each of the contacts and a reference contact; Based on the first impedance distribution tables, a corresponding plurality of impedance fitting curves in the X direction, the Y direction, and the 45-degree direction are obtained; Obtaining a plurality of second impedance distribution tables between each of the contacts and the reference contact at each of the pulse widths; Based on a plurality of the second impedance distribution tables and a corresponding plurality of impedance fitting curves in different directions, an optimal displacement of the stimulation contact is obtained.
4. The method according to any one of claims 2 or 3, characterized in that: The obtaining of the optimal displacement of the stimulation contact based on the plurality of the second impedance distribution tables and the corresponding plurality of impedance fitting curves in different directions comprises: Based on each of the second impedance distribution tables and the corresponding multiple impedance fitting curves in different directions, obtaining multiple displacements of the stimulation contact in each direction; Combining multiple displacements of the stimulation contact in various directions to obtain multiple displacements of the stimulation contact; Statistical analysis or cluster analysis is performed on the displacements of the plurality of stimulation contacts to obtain the optimal displacement of the stimulation contacts.
5. The method according to claim 1, characterized in that The method comprises: During an idle period when the pulse generator outputs a stimulation pulse signal, the pulse generator is controlled to output the first impedance measurement pulse signal and the second impedance measurement pulse signal.
6. The method according to claim 1, characterized in that After performing displacement calibration based on the displacement of the stimulation contact, the method further includes: determining a first impedance value between the stimulation contacts; Determining an adjustment value of the stimulation pulse signal output by the pulse generator based on the first impedance value and a second impedance value between the stimulation contacts when the electrode wire is not displaced; Based on the adjustment value, the stimulation pulse signal output by the pulse generator is adjusted.
7. A contact displacement calibration system for a neurostimulator, the neurostimulator comprising a pulse generator and an electrode wire, the electrode wire comprising a plurality of contacts, characterized in that: The system comprises: A first obtaining module, configured to control the pulse generator to output a first impedance measurement pulse signal when the electrode wire is not displaced, so as to obtain a first impedance distribution table between each of the contacts and a reference contact; A fitting module, used for obtaining impedance fitting curves in the X direction, the Y direction and the 45-degree direction based on the first impedance distribution table; A second obtaining module, used for controlling the pulse generator to output a second impedance measurement pulse signal at a fixed period, and obtaining a second impedance distribution table between each of the contacts and the reference contact; A determination module, used to determine the stimulation contact of the neural stimulator; based on the second impedance distribution table, determine the impedance value between the stimulation contact and the reference contact; based on the impedance value and the impedance fitting curve in each direction, respectively obtain the displacement of the stimulation contact in the X direction, the displacement in the Y direction, and the displacement in the 45-degree direction; based on the displacement of the stimulation contact in the X direction, the displacement in the Y direction, and the displacement in the 45-degree direction, obtain the displacement of the stimulation contact; The calibration module is used to determine the contact point closest to the stimulation contact point before displacement based on the displacement of the stimulation contact point, and switch the stimulation channel to perform contact displacement calibration.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
