Multi-channel feedback type electrical stimulation signal output method and circuit

By using power isolation and serial communication circuit in the electrical stimulation signal output circuit, combined with DAC and current detection circuit, the problem of insufficient current judgment error and real-time in the prior art is solved, and high safety and high real-time performance are achieved Channel electrical stimulation signal output.

CN118971888APending Publication Date: 2024-11-15GUANGZHOU HONGXIANG MEDICAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411050862.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing multi-channel bipolar electrical stimulation circuit is not powered by isolation, resulting in errors in current judgment and insufficient real-time and safety of the muscle electrical stimulation circuit.

Method used

The multi-channel feedback-type electrical stimulation signal output method is used to isolate the external environment from the electrical stimulation output circuit through the power isolation circuit and the serial communication circuit. The waveform parameter adjustment and feedback adjustment are used to ensure the signal output. Security and real-time.

Benefits of technology

It improves the safety and real-time nature of electrical stimulation signal transmission, enhances the accuracy and flexibility of output waveforms, and ensures the safety and practicality of electrical stimulation output circuits.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971888A_ABST
    Figure CN118971888A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-channel feedback type electrical stimulation signal output method and circuit, and the method comprises the steps: analyzing serial port instruction data transmitted by a serial port communication circuit according to an electrical stimulation starting signal triggered by a power isolation circuit, obtaining a target waveform and a target voltage, adjusting the waveform parameters of an electrical stimulation output circuit according to the target waveform, and outputting a multi-channel feedback type electrical stimulation signal. The output voltage parameter of the DAC circuit is adjusted according to the target voltage, so that the circuit outputs current according to the adjusted voltage to control the electrical stimulation output circuit to output a target waveform signal; and loop current detection is carried out on the electrical stimulation output circuit, and parameter adjustment is carried out on the DAC circuit according to detected current feedback data, so that the circuit outputs an adjusted control current according to the adjusted parameter. Internal communication and external communication are isolated through the serial port communication circuit, so that the safety and the real-time performance of signal transmission are ensured; whether the output waveform signal is abnormal or not is determined through loop current detection and feedback adjustment is performed, so that the accuracy and practicability of the output waveform are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of circuit signal technology, and in particular to a multi-channel feedback type electrical stimulation signal output method and circuit. Background Art

[0002] Electrotherapy is a method of treating diseases using different types of electric currents and electromagnetic fields. It is one of the most commonly used methods in physical therapy. There are mainly direct current therapy, direct current drug ion introduction therapy, low-frequency pulse electrotherapy, medium-frequency pulse electrotherapy, high-frequency electrotherapy, and electrostatic therapy. Different types of electric currents have different main physiological effects on the human body. Direct current is a current with a constant direction. It can change the distribution of ions in the body and adjust the body's functions. It is often used for drug ion introduction; low and medium frequency currents stimulate nerve and muscle contraction, reduce pain thresholds, and relieve adhesions. They are often used for neuromuscular diseases such as injuries and inflammation; high-frequency electricity promotes circulation with its thermal effect and thermal external effect on the human body, subsides inflammation and edema, stimulates tissue regeneration, and relieves pain. It is often used to treat injuries, inflammatory pain syndromes, and high-power high-frequency electricity can be used for heating to treat cancer; the main function of static electricity is to regulate central nervous and plant functions. It is often used for neurosis, early hypertension, and menopausal syndrome.

[0003] However, the multi-channel bipolar electrical stimulation circuit provided by the prior art does not have a power isolation circuit set for the power supply, and the circuit requires a bipolar power supply, and only uses a voltage-controlled constant current source circuit to ensure current accuracy, which leads to errors in current judgment; and the muscle electrical stimulation circuit provided by the prior art receives external instructions through a wifi Bluetooth unit, which not only cannot guarantee real-time performance, but also has an adverse effect on the safety of electrical stimulation. Summary of the invention

[0004] The present invention provides a multi-channel feedback type electrical stimulation signal output method and circuit to improve the safety and real-time performance of the instruction receiving mode, while achieving the technical effect of realizing bipolar waveform output using only a single power supply.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a multi-channel feedback electrical stimulation signal output method, comprising the following steps:

[0006] In response to the electrical stimulation start signal triggered by the power isolation circuit, receiving and parsing the serial port command data transmitted by the serial port communication circuit to obtain the target waveform and target voltage;

[0007] Adjusting the waveform parameters of the electrical stimulation output circuit according to the target waveform, and adjusting the output voltage parameters of the DAC circuit according to the target voltage, so that the DAC circuit outputs a corresponding control current according to the adjusted voltage parameters to control the electrical stimulation output circuit to output the target waveform signal;

[0008] The loop current of the electrical stimulation output circuit is detected and analyzed to obtain current feedback data, and then the parameters of the DAC circuit are adjusted according to the current feedback data so that the DAC circuit outputs current according to the adjusted parameters.

[0009] After responding to the electric stimulation start signal triggered by the power isolation circuit, the electric stimulation signal output method provided by the present invention receives and analyzes the serial port command data transmitted by the serial port communication circuit to determine the target waveform and the first target voltage. By receiving the command data through the serial port communication circuit, the communication isolation between the electric stimulation signal output circuit and the external environment is achieved, the communication of the electric stimulation signal application part is isolated from the external communication, the input and application are completely isolated, and the safety of the electric stimulation signal transmission is ensured. The use of the serial port communication circuit for serial port command reception also improves the real-time performance of the electric stimulation signal transmission.

[0010] After determining the target waveform and target voltage, the system can adjust the waveform parameters of the electrical stimulation output circuit according to the target waveform, thereby improving the flexibility and practicality of adjusting the waveform of the output signal of the electrical stimulation output circuit, and adjusting the output voltage parameters of the DAC circuit according to the target voltage, so that the DAC circuit outputs the corresponding current according to the adjusted parameters, thereby controlling the electrical stimulation output circuit to output the target signal waveform. The received analog signal is converted into a digital signal through the DAC circuit, i.e., the analog-to-digital conversion circuit, and the output waveform of the electrical stimulation output circuit is controlled through the output current.

