一种电刺激系统的控制方法、装置及一种电刺激系统
By combining time-division multiplexing control switching circuit and attenuation circuit, the problem of high-voltage stimulation signal damage to the acquisition circuit in the electrical stimulation system is solved, realizing efficient and safe combination of electrical stimulation and acquisition, and ensuring the safety of the acquisition circuit and signal quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XINYUN MEDICAL TECH CO LTD
- Filing Date
- 2026-02-13
- Publication Date
- 2026-05-19
AI Technical Summary
In existing electrostimulation systems, under full-time acquisition mode, high-voltage stimulation signals can easily seep into low-voltage acquisition circuits, leading to damage to the acquisition circuits and loss of stimulation energy, thus affecting the safety and efficiency of the acquisition circuits.
The conduction state of the time-division multiplexing control switch circuit is separated from the stimulation period and the acquisition period. The control unit connects to the acquisition circuit after a delay after the stimulation period ends to acquire bioelectric signals. Combined with the attenuation circuit and the multiplexer switch, the electrical isolation between the acquisition circuit and the stimulation circuit is ensured.
This effectively avoids the impact and damage of high-voltage stimulation signals on low-voltage acquisition circuits, ensuring the safety and stimulation efficiency of the acquisition circuits, and improving the accuracy and reliability of signal acquisition.
Smart Images

