Constant current source waveform output method, electrical stimulation device, computer device and medium

By using the constant current source waveform output method in the transcranial electrical stimulation device, and automatically adjusting with the main control module, buffer and impedance feedback module, the problem of inaccurate adjustment of electrical stimulation parameters in the prior art is solved, and the safety and effect of use are improved.

CN118178857BActive Publication Date: 2025-03-04GUANGDONG INST OF INTELLIGENT SCI & TECH +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410198634.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-02-22
Publication Date
2025-03-04
Estimated Expiration
2044-02-22

AI Technical Summary

Technical Problem

Existing transcranial electrical stimulation devices require manual adjustment of electrical stimulation parameters. The adjustment accuracy is insufficient, which may affect the use effect and bring safety risks.

Method used

A constant current source waveform output method is provided, and the electrical stimulation waveform is generated through the main control module, and the buffer and impedance feedback module are automatically adjusted to ensure the precise control of the electrical stimulation parameters.

Benefits of technology

Automatic adjustment of electrical stimulation parameters is realized, adjustment accuracy is improved, operation is simplified, and the risk of use is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118178857B_ABST
    Figure CN118178857B_ABST
Patent Text Reader

Abstract

The present invention discloses a constant current source waveform output method and an electrical stimulation device, a computer device and a medium, the method comprising: a main control module generates and transmits a first electrical stimulation waveform to a differential amplifier through a buffer; the buffer transmits a DC feedback signal to the main control module according to the first electrical stimulation waveform, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the DC feedback signal; the differential amplifier adjusts the symmetry center of the first electrical stimulation waveform to obtain a second electrical stimulation waveform and transmits it to a constant current source; the constant current source converts the second electrical stimulation waveform into a third electrical stimulation waveform and transmits it to an electrode; the electrode releases the third electrical stimulation waveform to a contact point; an impedance feedback module detects impedance information of the contact point and transmits it to the main control module; the main control module adjusts waveform output parameters according to the impedance information. The embodiment of the present invention can adjust the output waveform parameters of the main control module through the DC feedback of the buffer and the impedance feedback of the impedance feedback module to achieve automatic adjustment of the electrical stimulation parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of constant current source transcranial electrical stimulation devices, in particular to a constant current source waveform output method and an electrical stimulation device, a computer device and a medium. Background Art

[0002] Transcranial Electrical Stimulation (TES) is a non-invasive brain nerve regulation technology that adjusts the excitability and plasticity of the brain by applying a weak electric current to the scalp. Nowadays, transcranial electrical stimulation has developed rapidly, and there are a large number of transcranial electrical stimulation devices on the market. Although these transcranial electrical stimulation devices provide adjustable electrical stimulation parameters, such devices are still in a mode that requires manual adjustment. Manual adjustment is not only inconvenient, but the user of the instrument can usually only adjust the electrical stimulation parameters according to their own vague feelings, and the adjustment accuracy is not enough. If the electrical stimulation parameters are not adjusted accurately enough, it may affect the user's use effect, and in severe cases may cause damage to the user. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a constant current source waveform output method, which can automatically adjust the constant current source transcranial electrical stimulation parameters, is simple to operate, and has reliable accuracy.

[0004] In a first aspect, an embodiment of the present invention provides a constant current source waveform output method, which is applied to a constant current source electrical stimulation device, wherein the constant current source electrical stimulation device includes a main control module, a buffer, a differential amplifier, a constant current source, an impedance feedback module, an electrode and a power supply module, wherein the electrode is arranged at a contact point; the constant current source waveform output method includes:

[0005] The main control module generates a first electrical stimulation waveform, and transmits the first electrical stimulation waveform to the differential amplifier through the buffer;

[0006] The buffer obtains a DC feedback signal according to the first electrical stimulation waveform and transmits the DC feedback signal to the main control module, and the main control module adjusts the parameters of the first electrical stimulation waveform according to the DC feedback signal;

[0007] The differential amplifier adjusts the symmetry center of the first electrical stimulation waveform to obtain a second electrical stimulation waveform; the differential amplifier transmits the second electrical stimulation waveform to the constant current source;