[0011] The system will also perform loop current detection on the electrical stimulation output circuit when the waveform signal is output, so as to determine whether there is any abnormality in the output waveform signal, and adjust the output voltage parameters of the DAC circuit according to the obtained current feedback data, thereby realizing feedback adjustment of the target waveform signal output by the electrical stimulation output circuit, thereby improving the accuracy and practicality of the output waveform, and also improving the timeliness of abnormal waveform detection in the circuit, further ensuring the safety of the output waveform of the electrical stimulation output circuit.

[0012] As a preferred example, after detecting and analyzing the loop current of the electrical stimulation output circuit to obtain current feedback data, the method further includes:

[0013] A target voltage boost is calculated based on the current feedback data, and then parameters of a voltage boost circuit are adjusted based on the target voltage boost so that the voltage boost circuit provides a voltage corresponding to the target voltage boost to the electrical stimulation output circuit.

[0014] In order to improve the target waveform signal output by the electrical stimulation output circuit, when the system receives the current feedback data and determines based on the feedback data that the target output waveform signal needs to be boosted, the system will calculate and determine the target boost based on the feedback data, and adjust the parameters of the boost circuit based on the target boost, so that the boost circuit provides the electrical stimulation output circuit with a target voltage corresponding to the target boost, thereby realizing the boost processing of the output waveform signal and further improving the output waveform signal.

[0015] Correspondingly, an embodiment of the present invention further provides a multi-channel feedback type electrical stimulation signal output circuit, the electrical stimulation signal output circuit comprising a power isolation circuit, a serial communication circuit, a controller, a DAC circuit, a current detection circuit, a boost circuit and an electrical stimulation output circuit;

[0016] Wherein, the controller is used to execute a multi-channel feedback electrical stimulation signal output method as described in any one of the above items;

[0017] The controller is electrically connected to the power isolation circuit, the serial communication circuit, the DAC circuit, the boost circuit and the current detection circuit respectively, and the electrical stimulation output circuit is electrically connected to the DAC circuit, the boost circuit and the current detection circuit respectively.

[0018] The electrical stimulation signal output circuit provided by the present invention realizes isolation between the external power supply and the internal circuit through a power isolation circuit, thereby improving the safety of internal power supply transmission; isolates the external communication environment and the internal circuit transmission through a serial communication circuit, thereby improving the safety and real-time performance of the electrical stimulation signal transmission; and detects the loop current of the output circuit through a current detection circuit, thereby realizing feedback adjustment of the output signal.

[0019] As a preferred example, the electrical stimulation output circuit includes a first electrical stimulation output circuit, a second electrical stimulation output circuit, a third electrical stimulation output circuit and a fourth electrical stimulation output circuit;

[0020] Among them, the components of the first electrical stimulation output circuit, the second electrical stimulation output circuit, the third electrical stimulation output circuit and the fourth electrical stimulation output circuit are the same, and the electrical connection method of the first electrical stimulation output circuit, the second electrical stimulation output circuit, the third electrical stimulation output circuit and the fourth electrical stimulation output circuit is parallel.

[0021] As a preferred example, the first electrical stimulation output circuit includes: a first triode, a second triode, a third transistor, a second capacitor, a first voltage stabilizing diode, a first resistor, a second resistor and a third resistor;

[0022] Wherein, the first transistor is a PNP transistor, the second transistor is an NPN transistor, the third transistor is a field effect transistor, the first resistor is a pull-up resistor of the second transistor, and the second resistor is a pull-down resistor of the second transistor;

[0023] The base of the second transistor is electrically connected to the input end of the first electrical stimulation output circuit, and the collector is electrically connected to the base of the first transistor;

[0024] The collector of the first triode is electrically connected to the drain of the third transistor and then grounded through the third resistor and the first voltage regulator diode in sequence;

[0025] The emitter of the first triode is electrically connected to the emitter of a symmetrically located triode in the second electrical stimulation output circuit;

[0026] The source of the third transistor is electrically connected to the source of the symmetrically positioned transistor in the second electrical stimulation output circuit;

[0027] The first end of the second capacitor is electrically connected to the collector of the first transistor, and the second end is electrically connected to the first end of the capacitor at a symmetrical position in the second electrical stimulation output circuit.

[0028] As a preferred example, the second electrical stimulation output circuit includes: a third triode and a sixth transistor;

[0029] Wherein, the third triode is a triode in a symmetrical position to the first triode in the first electrical stimulation output circuit, and the sixth transistor is a transistor in a symmetrical position to the third transistor in the first electrical stimulation output circuit;

[0030] The first triode, the third triode, the third transistor and the sixth transistor form a bridge circuit.

[0031] By forming a bridge circuit with the triode and transistor in the first electrical stimulation output circuit and the triode and transistor in the symmetrical position in the second electrical stimulation output circuit, it is possible to output a bipolar functional waveform when there is only a single power supply in the circuit. Since the third transistor is a field effect transistor, i.e., a MOS transistor, the third transistor has the characteristic of low G-pole conduction voltage, so the system can adjust the conduction voltage of the transistor through the DAC circuit to control the current, thereby controlling the output waveform signal of the electrical stimulation output circuit.

[0032] As a preferred example, the current detection circuit includes a first detection circuit and a second detection circuit, which are used to detect the feedback current;

[0033] Wherein, the first detection circuit and the second detection circuit have the same components, both of which are operational amplifier circuits;

[0034] The input ends of the first detection circuit and the second detection circuit are electrically connected to the output ends of the electrical stimulation output circuit respectively, and the output ends are electrically connected to the controller respectively, and there is no connection relationship between the first detection circuit and the second detection circuit.

