Portable body surface nerve electricity regulation and control device, system and method based on Internet of Things
The portable IoT-enabled nerve stimulation device addresses the need for remote monitoring and adjustment of nerve stimulation parameters, improving treatment adherence and effectiveness by allowing real-time data communication and reducing hospital visits.
Patent Information
- Application Number
- CN202510403254.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-15
AI Technical Summary
The existing surface electrical nerve regulation equipment lacks remote real-time monitoring and parameter adjustment functions, resulting in patients needing to go to the hospital for frequent review, increasing the financial and time burden.
A portable body surface nerve electrical control device based on the Internet of Things is designed, equipped with a main control module, a communication module, a circuit module and an audio output terminal. It can communicate with cloud platform and mobile control terminals, upload electrical stimulation parameters in real time and receive commands, and support frequency adjustment in dense wave mode.
It enables patients to communicate with doctors through telemedicine platforms at home, reduce the number of hospital reviews, ensure the best treatment effect, and improve treatment compliance and effectiveness.
Smart Images

Figure CN120305559A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of medical devices, and particularly relates to the innovative field of the integrated application of neuromodulation technology and Internet of Things technology. Specifically, the present invention relates to a portable body surface neuromodulation device, system and method based on the Internet of Things. Background Art
[0002] With the increasing aging of the population and the younger age of serious diseases, the number of pain patients is continuously increasing, and the demand for analgesia is large. Body surface neuromodulation achieves the purpose of analgesia through multiple mechanisms such as activating peripheral nerve Aβ fibers to close the spinal pain conduction "gate", promoting the release of endogenous opioids, promoting local blood circulation and metabolism, regulating neurotransmitters and active substances, and generating psychological suggestions. Body surface neuromodulation is an effective analgesic measure. When combined with opioid drug treatment, it can reduce the addiction of drugs and is generally accepted by patients as a new type of analgesic method. Since the stimulation parameters have a significant impact on the analgesic effect, patients need to regularly go to the hospital for reexamination to evaluate the analgesic effect and adjust the stimulation parameters, which brings inconvenience and economic pressure to patients and increases the social burden.
[0003] If doctors can remotely and real-time monitor the parameters and effects of body surface neuromodulation, and adjust the current treatment parameters of the body surface neuromodulation device accordingly based on the monitoring situation, patients can receive effective treatment remotely without having to frequently go to the hospital for reexamination and evaluation and adjustment. Doctors can also remotely adjust the device parameters according to the real-time data to ensure that the analgesic effect is always in the best state. However, there is currently a lack of such body surface neuromodulation devices and systems. Summary of the Invention
[0004] The present invention is made to solve the above problems, and aims to provide a portable body surface neuromodulation device based on the Internet of Things, which can upload the stimulation gear, stimulation frequency, current intensity, and stimulation pulse width of the device to the cloud platform in real time and record historical treatment data. At the same time, it can remotely control the device through the cloud platform and an Android mobile control terminal, narrow the communication barrier between doctors and patients, timely adjust the treatment parameters, and reduce the number of times patients go to the hospital for reexamination. Specifically, the present invention adopts the following technical solutions:
[0005] The present invention provides a portable body surface nerve electroregulation device based on the Internet of Things, which has the following technical features. The body surface nerve electroregulation device includes: a control component, including a parameter adjustment component for adjusting electrostimulation parameters and a mode selection component for turning on and off the dense and sparse wave mode; a main control module, at least for outputting a pulse width adjustment signal according to the electrostimulation parameters and the dense and sparse wave mode; a circuit module, for generating a corresponding electrostimulation output signal according to the pulse width adjustment signal; an audio output terminal and an electrode sheet connected thereto, for performing electrostimulation on the human skin according to the electrostimulation output signal, so as to achieve body surface nerve electroregulation; and a communication module, for communicating with a cloud platform server, sending the electrostimulation parameters and the dense and sparse wave mode to the cloud platform server, and receiving commands from the cloud platform server. Wherein, after the dense and sparse wave mode is turned on by the mode selection component, the main control module adjusts the output frequency of the pulse width adjustment signal according to a predetermined frequency change amount and change period, so that the stimulation frequency output by the circuit module alternately accumulates and subtracts.
[0006] The portable body surface nerve electroregulation device based on the Internet of Things provided by the present invention may also have the following technical features. Wherein, after the dense and sparse wave mode is turned on by the mode selection component, the main control module adjusts the output frequency of MCPWM according to the frequency change amount and the change period. The stimulation frequency starts from 2 Hz and increases at a speed of 1 Hz every 200 ms until it reaches 100 Hz; then it decreases at a speed of 1 Hz every 200 ms until it reaches 2 Hz, and cycles in this way.
[0007] The portable body surface nerve electroregulation device based on the Internet of Things provided by the present invention may also have the following technical features. Wherein, the main control module is a microcontroller module with an Xtensa LX6 architecture and adopts a real-time operating system. The circuit module includes a device driver circuit, a bootstrap boost circuit, a polarity conversion circuit, a constant current control circuit, and a stimulation generation output circuit connected to the main control module. The device driver circuit is used to provide a stable power supply. The bootstrap boost circuit is used to boost the voltage provided by the device driver circuit. The polarity conversion circuit is used to generate a bidirectional pulse square wave signal based on the MCPWM signal. The constant current control circuit includes multiple groups of parallel transistors, and is used to adjust the current intensity of the electrostimulation output signal based on the DAC signal output by the main control module. The stimulation generation output circuit is used to generate the corresponding electrostimulation output signal based on the output signals of the bootstrap boost circuit, the polarity conversion circuit, and the constant current control circuit.
[0008] The portable extracorporeal nerve electroregulation device based on the Internet of Things provided by the present invention may also have the following technical feature: the parameter adjustment component is used to adjust among a plurality of predetermined stimulation levels, and each stimulation level corresponds to a corresponding stimulation frequency, current intensity, and stimulation pulse width. The output current I of the electrostimulation output signal output has the following control formula:
[0009]
[0010] In the formula, V ref is the reference voltage input from the DAC output terminal of the main control module to the constant current control circuit, digi_val is the voltage analog value of each stimulation level; RFB is the feedback resistance value of the constant current control circuit.
[0011] The portable extracorporeal nerve electroregulation device based on the Internet of Things provided by the present invention may also have the following technical feature: the device driving circuit is powered by a battery and provides a 3.3V power supply for the main control module and the communication module, and provides a 5V power supply for the bootstrap boost circuit and the constant current control circuit. The bootstrap boost circuit boosts the 5V voltage provided by the device driving circuit to a voltage in the range of 80±0.5V.
[0012] The portable extracorporeal nerve electroregulation device based on the Internet of Things provided by the present invention may also have the following technical feature: the device further includes a display module. The main control module has a serial peripheral interface. The display module is an e-ink display, which is connected to and communicates with the main control module through the serial peripheral interface and is used to display the current stimulation level and the dense and sparse wave mode.
[0013] The portable extracorporeal nerve electroregulation device based on the Internet of Things provided by the present invention may also have the following technical feature: the communication module is a wireless communication module. The circuit module further includes a mobile power charging circuit for charging the battery. The control component further includes a device start / stop component for starting or stopping the device.
[0014] The present invention provides a body surface nerve electrical regulation system, which has the following technical features. The system includes: a cloud platform server; a portable body surface nerve electrical regulation device based on the Internet of Things, which is communicatively connected to the cloud platform server and is used to send the current electrical stimulation parameters and the dense and sparse wave patterns to the cloud platform server, and is used to receive parameter adjustment commands and mode adjustment commands from the cloud platform server; and a mobile control terminal, which is communicatively connected to the cloud platform server and is used to obtain the current electrical stimulation parameters and the dense and sparse wave patterns of the device from the cloud platform, and is used to send parameter adjustment commands and mode adjustment commands to the cloud platform server. Among them, the portable body surface nerve electrical regulation device based on the Internet of Things is the above-mentioned portable body surface nerve electrical regulation device based on the Internet of Things.
[0015] The body surface nerve electrical regulation system provided by the present invention may further have the following technical features. Among them, the cloud platform server, the device, and the mobile control terminal are respectively connected to the local area network where they are located. The device and the mobile control terminal respectively subscribe to relevant topics from the cloud platform server. After the subscription is successful, the device publishes messages to the corresponding topic of the cloud platform server every 5 seconds to send the current electrical stimulation parameters and the dense and sparse wave patterns to the cloud platform server; the mobile control terminal synchronizes messages from the corresponding topic of the cloud platform server every 5 seconds to obtain the current electrical stimulation parameters and the dense and sparse wave patterns of the device.
[0016] The present invention provides a method for regulating body surface nerves based on the above system, which has the following technical features. The method includes the following steps: Step S1, power on the device and initialize its communication module, mode selection component, and parameter adjustment component; Step S2, after the communication module is successfully initialized, connect to the local area network where the device is located, communicate with the cloud platform server, and subscribe to relevant topics; Step S3, the main control module repeatedly detects whether the parameter adjustment component and the mode selection component are operated; Step S4, if it is detected in Step S3 that the parameter adjustment component or the mode selection component is operated, or the device receives a parameter adjustment command or a mode selection command sent down, then adjust the electrical stimulation related parameters of the device accordingly according to the operated component or the sent down command; Step S5, the main control module outputs a corresponding pulse width modulation signal according to the current electrical stimulation related parameters, the circuit module generates an electrical stimulation output signal according to the pulse width modulation signal, and applies body surface electrical stimulation to the human body through the audio output terminal and the electrode patch; Step S6, the main control module publishes a message to the corresponding topic of the cloud platform server to send the current electrical stimulation parameters and the dense and sparse wave mode to the cloud platform server, and the mobile control terminal synchronizes the message from the corresponding topic of the cloud platform server to obtain the current electrical stimulation parameters and the dense and sparse wave mode of the device.
[0017] Functions and effects of the invention
[0018] According to the portable body surface nerve electroregulation device, system and method based on the Internet of Things provided by the present invention, since the device has a main control module, a circuit module, an audio output terminal and physiotherapy electrode pads, it can generate corresponding electrical stimulation output batteries based on the modulation signals output by the main control module, and act on the human skin through the audio output terminal and the physiotherapy electrode pads to achieve body surface nerve electroregulation. Moreover, the device is equipped with a parameter adjustment component and a mode selection component, and the circuit module can cooperate with them to work. Therefore, patients can conveniently adjust the stimulation level and select whether to turn on the dense and sparse wave mode. The device can communicate with the cloud platform, upload the current electrical stimulation related parameters in real time and receive the commands issued by the cloud platform. The mobile terminal can also communicate with the cloud platform, synchronously obtain the current electrical stimulation related parameters and send commands to the device through the cloud platform. Therefore, patients do not need to go to the hospital for reexamination frequently, and can communicate with doctors through the remote medical platform at home. Doctors can conveniently remotely monitor the device parameters through the mobile terminal and remotely adjust the device parameters according to the patient feedback information, etc., which can ensure that the treatment effect is always in the best state. The device data uploaded to the cloud platform can also be stored as historical data and further utilized. In addition, using dense and sparse waves for electrical stimulation can enhance metabolism and promote blood circulation, which is beneficial to improving the treatment effect. Therefore, through the device, system and method of the present invention, the compliance and effectiveness of body surface nerve electroregulation treatment can be improved, providing a more efficient, convenient and safe analgesia solution for dealing with the increasing number of pain patients brought about by the aging population and the younger age of serious diseases. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a schematic structural diagram of the body surface nerve electroregulation system in an embodiment of the present invention;
[0020] Figure 2 is a schematic structural diagram of the portable body surface nerve electroregulation device based on the Internet of Things in an embodiment of the present invention;
[0021] Figure 3 is a circuit structure diagram of the bootstrap boost circuit in an embodiment of the present invention;
[0022] Figure 4 is a circuit structure diagram of the polarity conversion circuit in an embodiment of the present invention;
[0023] Figure 5 is a circuit structure diagram of the constant current control circuit in an embodiment of the present invention;
[0024] Figure 6 is an interaction schematic diagram of the device, the cloud platform and the mobile terminal in an embodiment of the present invention;
[0025] Figure 7 is a schematic diagram of the output waveform in the dense and sparse wave mode in an embodiment of the present invention;
[0026] Figure 8 It is a flowchart of the method for regulating body surface nerves by electricity in the embodiments of the present invention;
[0027] Reference numerals:
[0028] Body surface nerve electroregulation system 100; Internet of Things-based portable body surface nerve electroregulation device 10; main control module 11; communication module 12; display module 13; control component 14; device start / stop component 141; mode selection component 142; parameter adjustment component 143; circuit module 15; mobile power supply charging circuit 151; device drive circuit 152; bootstrap boost circuit 153; polarity conversion circuit 154; constant current control circuit 155; stimulation generation output circuit 156; audio output terminal 16; physiotherapy electrode patch 17; platform server 20; cloud platform message synchronization module 21; cloud platform command control module 22; mobile control terminal 30; mobile terminal message synchronization module 31; mobile terminal command control module 32. Detailed implementation manners
[0029] In order to make the technical means, creative features, achieved purposes and functions of the present invention easy to understand, the Internet of Things-based portable body surface nerve electroregulation device, system and method of the present invention will be specifically described below in conjunction with embodiments and drawings.
[0030] <Embodiment>
[0031] Figure 1 It is a schematic structural diagram of the body surface nerve electroregulation system in this embodiment.
[0032] As Figure 1 shown, the body surface nerve electroregulation system 100 can be divided into three major terminals, namely the Internet of Things-based portable body surface nerve electroregulation device 10 (hereinafter referred to as device 10), the cloud platform server 20 (hereinafter referred to as cloud platform 20), and the mobile control terminal 30 (hereinafter referred to as mobile terminal 30). The device 10 is used to perform electrical stimulation on a patient, so as to achieve electroregulation of the patient's body surface nerves, and can upload the current electroregulation parameters and data to the cloud platform 20 in real time. The mobile terminal 30 realizes parameter control of the device 10 through the cloud platform 20. The device 10 can be held by a patient, for example, and the mobile terminal 30 can be held by a doctor, for example.
[0033] Before use, the device 10, cloud platform 20, and mobile device 30 need to connect to their respective local area networks first. After successful connection, the cloud platform 20 will communicate with the device 10 and the mobile device 30 respectively, and communication can start. During operation, the device 10 can synchronize messages to the corresponding topic of the cloud platform 20 in real time; after the device 10 subscribes to the corresponding topic successfully, the cloud platform 20 can issue commands on this topic. After receiving the command, the device 10 will make corresponding processing. The mobile device 30 can retrieve messages from the corresponding topic of the cloud platform, such as synchronizing the messages to the mobile phone APP; after the mobile device 30 subscribes to the corresponding topic successfully, it can send commands to this topic, and the cloud platform 20 will convey the commands to the device 10, thus realizing the control of the device 10 by the mobile device 30.
[0034] The composition of each part will be described in detail below.
[0035] Figure 2 It is a schematic structural diagram of the portable body surface nerve electroregulation device based on the Internet of Things in this embodiment, showing the connection relationship between the circuit modules of the device.
[0036] As Figure 1 and Figure 2 shown, the device 10 includes a main control module 11, a communication module 12, a display module 13, a control component 14, a circuit module 15, an audio output terminal 16, and a physical therapy electrode patch 17. The device 10 also includes conventional settings such as a mobile power supply (battery), which are not shown in the figure.
[0037] Among them, the main control module 11 is a microcontroller module based on the Xtensa LX6 architecture, which includes a controller peripheral, a real-time operating system, and peripheral circuits. The controller peripheral includes a motor control pulse width modulator (MCPWM), timers, a serial peripheral interface (SPI), a digital-to-analog converter (DAC), a universal asynchronous receiver / transmitter (UART), a real-time clock (RTC), and an integrated circuit bus. The real-time operating system is the embedded real-time operating system FreeRTOS, which provides a basis for the operation of the device.
[0038] In this embodiment, the main control module 11 has corresponding programs, and is set with component detection tasks, data update tasks, communication tasks, DAC output tasks, MCPWM output tasks, and display tasks. These tasks will be described in detail in combination with the following corresponding modules and processes.
[0039] The communication module 12 is a wireless communication module (Wi-Fi). After the device 10 is started, the communication module 12 will be initialized, and after completion, it will connect to the local area network where the device 10 is currently located.
[0040] The display module 13 is connected to the SPI of the main control module 11 and communicates with the main control module 11 through SPI signals. It is used to display the current stimulation gear and dense-sparse wave mode of the device 10, facilitating user interaction with the device 10 to adjust the stimulation gear and mode. In this embodiment, the display module 13 is an e-ink screen display. Taking an e-ink screen with a normal display power consumption of 4.5 mW as an example, when powered by a 3.7V, 1000 mAh lithium battery, compared with a commonly used OLED display (normal display power consumption of 60 mW), it can save nearly 10 times the power consumption time, with lower power consumption and higher durability, suitable for all-weather treatment.
[0041] The control component 14 includes a device start / stop component 141, a mode selection component 142, and a parameter adjustment component 143, and these components can be in the form of buttons, knobs, etc.
[0042] The device start / stop component 141 is used to control the start (power-on) and shutdown of the device 10.
[0043] The mode selection component 142 is used for the user to select the electrical stimulation mode. In this embodiment, it is used to select to turn on or off the dense-sparse wave mode. The dense-sparse wave refers to a PWM wave with a frequency constantly changing between 2 Hz and 100 Hz. Using the dense-sparse wave for electrical stimulation can enhance metabolism and promote blood circulation.
[0044] The parameter adjustment component 143 is used for the user to adjust the electrical stimulation parameters. In this embodiment, it is used for the user to adjust the electrical stimulation gear.
[0045] The circuit module 15 includes a mobile power charging circuit 151, a device drive circuit 152, a bootstrap boost circuit 153, a polarity conversion circuit 154, a constant current control circuit 155, and a stimulation generation output circuit 156.
[0046] The mobile power charging circuit 151 is used to charge the battery. It includes a two-color indicator light, which lights up the red indicator light when the charging is not completed and lights up the green indicator light when the charging is completed. At the same time, this circuit provides a charging protection mechanism and will automatically stop charging when the battery is fully charged.
[0047] The device drive circuit 152 is used to provide a stable power supply for other modules and other circuits. In this embodiment, after the device start / stop component 141 is turned on, the battery provides a stable 3.7V power supply for the device drive circuit 152. The device drive circuit 152 provides a stable 3.3V power supply for the main control module 11, the communication module 12, and the display module 13, and provides a stable 5V power supply for the bootstrap boost circuit 153 and the constant current control circuit 155.
[0048] The bootstrap boost circuit 153 is used to boost the voltage provided by the device drive circuit 152 to provide the required voltage for the polarity conversion circuit 154 and the stimulation generation output circuit 156, so as to ensure that the device 10 can achieve an effective electrical stimulation effect. In this embodiment, the bootstrap boost circuit 153 boosts the 5V voltage provided by the device drive circuit 152 to a voltage in the range of 80 ± 0.5V.
[0049] Figure 3 It is the circuit structure diagram of the bootstrap boost circuit in this embodiment.
[0050] As Figure 2 and Figure 3 shown, in this embodiment, the bootstrap boost circuit 153 includes polar capacitors C31 and C32, capacitor C33, inductor L31, diode D31, transistor Q37, AND gate U2A, resistors R31, R310, R311, R313. Among them, the inductor L31 is used to store energy, the transistor Q37 is used as a transistor switch, the diode D31 is used for current diversion, and the capacitors are used to filter out the AC components.
[0051] The positive electrode of the polar capacitor C31 is connected to VCC (the 5V power supply provided by the device drive circuit 152), and the negative electrode is grounded. One end of the inductor L31 is connected to VCC, and the other end is connected to the positive electrode of the diode D31. The negative electrode of the diode D31 is connected to VOUT (the power supply output by the bootstrap boost circuit 153). The positive electrode of the polar capacitor C32 is connected to VOUT, and the negative electrode is grounded. The ADC output terminal of the main control module 11 is respectively connected to one ends of the resistors R310 and R311. The other end of the resistor R310 is connected to VOUT, and the other end of the resistor R311 is grounded. One end of the capacitor C33 is connected to the PWM output terminal of the main control module 11, and the other end is respectively connected to one input terminal of the AND gate U2A and one end of the resistor R313. The other end of the resistor R313 is grounded. The other input terminal of the AND gate U2A is connected to the battery V4, and the output terminal of the AND gate U2A is connected to the base of the transistor Q37 through the resistor R31. The collector of the transistor Q37 is respectively connected to the other end of the inductor L31 and the positive electrode of the diode D31, and the emitter of the transistor Q37 is grounded.
[0052] The polarity conversion circuit 154 is mainly composed of four pairs of transistors connected in parallel in pairs, which responds quickly to the control signal, and then combines with the MCPWM signal output by the main control module 11 to generate a bidirectional pulse square wave signal, enabling the charge to flow in a balanced manner in both directions, so as to reduce or even completely avoid human tissue damage during the electrical stimulation process.
[0053] Figure 4 It is the circuit structure diagram of the polarity conversion circuit in this embodiment.
[0054] As Figure 4As shown, in this embodiment, the polarity conversion circuit 154 includes four groups of parallel-connected transistors, specifically including PNP transistors Q43 to Q46, NPN transistors Q41 to Q42 and Q47 to Q48, capacitor C41, resistors R41 to R45 and R47, and load resistor RL.
[0055] The bases of transistors Q43 and Q44 are connected together and then connected to the PWM1 output terminal of the main control module 11. The emitters of transistors Q43 and Q44 are connected together and then connected to VOUT (the power supply output by the polarity conversion circuit 154). The collectors of transistors Q43 and Q44 are connected together and then connected to one end of the load resistor RL.
[0056] The bases of transistors Q45 and Q46 are connected together and then connected to the PWM2 output terminal of the main control module 11. The emitters of transistors Q45 and Q46 are connected together and then connected to VOUT. The collectors of transistors Q45 and Q46 are connected together and then connected to the other end of the load resistor RL.
[0057] The bases of transistors Q41 and Q42 are connected together and then connected to the PWM1 output terminal of the main control module 11. The emitters of transistors Q41 and Q42 are respectively connected to resistors R43 and R47 and then connected together, and then respectively connected to one ends of resistors R44 and R46. The collectors of transistors Q41 and Q42 are connected together and then connected to one end of the load resistor RL. The other end of resistor R44 is grounded. The other end of resistor R46 is respectively connected to one end of capacitor C41 and the ADC output terminal of the main control module 11. The other end of capacitor C41 is grounded.
[0058] The bases of transistors Q47 and Q48 are connected together and then connected to the PWM1 output terminal of the main control module 11. The emitters of transistors Q47 and Q48 are respectively connected to resistors R41 and R45 and then connected together, and then grounded through resistor R42. The collectors of transistors Q47 and Q48 are connected together and then connected to the other end of the load resistor RL.
[0059] The constant current control circuit 155 adjusts the magnitude of the current intensity of the electrical stimulation output based on the DAC signal output by the main control module 11. Specifically, the electrical stimulation output current I output is controlled by the following formula:
[0060]
[0061] In the formula, V ref is the reference voltage input from the DAC pin (output terminal) of the main control module 11 to the constant current control circuit 155. The reference voltage value should be equal to the power supply voltage VCC; digi_val is the voltage analog value of each gear; RFB is the resistance value of the feedback resistor of the constant current control circuit.
[0062] Figure 5It is the circuit structure diagram of the constant current control circuit in this embodiment.
[0063] As Figure 5 shown, in this embodiment, the constant current control circuit 155 includes an operational amplifier U1A, an AND gate U5A, transistors Q51 and Q52, resistors R51 and R52 to R57, a load resistor RL, and a capacitor C51. Among them, the model of the operational amplifier U1A is LM358D, and the model of the AND gate U5A is 7409N. The load resistor RL is the same as the load resistor RL in Figure 4 and is used to simulate the impedance of the human skin.
[0064] The positive input terminal of the amplifier U1A is connected to the output terminal of DAC1 of the main control module 11, the negative input terminal is respectively connected to one end of resistors R54 and R56, and the output terminal is connected to one input terminal of the AND gate U5A through a resistor R55. The other end of the resistor R54 is grounded, the other end of the resistor R56 is respectively connected to the output terminal of the ADC of the main control module 11 and one end of the capacitor C51, and the other end of the capacitor C51 is grounded. The other input terminal of the AND gate U5A is connected to the PWM1 output terminal of the main control module 11, and the output terminal of the AND gate U5A is respectively connected to the bases of the transistors Q51 and Q52. The collectors of the transistors Q51 and Q52 are connected together and then connected to one end of the load resistor RL, and the emitters of the transistors Q51 and Q52 are respectively connected to the resistors R53 and R57 and then connected together, and then respectively connected to one end of the resistors R54 and R56.
[0065] The stimulation generation output circuit 156 generates corresponding electrical stimulation output signals based on the signals output by the bootstrap boost circuit 153, the polarity conversion circuit 154, and the constant current control circuit 155. The electrical stimulation output signals are output to the human skin through the audio output terminal 16 and the physiotherapy electrode patch 17, so as to apply surface electrical stimulation to the human body.
[0066] To ensure the stable operation of the device 10, in the real-time operating system, the wireless communication task is set to priority 0, that is, the highest priority. The component detection tasks (including the parameter adjustment component detection task and the mode selection component detection task) are also set to priority 0. The DAC output task, the MCPWM output task, and the display task are set to priority 1, that is, the next highest priority. This can not only ensure the stability of the operation of the device 10 but also ensure the safety of the stimulation output.
[0067] The cloud platform 20 includes at least a cloud platform message synchronization module 21 and a cloud platform command control module 22.
[0068] The cloud platform message synchronization module 21 is used to obtain the electrical stimulation related parameters from the device 10, including the stimulation level, the stimulation frequency, the current intensity, the stimulation pulse width corresponding to the stimulation level, and the dense and sparse wave mode.
[0069] The cloud platform command control module 22 is used to send commands to the device 10, including stimulation level adjustment commands and dense-sparse wave mode switching commands (turning on or off the dense-sparse wave mode).
[0070] The mobile device 30 at least includes a mobile device message synchronization module 31 and a mobile device command control module 32.
[0071] The mobile device message synchronization module 31 is used to obtain electrostimulation-related parameters from the cloud platform 20.
[0072] The mobile device command control module 32 is used to send commands to the cloud platform 20.
[0073] In this embodiment, the mobile device 30 is a mobile control terminal based on Android.
[0074] Figure 6 It is a schematic diagram of the interaction among the device, the cloud platform, and the mobile device in this embodiment.
[0075] As Figure 6 shown, the cloud platform 20 and the mobile device 30 also respectively include corresponding topic subscription processing modules. When in use, first, the device 10 and the mobile device 30 need to respectively subscribe to corresponding topics from the cloud platform 20. After successfully subscribing to the corresponding topics, during the operation of the device 10, it can synchronize messages to the corresponding topic of the cloud platform 20 in real time, that is, publish the above-mentioned electrostimulation-related parameters; the mobile device 30 can obtain data from the corresponding topic of the cloud platform 20 and can send control commands to the corresponding topic, and the cloud platform 20 then sends the corresponding control commands to the device 10.
[0076] Figure 7 It is a flowchart of the method for regulating surface nerve electrostimulation in this embodiment.
[0077] As Figure 7 shown, based on the above system 100, the corresponding method for regulating surface nerve electrostimulation includes the following steps:
[0078] Step S1, after operating the device start / stop component 141, the device 10 is powered on and initializes the communication module 12, the display module 13, the mode selection component 142, and the parameter adjustment component 143.
[0079] That is, the device 10 initializes the microcontroller peripherals (including DAC, MCPWM, I2C, Timers, RTC) and the hardware (including the Wi-Fi communication module, the e-ink display, the mode selection component, and the parameter adjustment component).
[0080] Step S2, after the communication module 12 is successfully initialized, it connects to the local area network where the device 10 is currently located, communicates with the cloud platform 20, and subscribes to relevant topics.
[0081] Among them, the relevant topic refers to a specific topic separately set on the cloud platform 20 for remote monitoring and regulation of electrical stimulation.
[0082] Step S3, the component detection task of the main control module 11 repeatedly detects whether the parameter adjustment component 143 and the mode selection component 142 are operated.
[0083] Step S4, if it is detected in step S3 that the parameter adjustment component 143 or the mode selection component 142 is operated, or the device 10 receives a sent parameter adjustment command or mode selection command, then the electrical stimulation related parameters are adjusted accordingly according to the operated component or the sent command.
[0084] Specifically, if it is detected in step S3 that the parameter adjustment component 143 is pressed, or a parameter adjustment command is received, then the stimulation level is adjusted accordingly, and the stimulation frequency and current intensity are changed correspondingly according to the adjusted stimulation level.
[0085] If it is detected in step S3 that the mode selection component 142 is pressed, or a mode selection command is received, then the dense and sparse wave mode is turned on, and at the same time, the battery strength is fixed to the current current intensity corresponding to the stimulation level, and the stimulation frequency is changed in a self - cycling manner.
[0086] Figure 8 It is a schematic diagram of the output waveform in the dense and sparse wave mode in this embodiment.
[0087] As Figure 8 shown, after the dense and sparse wave mode is turned on, the stimulation level cannot be changed, the stimulation current intensity is determined by the current stimulation level, and the main control module 11 continuously adjusts the output frequency of the MCPWM according to the predetermined frequency change amount and change period, so that the stimulation frequency starts from 2 Hz and changes at a speed of increasing 1 Hz every 200 ms until it reaches 100 Hz, and then decreases at a speed of 1 Hz every 200 ms until it returns to 2 Hz, cycling repeatedly. As shown in the figure, the waveform of the square wave output by the stimulation generation output circuit 156 becomes gradually denser and then gradually sparser, cycling in this way.
[0088] Step S5, the main control module 11 outputs a corresponding pulse width modulation signal according to the current electrical stimulation related parameters, the circuit module 15 generates an electrical stimulation output signal according to this pulse width modulation signal, and applies surface electrical stimulation to the human body through the physiotherapy electrode sheet 17 connected to the audio output terminal 16.
[0089] Step S6, the data update task of the main control module 11 publishes a message to the corresponding topic of the cloud platform 20 to send the current electrical stimulation related parameters to the cloud platform 20, and the mobile terminal 30 synchronizes the message from the corresponding topic of the cloud platform 20 to obtain the current electrical stimulation related parameters of the device 10.
[0090] Specifically, the data update task updates the current stimulation gear, stimulation frequency, current intensity, stimulation pulse width, and dense and sparse wave mode data to the storage module of device 10, refreshes the information display of the stimulation gear and the dense and sparse wave mode displayed on the display module 13, and at the same time publishes a message to the corresponding topic of cloud platform 20, and sends the current stimulation gear, stimulation frequency, current intensity, stimulation pulse width, and dense and sparse wave mode data to cloud platform 20.
[0091] In this embodiment, device 10 performs data update every 5 s, refreshes the information displayed on the e-ink screen display, and publishes a message to the corresponding topic of cloud platform 20. After receiving the message, cloud platform 20 updates the stored device data in real time and displays it. It can also form historical treatment data based on the existing device data and can send commands to device 10. The mobile terminal 30 obtains device data from the corresponding topic of cloud platform 20 every 5 s and can send commands to cloud platform 20.
[0092] In addition, during the process of using device 10 for surface electrical regulation, the patient can also communicate with the doctor through a remote medical platform or a communication device such as their mobile phone, and feedback information such as their own state and feelings to the doctor. The doctor can adjust the relevant parameters of the electrical stimulation accordingly based on the feedback information of the patient, and send the corresponding commands through the mobile terminal 30, so as to achieve effective remote regulation.
[0093] It can be understood that the above three parties of device 10, cloud platform 20, and mobile terminal 30 can be in different wireless local area networks. Therefore, even when the doctor and the patient are in different geographical locations, they can still synchronize the treatment data, the current operating state of the device, and adjust the treatment parameters of the device without obstacles.
[0094] Functions and effects of the embodiment
[0095] According to the portable body surface nerve electroregulation device, system and method based on the Internet of Things provided in this embodiment, since the device has a main control module, a circuit module, an audio output terminal and physiotherapy electrode pads, it can generate a corresponding electrical stimulation output battery based on the modulation signal output by the main control module, and act on the human skin through the audio output terminal and the physiotherapy electrode pads to achieve body surface nerve electroregulation. Moreover, the device is configured with a parameter adjustment component and a mode selection component, and the circuit module can cooperate with them to work. Therefore, patients can conveniently adjust the stimulation level and select whether to turn on the dense and sparse wave mode. The device can communicate with the cloud platform, upload the current electrical stimulation related parameters in real time and receive the commands issued by the cloud platform. The mobile terminal can also communicate with the cloud platform, synchronously obtain the current electrical stimulation related parameters and send commands to the device through the cloud platform. Therefore, patients do not need to go to the hospital for reexamination frequently, and can communicate with doctors through the remote medical platform at home. Doctors can conveniently remotely monitor the device parameters through the mobile terminal and remotely adjust the device parameters according to the patient feedback information, etc., which can ensure that the treatment effect is always in the best state. The device data uploaded to the cloud platform can also be stored as historical data and further utilized. In addition, using the dense and sparse wave for electrical stimulation can enhance metabolism and promote blood circulation, which is beneficial to improving the treatment effect. Therefore, through the device, system and method of this embodiment, the compliance and effectiveness of body surface nerve electroregulation treatment can be improved, providing a more efficient, convenient and safe analgesic solution for dealing with the increasing problem of the number of pain patients brought about by the aging population and the younger age of serious diseases.
[0096] In the embodiment, after successfully subscribing to the corresponding topic, the device can publish messages to the corresponding topic of the cloud platform, and the mobile terminal can synchronize messages from the corresponding topic of the cloud platform. Moreover, the device parameters are updated, published and message synchronized every 5 seconds, which can ensure high real-time performance and will not cause a large burden on the system. The cloud platform can handle multiple devices and multiple mobile terminals at the same time, making the solution have good practical application value.
[0097] Furthermore, the device also has a display module, so it can also display the current stimulation level and the information of whether the dense and sparse wave mode is turned on in real time, enabling patients to conveniently know the current parameters and thus better interact with the device. And the display module is an e-ink screen display, which has low power consumption and is applicable to all-weather treatment.
[0098] Furthermore, the circuit module includes a bootstrap boost circuit, a polarity conversion circuit, a constant current control circuit, and a stimulation generation output circuit. The bootstrap boost circuit can stably boost the voltage to a specified high voltage, providing the required voltage for the polarity conversion circuit and the stimulation generation output circuit to ensure an effective stimulation effect. The polarity conversion circuit includes multiple groups of parallel transistors and can implement a bidirectional pulse square wave signal based on the MCPWM signal output by the main control module, enabling the two-way balanced flow of charges, thereby reducing or even completely avoiding damage to human tissues during the electrostimulation process. The constant current control circuit can accurately adjust the current intensity of the electrostimulation output based on the DAC signal output by the main control module to ensure the treatment effect.
[0099] Furthermore, the main control module of the device uses a real-time operating system. In the system, the wireless communication task and the component detection task are set to the highest priority, while the DAC output task, the MCPWM output task, and the display task are set to the second highest priority. This can not only ensure the stability of the device operation but also guarantee the safety of the stimulation output.
[0100] Furthermore, the main control module is a microcontroller module with an Xtensa LX6 architecture, and the circuit structure of the circuit module is relatively simple. Therefore, the overall volume of the device is small, and the portable performance can be achieved.
[0101] The above embodiments are only used to illustrate the specific implementation manners of the present invention, and the present invention is not limited to the description scope of the above embodiments. Those skilled in the art should understand that the present invention is not limited by the above embodiments. What is described in the above embodiments and the specification only illustrates the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various changes and improvements, and these changes and improvements all fall within the scope of the present invention claimed. The scope of protection claimed by the present invention is defined by the appended claims and their equivalents.
Claims
1. A portable surface nerve electrical regulation device based on the Internet of Things, characterized in that Comprising: A control component, including a parameter adjustment component for adjusting electrostimulation parameters and a mode selection component for turning on and off the dense and sparse wave mode; A main control module, at least for outputting a pulse width adjustment signal according to the electrostimulation parameters and the dense and sparse wave mode; A circuit module, for generating a corresponding electrostimulation output signal according to the pulse width adjustment signal; An audio output terminal and electrode patches connected thereto, for performing electrostimulation on the human skin according to the electrostimulation output signal, so as to realize surface nerve electroregulation; And A communication module, for communicating with a cloud platform server, sending the electrostimulation parameters and the dense and sparse wave mode to the cloud platform server, and receiving commands from the cloud platform server, wherein, after the dense and sparse wave mode is turned on by the mode selection component, the main control module adjusts the output frequency of the pulse width adjustment signal according to a predetermined frequency change amount and change period, so that the stimulation frequency output by the circuit module alternately accumulates and decreases.
2. The portable surface nerve electroregulation device based on the Internet of Things according to claim 1, characterized in that: Among them, After the dense and sparse wave mode is turned on by the mode selection component, the main control module adjusts the output frequency of the MCPWM according to the frequency change amount and the change period, The stimulation frequency starts from 2 Hz and increases at a speed of increasing 1 Hz every 200 ms until it reaches 100 Hz; then it decreases at a speed of decreasing 1 Hz every 200 ms until it reaches 2 Hz, and cycles in this way.
3. The portable surface nerve electroregulation device based on the Internet of Things according to claim 2, characterized in that: Among them, The main control module is a microcontroller module with an Xtensa LX6 architecture and adopts a real-time operating system, The circuit module includes a device drive circuit, a bootstrap boost circuit, a polarity conversion circuit, a constant current control circuit, and a stimulation generation output circuit connected to the main control module, The device drive circuit is used to provide a stable power supply, The bootstrap boost circuit is used to boost the voltage provided by the device drive circuit, The polarity conversion circuit is used to generate a bidirectional pulse square wave signal based on the MCPWM signal, The constant current control circuit includes multiple groups of parallel transistors, and is used to adjust the current intensity of the electrostimulation output signal based on the DAC signal output by the main control module, The stimulation generation output circuit is used to generate the corresponding electrostimulation output signal based on the output signals of the bootstrap boost circuit, the polarity conversion circuit, and the constant current control circuit.
4. The portable surface nerve electroregulation device based on the Internet of Things according to claim 3, characterized in that: Among them, The parameter adjustment component is used to adjust between a predetermined number of stimulation levels, and each stimulation level corresponds to a corresponding stimulation frequency, current intensity, and stimulation pulse width, The output current I of the output signal of the electrical stimulation output is controlled by the following formula: where V ref is the reference voltage input from the DAC output terminal of the main control module to the constant current control circuit, digi_val is the voltage analog value of each stimulation level; RFB is the resistance value of the feedback resistor of the constant current control circuit.
5. The portable surface nerve electroregulation device based on the Internet of Things according to claim 3, characterized in that: Among them, The device driving circuit is powered by a battery, and provides a 3.3V power supply for the main control module and the communication module, and provides a 5V power supply for the bootstrap boost circuit and the constant current control circuit. The bootstrap voltage boost circuit boosts the 5V voltage provided by the device driving circuit to a voltage in the range of 80±0.5V.
6. The portable body surface nerve electroregulation device based on the Internet of Things according to claim 1, characterized in that, Also includes: Display module, Wherein, the main control module has a serial peripheral device interface, The display module is an ink screen display, which is connected to and communicates with the main control module through the serial peripheral device interface, and is used to display the current stimulation gear and the sparse-dense wave pattern.
7. The portable body surface neural electrical control device based on the Internet of Things according to claim 3 is characterized in that: Among them, The communication module is a wireless communication module. The circuit module also includes a mobile power charging circuit for charging the battery. The control component also includes a device start-stop component for starting or stopping the device.
8. A surface nerve electrical regulation system, characterized in that, include: Cloud platform server; A portable body surface neural electrical regulation device based on the Internet of Things, which is connected to the cloud platform server in communication, is used to send the current electrical stimulation parameters and sparse-dense wave mode to the cloud platform server, and is used to receive parameter adjustment commands and mode adjustment commands from the cloud platform server; as well as A mobile control terminal is connected to the cloud platform server for obtaining the current electrical stimulation parameters and sparse-dense wave mode of the device from the cloud platform, and for sending parameter adjustment commands and mode adjustment commands to the cloud platform server. Among them, the portable body surface neural electrical regulation device based on the Internet of Things is the portable body surface neural electrical regulation device based on the Internet of Things as described in any one of claims 1-7.
9. The body surface neural electrical regulation system according to claim 8, characterized in that: Among them, The cloud platform server, the device, and the mobile control terminal are respectively connected to the local area network where they are located. The device and the mobile control terminal subscribe to relevant topics from the cloud platform server respectively. After successful subscription, the device publishes a message to the topic corresponding to the cloud platform server every 5 seconds to send the current electrical stimulation parameters and the sparse-density wave pattern to the cloud platform server; the mobile control terminal synchronizes messages from the topic corresponding to the cloud platform server every 5 seconds to obtain the current electrical stimulation parameters and the sparse-density wave pattern of the device.
10. A method for regulating body surface nerves electrically based on the body surface nerve electrical regulation system as described in claim 8 or 9, characterized in that, The following steps are involved: Step S1, the device is powered on and initializes its communication module, the mode selection component, and the parameter adjustment component; Step S2, after the communication module is successfully initialized, it connects to the local area network where the device is located, communicates with the cloud platform server, and subscribes to relevant topics; Step S3, the main control module repeatedly detects whether the parameter adjustment component and the mode selection component are operated; Step S4, if it is detected in step S3 that the parameter adjustment component or the mode selection component is operated, or the device receives a parameter adjustment command or a mode selection command, then the electrical stimulation related parameters of the device are adjusted accordingly according to the operated component or the command issued; Step S5: The main control module outputs a corresponding pulse width modulation signal according to the current electrostimulation-related parameters. The circuit module generates an electrostimulation output signal according to the pulse width modulation signal, and applies surface electrostimulation to the human body through the audio output terminal and the electrode patch. Step S6: The main control module publishes a message to the corresponding topic of the cloud platform server to send the current electrostimulation parameters and the dense and sparse wave mode to the cloud platform server. The mobile control terminal synchronizes the message from the corresponding topic of the cloud platform server to obtain the current electrostimulation parameters and the dense and sparse wave mode of the device.