Closed-loop vagus nerve regulation and control system based on myoelectricity and breathing feedback

By introducing a closed-loop regulation mechanism in the vagus nerve stimulation system, and using electromyography and respiratory feedback to adjust the electrical stimulation parameters, the problem that the existing system cannot be adjusted in real time is solved, and more efficient and personalized treatment effects are achieved.

CN118987488APending Publication Date: 2024-11-22THE PEOPLES HOSPITAL OF GUANGXI ZHUANG AUTONOMOUS REGION
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411110680.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing percutaneous vagus nerve stimulation system is an open-loop system, and it is impossible to adjust stimulation parameters according to the patient's real-time physiological status, limiting the treatment effect and comfort.

Method used

The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback is adopted to monitor the electromyography and respiratory signals in real time through signal processing and decision-making modules, calculate and adjust the intensity and frequency of vagus nerve electrical stimulation, and realize closed-loop regulation of vagus nerve electrical stimulation.

Benefits of technology

It improves the personalization and efficiency of treatment, provides a more effective and personalized menstrual pain management method, and adapts to changes in individual physiological state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118987488A_ABST
    Figure CN118987488A_ABST
Patent Text Reader

Abstract

The invention discloses a closed-loop vagus nerve regulation and control system based on myoelectricity and respiration feedback, and relates to the technical field of medical treatment. The closed-loop vagus nerve regulation and control system mainly comprises a signal processing and decision-making module, a myoelectricity signal detection module, a respiration signal detection module and a vagus nerve stimulation module. The electromyographic signal detection module is used for transmitting electromyographic signals collected by an electromyographic signal collection electrode in real time to the signal processing and decision-making module, and the respiration signal detection module is used for transmitting respiration signals collected by a respiration sensor in real time to the signal processing and decision-making module. The signal processing and decision-making module calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve regulation and control algorithm according to the received electromyographic signal and the respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module, so that closed-loop regulation and control of vagus nerve electrical stimulation can be realized, and the electrical stimulation efficiency is improved. And the treatment individuation and efficiency are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of medical technology, and in particular to a closed-loop vagus nerve regulation system based on myoelectricity and respiratory feedback. Background Art

[0002] Transcutaneous auricular vagus nerve stimulation (taVNS) is a method of treating various nerve-related diseases, including but not limited to epilepsy, depression, pain, headache, etc., by low-frequency electrical stimulation of the distal branches of the vagus nerve in the ear. However, taVNS in the prior art is mostly an open-loop system, that is, the stimulation parameters (such as frequency and intensity) are set before stimulation and remain unchanged throughout the treatment process, and cannot be adjusted according to the patient's real-time physiological state, thereby limiting the treatment effect and patient comfort.

[0003] Since the electromyographic signal, as feedback of vagus nerve stimulation, can reflect the activity and tension of the lower abdominal muscles of female subjects, it is helpful to identify the physiological changes in the lower abdomen during menstrual pain attacks; and the respiratory signal reflects the relaxation state of the human body and the activity of the autonomic nervous system. By monitoring the changes in the breathing pattern, the timing and intensity of vagus nerve stimulation can be further optimized to adapt to the individual's physiological state; therefore, the present invention dynamically triggers vagus stimulation and adjusts the vagus nerve electrical stimulation parameters by real-time monitoring of electromyographic signals and breathing patterns to improve the personalization and efficiency of treatment, especially in the application of menstrual pain management scenarios. Summary of the invention

[0004] In order to overcome the shortcomings of the prior art, the purpose of the present invention is to provide a closed-loop vagus nerve regulation system based on electromyography and respiratory feedback, which mainly includes a signal processing and decision-making module, an electromyography signal detection module, a respiratory signal detection module, and a vagus nerve stimulation module; the signal processing and decision-making module calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve regulation algorithm according to the received electromyography signal and respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module, thereby realizing closed-loop regulation of vagus nerve electrical stimulation, which can not only improve the personalization and efficiency of treatment, but also provide a more effective and personalized menstrual pain management method by adapting to changes in the individual's physiological state.

[0005] In order to achieve the above-mentioned object, the technical solution adopted by the present invention is: the closed-loop vagus nerve regulation system mainly includes a signal processing and decision-making module, an electromyographic signal detection module, a respiratory signal detection module, and a vagus nerve stimulation module;

[0006] The electromyographic signal detection module is used to transmit the electromyographic signal collected in real time by the electromyographic signal collection electrode to the signal processing and decision-making module, and the respiratory signal detection module is used to transmit the respiratory signal collected in real time by the respiratory sensor to the signal processing and decision-making module;

[0007] The signal processing and decision-making module calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve control algorithm according to the received electromyographic signal and the respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module, thereby realizing closed-loop control of vagus nerve electrical stimulation;

[0008] The vagus nerve stimulation module is used to output the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve skin end of the human body through the vagus nerve stimulation electrode;

[0009] The closed-loop vagal nerve regulation algorithm includes the following steps:

[0010] S1: Processing the electromyographic signal to extract characteristic values;

[0011] The electromyographic signal is represented by EMG, and the time is represented by t. A bandpass filter is used to filter out the noise of the non-target frequency of the electromyographic signal, and then:

[0012] Formula 1: EMG filtered( t) = BPFiltered(EMG(t)),

[0013] Among them, BPFiltered represents a bandpass filter, EMG filtered represents the electromyographic signal after noise removal;

[0014] The feature extraction of the electromyographic signal after noise removal is performed, and then:

[0015] Formula 2:

[0016] Wherein, RMS represents the characteristic value of the electromyographic signal, and N is the number of sampling points;

[0017] Formula 1 is the method for processing the electromyographic signal, and Formula 2 is the method for extracting the features of the electromyographic signal;

[0018] S2: Processing the respiratory signal to extract characteristic values;

[0019] The respiratory signal is represented by Resp, and time is represented by t. By calculating the respiratory cycle, the local maximum and minimum of Resp(t) are found to identify the peak and trough of the respiratory wave, that is, the local maximum of Resp(t) is the peak of the respiratory wave, and the local minimum of Resp(t) is the trough of the respiratory wave;

[0020] S3: calculating the electrical stimulation intensity and the electrical stimulation frequency;

[0021] The electrical stimulation intensity is represented by I, then:

[0022] Formula 3: I=I base +α×(RMS-RMS base ),

[0023] Among them, I base Indicates the basic electrical stimulation intensity, RMS base represents the basic electromyographic signal characteristic value, α is the adjustment coefficient;

[0024] The electrical stimulation frequency is represented by f, then:

[0025] Formula 4: f = f base +β×(ΔResp-ΔResp base ),

[0026] Among them, f base Represents the basic electrical stimulation frequency, ΔResp is the difference between the current respiratory cycle and the baseline respiratory cycle, ΔResp base is the baseline respiratory cycle difference;

[0027] Formula 3 is the calculation method of the electrical stimulation intensity, and Formula 4 is the calculation method of the electrical stimulation frequency;

[0028] The step S1 is used to implement preprocessing and feature extraction of the electromyographic signal, the step S2 is used to determine the best time for electrical stimulation, and the step S3 is used to determine the intensity and frequency of electrical stimulation to perform fine-tuning in combination with the patient's comfort feedback, thereby achieving closed-loop control of electrical stimulation;

[0029] The signal processing and decision-making module is electrically connected to the electromyographic signal detection module, the respiratory signal detection module, and the vagus nerve stimulation module respectively; the electromyographic signal detection module is connected to the electromyographic signal acquisition electrode via a signal line; the respiratory signal detection module receives data from the respiratory sensor via a wireless signal; and the vagus nerve stimulation module is connected to the vagus nerve stimulation electrode via a signal line.

[0030] Furthermore, the respiratory sensor is a wireless surface respiratory sensor, comprising two electrodes, one of which is attached below the right clavicle, and the other is attached to the left side of the navel.

[0031] Furthermore, the closed-loop vagus nerve regulation system also includes a user interface, which is used by medical personnel or patients to adjust the initial settings of the electrical stimulation intensity and the electrical stimulation frequency, and display real-time monitoring data and stimulation status; the user interface is implemented using a liquid crystal display, and the signal processing and decision-making module transmits data with the user interface through a data interface.

[0032] Furthermore, the signal processing and decision-making module mainly includes a microcontroller, which is used to receive the electromyographic signal and the respiratory signal, calculate the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve regulation algorithm, and transmit the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module.

[0033] Furthermore, the electromyographic signal detection module mainly includes an analog-to-digital conversion chip, and the analog-to-digital conversion chip is used to detect the electromyographic signal.

[0034] Furthermore, the breathing signal detection module mainly includes a Wi-Fi Bluetooth module, and the Wi-Fi Bluetooth module is used to receive data transmitted by the breathing sensor through wireless signals.

[0035] Furthermore, the vagus nerve stimulation module mainly includes a photoelectric coupling isolator, a field effect transistor, and an amplifier; the photoelectric coupling isolator is used to isolate the electrical stimulation intensity and the electrical stimulation frequency, the field effect transistor is used as a pulse modulator or a switching regulator controller for the electrical stimulation intensity and the electrical stimulation frequency, and the amplifier is used to amplify and filter the electrical stimulation intensity and the electrical stimulation frequency.

[0036] Furthermore, the microcontroller is a 32-bit high-density high-performance circuit microcontroller unit with 512kB flash memory.

[0037] Furthermore, the analog-to-digital conversion chip has a built-in programmable gain amplifier, an internal reference and an onboard oscillator.

[0038] The working principle of the closed-loop vagus nerve regulation system is as follows:

[0039] Step 1: According to the patient's condition, the electromyographic signal acquisition electrode and the vagus nerve stimulation electrode are attached to the target area of ​​the human body, and one electrode point of the wireless sensor is attached below the right clavicle, and the other electrode point is attached to the left side of the navel;

[0040] Step 2: The medical staff or the patient adjusts the initial settings of the electrical stimulation intensity and the electrical stimulation frequency through the user interface, and then turns on the device;

[0041] Step 3: The electromyographic signal acquisition electrode transmits the electromyographic signal acquired in real time to the signal processing and decision-making module through the electromyographic signal detection module; the respiratory sensor transmits the respiratory signal acquired in real time to the signal processing and decision-making module through the respiratory signal detection module;

[0042] Step 4: the signal processing and decision-making module calculates the electrical stimulation intensity and the electrical stimulation frequency through the closed-loop vagus nerve regulation algorithm according to the received electromyographic signal and the respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module;

[0043] Step 5: The vagus nerve stimulation module outputs the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve skin end of the human body through the vagus nerve stimulation electrode.

[0044] By repeating the above steps from the third to the fifth step, closed-loop regulation of vagus nerve electrical stimulation is achieved, which not only improves the personalization and efficiency of treatment, but also provides a more effective and personalized method of menstrual pain management by adapting to changes in the individual's physiological state.

