Circuit and method of implantable medical device in-vitro program control equipment

By integrating multiple coils in the external program control device of implantable medical devices and having switchable parameters built-in coils, the adaptability and communication quality problems of the coil communication structure in the prior art are solved, and compatibility with multiple types of devices is achieved and efficient communication.

CN119511888APending Publication Date: 2025-02-25SHAANXI QINMING MEDICAL CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411651868.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-19
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

When existing coil communication structures face multiple types of implantable medical devices with different in vivo coil parameters, they need to frequently replace external coils, which increases operational complexity and inconvenience, and when communication environment changes, communication quality and distance are impaired. , affects equipment performance and therapeutic effect.

Method used

A circuit for an implantable medical device external program control device is designed. By integrating multiple coils into one coil, and a coil with different parameters can be switched in the external program control device. By measuring the coil parameters and adjusting the polarity, it can achieve multiple types. Communications of implantable medical devices.

Benefits of technology

This design enables extracorporeal program-controlled devices to be compatible with a variety of types of implantable medical devices, simplifying maintenance and operation, improving communication quality and distance, and significantly improving equipment performance and therapeutic effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119511888A_ABST
    Figure CN119511888A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of medical treatment, and discloses a circuit of an in-vitro program control device of an implantable medical instrument, which comprises an external program control device A1 and an implantable medical device C1, the external program control equipment A1 comprises seven parts, namely a coil group a1, a coil control module a2, a signal filtering and amplifying module a3, a data signal shaping module a4, an MCU (Microprogrammed Control Unit) main control module a5, an upper computer a6 and a feedback signal detection module a7. A plurality of coils of the in-vitro program control equipment are integrated into one coil, so that multiple types of implantable medical equipment adopting different in-vivo coil parameters only need to correspond to one in-vitro program control equipment, the in-vitro program control equipment is internally provided with the coils capable of switching different parameters, and the in-vitro program control equipment can be conveniently switched through simple switching. Therefore, the communication with various types of implantable medical devices can be realized, the maintenance convenience of the implantable medical devices is greatly improved, and the operation difficulty of patients and doctors is remarkably simplified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of medical technology, and in particular relates to a circuit and method for an in vitro programmable control device for an implantable medical device. Background Art

[0002] At present, coil communication is commonly used as one of the solutions for communication between implantable medical devices and external programmable devices. Figure 1 The figure shows three key data paths in detail: the first is the sending data path, in which the MCU main control b4 is responsible for directly sending data to the coil b1; the second is the receiving data path, after the data is received by the coil b1, it is enhanced by the signal amplification module b2, and then normalized by the data signal shaping module b3, and finally transmitted to the MCU main control b4; the last is the two-way communication between the MCU main control b4 and the host computer b5, which ensures the uploading of data and the issuing of instructions.

[0003] However, this coil communication structure has exposed several significant shortcomings in practical applications. The primary problem is that a specific external coil can only be adapted to the same type of implantable medical device with fixed internal coil parameters. This means that when faced with multiple types of implantable medical devices with different internal coil parameters, the external programming device has to frequently replace the external coils with multiple parameters, which undoubtedly increases the complexity and inconvenience of operation.

[0004] In addition, changes in communication conditions also have a significant impact on the performance of this coil communication structure. Specifically, when there are large interference signals in the communication environment between the internal medical device and the external programmable device, or when the buried position and depth of the internal device change, the communication quality and communication distance will be damaged to varying degrees. This may not only cause delays and errors in data transmission, but also severely limit the effective communication range between devices, thereby affecting the overall performance of the medical device and the treatment effect of the patient. Summary of the invention

[0005] The object of the present invention is to provide a circuit and method for an in vitro programming device of an implantable medical device to solve the problems raised in the above background technology.

[0006] In order to achieve the above-mentioned object, the present invention provides the following technical solutions: a circuit of an external program-controlled device for an implantable medical device, the circuit of the external program-controlled device comprising: an external program-controlled device A1 and an implantable medical device C1;