[0035] The loop current of the output electrical stimulation output circuit is detected by the current detection circuit, and whether there is an abnormality in the circuit is determined based on the detected current feedback data, that is, the loop current is detected and analyzed to determine whether there is an abnormality in the circuit output. First, the monitored loop current is amplified by the first detection circuit, that is, the operational amplifier circuit, and then the amplified current is transmitted to the controller, and the controller detects and analyzes the amplified loop current to determine whether there is an abnormality in the waveform signal output by the system, and determines the next execution content based on the abnormal situation.

[0036] If the abnormal situation is serious, an alarm signal is issued and the system operation is stopped, that is, the output waveform signal is stopped to prevent the abnormal problem from affecting the user's use of the system; if the abnormal problem can be solved by the system itself, the controller can issue corresponding adjustment instructions to the DAC circuit according to the current feedback data determined by the detection, so that the DAC circuit adjusts the circuit parameters according to the adjustment instructions, and sends a control current to control the output signal of the electrical stimulation output circuit. Through the above-mentioned current feedback data detection step, feedback adjustment of the circuit output signal can be achieved, improving the practicality and accuracy of the output waveform signal, as well as the flexibility and timeliness of the waveform signal adjustment.

[0037] As a preferred example, the DAC circuit includes: a first DAC subcircuit and a second DAC subcircuit, for performing digital-to-analog conversion processing on a circuit signal;

[0038] The first DAC sub-circuit and the second DAC sub-circuit have the same component structure, both including a digital-to-analog converter and at least one voltage follower, so that the driving capability of each channel included in the output end of the DAC circuit is the same;

[0039] The digital-to-analog converters of the first DAC subcircuit and the second DAC subcircuit are electrically connected in parallel, the input end of each voltage follower is electrically connected to the corresponding digital-to-analog converter, and the output end is electrically connected to the input end of the electrical stimulation output circuit.

[0040] The DAC circuit converts the digital signal received from the controller into an analog signal, and outputs a control current based on it, and controls the output signal of the electrical stimulation output circuit by controlling the current. The two sub-circuits contained in the DAC circuit include a digital-to-analog converter and a voltage follower. The digital-to-analog converter is used to convert the digital signal received from the controller into an analog signal, and the voltage follower is used to keep the driving capability of the DAC output of each channel in the same state, that is, to ensure that the driving capability of the DAC of each channel is consistent.

[0041] Since the components of the four electrical stimulation output sub-circuits included in the electrical stimulation output circuit are the same, the voltage follower is used to ensure that the driving capability of each channel DAC output is the same, so as to ensure the accuracy of the waveform signal output by the electrical stimulation output circuit. The DAC sub-circuit composed of the digital-to-analog converter and the voltage follower can convert the digital signal sent by the controller into an analog signal, thereby generating a control current, and then realizing the signal control of the electrical stimulation output circuit through the output control current.

[0042] As a preferred example, the power isolation circuit includes a DC isolation power supply, an input power filter circuit and an output power filter circuit, which are used to perform voltage reduction and isolation processing on the input voltage;

[0043] Wherein, the input end of the DC isolation power supply is electrically connected to the input power filter circuit, and the output end is electrically connected to the output power filter circuit;

[0044] The input power filter circuit and the output power filter circuit each include a common mode inductor and at least two decoupling capacitors, the input end of the input power filter circuit is electrically connected to the input power supply, and the output end of the output power filter circuit is electrically connected to the controller.

[0045] The power isolation circuit can be used to isolate the external environment from the internal circuit of the system, thereby ensuring the safety and reliability of the internal circuit of the system. The power isolation circuit is composed of a DC isolation power supply, an input power filter circuit, and an output power filter circuit. The DC isolation power supply is used to convert one DC voltage into another DC voltage, so the DC isolation power supply can also be called a DC-DC isolation module.

[0046] Since the system circuit is highly sensitive to noise and ripple, the common-mode inductor and at least two decoupling capacitors included in the input power filter circuit and the output power filter circuit in the power isolation circuit are used to suppress and filter the noise and ripple of the circuit, thereby reducing the noise and ripple values ​​in the current input from the power isolation circuit to the controller and improving the safety and reliability of the internal circuits of the system.

[0047] As a preferred example, the boost circuit includes a DC conversion power supply and a DC conversion circuit, which are used to boost the circuit voltage;

[0048] Wherein, the DC conversion circuit is a boost chopper circuit, comprising a first transformer, an eighth transistor and a series diode;

[0049] The series diodes include two diodes, and the two diodes are electrically connected in series, and are used to rectify the boost signal.

[0050] The circuit voltage is boosted by a boost chopper circuit in the boost circuit, and the circuit current is rectified by two series-connected diodes in the boost chopper circuit, thereby achieving boost and rectification of the voltage. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 : A flow chart of an embodiment of a multi-channel feedback electrical stimulation signal output method provided by the present invention;

[0052] Figure 2 : A schematic diagram of the structure of an embodiment of a multi-channel feedback electrical stimulation signal output circuit provided by the present invention;

[0053] Figure 3 : A circuit diagram of an embodiment of an electrical stimulation output circuit provided by the present invention;

[0054] Figure 4 : A circuit diagram of an embodiment of a current detection circuit provided by the present invention;

[0055] Figure 5 : A circuit diagram of an embodiment of a digital-to-analog converter in a DAC circuit provided by the present invention;

[0056] Figure 6 : A circuit diagram of an embodiment of a voltage follower in a DAC circuit provided by the present invention;

[0057] Figure 7 : A circuit diagram of an embodiment of a power isolation circuit provided by the present invention;

[0058] Figure 8 : A circuit diagram of an embodiment of a boost circuit provided by the present invention;

[0059] Fig. 9 : A circuit diagram of an embodiment of a serial communication circuit provided by the present invention;