[0045] Compared with the prior art, the closed-loop vagus nerve regulation system based on electromyography and respiratory feedback provided by the present invention mainly includes a signal processing and decision-making module, an electromyography signal detection module, a respiratory signal detection module, and a vagus nerve stimulation module; the electromyography signal detection module is used to transmit the electromyography signal collected in real time by the electromyography signal collection electrode to the signal processing and decision-making module, and the respiratory signal detection module is used to transmit the respiratory signal collected in real time by the respiratory sensor to the signal processing and decision-making module. The signal processing and decision-making module calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve regulation algorithm based on the received electromyography signal and respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module, thereby realizing closed-loop regulation of vagus nerve electrical stimulation, which not only improves the personalization and efficiency of treatment, but also provides a more effective and personalized menstrual pain management method by adapting to changes in the individual's physiological state. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 It is a system composition block diagram of a closed-loop vagus nerve regulation system based on electromyography and respiratory feedback provided by an embodiment of the present invention.

[0048] Figure 2 It is a circuit schematic diagram of a signal processing and decision-making module of a closed-loop vagus nerve regulation system based on electromyography and respiratory feedback provided in an embodiment of the present invention.

[0049] Figure 3 It is a circuit schematic diagram of an electromyographic signal detection module of a closed-loop vagus nerve regulation system based on electromyographic and respiratory feedback provided in an embodiment of the present invention.

[0050] Figure 4 It is a circuit schematic diagram of a respiratory signal detection module of a closed-loop vagus nerve regulation system based on electromyography and respiratory feedback provided in an embodiment of the present invention.

[0051] Figure 5 It is a circuit schematic diagram of a vagus nerve stimulation module of a closed-loop vagus nerve regulation system based on electromyography and respiratory feedback provided in an embodiment of the present invention.

[0052] Figure 6 It is a schematic diagram of the electrode position pasting of a respiratory sensor of a closed-loop vagus nerve regulation system based on electromyography and respiratory feedback provided in an embodiment of the present invention.

[0053] The markings in the above figure are 1. closed-loop vagus nerve regulation system; 10. signal processing and decision-making module; 11. electromyographic signal detection module; 12. respiratory signal detection module; 13. vagus nerve stimulation module; 14. user interface; 111. electromyographic signal acquisition electrode; 121. respiratory sensor; 131. vagus nerve stimulation electrode; 01. human body. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail 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 invention and are not intended to limit the present invention.

[0055] The same or similar numbers in the drawings of this embodiment correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, it is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and cannot be understood as limitations on the present invention. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.

[0056] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0057] like Figures 1 to 6 The figure shows a preferred embodiment of the present invention.

[0058] Reference Figure 1 , the closed-loop vagus nerve regulation system 1 provided in this embodiment mainly includes a signal processing and decision-making module 10, an electromyographic signal detection module 11, a respiratory signal detection module 12, and a vagus nerve stimulation module 13;

[0059] The electromyographic signal detection module 11 is used to transmit the electromyographic signal collected in real time by the electromyographic signal collection electrode 111 to the signal processing and decision-making module 10, and the respiratory signal detection module 12 is used to transmit the respiratory signal collected in real time by the respiratory sensor 121 to the signal processing and decision-making module 10;

[0060] The signal processing and decision module 10 calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve control algorithm according to the received electromyographic signal and the respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module 13, thereby realizing closed-loop control of vagus nerve electrical stimulation;

[0061] The vagus nerve stimulation module 13 is used to output the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve skin end of the human body 01 through the vagus nerve stimulation electrode 131;

[0062] The closed-loop vagal control algorithm consists of the following steps:

[0063] S1: Process the electromyographic signal to extract feature values;

[0064] The electromyographic signal is represented by EMG, and the time is represented by t. A bandpass filter is used to filter out the noise of non-target frequencies of the electromyographic signal, and then:

[0065] Formula 1: EMG filtered (t) = BPFiltered(EMG(t)),

[0066] Among them, BPFiltered represents a bandpass filter, EMG filtered represents the electromyographic signal after noise removal;

[0067] After removing the noise, the feature extraction of the electromyographic signal is:

[0068] Formula 2:

[0069] Among them, RMS represents the characteristic value of the electromyographic signal, and N is the number of sampling points;

[0070] Formula 1 is the method for processing electromyographic signals, and Formula 2 is the method for extracting features of electromyographic signals;

[0071] S2: Process the respiratory signal to extract feature values;

[0072] The respiratory signal is represented by Resp, and the time is represented by t. By calculating the respiratory cycle, the local maximum and minimum values ​​of Resp(t) are found to identify the peak and trough of the respiratory wave. That is, the local maximum value of Resp(t) is the peak of the respiratory wave, and the local minimum value of Resp(t) is the trough of the respiratory wave.

[0073] S3: Calculate the intensity and frequency of electrical stimulation;

[0074] The intensity of electrical stimulation is represented by I, then:

[0075] Formula 3: I=I base +α×(RMS-RMS base ),

[0076] Among them, I base Indicates the basic electrical stimulation intensity, RMS base represents the basic electromyographic signal characteristic value, α is the adjustment coefficient;

[0077] The frequency of electrical stimulation is represented by f, then:

[0078] Formula 4: f = f base +β×(ΔResp-ΔResp base ),

[0079] Among them, f base Represents the basic electrical stimulation frequency, ΔResp is the difference between the current respiratory cycle and the baseline respiratory cycle, ΔResp base is the baseline respiratory cycle difference;