[0007] The external program control device A1 includes: a coil assembly a1, a coil control module a2, a signal filtering and amplifying module a3, a data signal shaping module a4, an MCU main control module a5, a host computer a6, and a feedback signal detection module a7;

[0008] The circuit includes 4 paths:

[0009] ①Sending signal path: MCU main control module a5 sends the signal to coil control module a2, and then the signal is sent out through coil group a1;

[0010] ② Receiving data signal path: The coil group a1 receives the induction signal, passes through the coil control module a2, the signal filtering and amplifying module a3, the data signal shaping module a4, and then reaches the MCU main control module a5;

[0011] ③ Feedback signal processing path: After the coil group a1 receives the feedback signal, it passes through the coil control module a2, the signal filtering and amplifying module a3, the feedback signal detection module a7, and then reaches the MCU main control module a5;

[0012] ④ Coil control path: MCU main control module a5 directly drives the coil control module to adjust the coil parameters and coil polarity.

[0013] Preferably, the coil control module a2 includes three parts: a2-1, a2-2 and a2-3;

[0014] Different coil port access devices need to automatically identify the parameters of the connected coil, dynamically adjust the parameters of the coil according to actual conditions, and measure the impedance and inductance of the connected coil through the parameter measurement module.

[0015] Preferably, the coil groups with different parameters are combined in a coil series manner, where coils with different parameters are connected in series; the inductance value after the series connection is the sum of the inductances between each port.

[0016] Preferably, the feedback signal detection module a7 is composed of three paths:

[0017] Path 1: frequency signal filtering and amplification module, frequency acquisition module, data processing module;

[0018] Path 2: phase signal filtering and amplification module, phase acquisition module, data processing module;

[0019] Path 3: amplitude signal filtering and amplification module, amplitude acquisition module, data processing module;

[0020] Data processing module: For the calculated frequency value, phase and amplitude value, according to the frequency and amplitude value, calculate the amount of adjustment required for the current coil parameters. The adjustment ratio needs to be obtained based on the empirical value obtained from the experiment. According to the phase of the waveform, the coil polarity is obtained, and then the result is sent to the MCU main control module a5 for processing.

[0021] Preferably, the impedance measurement method based on the in vitro programmable device circuit is: collecting the port (S terminal) voltage through the MCU main control module a5, and calculating the DC resistance value of the connected inductor through the resistance voltage division method;

[0022] Preferably, the inductance measurement method based on the in vitro programmable device circuit is: the peak voltage of the port is collected by the MCU main control module a5, and the current value of the resistor R at the peak voltage is calculated by Ohm's law, thereby calculating the impedance value of the coil. The operating frequency F and the coil impedance value are known, and the inductance value of the measured coil is calculated by substituting them into the formula.

[0023] Preferably, the inductance measurement is based on calculating the inductance through impedance;

[0024] The formula for calculating inductance is: Inductance = Impedance / (2*π*F);

[0025] Where impedance is the electrical impedance presented by the coil at the operating frequency, measured in ohms; F is the operating frequency, measured in hertz.

[0026] Preferably, after the measurement, the parameters of the coil are returned to the MCU main control module a5, and the MCU main control module a5 learns the parameters of the current coil, thereby recording the parameters of the currently connected coil;

[0027] During the communication process, the coil communication quality and communication distance are enhanced by adjusting the polarity of the coil.

[0028] Preferably, the method for adjusting the coil polarity is: directly adjusting the switching coil polarity through different switches and different coil gears. This solution involves two coil polarities.

[0029] Preferably, the software control process based on the in vitro programmable device circuit is:

[0030] The first step is to measure the coil parameters: First, measure the impedance and inductance of each gear of coil group a1 through a2-2 of coil control module a2, and record them in detail;