[0008] The constant current source converts the second electrical stimulation waveform to obtain a third electrical stimulation waveform, and transmits the third electrical stimulation waveform to the electrode;

[0009] The electrode releases the third electrical stimulation waveform to the contact point;

[0010] The impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module; the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information.

[0011] In some embodiments of the present invention, the step of the main control module generating a first electrical stimulation waveform and transmitting the first electrical stimulation waveform to the differential amplifier through the buffer includes:

[0012] The main control module generates an initial electrical stimulation waveform; the initial electrical stimulation waveform includes a DC signal waveform, an AC signal waveform, a pulse code modulation waveform and a random noise signal waveform;

[0013] The main control module performs vector sum superposition on the DC signal waveform, the AC signal waveform, the pulse code modulation waveform and the random noise signal waveform according to a preset scale factor to obtain the first electrical stimulation waveform;

[0014] The main control module transmits the first electrical stimulation waveform to a buffer.

[0015] In some embodiments of the present invention, the buffer obtains a DC feedback signal according to the first electrical stimulation waveform and transmits it to the main control module, and the main control module adjusts the parameters of the first electrical stimulation waveform according to the DC feedback signal, including:

[0016] The main control module compares the amplitude voltage of the first electrical stimulation waveform with the reference voltage provided by the power supply module according to the DC feedback signal;

[0017] According to the comparison result, the main control module adjusts the parameters of the first electrical stimulation waveform; the parameters of the first electrical stimulation waveform include the center point voltage of the first electrical stimulation waveform.

[0018] In some embodiments of the present invention, the constant current source electrical stimulation device further includes a plurality of ground electrodes, and the main control module is capable of controlling the on and off of the ground electrodes; the step of the electrodes releasing the third electrical stimulation waveform to the contact point includes:

[0019] The main control module obtains the distance between the electrode and its contact point and each of the ground electrodes;

[0020] The main control module controls the ground electrode closest to the electrode to be turned on, so that the electrode and its contact point and the ground electrode form a first closed loop;

[0021] The electrode releases a third electrical stimulation waveform to the contact point, so that the third electrical stimulation waveform acts on the first closed loop.

[0022] In some embodiments of the present invention, the electrode comprises a first electrode and a second electrode, and the step of the electrode releasing the third electrical stimulation waveform to the contact point further comprises:

[0023] Setting the positions of the first electrode and the second electrode so that a second closed loop is formed between the first electrode, the contact point of the first electrode, the second electrode and the contact point of the second electrode;

[0024] The main control module controls the constant current source to transmit two different third electrical stimulation waveforms to the first electrode and the second electrode respectively;

[0025] The first electrode and the second electrode respectively release the third electrical stimulation waveform to their respective contact points, so that the two different third electrical stimulation waveforms act on the second closed loop.

[0026] In some embodiments of the present invention, the impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information, including:

[0027] The impedance feedback module obtains the supply voltage and output current of the constant current source and transmits them to the main control module;

[0028] The main control module obtains a first impedance according to the supply voltage and the output current;

[0029] The main control module adjusts the amplitude of the first electrical stimulation waveform according to the first impedance.

[0030] In some embodiments of the present invention, the impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information, further comprising:

[0031] The main control module determines whether the electrode falls off the contact point according to the first impedance.

[0032] In a second aspect, an embodiment of the present invention provides a constant current source electrical stimulation device, comprising: a main control module, a buffer, a differential amplifier, a constant current source, an impedance feedback module, electrodes and a power supply module: the electrodes are arranged at contact points;

[0033] The main control module is used to generate a first electrical stimulation waveform, and transmit the first electrical stimulation waveform to the differential amplifier through the buffer; the buffer is used to obtain a DC feedback signal according to the first electrical stimulation waveform and transmit it to the main control module, and the main control module is also used to adjust the parameters of the first electrical stimulation waveform according to the DC feedback signal;

[0034] The differential amplifier is used to adjust the symmetry center of the first electrical stimulation waveform to obtain a second electrical stimulation waveform; the differential amplifier is also used to transmit the second electrical stimulation waveform to the constant current source;

[0035] The constant current source is used to convert the second electrical stimulation waveform to obtain a third electrical stimulation waveform and transmit the third electrical stimulation waveform to the electrode;