[0080] Formula 3 is the calculation method of the electrical stimulation intensity, and Formula 4 is the calculation method of the electrical stimulation frequency;

[0081] Step S1 is used to realize preprocessing and feature extraction of electromyographic signals, step S2 is used to determine the best time for electrical stimulation, and step S3 is used to determine the intensity and frequency of electrical stimulation to make fine adjustments in combination with the patient's comfort feedback, thereby realizing closed-loop control of electrical stimulation;

[0082] The signal processing and decision-making module 10 is electrically connected to the electromyographic signal detection module 11, the respiratory signal detection module 12, and the vagus nerve stimulation module 13 respectively. The electromyographic signal detection module 11 is connected to the electromyographic signal acquisition electrode 111 through a signal line, the respiratory signal detection module 12 receives data from the respiratory sensor 121 through a wireless signal, and the vagus nerve stimulation module 13 is connected to the vagus nerve stimulation electrode 131 through a signal line.

[0083] The closed-loop vagus nerve regulation system 1 based on electromyography and respiratory feedback provided by the above technical solution mainly includes a signal processing and decision-making module 10, an electromyography signal detection module 11, a respiratory signal detection module 12, and a vagus nerve stimulation module 13; the electromyography signal detection module 11 is used to transmit the electromyography signal collected in real time by the electromyography signal collection electrode 111 to the signal processing and decision-making module 10, and the respiratory signal detection module 12 is used to transmit the respiratory signal collected in real time by the respiratory sensor 121 to the signal processing and decision-making module 10. The signal processing and decision-making module 10 calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve regulation algorithm based on the received electromyography signal and respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module 13, thereby realizing closed-loop regulation of vagus nerve electrical stimulation, which not only improves the personalization and efficiency of treatment, but also provides a more effective and personalized menstrual pain management method by adapting to changes in the individual's physiological state.

[0084] Preferably, the respiration sensor 121 is a wireless surface respiration sensor 121, comprising two electrodes, one of which is attached below the right clavicle, and the other is attached to the left side of the navel.

[0085] Preferably, refer to Figure 1 The closed-loop vagus nerve regulation system 1 also includes a user interface 14, which is used by medical personnel or patients to adjust the initial settings of the electrical stimulation intensity and the electrical stimulation frequency, and display real-time monitoring data and stimulation status; the user interface 14 is implemented using a liquid crystal display, and the signal processing and decision module 10 transmits data with the user interface 14 through a data interface.

[0086] Specifically, refer to Figure 2 The signal processing and decision module 10 includes a microcontroller unit U7, a crystal oscillator Y1, a capacitor C22, a capacitor C24, a resistor R23, a resistor R28, a resistor R29, a resistor R30, a light-emitting diode D6, a light-emitting diode D7, and a light-emitting diode D8; the model of the microcontroller unit U7 is STM32F103VET6, which is a 32-bit high-density and high-performance line microcontroller unit with 512kB flash memory. The microcontroller unit U7 is used to receive electromyographic signals and respiratory signals, calculate the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve control algorithm, and transmit the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module 13; the crystal oscillator Y1 is used to provide an external clock for the microcontroller unit U7;

[0087] Pin 10 of the microcontroller unit U7 is grounded, pin 11 of the microcontroller unit U7 is connected to a voltage of 3.3V, pin 12 of the microcontroller unit U7 is respectively connected to pin 1 of the crystal oscillator Y1 and one end of the capacitor C22, pin 2 of the crystal oscillator Y1 is connected to the other end of the capacitor C22 and then grounded, pin 13 of the microcontroller unit U7 is respectively connected to one end of the capacitor C24 and pin 3 of the crystal oscillator Y1, the other end of the capacitor C24 is grounded, pin 4 of the crystal oscillator Y1 is grounded, pin 19 of the microcontroller unit U7 is connected to pin 20 and then grounded, pin 21 of the microcontroller unit U7 is connected to pin 22 and then connected to an analog voltage, pin 27 of the microcontroller unit U7 is grounded, pin 28 of the microcontroller unit U7 is connected to a voltage of 3.3V, pin 49 of the microcontroller unit U7 is grounded, and pin 50 of the microcontroller unit U7 is connected to a voltage of 3. 3V, pin 64 of microcontroller unit U7 is connected to one end of resistor R28, pin 65 of microcontroller unit U7 is connected to one end of resistor R29, pin 65 of microcontroller unit U7 is connected to one end of resistor R30, the other end of resistor R28 is connected to the positive electrode of light-emitting diode D6, the other end of resistor R29 is connected to the positive electrode of light-emitting diode D7, the other end of resistor R30 is connected to the positive electrode of light-emitting diode D8, the negative electrode of light-emitting diode D6, the negative electrode of light-emitting diode D7 and the negative electrode of light-emitting diode D8 are connected and grounded, pin 74 of microcontroller unit U7 is grounded, pin 75 of microcontroller unit U7 is connected to voltage 3.3V, pin 94 of microcontroller unit U7 is grounded through resistor R23, pin 99 of microcontroller unit U7 is grounded, and pin 100 of microcontroller unit U7 is connected to voltage 3.3V;