[0031] Step 2: Communication starts and specific signal 1 is sent: When communication starts, MCU main control module a5 uses coil control module a2 and coil group a1 to send specific signal 1 to implantable medical device C1; after receiving the signal, C1 will send feedback signal 1;

[0032] Step 3: Process and receive feedback signal 1: The feedback signal is processed by coil assembly a1, coil control module a2, signal filtering and amplification module a3 and feedback signal detection module a7, and finally input into MCU main control module a5 of the in vitro programmable control device;

[0033] Step 4: Calculate coil parameters and adjust: MCU main control module a5 calculates the coil parameter value and the required polarity, and then controls the switch to switch to the coil position close to the calculated value through coil control module a2, and the polarity is also switched to the corresponding polarity;

[0034] Step 5, sending a specific signal 2 and receiving a feedback signal 2: the MCU main control module a5 of the in vitro programmable device sends a specific signal 2 to the implantable medical device C1 through the coil control module a2 and the coil group a1, and the implantable medical device C1 outputs a feedback signal 2 after receiving the signal;

[0035] Step 6: Processing and receiving feedback signal 2: After being processed by coil assembly a1, coil control module a2, signal filtering and amplifying module a3, and feedback signal detection module a7, feedback signal 2 is input to MCU main control module a5 of the in vitro programmable control device;

[0036] Step 7: Determine whether the coil parameters and polarity meet the communication requirements: The MCU main control module a5 calculates the frequency, phase and polarity of the feedback signal, and determines whether the current coil parameters and coil polarity meet the communication requirements. If they meet the requirements, the adjustment of the coil parameters and polarity will be stopped. If not, the specific signal 1 will continue to be sent in a loop for judgment.

[0037] The beneficial effects of the present invention are as follows:

[0038] 1. The present invention integrates multiple coils of an external programmable device into one coil. This innovative design allows multiple types of implantable medical devices that use different internal coil parameters to correspond to only one external programmable device. This external programmable device has built-in coils that can switch different parameters. Through simple switching, it can communicate with multiple types of implantable medical devices. Theoretically, there is no upper limit to the number of compatible implantable medical devices. This improvement greatly improves the convenience of implantable medical device maintenance and significantly simplifies the operation difficulty for patients and doctors.

[0039] 2. The present invention adds a coil parameter measurement module. Since each section of the coil parameter is adjustable, the current coil hardware status can be accurately grasped through the measurement module, so that the coil parameters can be adjusted dynamically in real time according to the actual situation to ensure the optimization of the communication effect. In addition, the present invention can further dynamically adjust the coil parameters and coil polarity according to the signal fed back by the implantable medical device, which not only enhances the communication quality of the coil, but also significantly improves the communication distance.

[0040] 3. Through the design of the present invention, wireless near-field communication between two coils can be realized, further broadening the application scenarios. At the same time, the design of integrating coils with different parameters into one coil enables the in vitro programmable device to adapt to different types of implantable medical devices, further improving the convenience of maintenance and simplifying the user's operation difficulty. In particular, by changing the polarity of the coil, it is equivalent to changing the positive and negative placement of the coil, thereby achieving the purpose of enhancing the communication quality and communication distance, and providing a more reliable and efficient solution for the communication of implantable medical devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 It is a system block diagram of the original prior art of the present invention;

[0042] Figure 2 This is a block diagram of the improved system of the present invention;

[0043] Figure 3 For the present invention Figure 2 The expanded view of the coil assembly a1 and the coil control module a2;

[0044] Figure 4 is an expanded view of the coil assembly a1 of the present invention;

[0045] Figure 5 It is an expanded view of the coil control module a2 of the present invention;

[0046] Figure 6 For the present invention Figure 2 Expanded diagram of the feedback signal detection module a7 in the module;

[0047] Figure 7 This is a diagram of a frequency signal filtering and amplifying module in path 1 of the present invention;

[0048] Figure 8 This is a diagram of a phase signal filtering and amplifying module in path 2 of the present invention;