[0036] The electrode is used to release the third electrical stimulation waveform to the contact point;

[0037] The impedance feedback module is used to detect the impedance information of the contact point and transmit the impedance information to the main control module; the main control module is also used to adjust the amplitude of the first electrical stimulation waveform according to the impedance information.

[0038] In a third aspect, an embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load the at least one program to execute the constant current source waveform output method described in the embodiment of the above aspect.

[0039] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a program executable by a processor, and the program executable by the processor is used to execute the constant current source waveform output method as described in the above-mentioned embodiment when executed by the processor.

[0040] The constant current source waveform output method according to the embodiment of the present invention has at least the following beneficial effects: the constant current source waveform output method provided by the embodiment of the present invention is applied to a constant current source electrical stimulation device, generates electrical stimulation waveform signals through a main control module, processes these electrical stimulation waveform signals through a differential amplifier and a constant current source, and outputs them through electrodes. The embodiment of the present invention can adjust the waveform parameters output by the main control module through the DC feedback of the buffer and the impedance feedback of the impedance feedback module to achieve automatic adjustment of the electrical stimulation parameters without manual adjustment, and the adjustment accuracy is high. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0042] Figure 1A schematic block diagram of a constant current source waveform output method according to an embodiment of the present invention;

[0043] Figure 2 is a schematic diagram of a main control module according to an embodiment of the present invention;

[0044] Figure 3 is a schematic diagram of a first buffer according to an embodiment of the present invention;

[0045] Figure 4 is a schematic diagram of a second buffer according to an embodiment of the present invention;

[0046] Figure 5 is a schematic diagram of a differential amplifier according to an embodiment of the present invention;

[0047] Figure 6 is a schematic diagram of a constant current source according to an embodiment of the present invention;

[0048] Figure 7 is a schematic diagram of an impedance feedback module according to an embodiment of the present invention;

[0049] Figure 8 FIG. 4 is a schematic diagram of an isolation module according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0051] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0052] In the description of the present invention, "several" means one or more, "more" means two or more, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of the first, second or third, it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0053] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.

[0054] The concepts involved in the embodiments of the present invention are explained below:

[0055] DAC: Digital to analog converter, a device that converts digital quantities into analog quantities;

[0056] MCU: Micro Controller Unit, also known as Single Chip Microcomputer or MCU, is a chip-level computer that appropriately reduces the frequency and specifications of the central processing unit (CPU) and integrates memory, timer, USB, A / D conversion, UART, PLC, DMA and other peripheral interfaces, and even LCD driver circuits on a single chip to form a chip-level computer, which can provide different combination controls for different applications.

[0057] tDCS (Transcranial Direct Current Stimulation): A weak direct current is applied to the brain through electrodes on the scalp, which can adjust the excitability of neurons;

[0058] tACS (Transcranial Alternating Current Stimulation): Using electrodes on the scalp to apply alternating current, the frequency of which is usually synchronized with the electrical activity inside the brain;

[0059] tPCS (Transcranial Pulsed Current Stimulation): Using pulsed current to stimulate the brain can adjust the excitability of neurons;

[0060] tRNS (Transcranial Random Noise Stimulation): uses electrodes on the scalp to apply random noise current within a certain frequency range to regulate neuronal activity.

[0061] The constant current source waveform output method provided in the embodiment of the present invention is applied to a constant current source electrical stimulation device, generates electrical stimulation waveform signals through a main control module, processes these electrical stimulation waveform signals through a differential amplifier and a constant current source, and outputs them through electrodes. The embodiment of the present invention can adjust the waveform parameters output by the main control module through the DC feedback of the buffer and the impedance feedback of the impedance feedback module to achieve automatic adjustment of the electrical stimulation parameters without manual adjustment, and the adjustment accuracy is high.

[0062] The method of the embodiment of the present invention is further described below based on the accompanying drawings.

[0063] Reference Figure 1 to Figure 7 , Figure 1 A schematic block diagram of a constant current source waveform output method is provided for an embodiment of the present invention. The method is applied to a constant current source electrical stimulation device. The constant current source electrical stimulation device includes a main control module, a buffer, a differential amplifier, a constant current source, an impedance feedback module, an electrode and a power supply module. The electrode is arranged at a contact point. The constant current source waveform output method includes:

[0064] Step S100, the main control module generates a first electrical stimulation waveform, and transmits the first electrical stimulation waveform to the differential amplifier through a buffer;

[0065] Step S200, the buffer obtains a DC feedback signal according to the first electrical stimulation waveform and transmits it to the main control module, and the main control module adjusts the parameters of the first electrical stimulation waveform according to the DC feedback signal;

[0066] Step S300, the differential amplifier adjusts the symmetry center of the first electrical stimulation waveform to obtain a second electrical stimulation waveform; the differential amplifier transmits the second electrical stimulation waveform to a constant current source;

[0067] Step S400, the constant current source converts the second electrical stimulation waveform to obtain a third electrical stimulation waveform, and transmits the third electrical stimulation waveform to the electrode;

[0068] Step S500, the electrode releases a third electrical stimulation waveform to the contact point;

[0069] Step S600: The impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module; the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information.

[0070] It should be noted that in step S100, the main control module in the embodiment of the present invention can be an MCU (MicroController Unit), and the MCU has an integrated digital-to-analog converter that can generate various types of electrical stimulation waveforms; the digital-to-analog converter in the embodiment of the present invention uses a DAC, which can convert the digital signal of the main control module into an analog signal. Further, in step S200, the buffer can eliminate the feedback effect between the main control module and the differential amplifier, and can enable the main control module to obtain the waveform output parameters of the first electrical stimulation waveform through the feedback of the circuit around the buffer and the main control module, and then feedback and adjust the parameters of the first electrical stimulation waveform; further, the parameters of the first electrical stimulation waveform include but are not limited to the waveform amplitude, waveform type and the center point voltage of the waveform. Further, in step S300, the differential amplifier adjusts the symmetric center of the first electrical stimulation waveform to obtain the second electrical stimulation waveform and transmit it to the constant current source. Further, in steps S400 to S500, the constant current source inputs the adjusted voltage waveform to generate the required constant current source, that is, to generate the third electrical stimulation waveform, and transmit it to the contact point on the skull through the electrode. Furthermore, in step S600, the main control module tests the voltage U of the output electrode of a single constant current source to the ground through the impedance detection module, and then calculates the total impedance between the electrode and the stimulation circuit according to R=U / I, and then adjusts the size of I through the DAC, thereby adjusting the voltage U of the output electrode of the constant current source to the ground, to avoid U being greater than or equal to the op amp ± power supply voltage, causing the stimulation waveform to become a constant square wave; the impedance feedback module can feed back the impedance of the contact point to the impedance of the contact point; and the main control module starts to control the DAC to send a DC signal. It should be noted that the constant current source waveform output method provided in the embodiment of the present invention can output the required waveform to the contact point, and two feedback signals are set to adjust the output waveform, one feedback is for the MCU to detect the DC component of the differential amplifier through the buffer for adjustment; one feedback is for the impedance between the detection electrode and the contact point of the human head to determine the size of the contact impedance to dynamically adjust the parameters of the DAC, and the two feedbacks are comprehensively adjusted to avoid saturation of the constant current source output waveform; Figure 2 is a schematic diagram of a main control module according to an embodiment of the present invention, Figure 3 , Figure 4 is a schematic diagram of a buffer according to an embodiment of the present invention, Figure 5 is a schematic diagram of a differential amplifier according to an embodiment of the present invention, Figure 6 is a schematic diagram of a constant current source according to an embodiment of the present invention, Figure 7 Schematic diagram of an impedance feedback module according to an embodiment of the present invention.

[0071] Reference Figure 2 to Figure 5 In some embodiments of the present invention, the step of generating a first electrical stimulation waveform by a main control module and transmitting the first electrical stimulation waveform to a differential amplifier through a buffer includes:

[0072] Step S110, the main control module generates an initial electrical stimulation waveform; the initial electrical stimulation waveform includes a DC signal waveform, an AC signal waveform, a pulse code modulation waveform and a random noise signal waveform;

[0073] Step S120, the main control module performs vector sum superposition on the DC signal waveform, the AC signal waveform, the pulse code modulation waveform and the random noise signal waveform according to a preset scale factor to obtain a first electrical stimulation waveform;