[0088] Pin 17 of the microcontroller unit U7 is the PWDN terminal, and pin 16 of the microcontroller unit U7 is the PWDN2 terminal, which are used for enabling control; pin 43 of the microcontroller unit U7 is the START1 terminal, and pin 42 of the microcontroller unit U7 is the START2 terminal, which are used to output a start signal; pin 51 of the microcontroller unit U7 is connected to the SPI2_NSS terminal, and pin 63 of the microcontroller unit U7 is connected to the SPI2_NSS2 terminal, which is the chip select signal line of the SPI bus in the SP2 working mode; pin 54 of the microcontroller unit U7 is connected to the SPI2_MOSI terminal, which is used for data output of the SPI bus in the SP2 working mode; Pin 52 is connected to the SPI2_SCK terminal, which is used for the serial port clock of the SPI bus in the SP2 working mode; pin 53 of the microcontroller unit U7 is connected to the SPI2_MISO terminal, which is used for the data input of the SPI bus in the SP2 working mode; pin 46 of the microcontroller unit U7 is connected to the DRDY1 terminal, and pin 67 of the microcontroller unit U7 is connected to the DRDY2 terminal, which is the data ready signal of the SPI bus in the SP2 working mode; pin 36 of the microcontroller unit U7 is the PWM1 terminal, and pin 35 of the microcontroller unit U7 is the PWM2 terminal, which is used to output a pulse control signal, and pin 23 of the microcontroller unit U7 is the ADC0 terminal, which is the digital-to-analog conversion channel.

[0089] Specifically, refer to Figure 3 The electromyographic signal detection module 11 mainly includes an analog-to-digital conversion chip U10 and a crystal oscillator Y3; the analog-to-digital conversion chip U10 is used to detect the electromyographic signal, and the crystal oscillator Y3 is used to provide an external clock for the analog-to-digital conversion chip U10;

[0090] Pin 1 of the analog-to-digital conversion chip U10 is connected to pin 2 of the analog-to-digital conversion chip U10 through capacitor C46. Pin 3 of the analog-to-digital conversion chip U10 is connected in sequence to one end of capacitor C43, one end of resistor R63, one end of capacitor C45 and one end of resistor R62. The other end of capacitor C43 is connected to analog ground. Resistor R62 is connected to pin 2 of connector J6 through one end of dual-voltage regulator diode DC11. The other end of dual-voltage regulator diode DC11 is connected to analog ground. Pin 2 of connector J6 is connected to the positive electrode of electromyographic signal collection electrode 11102 through a signal line. Pin 4 of the analog-to-digital conversion chip U10 is connected to one end of the capacitor C47, the other end of the resistor R63, the other end of the capacitor C45 and one end of the resistor R64 in sequence, the other end of the capacitor C47 is connected to the analog ground, the resistor R64 is connected to pin 4 of the connector J6 through one end of the dual-voltage regulator diode DC12, the other end of the dual-voltage regulator diode DC12 is connected to the analog ground, pin 4 of the connector J6 is connected to the negative electrode of the electromyographic signal collection electrode 11102 through a signal line, pin 9 of the analog-to-digital conversion chip U10 is connected to one end of the capacitor C66 and one end of the capacitor C67 respectively, and the analog Pin 11 of the digital conversion chip U10 is connected to one end of the capacitor C75, pin 10 of the analog-to-digital conversion chip U10 is connected to the other end of the capacitor C66, the other end of the capacitor C67 and the other end of the capacitor C75 and then connected to a voltage of -2.5V, pin 12 of the analog-to-digital conversion chip U10 passes through one end of the capacitor C101 and one end of the capacitor C100 in turn and then is connected to a voltage of 2.5V, the other end of the capacitor C101 is connected to the other end of the capacitor C100 and then is connected to the analog ground, pin 13 of the analog-to-digital conversion chip U10 passes through one end of the capacitor C102 and the capacitor C103 in turn. The pin 17 of the analog-to-digital conversion chip U10 is connected to the pin 3 of the crystal oscillator Y3, the pin 2 of the crystal oscillator Y3 is grounded, the pin 1 and the pin 4 of the crystal oscillator Y3 are connected to the voltage 3.3V and one end of the capacitor C64, and the other end of the capacitor C64 is grounded;

[0091] Pin 15 of the analog-to-digital conversion chip U10 is connected to the PWDN2 terminal, pin 16 of the analog-to-digital conversion chip U10 is connected to the START2 terminal, pin 18 of the analog-to-digital conversion chip U10 is connected to the SPI2_NSS2 terminal, pin 19 of the analog-to-digital conversion chip U10 is connected to the SPI2_MOSI terminal, pin 20 of the analog-to-digital conversion chip U10 is connected to the SPI2_SCK terminal, pin 21 of the analog-to-digital conversion chip U10 is connected to the SPI2_MISO terminal, and pin 22 of the analog-to-digital conversion chip U10 is connected to the DRDY2 terminal;

[0092] Pin 23 of the analog-to-digital conversion chip U10 is connected to one end of capacitor C48, one end of capacitor C49 and voltage 3.0V in sequence. The other end of capacitor C48 is connected to the other end of capacitor C49 and then grounded. Pin 24 of the analog-to-digital conversion chip U10 is grounded. Pin 27 of the analog-to-digital conversion chip U10 is connected to voltage -2.5V through capacitor C44. Pin 29 of the analog-to-digital conversion chip U10 is connected to one end of resistor R60. Pin 30 of the analog-to-digital conversion chip U10 is connected to one end of resistor R59. The other end of resistor R60 is connected to the other end of resistor R59 and then connected to one end of resistor R61 and one end of capacitor C42 respectively. The other end of resistor R61 is connected to the other end of capacitor C42. Pin 33 of the analog-to-digital conversion chip U10 is connected to analog ground.