[0049] Fig. 9 This is a diagram of the amplitude signal filtering and amplifying module in path 3 of the present invention;

[0050] Fig.10 It is the software control flow chart of the present invention. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] like Figures 1 to 10 As shown, an embodiment of the present invention provides a circuit of an external program-controlled device for an implantable medical device, the circuit of the external program-controlled device comprising: an external program-controlled device A1 and an implantable medical device C1;

[0053] The external program control device A1 includes: a coil assembly a1, a coil control module a2, a signal filtering and amplifying module a3, a data signal shaping module a4, an MCU main control module a5, a host computer a6, and a feedback signal detection module a7;

[0054] The circuit includes 4 paths:

[0055] ①Sending signal path: MCU main control module a5 sends the signal to coil control module a2, and then the signal is sent out through coil group a1;

[0056] ② Receiving data signal path: The coil group a1 receives the induction signal, passes through the coil control module a2, the signal filtering and amplifying module a3, the data signal shaping module a4, and then reaches the MCU main control module a5;

[0057] ③ Feedback signal processing path: After the coil group a1 receives the feedback signal, it passes through the coil control module a2, the signal filtering and amplifying module a3, the feedback signal detection module a7, and then reaches the MCU main control module a5;

[0058] ④ Coil control path: MCU main control module a5 directly drives the coil control module to adjust the coil parameters and coil polarity.

[0059] The coil control module a2 includes: a2-1 area (coil parameter selection switch A), a2-2 area (coil parameter measurement switches D and E, DC power supply F, AC power supply G), and a2-3 area (coil polarity switching switches B and C);

[0060] Different coil port access devices need to automatically identify the parameters of the connected coil, dynamically adjust the parameters of the coil according to actual conditions, and measure the impedance and inductance of the connected coil through the parameter measurement module.

[0061] The coil groups with different parameters are combined in a coil series connection mode, where coils with different parameters are connected in series; the inductance value after the series connection is the sum of the inductances between each port.

[0062] like Figure 4As shown, coils with different parameters are connected in series by connecting coils in series. The inductance between the e-terminal and the k-terminal is L1; the inductance between the e-terminal and the h-terminal is L1+L2; the inductance between the e-terminal and the g-terminal is L1+L2+L3. The figure only shows three coils in series, and more coils can be connected in series. The inductance after series connection is L1+L2+L3+L4+…+Ln. The in vitro programmable control device can select different coil combinations through a single-pole multi-throw switch, and combine them into coils with different parameters for adaptation, which improves the convenience of using the in vitro programmable control device.

[0063] The feedback signal detection module a7 is composed of three paths:

[0064] Path 1: frequency signal filtering and amplification module, frequency acquisition module, data processing module;

[0065] Path 2: phase signal filtering and amplification module, phase acquisition module, data processing module;

[0066] Path 3: amplitude signal filtering and amplification module, amplitude acquisition module, data processing module;

[0067] Data processing module: For the calculated frequency value, phase and amplitude value, according to the frequency and amplitude value, calculate the amount of adjustment required for the current coil parameters. The adjustment ratio needs to be obtained based on the empirical value obtained from the experiment. According to the phase of the waveform, the coil polarity is obtained, and then the result is sent to the MCU main control module a5 for processing.

[0068] In addition to the feedback signal processing of frequency, phase and amplitude, feedback processing of other variables can also be added.

[0069] When communication starts, the feedback signal detection module a7 receives a feedback signal from the implantable medical device and performs waveform analysis based on the frequency, phase, and amplitude of the feedback signal. After the data is transmitted to the MCU main control module a5, it will determine how to adjust the coil parameters and coil polarity based on the frequency, phase, and amplitude of the signal. After multiple calibrations, the MCU main control module a5 will adjust the coil parameter gear and coil polarity to the best.