[0074] Step S130: the main control module transmits the first electrical stimulation waveform to the buffer.

[0075] It should be noted that the initial electrical stimulation waveform of the embodiments of the present invention includes a direct current signal waveform (tDCS), an alternating current signal waveform (tACS), a pulse code modulation waveform (tPCS) and a random noise signal waveform (tRNS). The main control module can adjust the type of waveform output by the internally integrated DAC and decide whether a superimposed waveform is needed according to demand. For example, in some embodiments of the present invention, the main control module can output a vector and superimposed DAC output waveform as (aDCS+bACS+cPCS+dRNS) (amplitude is less than the DAC reference voltage Vref), where a, b, c, and d are proportional factors.

[0076] Reference Figure 3 , Figure 4 In some embodiments of the present invention, the buffer obtains a DC feedback signal according to the first electrical stimulation waveform and transmits it to the main control module, and the main control module adjusts the parameters of the first electrical stimulation waveform according to the DC feedback signal, including:

[0077] Step S210, the main control module compares the amplitude voltage of the first electrical stimulation waveform with the reference voltage provided by the power supply module according to the DC feedback signal;

[0078] Step S220, according to the comparison result, the main control module adjusts the parameters of the first electrical stimulation waveform; the parameters of the first electrical stimulation waveform include the center point voltage of the first electrical stimulation waveform;

[0079] It should be noted that in step S210 to step S220, in the embodiment of the present invention, the MCU detects Vref / 2 of the DAC (Vref is the DAC reference voltage), so that the DAC center voltage can be dynamically adjusted by the MCU. Furthermore, in addition to adjusting the center point voltage, the adjusted waveform output parameters also include parameters such as the type of waveform, the amplitude voltage of the waveform, etc., which can be adjusted according to actual needs. Specifically, in some embodiments of the present invention, the buffer includes Figure 3 The first buffer shown and Figure 4The main control module inputs the first electrical stimulation waveform into the first buffer and the second buffer respectively, and processes the electrical stimulation waveform through the buffer; the main control module also detects Figure 4 The voltage amplitude between the resistors R7 and R14 shown in the figure is used to obtain the center point voltage of the first electrical stimulation waveform; when the resistance values ​​of R7 and R14 are equal, the amplitude between the two is half of the reference voltage provided by the power supply module.

[0080] In some embodiments of the present invention, the constant current source electrical stimulation device further includes a plurality of ground electrodes, and the main control module can control the on and off of the ground electrodes; the step of the electrodes releasing the third electrical stimulation waveform to the contact point includes:

[0081] Step S510, the main control module obtains the distance between the electrode and its contact point and each ground electrode;

[0082] Step S520, the main control module controls the ground electrode closest to the electrode to be turned on, so that the electrode and its contact point and the ground electrode form a first closed loop;

[0083] Step S530: the electrode releases the third electrical stimulation waveform to the contact point, so that the third electrical stimulation waveform acts on the first closed loop.

[0084] In some embodiments of the present invention, the step of the electrode releasing the third electrical stimulation waveform to the contact point further includes:

[0085] Step S540, the electrode includes a first electrode and a second electrode, and the positions of the first electrode and the second electrode are set so that a second closed loop is formed between the first electrode, a contact point of the first electrode, and the second electrode and the contact point of the second electrode;

[0086] Step S550, the main control module controls the constant current source to transmit two different third electrical stimulation waveforms to the first electrode and the second electrode respectively;

[0087] Step S560: The first electrode and the second electrode release the third electrical stimulation waveform to their respective contact points, so that two different third electrical stimulation waveforms act on the second closed loop.