[0093] Specifically, refer to Figure 4 , the breathing signal detection module 12 includes a Wi-Fi Bluetooth module U3, a capacitor C33, a capacitor C34, a capacitor C35, a resistor R35, and a resistor R60; the Wi-Fi Bluetooth module U3 is used to receive data transmitted by the breathing sensor 121 through a wireless signal;

[0094] Pin 1 of the Wi-Fi Bluetooth module U3 is grounded, pin 3 of the Wi-Fi Bluetooth module U3 is respectively connected to one end of capacitor C35 and one end of resistor R35, the other end of capacitor C35 is grounded, and the other end of resistor R35 is connected to the circuit voltage 3.3V, pin 2 of the Wi-Fi Bluetooth module U3 is connected to the circuit voltage 3.3V after passing through one end of capacitor C34 and one end of capacitor C33, the other end of capacitor C33 is connected to the other end of capacitor C34 and then grounded, pin 15 of the Wi-Fi Bluetooth module U3 is grounded, pin 23 of the Wi-Fi Bluetooth module U3 is connected to the circuit voltage 3.3V through resistor R60, and pins 38, 39, 40, 41, 42, 43, 44, 45, 46, and 47 of the Wi-Fi Bluetooth module U3 are connected and then grounded;

[0095] Pin 25 of the Wi-Fi Bluetooth module U3 is connected to the power-on port BOOT_ESP through resistor R36, pin 34 of the Wi-Fi Bluetooth module U3 is the data receiving end RXD for communicating with the host computer, pin 35 of the Wi-Fi Bluetooth module U3 is the data sending end TXD for communicating with the microcontroller unit U7, pin 27 of the Wi-Fi Bluetooth module U3 is the Bluetooth data receiving end BT_RX for communicating with the microcontroller unit U7, and pin 28 of the Wi-Fi Bluetooth module U3 is the Bluetooth data sending end BT_TX for communicating with the breathing sensor 121.

[0096] Preferably, the model of the Wi-Fi Bluetooth module U3 is ESP32-WROOM-32E, which uses a PCB onboard antenna, a Wi-Fi+Bluetooth+Bluetooth LE MCU module, is powerful, and integrates Wi-Fi, traditional Bluetooth, and low-power Bluetooth functions.

[0097] Specifically, refer to Figure 5 The vagus nerve stimulation module 13 mainly includes a photoelectric coupling isolator U12, a photoelectric coupling isolator U13, a field effect transistor Q4, a field effect transistor Q5, an amplifier U8A, and an amplifier U8B; the photoelectric coupling isolator U12 and the photoelectric coupling isolator U13 are used for stimulation signal isolation, the field effect transistor Q4 and the field effect transistor Q5 are used as a pulse modulator or a switching voltage regulator controller of the stimulation signal, and the amplifier U8A and the amplifier U8B are used for stimulation signal amplification and filtering;

[0098] Pin 1 of the optocoupler isolator U12 is connected to the PWM1 end through the resistor R97, pin 3 of the optocoupler isolator U12 is grounded, pin 4 of the optocoupler isolator U12 is connected to the analog ground, pin 5 of the optocoupler isolator U12 is respectively connected to one end of the resistor R6, one end of the resistor R35 and one end of the resistor R37, and pin 6 of the optocoupler isolator U12 is respectively connected to the other end of the resistor R6 and the analog voltage 3.3V; pin 1 of the field effect tube Q4 is connected to the analog ground, pin 2 of the field effect tube Q4 is connected to the other end of the resistor R35, and pin 3 of the field effect tube Q4 is connected to the resistor R41 One end of the FET Q4 is connected to the analog ground, the pin 5 of the FET Q4 is connected to the other end of the resistor R37, and the pin 6 of the FET Q4 is connected to one end of the resistor R39; the other end of the resistor R39 is respectively connected to the base of the transistor Q7 and one end of the resistor R33, the other end of the resistor R33 is respectively connected to one end of the capacitor C33 and the voltage 25V after passing through the emitter of the transistor Q7, the other end of the capacitor C33 is connected to the analog ground, the collector of the transistor Q7 is respectively connected to one end of the resistor R43 and one end of the dual voltage regulator diode DC9, and one end of the dual voltage regulator diode DC9 is also connected to the terminal CH A1, terminal CHA1 is connected to the positive electrode of the vagus nerve stimulation electrode 131 through a signal line, the other end of the dual-voltage stabilizer diode DC9 is connected to the analog ground, the other end of the resistor R43 is connected to the collector of the transistor Q8, the emitter of the transistor Q8 is respectively connected to one end of the resistor R53, one end of the resistor R55 and the ADC0 end, the other end of the resistor R55 is connected to the analog ground, the base of the transistor Q8 is respectively connected to one end of the capacitor C38 and one end of the resistor R49, the other end of the capacitor C38 is connected to the analog ground, the other end of the resistor R49 is respectively connected to one end of the capacitor C55 and the output end of the amplifier U8A, and the The other end of capacitor C55 is respectively connected to the other end of resistor R53 and the inverting input end of amplifier U8A, the negative power supply of amplifier U8A is connected to analog ground, the positive power supply of amplifier U8A is respectively connected to analog voltage 3.3V and one end of capacitor C35, the other end of capacitor C35 is grounded, the non-inverting input end of amplifier U8A is respectively connected to the other end of resistor R41, one end of resistor R51, one end of resistor R45 and one end of capacitor C36 through resistor R46, the other end of capacitor C36 is connected to analog ground, the other end of resistor R51 is connected to analog ground, and the other end of resistor R45 is connected to terminal DAC1S;