[0060] Fig.10 : A circuit diagram of an embodiment of the analog switch circuit provided by the present invention. DETAILED DESCRIPTION

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

[0062] Embodiment 1

[0063] Please refer to Figure 1 , is a flow chart of an embodiment of a multi-channel feedback electrical stimulation signal output method provided by an embodiment of the present invention, including steps 101 to 103, each of which is specifically as follows:

[0064] Step 101: In response to an electrical stimulation start signal triggered by a power isolation circuit, receiving and parsing serial port instruction data transmitted by a serial port communication circuit to obtain a target waveform and a target voltage.

[0065] After responding to the electric stimulation start signal triggered by the power isolation circuit, the electric stimulation signal output method provided by the embodiment of the present invention receives and analyzes the serial port command data transmitted by the serial port communication circuit to determine the target waveform and the first target voltage. By receiving the command data through the serial port communication circuit, the communication isolation between the electric stimulation signal output circuit and the external environment is achieved, the communication of the electric stimulation signal application part is isolated from the external communication, the input and application are completely isolated, and the safety of the electric stimulation signal transmission is ensured. The use of the serial port communication circuit for serial port command reception also improves the real-time performance of the electric stimulation signal transmission.

[0066] Step 102: Adjust the waveform parameters of the electrical stimulation output circuit according to the target waveform, and adjust the output voltage parameters of the DAC circuit according to the target voltage, so that the DAC circuit outputs a corresponding control current according to the adjusted voltage parameters to control the electrical stimulation output circuit to output the target waveform signal.

[0067] After determining the target waveform and target voltage, the system can adjust the waveform parameters of the electrical stimulation output circuit according to the target waveform, thereby improving the flexibility and practicality of adjusting the waveform of the output signal of the electrical stimulation output circuit, and adjusting the output voltage parameters of the DAC circuit according to the target voltage, so that the DAC circuit outputs the corresponding current according to the adjusted parameters, thereby controlling the electrical stimulation output circuit to output the target signal waveform. The received analog signal is converted into a digital signal through the DAC circuit, i.e., the analog-to-digital conversion circuit, and the output waveform of the electrical stimulation output circuit is controlled through the output current.

[0068] Step 103: Perform loop current detection and analysis on the electrical stimulation output circuit to obtain current feedback data, and then adjust parameters of the DAC circuit according to the current feedback data so that the DAC circuit outputs current according to the adjusted parameters.

[0069] The system will also perform loop current detection on the electrical stimulation output circuit when the waveform signal is output, so as to determine whether there is any abnormality in the output waveform signal, and adjust the output voltage parameters of the DAC circuit according to the obtained current feedback data, thereby realizing feedback adjustment of the target waveform signal output by the electrical stimulation output circuit, thereby improving the accuracy and practicality of the output waveform, and also improving the timeliness of abnormal waveform detection in the circuit, further ensuring the safety of the output waveform of the electrical stimulation output circuit.

[0070] In addition, after detecting and analyzing the loop current of the electrical stimulation output circuit to obtain current feedback data, this embodiment further includes:

[0071] A target voltage boost is calculated based on the current feedback data, and then parameters of a voltage boost circuit are adjusted based on the target voltage boost so that the voltage boost circuit provides a voltage corresponding to the target voltage boost to the electrical stimulation output circuit.

[0072] In order to improve the target waveform signal output by the electrical stimulation output circuit, when the system receives the current feedback data and determines based on the feedback data that the target output waveform signal needs to be boosted, the system will calculate and determine the target boost based on the feedback data, and adjust the parameters of the boost circuit based on the target boost, so that the boost circuit provides the electrical stimulation output circuit with a target voltage corresponding to the target boost, thereby realizing the boost processing of the output waveform signal and further improving the output waveform signal.

[0073] Accordingly, see Figure 2 , Figure 2 This is a schematic diagram of an embodiment of a multi-channel feedback electrical stimulation signal output circuit provided by the present invention. Figure 2 As shown, the electrical stimulation signal output circuit includes a power isolation circuit, a serial communication circuit, a controller, a DAC circuit, a current detection circuit, a boost circuit and an electrical stimulation output circuit;

[0074] Wherein, the controller is used to execute a multi-channel feedback electrical stimulation signal output method as described in any one of the above items;

[0075] The controller is electrically connected to the power isolation circuit, the serial communication circuit, the DAC circuit, the boost circuit and the current detection circuit respectively, and the electrical stimulation output circuit is electrically connected to the DAC circuit, the boost circuit and the current detection circuit respectively.

[0076] The electrical stimulation signal output circuit provided in the embodiment of the present invention realizes isolation between the external power supply and the internal circuit through the power isolation circuit, thereby improving the safety of internal power supply transmission; isolates the external communication environment and the internal circuit transmission through the serial communication circuit, thereby improving the safety and real-time performance of the electrical stimulation signal transmission; and detects the loop current of the output circuit through the current detection circuit, thereby realizing feedback adjustment of the output signal.

[0077] like Figure 2 As shown, there is step-down isolation between the power isolation circuit and the controller, that is, the power isolation circuit steps down the external input 12V voltage to 5V so that the voltage in the circuit meets the medical grade isolation requirements. Therefore, the overall part of the application, that is, the entire circuit of the system uses a 5V voltage source.

[0078] The serial communication, i.e., the serial communication circuit described in this embodiment, not only has communication isolation with the power isolation circuit to ensure the safety and reliability of the internal circuit of the system, but also uses a communication isolation circuit to isolate the application part communication from the external communication, thereby achieving complete isolation between input and application and ensuring the safe transmission of the electrical stimulation signal.