[0088] It should be noted that in step S510 to step S560, in addition to the closed loop formed between the electrode and the ground electrode in the embodiment of the present invention, a closed loop can also be formed between the electrodes, such as the second closed loop formed between the first electrode and the second electrode in the embodiment of the present invention; further, in some embodiments of the present invention, two constant current sources are set, one constant current source and its pre-circuit (the pre-circuit refers to the above-mentioned buffer, differential amplifier, DAC and other circuit structures) are electrically connected to the first electrode, and the other constant current source and its pre-circuit are connected to the second electrode. It can be understood that the first electrode and the second electrode provided in the embodiment of the present invention can simultaneously release the third electrical stimulation waveform to the contact point given to them, and can also release the third electrical stimulation waveform to the stimulation point in turn according to a certain duty cycle. Further, the two constant current sources stimulate the first electrode and the second electrode respectively, and the first electrode and the second electrode contact two different positions respectively. At the same time, there are two ground electrodes next to the two electrodes, and the ground electrodes can also be divided into a first ground electrode and a second ground electrode. The embodiment of the present invention can control the MCU output through the serial port through the upper computer interface. The embodiment of the present invention includes 4 stimulation modes. Mode 1: the IO port of the main control module corresponding to the constant current source connected to the first electrode and the IO port of the main control module corresponding to the constant current source connected to the second electrode output a high level, and the first electrode and the nearest first ground electrode form a relatively obvious stimulation circuit with the contact point on the skull, and different stimulation effects on the skull are achieved according to different output waveform settings; Mode 2: when the IO port of the main control module corresponding to the constant current source connected to the first electrode outputs a high level and the IO port of the main control module corresponding to the constant current source connected to the second electrode outputs a low level, the second electrode and the nearest second ground electrode form a relatively obvious stimulation circuit with the contact point on the skull, and different stimulation effects on the skull are achieved according to different output waveform settings; Mode 3 : When the IO port of the main control module corresponding to the constant current source connected to the first electrode outputs a low level and the IO port of the main control module corresponding to the constant current source connected to the second electrode outputs a low level, the first electrode and the nearest first ground electrode form a stimulation circuit with the contact point on the skull, and the second electrode and the nearest second ground electrode form a stimulation circuit with the contact point on the skull. There are two relatively obvious stimulation circuits in total, and different stimulation effects on the skull can be achieved according to different output waveform settings; Method four: Disconnect the first ground electrode and the second ground electrode, when the IO port of the main control module corresponding to the constant current source connected to the first electrode outputs a high level and the IO port of the main control module corresponding to the constant current source connected to the second electrode outputs a high level, the first electrode, the second electrode and the brain form a stimulation circuit, and according to different output voltage waveform settings, an intermittent stimulation effect can be produced.

[0089] Reference Figure 6-7In some embodiments of the present invention, the impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information, including:

[0090] Step S610, the impedance feedback module obtains the supply voltage and output current of the constant current source, and transmits them to the main control module;

[0091] Step S620, the main control module obtains a first impedance according to the power supply voltage and the output current;

[0092] Step S630: the main control module adjusts the amplitude of the first electrical stimulation waveform according to the first impedance.

[0093] It should be noted that the specific structure of the impedance feedback module is as follows Figure 7 As shown, the impedance feedback module obtains the supply voltage of the above-mentioned constant current source through the excitation1 port and the excitation2 port and transmits it to the main control module. The main control module calculates the first impedance according to the supply voltage and the value of the current output by the DAC, and feeds it back to the main control module. The main control module can judge whether the parameters of the third electrical stimulation waveform of the contact point of the electrode are suitable under the current conditions and intensity according to the first impedance; if not, the main control module can dynamically adjust the amplitude of the output current of the constant current source according to the first impedance until the first impedance of the contact point is within the range of the appropriate threshold. It can be understood that the purpose of adjusting the first impedance is to avoid the saturation of the third stimulation waveform output by the constant current source. Since the stimulation waveform voltage is a constant square wave after the constant current source output is saturated, the main control module cannot refer to it.

[0094] In some embodiments of the present invention, the impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information, further comprising:

[0095] In step S640, the main control module determines whether the electrode falls off the contact point according to the first impedance.

[0096] It should be noted that if the value of the first impedance calculated by the main control module is too large, it can be considered that the electrode has fallen off from the contact point, excluding external force interference. Further, after the electrode falls off from the contact point, the main control module can sound an alarm through an external alarm to remind the user; or cut off the power supply of the entire device through a switch circuit.