[0099] Pin 1 of the photoelectric coupling isolator U13 is connected to the PWM2 terminal through the resistor R97, pin 3 of the photoelectric coupling isolator U13 is grounded, pin 4 of the photoelectric coupling isolator U13 is connected to the analog ground, pin 5 of the photoelectric coupling isolator U13 is respectively connected to one end of the resistor R109, one end of the resistor R36 and one end of the resistor R38, and pin 6 of the photoelectric coupling isolator U13 is respectively connected to the other end of the resistor R109 and the analog voltage 3.3V; pin 1 of the field effect transistor Q5 is connected to the analog ground, and pin 2 of the field effect transistor Q5 is connected to the other end of the resistor R36. The pin 3 of the field effect tube Q5 is connected to one end of the resistor R42, the pin 4 of the field effect tube Q5 is connected to the analog ground, the pin 5 of the field effect tube Q5 is connected to the other end of the resistor R38, and the pin 6 of the field effect tube Q5 is connected to one end of the resistor R40; the other end of the resistor R40 is respectively connected to the base of the transistor Q6 and one end of the resistor R34, the other end of the resistor R34 is connected to the voltage 25V after passing through one end of the capacitor C34 and the emitter of the transistor Q6 in sequence, the other end of the capacitor C34 is connected to the analog ground, and the collector of the transistor Q6 is respectively connected to one end of the resistor R44. The first terminal of the bi-stabilizer diode DC10 is connected to the first terminal of the bi-stabilizer diode DC10, and the first terminal of the bi-stabilizer diode DC10 is also connected to the terminal CHA2. The terminal CHA2 is connected to the cathode of the vagus nerve stimulation electrode 131 through the signal line. The other terminal of the bi-stabilizer diode DC10 is connected to the analog ground. The other terminal of the resistor R44 is connected to the collector of the transistor Q9. The emitter of the transistor Q9 is respectively connected to one end of the resistor R54 and one end of the resistor R56. The other terminal of the resistor R56 is connected to the analog ground. The base of the transistor Q9 is respectively connected to one end of the capacitor C39 and one end of the resistor R50. The capacitor C3 The other end of 9 is connected to the analog ground, the other end of the resistor R50 is respectively connected to one end of the capacitor C56 and the output end of the amplifier U8B, the other end of the capacitor C56 is respectively connected to the other end of the resistor R54 and the inverting input end of the amplifier U8B, the non-inverting input end of the amplifier U8B is respectively connected to the other end of the resistor R42, one end of the resistor R52, one end of the resistor R48 and one end of the capacitor C37 through the resistor R47, the other end of the capacitor C37 is connected to the analog ground, the other end of the resistor R52 is connected to the analog ground, and the other end of the resistor R48 is connected to the terminal DAC1S.

[0100] Preferably, the model of the analog-to-digital conversion chip U10 is ADS1292IRSMT, which has a built-in programmable gain amplifier, an internal reference and an onboard oscillator.

[0101] Preferably, the model of amplifier U8A and amplifier U8B is GS8552-SR.

[0102] Preferably, the models of the photoelectric coupling isolator U12 and the photoelectric coupling isolator U13 are TLP109, and the models of the field effect transistor Q4 and the field effect transistor Q5 are 2N7002KDW.

[0103] Specifically, the transistor Q7 and the transistor Q6 are PNP transistors, and the transistor Q8 and the transistor Q9 are NPN transistors.

[0104] The working principle of the closed-loop vagus nerve regulation system 1 is as follows:

[0105] Step 1: According to the patient's condition, the electromyographic signal acquisition electrode 111 and the vagus nerve stimulation electrode 131 are attached to the target area of ​​the human body 01;

[0106] The two electrodes of the wireless sensor are pasted at positions such as Figure 6 As shown, one electrode point is attached to the lower middle part of the right clavicle, and the other electrode point is attached to the fist position to the upper right of the left side of the navel;

[0107] Step 2: The medical staff or the patient adjusts the initial settings of the electrical stimulation intensity and the electrical stimulation frequency through the user interface 14; then turns on the device;

[0108] Step 3: The electromyographic signal acquisition electrode 111 transmits the electromyographic signal acquired in real time to the signal processing and decision-making module 10 through the electromyographic signal detection module 11; the respiration sensor 121 transmits the respiration signal acquired in real time to the signal processing and decision-making module 10 through the respiration signal detection module 12;

[0109] Step 4: The signal processing and decision module 10 calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve control algorithm according to the received electromyographic signal and the respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module 13;

[0110] Step 5: The vagus nerve stimulation module 13 outputs the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve skin end of the human body 01 through the vagus nerve stimulation electrode 131 .

[0111] By repeating the above steps from the third to the fifth step, closed-loop regulation of vagus nerve electrical stimulation is achieved, which not only improves the personalization and efficiency of treatment, but also provides a more effective and personalized method of menstrual pain management by adapting to changes in the individual's physiological state.

[0112] The above is a detailed description of the embodiments of the present invention, but the invention is not limited to this embodiment. Those skilled in the art may make many equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the protection scope defined by the claims of this application.

Claims