[0079] The controller is a component that executes a multi-channel feedback electrical stimulation output method in this embodiment. This embodiment preferably uses the STM32F407 chip, which will be used to process the serial port data transmitted by the serial port communication circuit and control the electrical stimulation output according to the communication protocol, including: output waveform control of the electrical stimulation output circuit, voltage setting of the DAC circuit, current feedback from the receiving current detection circuit, and boost control of the boost circuit. Among them, the DAC circuit will receive the set voltage output by the controller and convert it into an output current, thereby realizing the control of the electrical stimulation output circuit; the current detection circuit will detect the loop current of the electrical stimulation output circuit and feed back the detected current to the controller; the boost circuit is controlled by the controller to determine whether to perform the boost operation, and when it is determined to be executed, it provides the voltage required by the target user to the electrical stimulation output circuit, that is, Figure 2 Therapeutic voltages are shown.

[0080] Based on the above-mentioned electrical stimulation signal output method, this embodiment further discloses an electrical stimulation signal output circuit for implementing the above-mentioned electrical stimulation signal output method.

[0081] For details, see Figure 3 , Figure 3 A circuit diagram of an embodiment of the electrical stimulation output circuit provided by the present invention. Figure 3 As shown, the electrical stimulation output circuit includes a first electrical stimulation output circuit, a second electrical stimulation output circuit, a third electrical stimulation output circuit and a fourth electrical stimulation output circuit;

[0082] Among them, the components of the first electrical stimulation output circuit, the second electrical stimulation output circuit, the third electrical stimulation output circuit and the fourth electrical stimulation output circuit are the same, and the electrical connection method of the first electrical stimulation output circuit, the second electrical stimulation output circuit, the third electrical stimulation output circuit and the fourth electrical stimulation output circuit is parallel.

[0083] In this embodiment, Figure 3 The transistor Q2, transistor Q1, transistor D3, resistor R15, capacitor C22 and voltage regulator diode D1 constitute the first electrical stimulation output circuit of this embodiment, while resistor R16 is the pull-up resistor of the transistor Q2, and resistor R21 is the pull-down resistor of the transistor Q2. Correspondingly, transistor Q4, transistor Q3, transistor D6, resistor R24, capacitor C23 and Zener diode D2 constitute the second electrical stimulation output circuit of the present embodiment, and the pull-up resistor and pull-down resistor of the transistor Q4 are R22 and R27 respectively; transistor Q6, transistor Q5, transistor D8, resistor R29, capacitor C25 and Zener diode D3 constitute the third electrical stimulation output circuit of the present embodiment, and the pull-up resistor and pull-down resistor of the transistor Q6 are R30 and R31 respectively; transistor Q8, transistor Q7, transistor D9, resistor R34, capacitor C26 and Zener diode D4 constitute the fourth electrical stimulation output circuit of the present embodiment, and the pull-up resistor and pull-down resistor of the transistor Q8 are R33 and R35 respectively.

[0084] Depend on Figure 3 It can be seen that the electrical connection method of the above four electrical stimulation output circuits is parallel connection, and the component structure of each circuit is the same, so the current transmission method in each circuit is also the same.

[0085] Specifically, the first electrical stimulation output circuit of this embodiment includes: a first triode, a second triode, a third transistor, a second capacitor, a first voltage stabilizing diode, a first resistor, a second resistor and a third resistor;

[0086] Wherein, the first transistor is a PNP transistor, the second transistor is an NPN transistor, the third transistor is a field effect transistor, the first resistor is a pull-up resistor of the second transistor, and the second resistor is a pull-down resistor of the second transistor;

[0087] The base of the second transistor is electrically connected to the input end of the first electrical stimulation output circuit, and the collector is electrically connected to the base of the first transistor;

[0088] The collector of the first triode is electrically connected to the drain of the third transistor and then grounded through the third resistor and the first voltage regulator diode in sequence;

[0089] The emitter of the first triode is electrically connected to the emitter of a symmetrically located triode in the second electrical stimulation output circuit;

[0090] The source of the third transistor is electrically connected to the source of the symmetrically positioned transistor in the second electrical stimulation output circuit;

[0091] The first end of the second capacitor is electrically connected to the collector of the first transistor, and the second end is electrically connected to the first end of the capacitor at a symmetrical position in the second electrical stimulation output circuit.

[0092] Among them, Figure 3 As shown, the first electrical stimulation output circuit shown in this embodiment includes a first transistor Q1, a second transistor Q2, a third transistor D3, a second capacitor C22, a first voltage regulator diode D1, a first resistor R16, a second resistor R21 and a third resistor R15.

[0093] Depend on Figure 3 It can be seen that the gate of the third transistor D3 is also electrically connected to AVOL 1, and the source of the third transistor D3 is electrically connected to the source of the sixth transistor D6 in the second electrical stimulation output circuit, and is also grounded through the resistor R18, and the emitter of the first transistor Q1 is electrically connected to the emitter of the third transistor Q3 in the second electrical stimulation output circuit, and is also connected to the 120V voltage source.

[0094] Furthermore, the second electrical stimulation output circuit of this embodiment includes: a third triode and a sixth transistor;

[0095] Wherein, the third triode is a triode in a symmetrical position to the first triode in the first electrical stimulation output circuit, and the sixth transistor is a transistor in a symmetrical position to the third transistor in the first electrical stimulation output circuit;

[0096] The first triode, the third triode, the third transistor and the sixth transistor form a bridge circuit.

[0097] By forming a bridge circuit with the triode and transistor in the first electrical stimulation output circuit and the triode and transistor in the symmetrical position in the second electrical stimulation output circuit, it is possible to output a bipolar functional waveform when there is only a single power supply in the circuit. Since the third transistor is a field effect transistor, i.e., a MOS transistor, the third transistor has the characteristic of low G-pole conduction voltage, so the system can adjust the conduction voltage of the transistor through the DAC circuit to control the current, thereby controlling the output waveform signal of the electrical stimulation output circuit.

[0098] besides, Figure 3The circuit D7 formed by connecting two diodes in parallel is used to protect the circuit from overvoltage.