[0097] Reference Figure 8 In some embodiments of the present invention, the present invention is further provided with an isolation module, Figure 8The schematic diagram of the isolation module U12 of the embodiment of the present invention is used to isolate the external power supply from the dual-way constant current source electrical stimulation circuit to prevent the high voltage of the power supply, such as the household voltage of 220V, from being transmitted to the contact point of the electrode. Optionally, the isolation module U12 of the embodiment of the present invention adopts the DCDC isolation power chip of Jinshengyang, and the isolation voltage is 5000VAC.

[0098] In a second aspect, an embodiment of the present invention provides a constant current source electrical stimulation device, comprising: a main control module, a buffer, a differential amplifier, a constant current source, an impedance feedback module, electrodes and a power supply module: the electrodes are arranged at contact points;

[0099] The main control module is used to generate a first electrical stimulation waveform and transmit the first electrical stimulation waveform to the differential amplifier through a buffer; the buffer is used to obtain a DC feedback signal according to the first electrical stimulation waveform and transmit it to the main control module, and the main control module is also used to adjust the parameters or center point voltage of the first electrical stimulation waveform according to the DC feedback signal;

[0100] The differential amplifier is used to adjust the symmetry center of the first electrical stimulation waveform to obtain a second electrical stimulation waveform; the differential amplifier is also used to transmit the second electrical stimulation waveform to a constant current source;

[0101] The constant current source is used to convert the second electrical stimulation waveform to obtain a third electrical stimulation waveform and transmit the third electrical stimulation waveform to the electrode;

[0102] The electrode is used to release a third electrical stimulation waveform to the contact point;

[0103] The impedance feedback module is used to detect the impedance information of the contact point and transmit the impedance information to the main control module; the main control module is also used to adjust the amplitude of the first electrical stimulation waveform according to the impedance information.

[0104] It should be noted that, in some embodiments of the present invention, the constant current source electrical stimulation device includes at least two sets of constant current source devices, each of which includes a buffer, a differential amplifier, a constant current source and an electrode. The main control module and the impedance feedback module are shared by the two sets of constant current source devices in the embodiment of the present invention. Each set of constant current source devices cooperates with the contact points to form an electrical stimulation circuit, and at least two electrical stimulation circuits can be formed during use. It is understandable that the embodiment of the present invention can add or reduce the number of sets of the above-mentioned constant current source devices according to demand, thereby increasing or reducing the number of electrical stimulation circuits.

[0105] In a third aspect, an embodiment of the present invention provides a computer device, including a memory and a processor, the memory is used to store at least one program, and the processor is used to load at least one program to execute the constant current source waveform output method of the embodiment of the above aspect.

[0106] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a program executable by a processor is stored. When the program executable by the processor is executed by the processor, it is used to execute the constant current source waveform output method as described in the above-mentioned embodiment.

[0107] It should be appreciated that embodiments of the present invention may be implemented or enforced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques - including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in an assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed ASIC for this purpose.

[0108] Furthermore, the operations of the processes described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that is executed collectively on one or more processors, by hardware, or a combination thereof. The computer program includes a plurality of instructions that may be executed by one or more processors.

[0109] Further, the method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, etc. Various aspects of the present invention can be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, an optical read and / or write storage medium, a RAM, a ROM, etc., so that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the process described herein. In addition, the machine-readable code, or portions thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor, the invention described herein includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques of the present invention, the present invention also includes the computer itself.

[0110] The computer program can be applied to input data to perform the functions described herein, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents physical and tangible objects, including specific visual depictions of physical and tangible objects produced on the display.