[0070] In channel 1, the frequency signal filtering and amplifying module, IN is the input port, and the output port is the OUT port. The frequency signal filtering and amplifying module filters and amplifies the feedback signal received from the IN port, and outputs it to the frequency acquisition module from the OUT port. The frequency acquisition module uses a high-speed AD acquisition chip to convert the received analog signal into a digital signal and store it in RAM; the data processing module analyzes the data and calculates the frequency value.

[0071] In path 2, the phase signal filtering and amplifying module, IN1 and IN2 are input ports, IN1 inputs the feedback signal, IN2 inputs the sent specific signal 1 or specific signal 2, and the output ports are OUT1 and OUT2 ports. The phase signal filtering and amplifying module filters and amplifies the signal received at the IN port, and outputs it to the phase acquisition module through the OUT port. The phase acquisition module uses a high-speed AD acquisition chip to collect the signal and stores it in RAM, then analyzes the data and calculates the phase values ​​at multiple times.

[0072] In path 3, the amplitude signal filtering and amplifying module, IN is the signal input port, and the output port is the OUT port. The amplitude signal filtering and amplifying module filters and amplifies the feedback signal received by the IN port, and outputs it to the amplitude acquisition module through the OUT port. The amplitude acquisition module uses a high-speed AD acquisition chip to collect data and store it in RAM. The data processing module analyzes the data and calculates the amplitude value.

[0073] Among them, the impedance measurement method based on the in vitro programmable device circuit is: the voltage of the port (S terminal) is collected by the MCU main control module a5, and the DC resistance value of the connected inductor is calculated by the resistance voltage division method;

[0074] Specifically: According to the instructions attached Figure 3 , switch A is turned to the measured coil position, the v and u ends of switch D are turned on, switch E is turned on, the a and n ends of switch B are turned on, the f and t ends of switch C are turned on, and the DC 5V voltage passes through the resistor R and the measured coil and finally reaches the ground.

[0075] Among them, the inductance measurement method based on the in vitro programmable control device circuit is: the peak voltage of the acquisition port (s end) is collected through the MCU main control module a5, and the current value of the resistor R at the peak voltage is calculated by Ohm's law, thereby calculating the impedance value of the coil. The working frequency F and the coil impedance value are known, and the inductance value of the measured coil is calculated by substituting them into the formula.

[0076] Specifically, according to the instructions attached Figure 3 , switch A is turned to the gear of the coil under test, the w and u ends of switch D are turned on, switch E is turned on, the a and n ends of switch B are turned on, the f and t ends of switch C are turned on, and the AC power supply G with a specific frequency F and a peak voltage of 5V passes through the resistor R and the coil under test and finally reaches the ground.

[0077] Wherein, the inductance measurement is based on calculating the inductance through impedance;

[0078] The formula for calculating inductance is: Inductance (mH) = Impedance (ohm) / (2*π*F (operating frequency));

[0079] Where impedance is the electrical impedance presented by the coil at the operating frequency, measured in ohms; F is the operating frequency, measured in hertz.

[0080] This formula is used to calculate the inductance based on known impedance and operating frequency.

[0081] After the measurement, the parameters of the coil are returned to the MCU main control module a5, and the MCU main control module a5 learns the parameters of the current coil, thereby recording the parameters of the currently connected coil;

[0082] During the communication process, the coil communication quality and communication distance are enhanced by adjusting the polarity of the coil.

[0083] The method for adjusting the coil polarity is: directly adjusting the switching coil polarity through different switches and different coil gears. This solution involves two types of coil polarities.

[0084] Specifically: switch A is turned to the required coil position, the j and u ends of switch D are conductive, switch E is not conductive, and the polarity of the coil is switched by switches B and C. Switch B's c and n are connected, and switch C's d and t are connected, which is one coil polarity; switch B's b and n are connected, and switch C's e and t are connected, which is another coil polarity.

[0085] Among them, the software control process based on the in vitro programmable device circuit is:

[0086] The first step is to measure the coil parameters: First, measure the impedance and inductance of each gear of coil group a1 through a2-2 of coil control module a2, and record them in detail;

[0087] Step 2: Communication starts and specific signal 1 is sent: When communication starts, MCU main control module a5 uses coil control module a2 and coil group a1 to send specific signal 1 to implantable medical device C1; after receiving the signal, C1 will send feedback signal 1;

[0088] Step 3: Process and receive feedback signal 1: The feedback signal is processed by coil assembly a1, coil control module a2, signal filtering and amplification module a3 and feedback signal detection module a7, and finally input into MCU main control module a5 of the in vitro programmable control device;

[0089] Step 4: Calculate coil parameters and adjust: MCU main control module a5 calculates the coil parameter value and the required polarity, and then controls the switch to switch to the coil position close to the calculated value through coil control module a2, and the polarity is also switched to the corresponding polarity;

[0090] Step 5, sending a specific signal 2 and receiving a feedback signal 2: the MCU main control module a5 of the in vitro programmable device sends a specific signal 2 to the implantable medical device C1 through the coil control module a2 and the coil group a1, and the implantable medical device C1 outputs a feedback signal 2 after receiving the signal;

[0091] Step 6: Processing and receiving feedback signal 2: After being processed by coil assembly a1, coil control module a2, signal filtering and amplifying module a3, and feedback signal detection module a7, feedback signal 2 is input to MCU main control module a5 of the in vitro programmable control device;

[0092] Step 7: Determine whether the coil parameters and polarity meet the communication requirements: The MCU main control module a5 calculates the frequency, phase and polarity of the feedback signal, and determines whether the current coil parameters and coil polarity meet the communication requirements. If they meet the requirements, the adjustment of the coil parameters and polarity will be stopped. If not, the specific signal 1 will continue to be sent in a loop for judgment.

[0093] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0094] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A circuit for an in vitro programmable control device for an implantable medical device, characterized in that: The circuit of the external program-controlled device includes: an external program-controlled device A1 and an implantable medical device C1; The external program control device A1 includes: a coil assembly a1, a coil control module a2, a signal filtering and amplifying module a3, a data signal shaping module a4, an MCU main control module a5, a host computer a6, and a feedback signal detection module a7; The circuit includes 4 paths: ①Sending signal path: MCU main control module a5 sends the signal to coil control module a2, and then the signal is sent out through coil group a1; ② Receiving data signal path: The coil group a1 receives the induction signal, passes through the coil control module a2, the signal filtering and amplifying module a3, the data signal shaping module a4, and then reaches the MCU main control module a5; ③ Feedback signal processing path: After the coil group a1 receives the feedback signal, it passes through the coil control module a2, the signal filtering and amplifying module a3, the feedback signal detection module a7, and then reaches the MCU main control module a5; ④ Coil control path: MCU main control module a5 directly drives the coil control module to adjust the coil parameters and coil polarity.

2. The circuit of the in vitro program control device for an implantable medical device according to claim 1, characterized in that: The coil control module a2 includes three parts: a2-1, a2-2 and a2-3; Different coil port access devices need to automatically identify the parameters of the connected coil, dynamically adjust the parameters of the coil according to actual conditions, and measure the impedance and inductance of the connected coil through the parameter measurement module.

3. The circuit of the in vitro program control device for an implantable medical device according to claim 1, characterized in that: The coil group with different parameters is combined into a coil series method, in which the coils with different parameters are connected in series; the inductance value after the series connection is the sum of the inductance between each port.

4. The circuit of the in vitro program control device for an implantable medical device according to claim 1, characterized in that: The feedback signal detection module a7 consists of three paths: Path 1: frequency signal filtering and amplification module, frequency acquisition module, data processing module; Path 2: phase signal filtering and amplification module, phase acquisition module, data processing module; Path 3: amplitude signal filtering and amplification module, amplitude acquisition module, data processing module; Data processing module: For the calculated frequency value, phase and amplitude value, according to the frequency and amplitude value, calculate the amount of adjustment required for the current coil parameters. The adjustment ratio needs to be obtained based on the empirical value obtained from the experiment. According to the phase of the waveform, the coil polarity is obtained, and then the result is sent to the MCU main control module a5 for processing.