[0099] As the current detection circuit described in this embodiment, see Figure 4 , Figure 4 A circuit diagram of an embodiment of a current detection circuit provided by the present invention. Figure 4 As shown, the current detection circuit includes a first detection circuit and a second detection circuit, which are used to detect and process the feedback current;

[0100] Wherein, the first detection circuit and the second detection circuit have the same components, both of which are operational amplifier circuits;

[0101] The input ends of the first detection circuit and the second detection circuit are electrically connected to the output ends of the electrical stimulation output circuit respectively, and the output ends are electrically connected to the controller respectively, and there is no connection relationship between the first detection circuit and the second detection circuit.

[0102] like Figure 4 As shown, the first detection circuit includes an operational amplifier and resistors and capacitors necessary for the operational amplifier circuit. Figure 4 The resistors shown include R19, R17 and R20, and the capacitors include C21. The above components constitute a first detection circuit, that is, an operational amplifier circuit, which can also be called a forward closed-loop amplifier, for amplifying the current signal and sending the amplified current to the controller for sampling and analysis. The controller adjusts the output voltage of the DAC chip in the DAC circuit according to the analysis results, thereby realizing a complete current feedback adjustment process.

[0103] The loop current of the output electrical stimulation output circuit is detected by the current detection circuit, and whether there is an abnormality in the circuit is determined based on the detected current feedback data, that is, the loop current is detected and analyzed to determine whether there is an abnormality in the circuit output. First, the monitored loop current is amplified by the first detection circuit, that is, the operational amplifier circuit, and then the amplified current is transmitted to the controller, and the controller detects and analyzes the amplified loop current to determine whether there is an abnormality in the waveform signal output by the system, and determines the next execution content based on the abnormal situation.

[0104] If the abnormal situation is serious, an alarm signal is issued and the system operation is stopped, that is, the output waveform signal is stopped to prevent the abnormal problem from affecting the user's use of the system; if the abnormal problem can be solved by the system itself, the controller can issue corresponding adjustment instructions to the DAC circuit according to the current feedback data determined by the detection, so that the DAC circuit adjusts the circuit parameters according to the adjustment instructions, and sends a control current to control the output signal of the electrical stimulation output circuit. Through the above-mentioned current feedback data detection step, feedback adjustment of the circuit output signal can be achieved, improving the practicality and accuracy of the output waveform signal, as well as the flexibility and timeliness of the waveform signal adjustment.

[0105] As the DAC circuit described in this embodiment, see Figure 5 and Figure 6 , Figure 5 A circuit diagram of an embodiment of a digital-to-analog converter in a DAC circuit provided by the present invention. Figure 6 A circuit diagram of an embodiment of a voltage follower in a DAC circuit provided by the present invention.

[0106] Specifically, Figure 5 and Figure 6 As shown, the DAC circuit includes: a first DAC sub-circuit and a second DAC sub-circuit, which are used to perform digital-to-analog conversion processing on the circuit signal;

[0107] The first DAC sub-circuit and the second DAC sub-circuit have the same component structure, both including a digital-to-analog converter and at least one voltage follower, so that the driving capability of each channel included in the output end of the DAC circuit is the same;

[0108] The digital-to-analog converters of the first DAC subcircuit and the second DAC subcircuit are electrically connected in parallel, the input end of each voltage follower is electrically connected to the corresponding digital-to-analog converter, and the output end is electrically connected to the input end of the electrical stimulation output circuit.

[0109] like Figure 5 As shown, the digital-to-analog converter described in this embodiment is preferably a digital-to-analog conversion chip MCP4822, and the controller outputs a corresponding voltage value through SPI communication.

[0110] The DAC circuit converts the digital signal received from the controller into an analog signal, and outputs a control current based on it, and controls the output signal of the electrical stimulation output circuit by controlling the current. The two sub-circuits contained in the DAC circuit include a digital-to-analog converter and a voltage follower. The digital-to-analog converter is used to convert the digital signal received from the controller into an analog signal, and the voltage follower is used to keep the driving capability of the DAC output of each channel in the same state, that is, to ensure that the driving capability of the DAC of each channel is consistent.

[0111] Since the components of the four electrical stimulation output sub-circuits included in the electrical stimulation output circuit are the same, the voltage follower is used to ensure that the driving capability of each channel DAC output is the same, so as to ensure the accuracy of the waveform signal output by the electrical stimulation output circuit. The DAC sub-circuit composed of the digital-to-analog converter and the voltage follower can convert the digital signal sent by the controller into an analog signal, thereby generating a control current, and then realizing the signal control of the electrical stimulation output circuit through the output control current.

[0112] As the power isolation circuit described in this embodiment, see Figure 7 , Figure 7 A circuit diagram of an embodiment of the power isolation circuit provided by the present invention. Figure 7 As shown, the power isolation circuit includes a DC isolation power supply, an input power filter circuit and an output power filter circuit, which are used to perform voltage reduction and isolation processing on the input voltage;

[0113] Wherein, the input end of the DC isolation power supply is electrically connected to the input power filter circuit, and the output end is electrically connected to the output power filter circuit;

[0114] The input power filter circuit and the output power filter circuit each include a common mode inductor and at least two decoupling capacitors, the input end of the input power filter circuit is electrically connected to the input power supply, and the output end of the output power filter circuit is electrically connected to the controller.

[0115] like Figure 7 As shown, U19 is a DC-DC isolation module, i.e., the DC isolation power supply described in this embodiment, and the circuit electrically connected to the input terminal VI N of the DC isolation power supply is an input power filter circuit, including a common mode inductor and two decoupling capacitors, and the circuit electrically connected to the output terminal VO of the DC isolation power supply is an output power filter circuit, including a common mode inductor and three decoupling capacitors. Figure 7 It can be seen that the input power filter circuit and the output power filter circuit described in this embodiment are both EMI filter circuits. The DC power isolation circuit can be used to reduce the input voltage from 12V to 5V to provide power for subsequent application circuits of the system.