1. A closed-loop vagus nerve regulation system based on electromyography and respiratory feedback, characterized in that: The closed-loop vagus nerve regulation system mainly includes a signal processing and decision-making module, an electromyographic signal detection module, a respiratory signal detection module, and a vagus nerve stimulation module; The electromyographic signal detection module is used to transmit the electromyographic signal collected in real time by the electromyographic signal collection electrode to the signal processing and decision-making module, and the respiratory signal detection module is used to transmit the respiratory signal collected in real time by the respiratory sensor to the signal processing and decision-making module; The signal processing and decision-making module calculates the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve control algorithm according to the received electromyographic signal and the respiratory signal, and transmits the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module, thereby realizing closed-loop control of vagus nerve electrical stimulation; The vagus nerve stimulation module is used to output the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve skin end of the human body through the vagus nerve stimulation electrode; The closed-loop vagal nerve regulation algorithm includes the following steps: S1: Processing the electromyographic signal to extract characteristic values; The electromyographic signal is represented by EMG, and the time is represented by t. A bandpass filter is used to filter out the noise of the non-target frequency of the electromyographic signal, and then: Formula 1: EMG filtered (t) = BPFiltered(EMG(t)), Among them, BPFiltered represents a bandpass filter, EMG filtered represents the electromyographic signal after noise removal; The feature extraction of the electromyographic signal after noise removal is performed, and then: Formula 2: Wherein, RMS represents the characteristic value of the electromyographic signal, and N is the number of sampling points; Formula 1 is the method for processing the electromyographic signal, and Formula 2 is the method for extracting the features of the electromyographic signal; S2: Processing the respiratory signal to extract characteristic values; The respiratory signal is represented by Resp, and time is represented by t. By calculating the respiratory cycle, the local maximum and minimum of Resp(t) are found to identify the peak and trough of the respiratory wave, that is, the local maximum of Resp(t) is the peak of the respiratory wave, and the local minimum of Resp(t) is the trough of the respiratory wave; S3: calculating the electrical stimulation intensity and the electrical stimulation frequency; The electrical stimulation intensity is represented by I, then: Formula 3: I = I base + α × (RMS - RMS base ), Among them, I base Indicates the basic electrical stimulation intensity, RMS base represents the basic electromyographic signal characteristic value, α is the adjustment coefficient; The electrical stimulation frequency is represented by f, then: Formula 4: f=f base +β × (ΔResp-ΔResp base ), Among them, f base Represents the basic electrical stimulation frequency, ΔResp is the difference between the current respiratory cycle and the baseline respiratory cycle, ΔResp base is the baseline respiratory cycle difference; Formula 3 is the calculation method of the electrical stimulation intensity, and Formula 4 is the calculation method of the electrical stimulation frequency; The step S1 is used to implement preprocessing and feature extraction of the electromyographic signal, the step S2 is used to determine the best time for electrical stimulation, and the step S3 is used to determine the intensity and frequency of electrical stimulation to perform fine-tuning in combination with the patient's comfort feedback, thereby achieving closed-loop control of electrical stimulation; The signal processing and decision-making module is electrically connected to the electromyographic signal detection module, the respiratory signal detection module, and the vagus nerve stimulation module respectively; the electromyographic signal detection module is connected to the electromyographic signal acquisition electrode via a signal line; the respiratory signal detection module receives data from the respiratory sensor via a wireless signal; and the vagus nerve stimulation module is connected to the vagus nerve stimulation electrode via a signal line.

2. The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback according to claim 1, characterized in that: The respiratory sensor is a wireless surface respiratory sensor, comprising two electrodes, one of which is attached below the right clavicle, and the other is attached to the left side of the navel.

3. The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback according to claim 2, characterized in that: The closed-loop vagus nerve regulation system also includes a user interface, which is used by medical personnel or patients to adjust the initial settings of the electrical stimulation intensity and the electrical stimulation frequency, and display real-time monitoring data and stimulation status; the user interface is implemented using a liquid crystal display, and the signal processing and decision-making module transmits data with the user interface through a data interface.

4. The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback according to claim 3, characterized in that: The signal processing and decision-making module mainly includes a microcontroller, which is used to receive the electromyographic signal and the respiratory signal, calculate the electrical stimulation intensity and the electrical stimulation frequency through a closed-loop vagus nerve regulation algorithm, and transmit the electrical stimulation intensity and the electrical stimulation frequency to the vagus nerve stimulation module.

5. The closed-loop vagus nerve regulation system based on myoelectricity and respiratory feedback according to claim 4, characterized in that: The electromyographic signal detection module mainly includes an analog-to-digital conversion chip, and the analog-to-digital conversion chip is used to detect the electromyographic signal.

6. The closed-loop vagus nerve regulation system based on myoelectricity and respiratory feedback according to claim 4, characterized in that: The breathing signal detection module mainly includes a Wi-Fi Bluetooth module, and the Wi-Fi Bluetooth module is used to receive data transmitted by the breathing sensor through wireless signals.

7. The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback according to claim 4, characterized in that: The vagus nerve stimulation module mainly includes a photoelectric coupling isolator, a field effect transistor, and an amplifier; the photoelectric coupling isolator is used to isolate the electrical stimulation intensity and the electrical stimulation frequency, the field effect transistor is used as a pulse modulator or a switching regulator controller for the electrical stimulation intensity and the electrical stimulation frequency, and the amplifier is used to amplify and filter the electrical stimulation intensity and the electrical stimulation frequency.

8. The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback according to claim 4, characterized in that: The microcontroller is a 32-bit high-density high-performance line microcontroller unit with 512kB flash memory.

9. The closed-loop vagus nerve regulation system based on electromyography and respiratory feedback according to claim 5, characterized in that: The analog-to-digital conversion chip has a built-in programmable gain amplifier, an internal reference, and an onboard oscillator.

Citation Information

Cited By

  • Limited space operation real-time emergency monitoring risk management and control system

    CN119987263A

  • Closed-loop nerve regulation and control system and method based on time interference

    CN122377011A