[0111] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A constant current source waveform output method, characterized in that: Applicable to a constant current source electrical stimulation device, the constant current source electrical stimulation device comprises a main control module, a buffer, a differential amplifier, a constant current source, an impedance feedback module, an electrode and a power supply module, wherein the electrode is arranged at a contact point; The constant current source waveform output method comprises: The main control module generates a first electrical stimulation waveform, and transmits the first electrical stimulation waveform to the differential amplifier through the buffer; The buffer obtains a DC feedback signal according to the first electrical stimulation waveform and transmits the DC feedback signal to the main control module, and the main control module adjusts the parameters of the first electrical stimulation waveform according to the DC feedback signal; The differential amplifier adjusts the symmetry center of the first electrical stimulation waveform to obtain a second electrical stimulation waveform; the differential amplifier transmits the second electrical stimulation waveform to the constant current source; The constant current source converts the second electrical stimulation waveform to obtain a third electrical stimulation waveform, and transmits the third electrical stimulation waveform to the electrode; The electrode releases the third electrical stimulation waveform to the contact point; The impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information; The buffer obtains a DC feedback signal according to the first electrical stimulation waveform and transmits it to the main control module, and the main control module adjusts the parameters of the first electrical stimulation waveform according to the DC feedback signal, including: The main control module compares the amplitude voltage of the first electrical stimulation waveform with the reference voltage provided by the power supply module according to the DC feedback signal; According to the comparison result, the main control module adjusts the parameters of the first electrical stimulation waveform; the parameters of the first electrical stimulation waveform include the center point voltage of the first electrical stimulation waveform; The constant current source electrical stimulation device further comprises a plurality of ground electrodes, and the main control module can control the on and off of the ground electrodes; the step of the electrodes releasing the third electrical stimulation waveform to the contact point comprises: The main control module obtains the distance between the electrode and its contact point and each of the ground electrodes; The main control module controls the ground electrode closest to the electrode to be turned on, so that the electrode and its contact point and the ground electrode form a first closed loop; The electrode releases a third electrical stimulation waveform to the contact point, so that the third electrical stimulation waveform acts on the first closed loop; The electrode comprises a first electrode and a second electrode, and the step of the electrode releasing the third electrical stimulation waveform to the contact point further comprises: Setting the positions of the first electrode and the second electrode so that a second closed loop is formed between the first electrode, the contact point of the first electrode, the second electrode and the contact point of the second electrode; The main control module controls the constant current source to transmit two different third electrical stimulation waveforms to the first electrode and the second electrode respectively; The first electrode and the second electrode respectively release the third electrical stimulation waveform to their respective contact points, so that the two different third electrical stimulation waveforms act on the second closed loop.

2. The constant current source waveform output method according to claim 1, characterized in that: The step of the main control module generating a first electrical stimulation waveform and transmitting the first electrical stimulation waveform to the differential amplifier through the buffer includes: The main control module generates an initial electrical stimulation waveform; the initial electrical stimulation waveform includes a DC signal waveform, an AC signal waveform, a pulse code modulation waveform and a random noise signal waveform; The main control module performs vector sum superposition on the DC signal waveform, the AC signal waveform, the pulse code modulation waveform and the random noise signal waveform according to a preset scale factor to obtain the first electrical stimulation waveform; The main control module transmits the first electrical stimulation waveform to a buffer.

3. The constant current source waveform output method according to claim 1, characterized in that: The impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information, including: The impedance feedback module obtains the supply voltage and output current of the constant current source and transmits them to the main control module; The main control module obtains a first impedance according to the supply voltage and the output current; The main control module adjusts the amplitude of the first electrical stimulation waveform according to the first impedance.

4. The constant current source waveform output method according to claim 3, characterized in that: The impedance feedback module detects the impedance information of the contact point and transmits the impedance information to the main control module, and the main control module adjusts the amplitude of the first electrical stimulation waveform according to the impedance information, further comprising: The main control module determines whether the electrode falls off from the contact point according to the first impedance.

5. A constant current source electrical stimulation device, characterized in that: include: Main control module, buffer, differential amplifier, constant current source, impedance feedback module, electrode and power supply module: the electrode is arranged at the contact point; The constant current source electrical stimulation device is used to execute the constant current source waveform output method described in any one of claims 1 to 4.

6. A computer device, characterized in that: It comprises a memory and a processor, wherein the memory is used to store at least one program, and the processor is used to load the at least one program to execute the constant current source waveform output method according to any one of claims 1 to 4.

7. A computer-readable storage medium storing a program executable by a processor, characterized in that: The program executable by the processor is used to execute the constant current source waveform output method as described in any one of claims 1 to 4 when executed by the processor.

Citation Information

Patent Citations

  • Helmet integrated transcranial electric stimulation device

    CN110354382A

  • Scalp electrical stimulation device based on five-transportation-six-gas

    CN117357791A

  • Electrical stimulation device and electrical stimulation method

    US20130093501A1