[0116] The power isolation circuit can be used to isolate the external environment from the internal circuit of the system, thereby ensuring the safety and reliability of the internal circuit of the system. The power isolation circuit is composed of a DC isolation power supply, an input power filter circuit, and an output power filter circuit. The DC isolation power supply is used to convert one DC voltage into another DC voltage, so the DC isolation power supply can also be called a DC-DC isolation module.

[0117] Since the system circuit is highly sensitive to noise and ripple, the common-mode inductor and at least two decoupling capacitors included in the input power filter circuit and the output power filter circuit in the power isolation circuit are used to suppress and filter the noise and ripple of the circuit, thereby reducing the noise and ripple values ​​in the current input from the power isolation circuit to the controller and improving the safety and reliability of the internal circuits of the system.

[0118] As the boost circuit described in this embodiment, see Figure 8 , Figure 8 A circuit diagram of an embodiment of a voltage boost circuit provided by the present invention. Figure 8 As shown, the boost circuit includes a DC conversion power supply and a DC conversion circuit, which are used to boost the circuit voltage;

[0119] Wherein, the DC conversion circuit is a boost chopper circuit, comprising a first transformer, an eighth transistor and a series diode;

[0120] The series diodes include two diodes, and the two diodes are electrically connected in series, and are used to rectify the boost signal.

[0121] like Figure 8 As shown, the boost circuit described in this embodiment includes a first transformer T1, a DC conversion power supply U22, an eighth transistor D38, a series diode D36, a triode Q25, and a number of resistors, capacitors, inductors and diodes. Among them, the first transformer T1 is a customized transformer, the DC conversion power supply U22 is a DC-DC power supply chip, and its chip type is LM3488MM. The first transformer T1, the eighth transistor D38 and the series diode D36 in the above components constitute a boost chopper circuit, that is, a boost circuit, which is used to boost 5V to 120V to supply power to the stimulation output circuit as a power supply.

[0122] at the same time, Figure 8 The inductor L5 is electrically connected to the current source DC-VCC5 to prevent the current mutation from causing adverse effects on the subsequent circuit, and the RCD absorption circuit composed of the capacitor C77, the resistor R98 and the diode D40 is electrically connected to the first transformer T1 and the eighth transistor D38 respectively to absorb instantaneous overvoltage and overcurrent and protect the subsequent circuit from voltage and current fluctuations. Through the above two-stage voltage protection, overvoltage and overcurrent protection of the subsequent circuit can be achieved, and the safety and reliability of current transmission in the subsequent circuit are also improved.

[0123] The circuit voltage is boosted by a boost chopper circuit in the boost circuit, and the circuit current is rectified by two series-connected diodes in the boost chopper circuit, thereby achieving boost and rectification of the voltage.

[0124] As the serial communication circuit described in this embodiment, see Fig. 9 , Fig. 9 A circuit diagram of an embodiment of a serial communication circuit provided by the present invention. Fig. 9 As shown, the serial communication circuit includes a digital isolator U18, a common mode inductor, three bidirectional breakdown diodes connected in series, and a number of resistors and capacitors. Among them, after the three bidirectional breakdown diodes are connected in series, the first end is electrically connected to the GND 1 end of the digital isolator U18, and the second end is electrically connected to the GND2 end of the digital isolator U18 for withstand voltage discharge. The digital isolator U18 is used to process the serial port data using an isolation chip to ensure that the input ground and the functional ground are directly and fully isolated.

[0125] As the analog switch or multiplexer in this embodiment, see Fig.10 , Fig.10 A circuit diagram of an embodiment of the analog switch circuit provided by the present invention. Fig.10 As shown, one end of the analog switch circuit is electrically connected to the controller for receiving the IO control signal sent by the controller chip, and the other end is electrically connected to the DAC circuit and the electrical stimulation output circuit respectively. The end electrically connected to the DAC circuit will output the DAC signal through the voltage follower, and the end electrically connected to the electrical stimulation output circuit is the control pin of the MOS tube. By controlling the analog switch, the G pole of the MOS tube can be controlled, and when the control pin is at a high level, the control pin of the MOS tube is connected to the DAC signal; when the control pin is at a low level, the control pin of the MOS tube is connected to GND, thereby ensuring the response time.

[0126] In summary, the embodiment of the present invention provides a multi-channel feedback type electrical stimulation signal output method and circuit, according to the electrical stimulation start signal triggered by the power isolation circuit, the serial port command data sent by the serial port communication circuit is parsed to obtain the target waveform and target voltage, the waveform parameters of the electrical stimulation output circuit are adjusted according to the target waveform, and the output voltage parameters of the DAC circuit are adjusted according to the target voltage, so that the circuit controls the electrical stimulation output circuit to output the target waveform signal according to the adjusted voltage output current; loop current detection is performed on the electrical stimulation output circuit, and the DAC circuit is parameter adjusted according to the detected current feedback data, so that the circuit outputs the adjusted control current according to the adjusted parameters. The internal communication is isolated from the external communication through the serial port communication circuit, which ensures the security and real-time nature of the signal transmission; the output waveform signal is determined to be abnormal through loop current detection and feedback adjustment is performed, which improves the accuracy and practicality of the output waveform.

[0127] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A multi-channel feedback electrical stimulation signal output method, characterized in that: The following steps are involved: In response to the electrical stimulation start signal triggered by the power isolation circuit, receiving and parsing the serial port command data transmitted by the serial port communication circuit to obtain the target waveform and target voltage; Adjusting the waveform parameters of the electrical stimulation output circuit according to the target waveform, and adjusting the output voltage parameters of the DAC circuit according to the target voltage, so that the DAC circuit outputs a corresponding control current according to the adjusted voltage parameters to control the electrical stimulation output circuit to output the target waveform signal; The loop current of the electrical stimulation output circuit is detected and analyzed to obtain current feedback data, and then the parameters of the DAC circuit are adjusted according to the current feedback data so that the DAC circuit outputs current according to the adjusted parameters.