Figure CN121695421B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of medical device technology, specifically to a control method, device, and an electrical stimulation system. Background Technology
[0002] With the development of medical technology, electrical stimulation systems have gradually become commonly used devices for treating pain symptoms. Electrical stimulation systems contact the patient's nervous system through electrode contacts on electrode leads, delivering stimulation pulses to relieve pain and achieve therapeutic goals. To make the effects of electrical stimulation more closely match the dynamic physiological state of the human body, electrical stimulation systems usually also need to collect relevant human data to achieve dynamic adjustments to the electrical stimulation, i.e., closed-loop control.
[0003] In existing technologies, electrostimulation systems generally employ a full-time acquisition mode where data acquisition and electrostimulation are synchronized to achieve uninterrupted perception of the human body's state and closed-loop control of the electrostimulation. Since the stimulation voltage output by the electrostimulation circuit typically exceeds the withstand voltage of the electronic components in the acquisition circuit, the electrical interference generated by the electrostimulation circuit during full-time acquisition, which becomes an artifact introduced by the acquisition circuit, often also exceeds the withstand voltage of the electronic components, potentially causing the acquisition circuit to burn out. Therefore, preventing artifacts from flowing into the acquisition circuit has become a pressing problem in this field.
[0004] Based on this, this application provides a control method, a device, and an electrical stimulation system. Summary of the Invention
[0005] In view of this, the present invention aims to provide a control method, device and an electrical stimulation system for an electrical stimulation system, so as to solve the problem of high voltage stimulation signal being injected into low voltage acquisition circuit when the electrical stimulation system adopts the full-time acquisition mode in actual engineering.
[0006] This invention provides a control method for an electrical stimulation system, the electrical stimulation system comprising multiple electrodes, a stimulation circuit, a data acquisition circuit, a switching circuit, and a control unit, wherein the control method is executed by the control unit, wherein:
[0007] During the stimulation period, a delay time is determined, and the stimulation circuit is controlled to send electrical stimulation signals to the multiple electrodes. At the same time, the switching circuit is controlled to electrically isolate the acquisition circuit from the multiple electrodes.
[0008] After the stimulation period begins and the delay time has elapsed, the switching circuit is controlled so that the acquisition circuit connects at least two electrodes after the stimulation period ends to acquire bioelectrical signals.
[0009] In some embodiments of this application, the switching circuit includes a main switch circuit for the acquisition path and a multiplexer switch;
[0010] The step of controlling the switching circuit to connect at least two electrodes to acquire bioelectrical signals after the stimulation period ends and the delay time has elapsed specifically includes:
[0011] Control the closure of the main switch circuit for the acquisition path;
[0012] Then, the multiplexer is controlled to select a closed path, so that the acquisition circuit is connected to at least two of the electrodes to acquire bioelectrical signals.
[0013] In some embodiments of this application, the step of determining the delay time specifically includes:
[0014] Determine the switching delay of the switching circuit;
[0015] The delay time is determined based on the switch delay and the stimulation period, wherein the sum of the switch delay and the delay time is not less than the stimulation period.
[0016] In some embodiments of this application, the electrical stimulation system further includes an attenuation circuit;
[0017] Before determining the delay time, the method further includes:
[0018] After the stimulation period ends, the attenuation circuit is controlled to connect to the plurality of electrodes and the floating ground reference point of the electrical stimulation system.
[0019] In some embodiments of this application, the delay time is determined by a pre-trained model based on the parameters of the electrical stimulation signal;
[0020] The method further includes:
[0021] The stimulation parameters of the electrical stimulation signal and the corresponding delay duration are recorded and stored as training samples for the model.
[0022] Secondly, embodiments of this application provide a control device for an electrical stimulation system, the electrical stimulation system including multiple electrodes, a stimulation circuit, a data acquisition circuit, a switching circuit, and a control unit, wherein the device is applied to the control unit, wherein:
[0023] The first control module is used to determine the delay time during the stimulation period, control the stimulation circuit to send electrical stimulation signals to the multiple electrodes, and at the same time control the switching circuit to electrically isolate the acquisition circuit from the multiple electrodes.
[0024] The second control module is used to control the switching circuit so that the acquisition circuit connects at least two electrodes after the stimulation period ends and the delay time has elapsed, in order to acquire bioelectrical signals.
[0025] Thirdly, embodiments of this application provide an electrical stimulation system, comprising:
[0026] Multiple electrodes;
[0027] Stimulation circuit, used to output electrical stimulation signals during the stimulation period;
[0028] Acquisition circuitry, used to acquire bioelectrical signals;
[0029] A switching circuit is connected between the plurality of electrodes and the stimulation circuit and the acquisition circuit; and
[0030] The control unit is connected to the switching circuit, the stimulation circuit, and the acquisition circuit.
[0031] The control unit is used to execute any of the control methods described above.
[0032] In some embodiments of this application, the switching circuit includes a stimulation switch circuit, a master switch circuit for acquisition channels, and a multiplexer switch. The stimulation circuit is connected to the plurality of electrodes through the stimulation switch circuit, and the acquisition circuit is connected to the plurality of electrodes through the master switch circuit for acquisition channels and the multiplexer switch. The multiplexer switch is used to control the connection of the acquisition circuit to each of the plurality of electrodes.
[0033] In some embodiments of this application, the electrical stimulation system further includes an attenuation circuit, which is connected to the plurality of electrodes and the floating ground reference point of the electrical stimulation system, respectively.
[0034] Fourthly, embodiments of this application provide an electrical stimulation system, the electrical stimulation system including a memory and a processor, the memory for storing a computer program, and the processor for executing the computer program to perform the above-described control method.
[0035] According to the embodiments of this application, by employing time-division multiplexing to control the conduction state of the switching circuit, the acquisition circuit and the stimulation circuit are electrically isolated during the stimulation phase of the high-voltage stimulation signal output. This physically isolates the sensitive acquisition circuit from the high-voltage stimulation circuit. The path of the high-voltage signal flowing into the acquisition circuit is cut off, effectively preventing the high-voltage stimulation signal from impacting and damaging the low-voltage acquisition circuit. Simultaneously, it prevents the stimulation current from being diverted to the acquisition path, ensuring stimulation efficiency and the safety of the acquisition circuit. Attached Figure Description
[0036] Figure 1 This is a schematic diagram of the circuit structure of an electrical stimulation system provided in an embodiment of this application.
[0037] Figure 2 This is a schematic diagram of the structure of an electrical stimulation system provided in an embodiment of this application.
[0038] Figure 3 This is a schematic diagram of the flow of a control method for an electrical stimulation system provided in an embodiment of this application.
[0039] Figure 4 This is a schematic diagram of the structure of an electrical stimulation device provided in an embodiment of this application.
[0040] Figure 5 This is a schematic diagram of an electrical stimulation system provided in an embodiment of this application.
[0041] Figure 6 This is a schematic diagram of a control signal timing diagram provided in an embodiment of this application.
[0042] Figure 7 This is a schematic diagram of a control device for an electrical stimulation system provided in this specification.
[0043] Figure 8 A method based on the embodiments of this application is provided. Figure 3 A schematic diagram of the electronic device using the method shown. Detailed Implementation
[0044] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0045] The terminology used in the embodiments of this invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. The singular forms “a,” “the,” and “the” as used in the embodiments of this invention and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0046] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0047] Depending on the context, the word "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection." Similarly, depending on the context, the phrase "if determination" or "if detection (of the stated condition or event)" can be interpreted as "when determination," "in response to determination," "when detection (of the stated condition or event)," or "in response to detection (of the stated condition or event)."
[0048] With the development of medical technology, electrical stimulation systems have gradually become a common device for treating pain symptoms. Electrical stimulation systems relieve pain by electrically stimulating biological nerve tissue and simultaneously collect bioelectrical signals induced by the electrical stimulation signal, such as evoked compound action potentials (ECAPs).
[0049] Specifically, the electrical stimulation system contacts the patient's nervous system through electrode contacts on electrode leads, thereby delivering stimulation pulses to relieve the patient's pain and achieve the therapeutic goal. To make the electrical stimulation effect more closely match the dynamic physiological state of the human body, the electrical stimulation system usually also needs to collect relevant human data to achieve dynamic adjustment of the electrical stimulation signal, i.e., closed-loop control.
[0050] Therefore, a full-time operating mode is commonly used, where data acquisition and electrical stimulation occur simultaneously to achieve uninterrupted perception of the human body's state and closed-loop control of the electrical stimulation. However, in order to overcome the inherent impedance of biological tissues and form an effective stimulation current to achieve the expected electrical stimulation modulation effect, the electrical stimulation signal usually has a high amplitude. The bioelectrical signals that the acquisition circuit needs to acquire are typically extremely weak. To ensure the acquisition circuit's sensitivity and detection accuracy for weak electrical signals in the microvolt to millivolt range, the withstand voltage threshold of its internal electronic components is adaptively designed to be low enough to detect weak signals. This results in the output voltage of the stimulation circuit being much higher than the withstand voltage of the electronic components in the acquisition circuit.
[0051] In this situation, especially when the electrical stimulation system needs to acquire microvolt-level ECAP signals with high fidelity and low noise, the inherent design of the current electrical stimulation system will cause high voltage stimulation signals and their attenuation artifacts to flow into the low voltage acquisition circuit, and even cause physical damage to the circuit and loss of stimulation energy.
[0052] For example, taking the application of an electrical stimulation system in spinal cord stimulation as an example, such as... Figure 1 As shown, Figure 1This is a schematic diagram of the circuit structure of an electrical stimulation system provided in an embodiment of this application. The electrical stimulation system includes electrodes, a stimulation circuit, and a acquisition circuit. R1 represents the inherent impedance of biological tissue. The black rectangle represents the electrodes of the electrical stimulation system. The two electrodes on the left represent electrode plates that output electrical stimulation pulse signals, and the two electrodes on the right represent electrodes that acquire bioelectrical signals.
[0053] The stimulation pulse voltage is typically between 10 and 30 volts. However, the core electronic components in the acquisition circuit, such as operational amplifiers and digital-to-analog converters, typically operate at 5 volts or even lower. If the electrical stimulation system operates in full-time mode, the artifacts caused by the stimulation pulse are usually also around 10-30 volts, far exceeding the voltage tolerance of the acquisition circuit, potentially causing it to burn out. Furthermore, according to... Figure 1 As shown in the circuit structure, in the full-time working mode, the electrical stimulation signal in the stimulation circuit can flow from the positive terminal to the negative terminal, from the positive terminal to the acquisition electrode and then to the bottom, or it can flow into the acquisition circuit and then to the ground, forming multiple paths. These shunt paths reduce the intensity of the stimulation current that the electrical stimulation system actually acts on the nerve tissue.
[0054] It should be noted that the artifacts and artifacts mentioned above refer to non-target electrical signals superimposed on the target bioelectrical signals during the acquisition process in systems where electrophysiological signal acquisition and electrical stimulation work together. These signals do not originate from the biological tissue itself and are introduced by various internal and external interference factors that invade the acquisition pathway through electrode coupling, circuit crosstalk, electromagnetic induction, etc. They are not the real physiological electrical signals required for the study and are the core interference affecting the signal acquisition quality in systems where electrophysiological signal acquisition and electrical stimulation work together.
[0055] To address the aforementioned problems, this application provides an electronic stimulation system, such as... Figure 2 As shown, Figure 2 This is a schematic diagram of the structure of an electrical stimulation system provided in an embodiment of this application. The electrical stimulation system includes multiple electrodes 100, a stimulation circuit 101, a data acquisition circuit 102, a switching circuit 103, and a control unit 104.
[0056] A switching circuit 103 is connected between the multiple electrodes 100 and the stimulation circuit 101 and the acquisition circuit 102. A control unit 104 is connected to the switching circuit 103, the stimulation circuit 101 and the acquisition circuit 102, and is used to control the switching circuit to achieve time-division multiplexing of the acquisition circuit and the stimulation circuit.
[0057] It should be noted that the electrical stimulation system generally refers to an implantable electrical stimulation system, and is used in scenarios where millisecond-level real-time closed-loop control is not required, such as for neuromodulation pain treatment. Due to the large number of scenarios, this application will not list them all. For ease of description, the following will use the spinal cord electrical stimulation system as an example to describe the electrical stimulation system and its control method.
[0058] To make this application clearer, this application also provides a method for such Figure 2 The control method of the electrical stimulation system shown is as follows: Figure 3 As shown, Figure 3 This is a schematic flowchart illustrating a control method for an electrical stimulation system provided in an embodiment of this application. The control method includes the following steps:
[0059] S300: During the stimulation period, determine the delay time, control the stimulation circuit to send electrical stimulation signals to the multiple electrodes, and at the same time control the switching circuit to electrically isolate the acquisition circuit from the multiple electrodes.
[0060] It should be noted that, in one or more embodiments of this application, the control method is executed by the control unit 104 of the electrical stimulation system, generally referring to the core processing component responsible for generating and outputting timing control signals to coordinate the timing of stimulation output and signal acquisition operations in the system. The control signals generated can be digital logic level signals used to precisely control the on / off state of subsequent switching circuits. Of course, other forms of signals can also be used, such as strings, codes, messages, CAN messages, etc., and this application does not impose any limitations on this. The settings can be configured according to actual needs.
[0061] Furthermore, in one or more embodiments of this application, the specific device constituting the control unit 104 is not limited, and may include, but is not limited to, a microcontroller, a central processing unit, a field-programmable gate array, or a digital logic circuit dedicated to timing generation. The control unit 104 may be driven by an internally stored program or driven and controlled by an external communication device, and this application does not impose any restrictions on this.
[0062] As one example, the control unit can be specifically a microcontroller integrating a timer, a pulse width modulation module, and general-purpose input / output ports. The microcontroller's software program defines a state machine that switches operating states based on preset time parameters, such as stimulation pulse width, post-stimulation delay, and acquisition window length, and sets or clears the corresponding general-purpose input / output ports in different states. This approach enables flexible, programmable timing control, easily adapting to different treatment and acquisition needs, because the microcontroller's parameters can be updated online via a communication interface.
[0063] In order to eliminate the threat of high-voltage electrical stimulation signals to the acquisition circuit, the control unit 104 first determines the delay time during the stimulation period, and then controls the stimulation circuit 101 to send electrical stimulation signals to multiple electrodes 100. At the same time, it controls the switching circuit 103 to electrically isolate the acquisition circuit 102 from the multiple electrodes 100.
[0064] Of course, in one or more embodiments of this application, the specific determination of the delay time is not limited. It can be one or more preset values determined based on human experience or the results of multiple experiments, such as the delay time being equal to the duration of the stimulation period. It can also be the most recent delay time setting value determined according to the working log of the electrical stimulation system, or it can be determined by other methods. For example, since the switching circuit usually has a certain time delay, i.e., a conduction window, during which the switch is not in a completely closed state, when determining the delay time, the switching delay of the switching circuit 103 can be determined first, and the delay time can be determined based on the time delay. This allows the acquisition circuit to start acquiring bioelectrical signals after the stimulation period ends after the switching delay and the delay time are superimposed. There are many possible solutions, which will not be listed here, but will be described in detail later.
[0065] Furthermore, in one or more embodiments of this application, there is no limitation on when the control unit 104 begins to determine the delay time. It can be predetermined or determined at the beginning of the stimulation period. This application does not impose any restrictions on this.
[0066] Furthermore, in one or more embodiments of this application, the timing of the connection between the stimulation circuit 101 and the electrode 100 is not limited. It can be connected before the start of the stimulation period, or at the beginning of the stimulation period, the control unit 104 controls the connection between the stimulation circuit 101 and the electrode. This can be set according to actual needs. Additionally, the disconnection of the stimulation circuit 101 from the electrode 100 after the stimulation period is not limited. This can be achieved by turning off the power to the stimulation circuit 101, causing it to stop sending electrical stimulation signals, or by disconnecting the switch circuit 103. This application does not impose any restrictions on this, and the connection can be set according to actual needs.
[0067] Furthermore, in one or more embodiments of this application, the specific electronic devices used to construct each switch in the switching circuit are not limited, such as single-channel or multi-channel switch arrays composed of metal-oxide-semiconductor field-effect transistors, insulated-gate bipolar transistors, or relays. Its key characteristic lies in the voltage it can withstand in the off state, i.e., the off-state withstand voltage is higher than the peak voltage of the transmitted stimulus signal.
[0068] Furthermore, in one or more embodiments of this application, electrical isolation refers to a state where there is no significant current flow between the stimulation circuit 101 and the electrode 100, or between the acquisition circuit 102 and the electrode 100. This can be changed by altering the on / off state of a switch, or by changing the impedance between the pathways. For example, when there is a high-impedance resistor between the acquisition circuit or the stimulation circuit and the electrode, the conduction state of the pathway can be changed by closing the switch circuit, connecting a low-impedance resistor in parallel in the pathway, or directly short-circuiting the high-impedance resistor. Many alternative solutions are possible; the above are merely embodiments provided in this application, and this application does not limit the scope of the solution. The solution can be configured according to actual needs.
[0069] Furthermore, the stimulation period refers to the time during which the electrical stimulation device sends electrical stimulation signals to the electrodes. During this period, the stimulation circuit 101 of the electrical stimulation device can continuously send electrical stimulation signals to the electrodes or send them in stages; this application does not impose any limitations on this. The start and end of this stage are determined by the logic or timer of the control unit. In one or more embodiments of this application, the duration of the stimulation period is not limited and can be set according to treatment needs, for example, in the range of 50 microseconds to 500 microseconds. It can also be set by an external controller; this application does not impose any limitations on this.
[0070] Furthermore, in one or more embodiments of this application, the specific type of electrical stimulation signal is not limited, such as a pulse signal, sine wave signal, DC signal, triangular wave signal, amplitude modulation signal, frequency modulation signal, step wave signal, etc., and can be designed as a continuous waveform signal or a composite modulated waveform signal depending on the application scenario, stimulation target, and modulation purpose. This application does not impose any restrictions on this. The electrical stimulation signal can be continuous or discontinuous.
[0071] S302: After the stimulation period begins and the delay time has elapsed, control the switching circuit so that the acquisition circuit connects at least two electrodes after the stimulation period ends to acquire bioelectrical signals.
[0072] To prevent the electrical stimulation signal from affecting the acquisition circuit and to prevent the acquisition circuit from shunting the electrical stimulation signal, the control unit can delay for a period of time after the stimulation period begins before starting to control the state of the switching circuit, taking into account the switching time delay of the switching circuit, so as to realize the conduction of the acquisition circuit.
[0073] Specifically, after the stimulation period begins and a delay period has elapsed, the control unit 104 controls the switching circuit 103 to connect the acquisition circuit 102 to at least two electrodes in order to acquire bioelectrical signals.
[0074] It should be noted that since bioelectrical signals are usually acquired through differential acquisition, the acquisition circuit 102 is generally connected to at least two electrodes 100. Of course, the acquisition circuit 102 can also be connected to all electrodes 100 for bioelectrical signal acquisition. This application does not impose any restrictions on this. It can be configured according to actual needs.
[0075] In addition, in one or more embodiments of this application, the timing function of the control unit 104 is not limited. It can be implemented by a pure digital circuit that uses a crystal oscillator to provide a clock reference and generates pulses with different time intervals through a counter chain and comparator. Alternatively, it can be implemented by running an infinite loop in a microprocessor, querying the system timer in the loop and performing corresponding port operations according to a preset timetable.
[0076] In addition, the control unit 104 can also emit a stimulation pulse signal at the beginning of the stimulation period. The duration of the stimulation pulse signal is a delay time. At the beginning of the pulse, the stimulation circuit 101 starts to output an electrical stimulation signal. At the end of the stimulation pulse signal, the switch circuit 103 starts to close. When the switch circuit is closed, the stimulation period has ended.
[0077] Of course, this is only one embodiment provided by this application, and other methods can also be used. This application does not limit these methods and can set them according to actual needs.
[0078] based on Figure 3 The control method of the electrostimulation system shown employs time-division multiplexing to control the conduction state of the switching circuit. This ensures electrical isolation between the acquisition circuit and the stimulation circuit during the stimulation phase when the high-voltage stimulation signal is output, thus physically isolating the sensitive acquisition circuit from the high-voltage stimulation circuit. This cuts off the path for the high-voltage signal to flow into the acquisition circuit, effectively preventing the high-voltage stimulation signal from impacting and damaging the low-voltage acquisition circuit. Simultaneously, it prevents the stimulation current from being diverted into the acquisition path, ensuring stimulation efficiency and the safety of the acquisition circuit.
[0079] In step S302, a fixed delay time may not be suitable for varying real-world conditions, such as changes in stimulation parameters, individual differences in tissue impedance, and fluctuations in electrode interface conditions. These factors all affect the rate of artifact decay. By monitoring the electrical response signal on the electrode in real time, i.e., the decay process of the stimulation artifact, and dynamically determining when the decay reaches a safe or acceptable level, adaptive delay control is achieved, ensuring that acquisition can begin at the optimal time under various conditions.
[0080] Specifically, when determining the delay time, the control unit 104 can also estimate the delay time by real-time monitoring of the electrical response signals of one or more electrodes and analyzing the attenuation of the electrical response signals. For example, after the stimulation period ends, the control unit 104 quickly samples the voltage on the electrode 100 at a high sampling rate. If the initial voltage is 30V, the control unit 104 can acquire a series of voltage change values [30V, 29.6V, 29V, ..., 25V]. Then, based on the voltage attenuation magnitude, it estimates the time required for the voltage to drop to 5V or lower, and uses the required time as the delay time for the next stimulation period.
[0081] Furthermore, since the decay of stimulus artifacts is a complex process influenced by multiple factors, it is difficult to monitor with simple thresholds or accurately model using fixed formulas. Machine learning models, however, excel at learning complex nonlinear relationships from historical data. Therefore, by training a model to learn the mapping relationship between electrical stimulation signal parameters, such as amplitude, pulse width, frequency, and waveform, and the optimal delay duration, a high-probability optimal delay time can be directly predicted before each stimulation based on the currently set parameters.
[0082] After the model training is completed, the pre-trained model is deployed on the control unit 104, and then the delay time is predicted by the model after each acquisition of the electrical response signal.
[0083] To better optimize the model, the control unit can also record the stimulation parameters of the electrical stimulation signal and the corresponding delay duration, storing them locally or in the cloud as training samples for subsequent model optimization. This model can quickly determine the delay during the stimulation period without requiring additional real-time monitoring circuitry or complex online judgment logic, simplifying system design and achieving more accurate predictions than simple threshold methods. It is particularly suitable for applications with large parameter spaces and complex relationships.
[0084] Furthermore, in one or more embodiments of this application, the specific method by which the model is trained is not limited. It can be trained using supervised training methods based on training samples. Alternatively, it can be trained using a federated algorithm to further protect user privacy data. For example, the model can be trained locally on the electrostimulation system based on training samples, and then the pre-update parameters of the model can be determined. During network connectivity or charging, the pre-update parameters are uploaded to the cloud, so that the cloud can fit updated parameters based on the pre-update parameters uploaded by each electrostimulation system. Then, the electrostimulation system updates its local model according to the updated parameters sent from the cloud.
[0085] Furthermore, to reduce delay time, i.e., to attenuate high-voltage artifacts more quickly and safely to accelerate the monitoring process or protect the monitoring circuit, the electrical stimulation system may also include an attenuation circuit. For example... Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of an electrical stimulation device provided in an embodiment of this application. The attenuation circuit 105 is connected between multiple electrodes 100 and a floating reference point.
[0086] The attenuation circuit 105 can be a resistor-capacitor network, a clamping circuit, or other circuits; this application does not impose any restrictions on this. It simply needs to rapidly attenuate artifacts at the electrodes. By introducing active attenuation, the monitoring waiting time can be shortened, and the system cycle frequency can be increased. Simultaneously, the attenuation circuit 105 can limit the maximum voltage at the input of the monitoring circuit, providing protection. Through model conversion, the delay required for natural attenuation can still be accurately estimated, balancing speed and accuracy.
[0087] In addition, in systems with multiple acquisition channels (e.g., for recording signals from different spinal cord segments or different nerve bundles), this application provides further optimization schemes in order to acquire signals from different channels in an orderly manner within an acquisition time period. Figure 1 The system architecture shown also includes a multiplexing switch circuit.
[0088] Because single-channel acquisition often has drawbacks in information acquisition and signal effectiveness when stimulating bioelectric signals, multiplexers are usually used to achieve multi-channel acquisition in order to improve the acquisition accuracy of bioelectric signals. However, multiplexers usually only perform channel selection functions and are difficult to withstand high voltage interference on the electrode side. Therefore, this electrical stimulation device can also set up a multi-stage switching circuit on the acquisition circuit side to establish a certain common-mode potential at the input of the acquisition circuit; then the channels of the multiplexer are switched to avoid the floating state or uncertain state caused by switching channels when the total path is not open, which affects the signal establishment.
[0089] Specifically, such as Figure 5 As shown, Figure 5 This is a schematic diagram of an electrical stimulation system provided in an embodiment of this application. The switching circuit 103 includes a stimulation switch circuit 1031, a master switch circuit 1032 for the acquisition path, and a multiplexer switch 1033. The stimulation circuit is connected to the electrodes 100 via the stimulation switch circuit 1031. The acquisition circuit 102 is connected to multiple electrodes 100 via the master switch circuit 1032 and the multiplexer switch 1033. The multiplexer switch 1033 controls the connection of the acquisition circuit 102 to each electrode 100. It should be noted that... Figure 5 The direction of the middle arrow indicates the direction of control signal transmission, not the connection method.
[0090] When the stimulation period ends and the delay time has elapsed, the main switch circuit 1032 of the acquisition path is turned on, and then the multiplexer switch 1033 is controlled to connect the acquisition circuit 102 to at least two electrodes 100.
[0091] This achieves controlled and orderly establishment of acquisition path connections. The timing control of the two-stage switch reduces transient noise introduced during channel switching, ensuring that each acquisition starts from a stable electrical state, thus improving the signal quality and reliability of the multi-channel acquisition system.
[0092] To clearly describe the operating timing of each circuit in the electrical stimulation system, this application uses the example of a control unit controlling each circuit by issuing control signals to describe the operating timing of the electrical stimulation system within one electrical stimulation cycle. For example... Figure 6 As shown, Figure 6 This is a schematic diagram of a control signal timing diagram provided in an embodiment of this application. The electrostimulation system enters the working state at time t1 in response to a high-level enable signal. Then, the control unit 104 generates a stimulation signal at time t1, causing the stimulation circuit to output an electrostimulation signal between times t1 and t4. During this process, the stimulation switch remains on. Then, the acquisition path master switch circuit closes in response to the falling edge of the stimulation signal. After the acquisition path master switch circuit closes, the multiplexer begins to activate, and after activation, bioelectrical signal acquisition begins. The filled diagonal lines in the diagram represent the time window for switch closure; at time t5, the acquisition path master switch circuit completely closes.
[0093] Based on the control method for an electrical stimulation system provided in one or more embodiments of this specification, the specification also provides a corresponding control device for an electrical stimulation system, such as... Figure 7 As shown.
[0094] Figure 7 This specification provides a schematic diagram of a control device for an electrical stimulation system, specifically including:
[0095] The first control module 700 is used to determine the delay time during the stimulation period, control the stimulation circuit to send electrical stimulation signals to the plurality of electrodes, and at the same time control the switching circuit to electrically isolate the acquisition circuit from the plurality of electrodes.
[0096] The second control module 701 is used to control the switching circuit after the start of the stimulation period and after the delay time, so that the acquisition circuit connects at least two of the electrodes after the end of the stimulation period to acquire bioelectric signals.
[0097] Optionally, the switching circuit includes a master switch circuit for the acquisition path and a multiplexer switch; the second control module 701 is specifically used to control the master switch circuit for the acquisition path to close; and then control the multiplexer switch to select the closed path, so that the acquisition circuit is connected to at least two of the electrodes to acquire bioelectric signals.
[0098] Optionally, the second control module 701 is specifically used to determine the switching delay of the switching circuit; and to determine the delay time based on the switching delay and the stimulation period, wherein the sum of the switching delay and the delay time is not less than the stimulation period.
[0099] Optionally, the electrical stimulation system further includes an attenuation circuit; the device further includes an attenuation module 702, specifically used to control the attenuation circuit to connect the plurality of electrodes to the floating ground reference point of the electrical stimulation system after the stimulation period ends.
[0100] Optionally, the delay time is determined by the model through pre-training based on the parameters of the electrical stimulation signal; the device further includes a storage module 703, specifically used to record and store the stimulation parameters of the electrical stimulation signal and the corresponding delay duration as training samples for the model.
[0101] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for apparatus or device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. The professional and apparatus embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0102] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0103] This application also provides an electrical stimulation system, including a memory and a processor, the memory for storing a computer program, and the processor, when executing the computer program, for performing the control method described above.
[0104] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any of the foregoing method embodiments.
[0105] in, Figure 8 An exemplary architecture of an electronic device is shown, which may include a processor 810, a video display adapter 811, a disk drive 812, an input / output interface 813, a network interface 814, and a memory 820. The processor 810, video display adapter 811, disk drive 812, input / output interface 813, network interface 814, and memory 820 can communicate with each other via a communication bus 830.
[0106] The processor 810 can be implemented using a general-purpose CPU, microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits to execute relevant programs and implement the technical solution provided in this application.
[0107] The memory 820 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 820 can store the operating system 821 for controlling the operation of the electronic device 800, and the basic input / output system (BIOS) 822 for controlling the low-level operations of the electronic device 800. Additionally, it can store a web browser 823, a data storage management system 824, and a media file playback device 900, etc. The aforementioned media file playback device 900 can be the application program that specifically implements the aforementioned steps in this embodiment. In summary, when the technical solution provided in this application is implemented through software or firmware, the relevant program code is stored in the memory 820 and is called and executed by the processor 810.
[0108] The input / output interface 813 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.
[0109] Network interface 814 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0110] Bus 830 includes a pathway for transmitting information between various components of the device, such as processor 810, video display adapter 811, disk drive 812, input / output interface 813, network interface 814, and memory 820.
[0111] It should be noted that although the above-described device only shows the processor 810, video display adapter 811, disk drive 812, input / output interface 813, network interface 814, memory 820, bus 830, etc., in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the solution of this application, and does not necessarily include all the components shown in the figures.
[0112] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer program product. This computer program product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0113] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A control method for an electrical stimulation system, characterized in that, The electrical stimulation system includes multiple electrodes, a stimulation circuit, a data acquisition circuit, a switching circuit, and a control unit. The switching circuit includes a master switch for the data acquisition channels and a multiplexer switch. The control method is executed by the control unit, wherein: During the stimulation period, the switching delay of the switching circuit is determined; The delay time is determined based on the switch delay and the stimulation period, wherein the sum of the switch delay and the delay time is not less than the stimulation period. The stimulation circuit is controlled to send electrical stimulation signals to the plurality of electrodes, and at the same time, the switching circuit is controlled to electrically isolate the acquisition circuit from the plurality of electrodes. After the stimulation period begins and the delay time has elapsed, the main switch circuit of the acquisition path is controlled to close. Then, the multiplexer is controlled to select a closed path, so that the acquisition circuit is connected to at least two of the electrodes to acquire bioelectrical signals.
2. The control method as described in claim 1, characterized in that, The electrical stimulation system also includes an attenuation circuit; Before determining the delay time, the method further includes: After the stimulation period ends, the attenuation circuit is controlled to connect to the plurality of electrodes and the floating ground reference point of the electrical stimulation system.
3. The control method as described in claim 1, characterized in that, The method further includes: The stimulation parameters of the electrical stimulation signal and the corresponding delay time are recorded and stored as training samples for the model. The trained model is used to determine the corresponding delay time based on the electrical stimulation signal.
4. A control device for an electrical stimulation system, characterized in that, The electrical stimulation system includes multiple electrodes, a stimulation circuit, a data acquisition circuit, a switching circuit, and a control unit. The switching circuit includes a master switch for the data acquisition channels and a multiplexer switch. The device is applied to the control unit, wherein: The first control module is used to determine the switching delay of the switching circuit during the stimulation period; determine the delay time based on the switching delay and the stimulation period, wherein the sum of the switching delay and the delay time is not less than the stimulation period; control the stimulation circuit to send electrical stimulation signals to the plurality of electrodes, and simultaneously control the switching circuit to electrically isolate the acquisition circuit from the plurality of electrodes. The second control module is used to control the main switch circuit of the acquisition path to close after the start of the stimulation period and after the delay time; and then control the multiplexer to select the closed path so that the acquisition circuit is connected to at least two of the electrodes to acquire bioelectric signals.
5. An electrical stimulation system, characterized in that, include: Multiple electrodes; Stimulation circuit, used to output electrical stimulation signals during the stimulation period; Acquisition circuitry, used to acquire bioelectrical signals; A switching circuit is connected between the plurality of electrodes and the stimulation circuit and the acquisition circuit; as well as The control unit is connected to the switching circuit, the stimulation circuit, and the acquisition circuit. The control unit is configured to execute the control method as described in any one of claims 1 to 3.
6. The electrical stimulation system as described in claim 5, characterized in that, The switching circuit includes a stimulation switch circuit, a master switch circuit for acquisition channels, and a multiplexer switch. The stimulation circuit is connected to the plurality of electrodes through the stimulation switch circuit, and the acquisition circuit is connected to the plurality of electrodes through the master switch circuit for acquisition channels and the multiplexer switch. The multiplexer switch is used to control the connection of the acquisition circuit to each of the plurality of electrodes.
7. The electrical stimulation system as described in claim 6, characterized in that, The electrical stimulation system also includes an attenuation circuit, which is connected to the plurality of electrodes and the floating ground reference point of the electrical stimulation system.
8. An electrical stimulation system, characterized in that, The electrical stimulation system includes a memory and a processor, the memory being used to store a computer program, and the processor executing the computer program to perform the control method according to any one of claims 1 to 3.