5. The method of an in vitro programming device for an implantable medical device according to claim 2, characterized in that: The impedance measurement method based on the in vitro programmable control device circuit is: the port (S terminal) voltage is collected through the MCU main control module a5, and the DC resistance value of the connected inductor is calculated by the resistance voltage division method.

6. The method of an in vitro programming device for an implantable medical device according to claim 2, characterized in that: The inductance measurement method based on the in vitro programmable device circuit is: the peak voltage of the port is collected through the MCU main control module a5, and the current value of the resistor R at the peak voltage is calculated by Ohm's law, thereby calculating the impedance value of the coil. The working frequency F and the coil impedance value are known, and the inductance value of the measured coil is calculated by substituting them into the formula.

7. The method for in vitro programming of an implantable medical device according to claim 6, characterized in that: The inductance measurement is based on calculating the inductance through impedance; The formula for calculating inductance is: Inductance = Impedance / (2*π*F); Where impedance is the electrical impedance presented by the coil at the operating frequency, measured in ohms; F is the operating frequency, measured in hertz.

8. The method for in vitro programming of an implantable medical device according to claim 6, characterized in that: After the measurement, the parameters of the coil are returned to the MCU main control module a5, and the MCU main control module a5 learns the parameters of the current coil, thereby recording the parameters of the currently connected coil; During the communication process, the coil communication quality and communication distance are enhanced by adjusting the polarity of the coil.

9. The method for in vitro programming of an implantable medical device according to claim 8, characterized in that: The method for adjusting the coil polarity is: directly adjusting the switching coil polarity through different switches and different coil gears. This solution involves two coil polarities.

10. A method for programming an implantable medical device in vitro according to any one of claims 1 to 9, characterized in that: The software control process based on the in vitro programmable device circuit is: The first step is to measure the coil parameters: First, measure the impedance and inductance of each gear of coil group a1 through a2-2 of coil control module a2, and record them in detail; Step 2: Communication starts and specific signal 1 is sent: When communication starts, MCU main control module a5 uses coil control module a2 and coil group a1 to send specific signal 1 to implantable medical device C1; after receiving the signal, C1 will send feedback signal 1; Step 3: Process and receive feedback signal 1: The feedback signal is processed by coil assembly a1, coil control module a2, signal filtering and amplification module a3 and feedback signal detection module a7, and finally input into MCU main control module a5 of the in vitro programmable control device; Step 4: Calculate coil parameters and adjust: MCU main control module a5 calculates the coil parameter value and the required polarity, and then controls the switch to switch to the coil position close to the calculated value through coil control module a2, and the polarity is also switched to the corresponding polarity; Step 5, sending a specific signal 2 and receiving a feedback signal 2: the MCU main control module a5 of the in vitro programmable device sends a specific signal 2 to the implantable medical device C1 through the coil control module a2 and the coil group a1, and the implantable medical device C1 outputs a feedback signal 2 after receiving the signal; Step 6: Processing and receiving feedback signal 2: After being processed by coil assembly a1, coil control module a2, signal filtering and amplifying module a3, and feedback signal detection module a7, feedback signal 2 is input to MCU main control module a5 of the in vitro programmable control device; Step 7: Determine whether the coil parameters and polarity meet the communication requirements: The MCU main control module a5 calculates the frequency, phase and polarity of the feedback signal, and determines whether the current coil parameters and coil polarity meet the communication requirements. If they meet the requirements, the adjustment of the coil parameters and polarity will be stopped. If not, the specific signal 1 will continue to be sent in a loop for judgment.