2. A multi-channel feedback electrical stimulation signal output method as claimed in claim 1, characterized in that: After detecting and analyzing the loop current of the electrical stimulation output circuit to obtain current feedback data, the method further includes: A target voltage boost is calculated based on the current feedback data, and then parameters of a voltage boost circuit are adjusted based on the target voltage boost so that the voltage boost circuit provides a voltage corresponding to the target voltage boost to the electrical stimulation output circuit.

3. A multi-channel feedback electrical stimulation signal output circuit, characterized in that: The electrical stimulation signal output circuit includes a power isolation circuit, a serial communication circuit, a controller, a DAC circuit, a current detection circuit, a boost circuit and an electrical stimulation output circuit; Wherein, the controller is used to execute a multi-channel feedback electrical stimulation signal output method as described in any one of claims 1-2; The controller is electrically connected to the power isolation circuit, the serial communication circuit, the DAC circuit, the boost circuit and the current detection circuit respectively, and the electrical stimulation output circuit is electrically connected to the DAC circuit, the boost circuit and the current detection circuit respectively.

4. A multi-channel feedback electrical stimulation signal output circuit as claimed in claim 3, characterized in that: The electrical stimulation output circuit includes a first electrical stimulation output circuit, a second electrical stimulation output circuit, a third electrical stimulation output circuit and a fourth electrical stimulation output circuit; Among them, the components of the first electrical stimulation output circuit, the second electrical stimulation output circuit, the third electrical stimulation output circuit and the fourth electrical stimulation output circuit are the same, and the electrical connection method of the first electrical stimulation output circuit, the second electrical stimulation output circuit, the third electrical stimulation output circuit and the fourth electrical stimulation output circuit is parallel.

5. A multi-channel feedback electrical stimulation signal output circuit as claimed in claim 4, characterized in that: The first electrical stimulation output circuit includes: a first triode, a second triode, a third transistor, a second capacitor, a first voltage stabilizing diode, a first resistor, a second resistor and a third resistor; Wherein, the first transistor is a PNP transistor, the second transistor is an NPN transistor, the third transistor is a field effect transistor, the first resistor is a pull-up resistor of the second transistor, and the second resistor is a pull-down resistor of the second transistor; The base of the second transistor is electrically connected to the input end of the first electrical stimulation output circuit, and the collector is electrically connected to the base of the first transistor; The collector of the first triode is electrically connected to the drain of the third transistor and then grounded through the third resistor and the first voltage regulator diode in sequence; The emitter of the first triode is electrically connected to the emitter of a symmetrically located triode in the second electrical stimulation output circuit; The source of the third transistor is electrically connected to the source of the symmetrically positioned transistor in the second electrical stimulation output circuit; The first end of the second capacitor is electrically connected to the collector of the first transistor, and the second end is electrically connected to the first end of the capacitor at a symmetrical position in the second electrical stimulation output circuit.

6. A multi-channel feedback electrical stimulation signal output circuit as claimed in claim 5, characterized in that: The second electrical stimulation output circuit comprises: a third triode and a sixth transistor; Wherein, the third triode is a triode in a symmetrical position to the first triode in the first electrical stimulation output circuit, and the sixth transistor is a transistor in a symmetrical position to the third transistor in the first electrical stimulation output circuit; The first triode, the third triode, the third transistor and the sixth transistor form a bridge circuit.

7. A multi-channel feedback electrical stimulation signal output circuit as claimed in claim 3, characterized in that: The current detection circuit includes a first detection circuit and a second detection circuit, which are used to detect and process the feedback current; Wherein, the first detection circuit and the second detection circuit have the same components, both of which are operational amplifier circuits; The input ends of the first detection circuit and the second detection circuit are electrically connected to the output ends of the electrical stimulation output circuit respectively, and the output ends are electrically connected to the controller respectively, and there is no connection relationship between the first detection circuit and the second detection circuit.

8. A multi-channel feedback electrical stimulation signal output circuit as claimed in claim 3, characterized in that: The DAC circuit comprises: a first DAC sub-circuit and a second DAC sub-circuit, for performing digital-to-analog conversion processing on a circuit signal; The first DAC sub-circuit and the second DAC sub-circuit have the same component structure, both including a digital-to-analog converter and at least one voltage follower, so that the driving capability of each channel included in the output end of the DAC circuit is the same; The digital-to-analog converters of the first DAC subcircuit and the second DAC subcircuit are electrically connected in parallel, the input end of each voltage follower is electrically connected to the corresponding digital-to-analog converter, and the output end is electrically connected to the input end of the electrical stimulation output circuit.

9. A multi-channel feedback electrical stimulation signal output circuit as claimed in claim 3, characterized in that: The power isolation circuit includes a DC isolation power supply, an input power filter circuit and an output power filter circuit, and is used to perform voltage reduction and isolation processing on the input voltage; Wherein, the input end of the DC isolation power supply is electrically connected to the input power filter circuit, and the output end is electrically connected to the output power filter circuit; The input power filter circuit and the output power filter circuit each include a common mode inductor and at least two decoupling capacitors, the input end of the input power filter circuit is electrically connected to the input power supply, and the output end of the output power filter circuit is electrically connected to the controller.

10. The multi-channel feedback electrical stimulation signal output circuit according to claim 3, characterized in that: The boost circuit includes a DC conversion power supply and a DC conversion circuit, which are used to boost the circuit voltage; Wherein, the DC conversion circuit is a boost chopper circuit, comprising a first transformer, an eighth transistor and a series diode; The series diodes include two diodes, and the two diodes are electrically connected in series, and are used to rectify the boost signal.

Citation Information

Cited By

  • Transcranial large-current non-invasive deep interference electrical stimulation equipment

    CN120154815A