CN211751815U - Electrical stimulation device capable of generating arbitrary waveform - Google Patents
Electrical stimulation device capable of generating arbitrary waveform Download PDFInfo
- Publication number
- CN211751815U CN211751815U CN202020136676.4U CN202020136676U CN211751815U CN 211751815 U CN211751815 U CN 211751815U CN 202020136676 U CN202020136676 U CN 202020136676U CN 211751815 U CN211751815 U CN 211751815U
- Authority
- CN
- China
- Prior art keywords
- circuit
- resistor
- pin
- power supply
- waveform
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000000638 stimulation Effects 0.000 title claims abstract description 53
- 238000002955 isolation Methods 0.000 claims abstract description 31
- 230000000087 stabilizing effect Effects 0.000 claims abstract description 8
- 239000003990 capacitor Substances 0.000 claims description 6
- 238000000034 method Methods 0.000 abstract description 22
- 238000005424 photoluminescence Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 19
- 230000002457 bidirectional effect Effects 0.000 description 18
- 230000006870 function Effects 0.000 description 11
- 238000001827 electrotherapy Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 230000000694 effects Effects 0.000 description 8
- 150000002500 ions Chemical class 0.000 description 5
- 239000011324 bead Substances 0.000 description 4
- 230000008859 change Effects 0.000 description 4
- 230000005684 electric field Effects 0.000 description 4
- 230000005611 electricity Effects 0.000 description 4
- HEZMWWAKWCSUCB-PHDIDXHHSA-N (3R,4R)-3,4-dihydroxycyclohexa-1,5-diene-1-carboxylic acid Chemical compound O[C@@H]1C=CC(C(O)=O)=C[C@H]1O HEZMWWAKWCSUCB-PHDIDXHHSA-N 0.000 description 3
- 208000002193 Pain Diseases 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000001276 controlling effect Effects 0.000 description 3
- 210000005036 nerve Anatomy 0.000 description 3
- 230000036407 pain Effects 0.000 description 3
- 230000001737 promoting effect Effects 0.000 description 3
- 206010061218 Inflammation Diseases 0.000 description 2
- 206010030113 Oedema Diseases 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000017531 blood circulation Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006378 damage Effects 0.000 description 2
- 239000003814 drug Substances 0.000 description 2
- 230000004054 inflammatory process Effects 0.000 description 2
- 208000014674 injury Diseases 0.000 description 2
- 238000009413 insulation Methods 0.000 description 2
- 230000002232 neuromuscular Effects 0.000 description 2
- 238000000554 physical therapy Methods 0.000 description 2
- 208000011580 syndromic disease Diseases 0.000 description 2
- 230000017423 tissue regeneration Effects 0.000 description 2
- 206010001497 Agitation Diseases 0.000 description 1
- 208000032544 Cicatrix Diseases 0.000 description 1
- 206010020772 Hypertension Diseases 0.000 description 1
- 206010065390 Inflammatory pain Diseases 0.000 description 1
- 206010028980 Neoplasm Diseases 0.000 description 1
- 206010029333 Neurosis Diseases 0.000 description 1
- 208000000114 Pain Threshold Diseases 0.000 description 1
- 208000003251 Pruritus Diseases 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000001124 body fluid Anatomy 0.000 description 1
- 239000010839 body fluid Substances 0.000 description 1
- 201000011510 cancer Diseases 0.000 description 1
- 230000004087 circulation Effects 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000011461 current therapy Methods 0.000 description 1
- 230000018044 dehydration Effects 0.000 description 1
- 238000006297 dehydration reaction Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 239000003792 electrolyte Substances 0.000 description 1
- 230000005672 electromagnetic field Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000001727 in vivo Methods 0.000 description 1
- 230000007803 itching Effects 0.000 description 1
- 238000007620 mathematical function Methods 0.000 description 1
- 230000007102 metabolic function Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 208000018360 neuromuscular disease Diseases 0.000 description 1
- 208000015238 neurotic disease Diseases 0.000 description 1
- 230000037040 pain threshold Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 210000000578 peripheral nerve Anatomy 0.000 description 1
- 230000001766 physiological effect Effects 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 231100000241 scar Toxicity 0.000 description 1
- 230000037387 scars Effects 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000008961 swelling Effects 0.000 description 1
- 238000002560 therapeutic procedure Methods 0.000 description 1
- 210000001835 viscera Anatomy 0.000 description 1
Images
Landscapes
- Electrotherapy Devices (AREA)
Abstract
The utility model discloses a can produce electric stimulation device of arbitrary waveform, include: the power supply comprises a power supply signal interface, a power supply isolation circuit, a signal isolation circuit, a voltage stabilizing circuit, a microprocessor, a booster circuit, a constant current source circuit, a polarity switching circuit and an electrical stimulation output interface, wherein the power supply signal interface is respectively connected with the power supply isolation circuit and the signal isolation circuit, the voltage stabilizing circuit is connected with the signal isolation circuit and the microprocessor, the microprocessor is respectively connected with the booster circuit, the constant current source circuit and the polarity switching circuit, and the polarity switching circuit is connected with the electrical stimulation output interface. The utility model discloses can produce arbitrary waveform, the output of electro photoluminescence only has an interface, and at the electro photoluminescence waveform switching in-process of different grade type, the user need not to switch electro photoluminescence output interface, uses simple and conveniently.
Description
Technical Field
The utility model relates to the technical field of medical equipment, in particular to an electrical stimulation device capable of generating arbitrary waveforms.
Background
Electrotherapy is a method for treating diseases using various types of electric current and electromagnetic fields, and is one of the most commonly used methods among physical therapy methods. Mainly comprises direct current electrotherapy, direct current drug iontophoresis, low frequency pulse electrotherapy, medium frequency pulse electrotherapy, high frequency electrotherapy, and electrostatic therapy. Different types of current have different main physiological effects on the human body. Direct current is current with constant direction, can change ion distribution in vivo and adjust organism function, and is commonly used for introducing medicine ions; the low and medium frequency current stimulates the contraction of neuromuscular, reduces pain threshold, relieves adhesion, and is commonly used for neuromuscular diseases, such as injury, inflammation and the like; the high-power high-frequency electricity can promote circulation, eliminate inflammation and edema, stimulate tissue regeneration and relieve pain by the heat effect and the heat external effect of the high-frequency electricity on the human body, is commonly used for treating injury and inflammatory pain syndromes, and can be used for heating and treating cancer; the static electricity mainly acts to regulate central nervous and vegetative functions, and is commonly used for neurosis, hypertension in early stage, and climacteric syndrome.
D, direct current therapy: the direct current direction is constant, and the intensity does not change along with time. The DC voltage for physiotherapy is generally 50-80V, and the current intensity is 0.05-0.1 mA/cm 2. When direct current acts on human body, electrolyte in body fluid is electrolyzed to generate positive and negative ions, and the positive and negative ions move towards the electrodes with opposite polarities. The physicochemical changes of the tissues under the positive and negative poles of the direct current have the functions of regulating the excitability of nerves, improving the local edema or dehydration phenomenon and promoting the blood circulation and the metabolic function. And can improve the activity function of internal organs through segmental reflection. Clinically, direct current is often used for easing pain, relieving itching, softening scars, reducing swelling, promoting tissue regeneration, improving central and peripheral nerve functions and the like.
Low-frequency pulse electrotherapy: low frequency pulse current with frequency below 1kHz is adopted. The current can cause the ions and charged particles to move rapidly in the human body, thereby having obvious stimulation effect on sensory nerves and motor nerves. The low-frequency pulse current can be divided into square waves, trapezoidal waves, exponential curve waves, triangular waves, sine waves and the like due to different waveforms. The pulse period, pulse width and rising and falling wave time can be adjusted according to the clinical treatment requirement. The low-frequency pulse is sometimes modulated with a pulse wave of a lower frequency, which is called a low-frequency modulated wave.
Intermediate frequency electrotherapy: the method adopts intermediate-frequency sinusoidal current with the frequency of 1-100 kHz. The frequency is 2-5 kHz, and three common methods are constant-amplitude medium-frequency sinusoidal electrotherapy, amplitude-modulation medium-frequency sinusoidal electrotherapy and interference electrotherapy. The frequency of the modulation wave is 10-200 Hz, full wave or half wave, continuous modulation or discontinuous modulation can be adopted, and constant amplitude wave and modulation wave can be alternatively generated or the frequency of the modulation wave is alternative. The modulated medium-frequency current has the characteristics of low and medium-frequency currents, is used for relieving pain or promoting blood circulation, and has obvious effect when the low and medium-frequency currents are applied independently; when used for neuromuscular stimulation, patients can tolerate larger electric quantity due to small skin prick. The interference electricity is input to the same part of a human body in a crossed manner by utilizing two groups of constant-amplitude medium-frequency sinusoidal currents (5 +/-0.1 kHz is clinically used mostly) with the frequency difference of 0-100 Hz. An interference electric field is formed at the intersection part, and a low-frequency modulation intermediate-frequency current of 0-100 Hz is generated in the body according to the beat principle of sine electric waves. Clinically, 3 groups of constant-amplitude intermediate-frequency sinusoidal currents are input into a human body from a three-dimensional space in a crossed manner to form a three-dimensional interference electric field, and the effect of the three-dimensional interference electric field is superior to that of a common interference electric field. After improvement, 3 groups of sine currents with alternating intensity are adopted, so that the local stimulation effect is easier to be endured by patients, and the treatment effect is further improved.
However, the specific electrical stimulation waveforms in the conventional electrical stimulation scheme can be generated only by using a special circuit, which is not highly compatible, so that the device requiring multiple electrical stimulation waveforms not only needs to be connected to different electrical stimulation generation modules, but also application parts of electrical stimulation output can only be mutually independent and cannot be shared, so that the volume of the device cannot be reduced, and the user experience is greatly reduced because the device comprises multiple electrical stimulation output application parts, and the application parts need to be replaced when one waveform is switched.
Therefore, the utility model discloses a need to think about a new technology in order to improve its problem urgently.
SUMMERY OF THE UTILITY MODEL
The utility model provides a can produce electric stimulation device of arbitrary waveform, it can provide the support on the hardware for solving above-mentioned technical problem.
The technical scheme of the utility model is that:
an electrical stimulation apparatus capable of generating arbitrary waveforms, comprising: the power supply comprises a power supply signal interface, a power supply isolation circuit, a signal isolation circuit, a voltage stabilizing circuit, a microprocessor, a booster circuit, a constant current source circuit, a polarity switching circuit and an electrical stimulation output interface, wherein the power supply signal interface is respectively connected with the power supply isolation circuit and the signal isolation circuit, the voltage stabilizing circuit is connected with the signal isolation circuit and the microprocessor, the microprocessor is respectively connected with the booster circuit, the constant current source circuit and the polarity switching circuit, and the polarity switching circuit is connected with the electrical stimulation output interface.
Preferably, the device further comprises a hardware emergency stop button connected with the polarity switching circuit.
Preferably, the constant current source circuit comprises a high-voltage operational amplifier U1A, an NMOS transistor Q1, a resistor R1 and a resistor R2, wherein the DAC output end of the microprocessor is connected to the third pin of the high-voltage operational amplifier U1A through the resistor R1, and the first pin of the high-voltage operational amplifier U1A is connected to the first pin of the NMOS transistor Q1 through the resistor R2; and the third pin of the NMOS tube Q1 is connected with the polarity switching circuit.
Preferably, the constant current source circuit further comprises a high-voltage operational amplifier U1B, a resistor R4, a resistor R5 and a capacitor C4, wherein the fifth pin of the high-voltage operational amplifier U1B is connected with the third pin of the high-voltage operational amplifier U1A, the sixth pin and the seventh pin of the high-voltage operational amplifier U1B are connected with a resistor R4, one end of the resistor R5 is connected with the resistor R4, and the other end is grounded; the capacitor C4 is arranged in parallel at two ends of the resistor R5.
Preferably, the polarity switching circuit comprises an analog switch U3 and a pull-up resistor R7, wherein a fourteenth pin of the analog switch U3 is connected with the hardware emergency stop button, the microprocessor and the pull-up resistor R7, respectively.
Adopt above-mentioned technical scheme, the utility model discloses at least, include following beneficial effect:
the electric stimulation device capable of generating any waveform of the utility model can measure and calculate the load impedance in real time to obtain the lead falling or lead disconnection state; the output of the electrical stimulation is only provided with one interface, and a user does not need to switch the electrical stimulation output interface in the switching process of different types of electrical stimulation waveforms; the device is additionally provided with a hardware emergency stop button, the output of the interrupted electrical stimulation does not need to be identified by an internal MCU, but the hardware directly interrupts the electrical stimulation, so that the electrical stimulation output is interrupted at the highest speed in an emergency, and the safety of a user in the using process is improved.
Drawings
Fig. 1 is an electrical schematic diagram of an electrical stimulation device capable of generating arbitrary waveforms according to the present invention;
FIG. 2 is a circuit diagram of a power signal interface;
FIG. 3 is a circuit diagram of a power isolation circuit;
FIG. 4 is a circuit diagram of a signal isolation circuit;
FIG. 5 is a circuit diagram of a voltage regulator circuit;
FIG. 6 is a circuit diagram of a microprocessor;
FIG. 7 is a circuit diagram of a boost circuit;
fig. 8 is a circuit diagram of a constant current source circuit;
FIG. 9 is a circuit diagram of a polarity switching circuit;
FIG. 10 is a circuit diagram of an electrical stimulation output circuit;
fig. 11 is a flowchart of a waveform output method of the electrical stimulation apparatus capable of generating arbitrary waveforms according to the present invention;
FIG. 12 is a waveform diagram of a DC signal with an amplitude of 1V;
FIG. 13 is a graph of positive and negative bidirectional sinusoidal waveforms that produce a maximum amplitude of 1V at a frequency of 10 Hz;
FIG. 14 is a diagram of a positive and negative bidirectional square waveform that produces a maximum amplitude of 1V, a frequency of 10Hz, and a positive duty cycle of 30%;
FIG. 15 is a diagram of a positive and negative triangular waveform that produces a maximum amplitude of 1V at a frequency of 10 Hz;
FIG. 16 is a graph of a positive and negative trapezoidal waveform that produces a maximum amplitude of 1V, a frequency of 10Hz, and a tip width of 50%;
FIG. 17 is a diagram of a positive and negative bidirectional sine waveform with a maximum amplitude of 1V and a frequency of 10 Hz;
FIG. 18 is a diagram of a positive and negative bi-directional cosine waveform with a maximum amplitude of 1V and a frequency of 10 Hz;
FIG. 19 is a diagram of a positive and negative bidirectional sinusoidal waveform with a maximum amplitude of 0.5V and a frequency of 20 Hz;
FIG. 20 is a graph of a mixed frequency waveform of the product of a positive and negative bidirectional sine wave with a maximum amplitude of 1V and a frequency of 10Hz and a positive and negative bidirectional cosine wave with a maximum amplitude of 1V and a frequency of 10 Hz.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
As shown in fig. 1 to 10, an electrical stimulation apparatus capable of generating arbitrary waveforms according to the present embodiment includes: the power supply comprises a power supply signal interface, a power supply isolation circuit, a signal isolation circuit, a voltage stabilizing circuit, a microprocessor, a booster circuit, a constant current source circuit, a polarity switching circuit and an electrical stimulation output interface, wherein the power supply signal interface is respectively connected with the power supply isolation circuit and the signal isolation circuit, the voltage stabilizing circuit is connected with the signal isolation circuit and the microprocessor, the microprocessor is respectively connected with the booster circuit, the constant current source circuit and the polarity switching circuit, and the polarity switching circuit is connected with the electrical stimulation output interface.
Preferably, the device further comprises a hardware emergency stop button connected with the polarity switching circuit. It is known that in the conventional electrical stimulation scheme, the way of interrupting the electrical stimulation is that a user triggers through a key, and after MCU (microcontroller) software in the device recognizes the key triggering, the process of interrupting the electrical stimulation is started. The device is additionally provided with a hardware emergency stop button, the output of the electrical stimulation is interrupted without being identified by an internal MCU, but the electrical stimulation is directly interrupted by the hardware, so that the electrical stimulation output is interrupted at the highest speed in an emergency, and the safety of a user in the using process is improved.
Preferably, the constant current source circuit comprises a high-voltage operational amplifier U1A, an NMOS transistor Q1, a resistor R1 and a resistor R2, wherein the DAC output end of the microprocessor is connected to the third pin of the high-voltage operational amplifier U1A through the resistor R1, and the first pin of the high-voltage operational amplifier U1A is connected to the first pin of the NMOS transistor Q1 through the resistor R2; and the third pin of the NMOS tube Q1 is connected with the polarity switching circuit.
Preferably, the constant current source circuit further comprises a high-voltage operational amplifier U1B, a resistor R4, a resistor R5 and a capacitor C4, wherein the fifth pin of the high-voltage operational amplifier U1B is connected with the third pin of the high-voltage operational amplifier U1A, the sixth pin and the seventh pin of the high-voltage operational amplifier U1B are connected with a resistor R4, one end of the resistor R5 is connected with the resistor R4, and the other end is grounded; the capacitor C4 is arranged in parallel at two ends of the resistor R5.
Preferably, the polarity switching circuit comprises an analog switch U3 and a pull-up resistor R7, wherein a fourteenth pin of the analog switch U3 is connected with the hardware emergency stop button, the microprocessor and the pull-up resistor R7, respectively.
The present embodiment will be further described with reference to the accompanying drawings.
1. See fig. 2 for power signal interface:
the interface contains 7 signals:
1.1, J4_1:5V _ Vin,5V input power;
1.2, J4_2: GND _ IN, input ground;
1.3, J4_3:3.3V _ Vin,3.3V input power;
1.4, J4_4: Module _ RX, wherein a Module serial port receives signals;
1.5, J4_5: IO _ IN, module reservation signal receiving IO port;
1.6, J4_6, Module _ TX, Module serial port sending signal;
1.7, J4_7: IO _ OUT, module reservation signaling IO ports.
2. Referring to fig. 3, a power isolation circuit is shown.
The 5V _ Vin is a 5V input power supply of the module, the 5V input power supply is converted into an isolated 5V power supply through the H0505S-2WR2 isolation module, and the H0505S-2WR2 isolation voltage is 4200VAC or 6000VDC, so that the requirement of the medical appliance on reinforced insulation is met.
3. Referring to fig. 4, a signal isolation circuit is shown.
The signals on the left side of the diagram are input signals of a module interface, the signals on the right side of the diagram are signals which are connected with an MCU (micro controller) through the ADuM2402BRWZ digital isolation chip, and the isolation voltage of the ADuM2402BRWZ is 5000V rms, so that the requirement of the medical instrument on insulation enhancement is met.
Through the 5V power isolation of 2.1 and the signal isolation of 2.2, can realize this module device and other complete isolations of system for the device accords with the requirement that medical instrument strengthens insulating, uses safelyr.
4. Referring to FIG. 5, a voltage regulator circuit is shown.
The 5V power supply isolated by the 2.1 power supply is converted into a low-noise 3.3VD power supply through an RT9013-33GB LDO (low dropout regulator) to supply power to circuits such as an MCU (microprogrammed control Unit);
5. referring to fig. 6, a microprocessor is shown.
The Microprocessor (MCU) was selected from STM32F103RCT6 from ST corporation, which was an ARM32-bit Cortex-M3CPU, with a speed of 72MHz, a program memory capacity of 256KB, a program memory type of FLASH, and a RAM capacity of 48K.
6. FIG. 7 shows a boost circuit
The 5V power supply is boosted to 30V by the TPS61170DRVR piece of the boosting DCDC chip, and the boosted DCDC chip is used by a subsequent constant current source circuit. The power input of the boost DCDC is controlled by a PMOOS tube AO3407A, and the MCU controls the power supply of the boost chip by controlling the level of the pin 30V _ EN, so that the purpose of controlling the output of the 30V power supply is achieved, and when the module is idle and does not work, the 30V power supply can be closed to achieve the purpose of low power consumption. The control relationship between the output of the 30V power supply and the 30V _ EN is as follows:
30V _ EN level | Whether the 30V power supply outputs | |
Logic high | Has an output of 30V | |
Logic | Close | 30V output |
In addition, the TPS61170DRVR may be used to control the magnitude of the output voltage by configuring its pin 5 "CTRL" in software to configure the degree of boosting, which is useful in some cases when it is necessary to limit the magnitude of the maximum output voltage. The specific control mode is as follows: the MCU controls a pin corresponding to '30V _ CTRL' to output a PWM waveform of 10KHz, the forward Duty ratio of the PWM waveform is Duty, and then the output voltage value is as follows: VOUT is DUTY 30V, for example, 15V needs to be output, PWM of "30V _ CTRL" pin is 10KHz with 50% DUTY cycle, and PWM of "30V _ CTRL" pin is 10KHz with 100% DUTY cycle if 30V needs to be output.
7. Referring to fig. 8, a constant current source circuit
TP2262-SR and NMOS tube NCE0103Y form a constant current source circuit by high voltage operational amplifier, wherein: DAC _ EA is the DAC output of MCU, through DAC output different wave forms, frequency, duty cycle, amplitude etc. can produce arbitrary waveform, and this arbitrary waveform has directly controlled constant current source circuit, cooperates with follow-up circuit to produce the output of arbitrary waveform. The EA is connected to a load through a polarity switching circuit.
The constant current source has the following working principle:
setting the voltage at DAC _ EA controlled by MCU to be UDAC_EAAccording to the principle of virtual short and virtual break of the operational amplifier, the voltage of the pin 3 and the pin 2 of the U1A are the same, namely the voltage U on the R6R6=UDAC_EASo that a current I flows through R6R6=UR6/R6=UDAC_EASince the input impedance of the input end of the operational amplifier is extremely large, the current I flowing into the pin 2 and the pin 3 of the Q1 can be ignored, and the current I flowing into the pin 2 and the pin 3 of the U1AQ1=IR6EA is connected to a load through a polarity switching circuit, so that a current I flowing through the loadL=IQ1=IR6=UR6/R6=UDAC_EA/R6, so that the current flowing through the load is only equal to the driving voltage UDAC_EAAnd the control resistor R6 is connected, the current can not change along with the change of the load, thereby achieving the purpose of constant current.
In the figure, U1B is a voltage follower formed by an operational amplifier, and as a bias circuit at EA, since the input impedance of the input end of the operational amplifier is very large, the 5-pin current flowing into U1B can be ignored, so the bias circuit here does not affect the constant current source circuit. The output voltage U of the bias circuitADC_EA=[R5/(R4+R5)]*UQ1,UQ1Pin 3 of Q1 is at ground voltage. U shapeADC_EASending the U into ADC pin of MCU, and obtaining U from ADC calculation software of MCUADC_EASpecific numerical values, so for MCU UADC_EAIs known, so U is calculated in reverseQ1=UADC_EA(R4+ R5)/R5, from which the magnitude of the load impedance can be directly calculated as follows:
RL=(U30V-UQ1)/IL=[U30V-UADC_EA*(R4+R5)/R5]/(UDAC_EA/R6)
in the formula of U30VIs 30V boost mentioned in 2.5, and is a constant of 30V, UADC_EAIs calculated by ADC of MCU, UDAC_EADAC voltage output for MCU control, therefore, load impedance RLCan be easily obtained by calculation. By RLThe value can also be used to determine whether the lead at the load electrode is disconnected or shorted, so as to obtain the valueFurther protective measures are taken.
8. See fig. 9 for a polarity switching circuit.
ADG5433BRUZ-REEL7 is a 3-channel SPDT (single pole double throw) analog switch manufactured by ADI company, and the module only uses the 2 nd and 3 rd channels. The truth table for each switch channel of ADG5433BRUZ-REEL7 is as follows:
in the schematic diagram, E +, E-are signals externally connected with a load through an interface, EA is an EA input pin of a 2.6 middle constant current source, and SW _ E + and SW _ E-are switch signals controlled by the MCU.
Is a signal of the emergency stop button, when in normal work,the analog switch channel of ADG5433BRUZ-REEL7 operates normally by grounding the emergency stop button, and when the user presses the emergency stop button,the pull-up resistor R7 is used for setting a high level, all channels of an analog switch of the ADG5433BRUZ-REEL7 are closed at the moment, and therefore E + and E-are not output, so that the electric stimulation output is interrupted at the highest speed, the safety of a user in the using process is improved, and the purpose of a hardware emergency stop button is achieved; in addition, the MCU is also rightThe level of the voltage is identified, and when the circuit works normally,the level is low, and when the user presses the emergency stop button,the level becomes high, thereby recognizing that the user pressed the emergency stopAnd the button can turn off the 30V power supply on software, and reports to the host computer through the communication protocol to take measures.
The polarity control logic of the polarity switching circuit is as follows:
wherein whenHigh, indicates that the emergency stop button is pressed, and the load is disconnected from the control circuit no matter what level SW _ E +, SW _ E-, or E +, E-or 30V.
9. Referring to fig. 10, an electrical stimulation output circuit is shown.
The interface contains 5 signals:
9.1, J3_ 1: the port of the E-output port is grounded and connected with an ESD pipe in parallel, so that the ESD interference caused by hot plug at the port is prevented; the magnetic beads are connected in series to filter out high-frequency signal interference;
9.2, J3_ 2: the port of the E-output port is grounded and connected with an ESD pipe in parallel, so that the ESD interference caused by hot plug at the port is prevented; the magnetic beads are connected in series to filter out high-frequency signal interference;
9.3、J3_3:the signal of the emergency stop button is sent to the emergency stop device, when the emergency stop device works normally,the emergency stop button is grounded with the J3_4, and the ports are grounded and connected with an ESD pipe in parallel, so that the hot plug ESD interference at the ports is prevented; the magnetic beads are connected in series to filter out high-frequency signal interference;
9.4, J3_ 4: the signal ground is connected with the magnetic beads in series to filter high-frequency signal interference;
9.5, J3_ 5: and the signal ground is connected with a shielding wire of the cable.
10. Parameter range
10.1 maximum output frequency
Because the DAC maximum output frequency of the MCU is 250KHz, the frequency of the operational amplifier and the MOS tube is far more than 250KHz, therefore: if outputting the unidirectional waveform, the maximum output frequency is 250 KHz; if positive and negative bidirectional waveforms are output, the maximum output frequency is 125 KHz.
10.2 maximum output Voltage
The maximum output voltage of the booster circuit is 30V, so that the maximum voltage of two ends of the load is 30V; due to load current IL=UDAC_EA/R6, so that the load voltage UL=IL*RL=(UDAC_EA/R6)*RL。
10.3 load capacity at maximum current
Load current IL=UDAC_EA/R6, maximum output U due to DAC of MCUDAC_EAMAX3.3V, R6 1K, so the load has the maximum current IL MAX3.3V/1K 3.3mA, because the internal resistance of the MOS tube is in milliohm level and the maximum current is only 3.3mA, the voltage drop of the MOS tube Q1 under the condition of complete conduction is very small and can be ignored, and the MOS tube under the maximum current is completely conducted under the condition of maximum load, so U is completely conductedQ1=UR6=UDAC_EAMax3.3V, the maximum belt load capacity R at maximum currentLMax=(30V-UQ1)/IL MAX=(30V-3.3V)/3.3mA=8.09K。
According to the above analysis, the load capacity can be changed according to different output currents, and the determination formula is as follows:
RLMax=(30V-UQ1)/IL MAX=(30V-UDAC_EA)/(UDAC_EA/1K)。
11. software frequency mixing method
If a mixing output is required, then only the mixing final function needs to be calculated in the software inside the module, i.e.: z (x) g (x), wherein f (x) and g (x) are functions required to be mixed, and z (x) is a function after mixing, and the module obtains waveform characteristic parameters required to be output according to the z (x) function after mixing calculation, so that the control circuit generates corresponding output waveforms, and the purpose of outputting the mixing waveforms is achieved.
The device can measure and calculate load impedance in real time to obtain the lead falling or lead disconnection state; the output of the electrical stimulation is only provided with one interface, and a user does not need to switch the electrical stimulation output interface in the switching process of different types of electrical stimulation waveforms; the device is additionally provided with a hardware emergency stop button, the output of the interrupted electrical stimulation does not need to be identified by an internal MCU, but the hardware directly interrupts the electrical stimulation, so that the electrical stimulation output is interrupted at the highest speed in an emergency, and the safety of a user in the using process is improved.
Referring to fig. 11, a waveform output method based on the above-mentioned electrical stimulation apparatus capable of generating arbitrary waveforms includes the following steps:
s1: initializing functions;
s2: receiving parameter information of an output waveform;
s3: judging whether an emergency stop button is pressed, if so, stopping all output by hardware, stopping parameter output by software and reporting to an upper computer, and if not, entering the step S4;
s4: calculating related control parameters according to the received waveform parameters;
s5: and outputting the waveform according to the control parameter.
Preferably, the method further comprises the following steps:
s6: after outputting a waveform to a load, calculating load impedance RL through ADC feedback, thereby obtaining the current load state;
s7: reporting the current state of the upper computer after the ADC feedback calculation is finished, wherein the current state comprises whether work is abnormal or not, the load impedance, whether a lead falls off or not and whether a lead short circuit exists or not;
s8: after the current status is reported, the process proceeds to step S2.
The following describes the present embodiment in detail:
12.1, after the module is powered on, firstly, initializing functions, including GPIO (general purpose input/output) initialization ADC (analog to digital converter) initialization, DAC (digital to analog converter) initialization, serial port initialization and the like of the MCU, and enabling each power supply part to enter a stable state;
12.2, after the module initialization is completed, the serial port starts to receive a command sent by the host, and the command mainly comprises parameter information of an output waveform;
12.3, after the module receives the waveform parameters, judging whether an emergency stop button is pressed, if so, stopping all output of module hardware, stopping parameter output by software, reporting the parameters to an upper computer, and then continuously entering a program for receiving and outputting the waveform parameters by the software; if the emergency stop button is not pressed, the subsequent procedures can be continued;
12.4 when the emergency stop button is pressed and not pressed, the software needs to calculate the DAC output value U according to the received waveform parametersADC_EAAnd polarity switching SW _ E +, SW _ E-, and the like;
12.5, after the relevant output parameters are calculated, the module starts to output control, and relevant output waveform parameter indexes are output to an external load;
12.6, after the output is output to the load, the module calculates the load impedance R through ADC feedbackLSo as to obtain the current load state;
12.7, after the feedback is finished, reporting the current state of the upper computer by the module software, wherein the current state comprises whether the work is abnormal or not, the load impedance, whether the lead falls off or not and whether the lead is short-circuited or not;
12.8, after the software reports the current state, the program continues to return to the software to receive and output the waveform parameters, and the process is circulated.
13. Various waveform generation illustrations
The following examples of waveform generation are all E +, E-external 2K loads,the module normally works by being grounded through the emergency stop button.
13.1, generating a direct current signal waveform with the amplitude of 1V:
because the load is 2K and the amplitude is 1V, the constant current source generated inside the module is 0.5mA, and I isL=UDAC_EAR6, R6 is 1K, so UDAC_EASince only a dc signal waveform is required at 0.5V, it is only necessary to generate a forward wave with control SW _ E + being "0" and SW _ E-being "1", as shown in fig. 12:
13.2, generating a positive and negative bidirectional sine wave with the maximum amplitude of 1V and the frequency of 10 Hz:
because the load is 2K and the maximum amplitude is 1V, the maximum constant current source generated inside the module is 0.5mA, and I isL=UDAC_EAR6, R6 is 1K, so UDAC_EA MAXSince it is necessary to generate a positive and negative bidirectional sine wave with a frequency of 10Hz, and the polarity inside the module is completed by the polarity switching circuit, DAC _ EA should produce a positive half wave of 20Hz sine wave, as shown in fig. 13:
graphic UDAC_EAWaveform, U, generated for DAC _ EA inside the moduleLU is the waveform generated across load 2K, and SW _ E + is "0", SW _ E-is "1LFor positive polarity waveform, U is set when SW _ E + is "1" and SW _ E-is "0LA negative polarity waveform.
13.3, generating a positive and negative bidirectional square wave with the maximum amplitude of 1V, the frequency of 10Hz and the positive duty ratio of 30 percent:
because the load is 2K and the maximum amplitude is 1V, the maximum constant current source generated inside the module is 0.5mA, and I isL=UDAC_EAR6, R6 is 1K, so UDAC_EA MAXThe polarity inside the module is completed through a polarity switching circuit, so that the DAC _ EA only needs to generate a direct current signal with the amplitude of 0.5V, and the SW _ E + is controlled to be 0 and the SW _ E-is controlled to be 1 to generate a forward wave under the positive duty ratio of 30%; with the remaining 70% negative duty cycle, controlling SW _ E + to "1" and SW _ E-to "0" produces a negative going wave, as shown in FIG. 14:
graphic UDAC_EAWaveform, U, generated for DAC _ EA inside the moduleLU is the waveform generated across load 2K, and SW _ E + is "0", SW _ E-is "1LFor positive polarity waveform, U is set when SW _ E + is "1" and SW _ E-is "0LA negative polarity waveform.
13.4, generating a positive and negative bidirectional triangular wave with the maximum amplitude of 1V and the frequency of 10 Hz:
since the load is 2K and the maximum amplitude is 1V, the module is inThe maximum constant current source generated by the part is 0.5mA, due to IL=UDAC_EAR6, R6 is 1K, so UDAC_EA MAXSince it is necessary to generate a positive and negative bidirectional triangle wave with a frequency of 10Hz and the polarity inside the module is completed by the polarity switching circuit, DAC _ EA should generate a forward triangle wave with 20Hz, as shown in fig. 15:
graphic UDAC_EAWaveform, U, generated for DAC _ EA inside the moduleLU is the waveform generated across load 2K, and SW _ E + is "0", SW _ E-is "1LFor positive polarity waveform, U is set when SW _ E + is "1" and SW _ E-is "0LA negative polarity waveform.
13.5, generating a positive and negative bidirectional trapezoidal wave with the maximum amplitude of 1V, the frequency of 10Hz and the top width of 50 percent:
because the load is 2K and the maximum amplitude is 1V, the maximum constant current source generated inside the module is 0.5mA, and I isL=UDAC_EAR6, R6 is 1K, so UDAC_EA MAXSince positive and negative trapezoidal waves with frequency of 10Hz and top width of 50% are required to be generated, and the polarity inside the module is completed by the polarity switching circuit, DAC _ EA should generate a forward trapezoidal wave with 20Hz and top width of 50%, as shown in fig. 16:
graphic UDAC_EAWaveform, U, generated for DAC _ EA inside the moduleLU is the waveform generated across load 2K, and SW _ E + is "0", SW _ E-is "1LFor positive polarity waveform, U is set when SW _ E + is "1" and SW _ E-is "0LA negative polarity waveform.
13.6, mixing:
and (3) outputting: a product of a positive and negative bidirectional sine wave with a maximum amplitude of 1V and a frequency of 10Hz and a positive and negative bidirectional cosine wave with a maximum amplitude of 1V and a frequency of 10 Hz.
A positive and negative bidirectional sine wave with a maximum amplitude of 1V and a frequency of 10Hz is expressed by a mathematical formula of f (x) sin 20 pi x, where x is time, and the waveform is shown in fig. 17:
the maximum amplitude of the positive-negative two-way cosine wave with the frequency of 10Hz is 1V, and the wave form is expressed as g (x) cos 20 pi x by using a mathematical formula, wherein x is time, and the wave form is shown in figure 18:
by mathematical formulaeIt can be seen that the mathematical function after mixing isTherefore, the waveform to be output is a positive and negative bidirectional sine wave with the maximum amplitude of 0.5V and the frequency of 20Hz, and the waveform is shown in fig. 19:
since the load is 2K and the maximum amplitude is 0.5V, the maximum constant current source generated inside the module is 0.25mA, and I isL=UDAC_EAR6, R6 is 1K, so UDAC_EA MAXSince it is necessary to generate a positive and negative bidirectional sine wave with a frequency of 20Hz, and the polarity inside the module is completed by the polarity switching circuit, DAC _ EA should produce a positive half wave of sine wave of 40Hz, as shown in fig. 20:
graphic UDAC_EAWaveform, U, generated for DAC _ EA inside the moduleLU is the waveform generated across load 2K, and SW _ E + is "0", SW _ E-is "1LFor positive polarity waveform, U is set when SW _ E + is "1" and SW _ E-is "0LA negative polarity waveform.
The utility model discloses can produce arbitrary waveform through communication protocol setting device, including the form that sets up the waveform, frequency, duty cycle, amplitude etc, the waveform can be unipolar, also can be bipolar, and can calculate load impedance in real time, obtain leading and drop or lead the off-state, in addition, the output of electro photoluminescence only has an interface, switches the in-process at the electro photoluminescence waveform of different grade type, and the user need not to switch electro photoluminescence output interface, makes the device use simple and convenient, and user experience is fabulous. Meanwhile, a hardware emergency stop button is added in the device, the electric stimulation is interrupted without being identified by an internal MCU (microprogrammed control Unit), and the hardware is used for directly interrupting the electric stimulation in an emergency, so that the electric stimulation output is interrupted at the highest speed, and the safety of a user in the using process is improved.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (5)
1. An electrical stimulation apparatus capable of generating arbitrary waveforms, comprising: the power supply comprises a power supply signal interface, a power supply isolation circuit, a signal isolation circuit, a voltage stabilizing circuit, a microprocessor, a booster circuit, a constant current source circuit, a polarity switching circuit and an electrical stimulation output interface, wherein the power supply signal interface is respectively connected with the power supply isolation circuit and the signal isolation circuit, the voltage stabilizing circuit is connected with the signal isolation circuit and the microprocessor, the microprocessor is respectively connected with the booster circuit, the constant current source circuit and the polarity switching circuit, and the polarity switching circuit is connected with the electrical stimulation output interface.
2. An electro-stimulation device capable of generating arbitrary waveforms as claimed in claim 1 wherein: and the hardware emergency stop button is connected with the polarity switching circuit.
3. An electro-stimulation device capable of generating arbitrary waveforms as claimed in claim 2 wherein: the constant current source circuit comprises a high-voltage operational amplifier U1A, an NMOS tube Q1, a resistor R1 and a resistor R2, wherein the DAC output end of the microprocessor is connected with the third pin of the high-voltage operational amplifier U1A through the resistor R1, and the first pin of the high-voltage operational amplifier U1A is connected with the first pin of the NMOS tube Q1 through the resistor R2; and the third pin of the NMOS tube Q1 is connected with the polarity switching circuit.
4. An electro-stimulation device capable of generating arbitrary waveforms as claimed in claim 3 wherein: the constant current source circuit further comprises a high-voltage operational amplifier U1B, a resistor R4, a resistor R5 and a capacitor C4, wherein a fifth pin of the high-voltage operational amplifier U1B is connected with a third pin of a high-voltage operational amplifier U1A, a sixth pin and a seventh pin of the high-voltage operational amplifier U1B are connected with a resistor R4, one end of the resistor R5 is connected with a resistor R4, and the other end of the resistor R5 is grounded; the capacitor C4 is arranged in parallel at two ends of the resistor R5.
5. An electro-stimulation device capable of generating arbitrary waveforms as claimed in claim 4 wherein: the polarity switching circuit comprises an analog switch U3 and a pull-up resistor R7, wherein the fourteenth pin of the analog switch U3 is connected with the hardware emergency stop button, the microprocessor and the pull-up resistor R7 respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020136676.4U CN211751815U (en) | 2020-01-21 | 2020-01-21 | Electrical stimulation device capable of generating arbitrary waveform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020136676.4U CN211751815U (en) | 2020-01-21 | 2020-01-21 | Electrical stimulation device capable of generating arbitrary waveform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN211751815U true CN211751815U (en) | 2020-10-27 |
Family
ID=72903566
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020136676.4U Active CN211751815U (en) | 2020-01-21 | 2020-01-21 | Electrical stimulation device capable of generating arbitrary waveform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN211751815U (en) |
-
2020
- 2020-01-21 CN CN202020136676.4U patent/CN211751815U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20100145399A1 (en) | Multifunction devices and methods of using the multifunction devices | |
CN103893914B (en) | Program control multichannel electrophysiological stimulation device | |
CN103212157B (en) | Bipolar general nerve electric stimulation instrument | |
CN105744984B (en) | Electrial medical apparatus | |
EP2575962A2 (en) | Functional electrical stimulation device and system, and use thereof | |
CN105536142A (en) | Intelligent electric acupuncture apparatus | |
CN207575559U (en) | Intelligent medium-low frequency body-control electro-therapeutic apparatus | |
CN109731221A (en) | A kind of Multifunctional nerve muscular electrostimulation device | |
CN104606779A (en) | Multi-channel electric stimulator applicable to human body skin antennal nerve stimulation | |
CN101584909B (en) | Portable non-invasive neurogenic bladder therapeutic instrument | |
CN111111008A (en) | Multi-channel electrical stimulation device and waveform output method thereof | |
CN216564965U (en) | Constant-current constant-voltage switching circuit and beauty instrument | |
CN111097103A (en) | Electrical stimulation device capable of generating arbitrary waveforms and waveform output method thereof | |
CN109010008B (en) | Neuromuscular electrical stimulation method, neuromuscular electrical stimulator and host thereof | |
CN211751815U (en) | Electrical stimulation device capable of generating arbitrary waveform | |
CN203183521U (en) | Bipolar universal electrical nerve stimulator | |
CN211751816U (en) | Multi-channel electrical stimulation device | |
WO2023221672A1 (en) | Electrostimulation massage apparatus, control method therefor, and storage medium | |
JP7236522B1 (en) | Intelligent Heating Adjustable Physical Therapy Machine Based on Bioelectric Feedback | |
CN206714217U (en) | A kind of health insoles and health shoes | |
CN110787367A (en) | Wearable middle and low frequency rehabilitation therapeutic apparatus | |
CN211536221U (en) | Wearable middle and low frequency rehabilitation therapeutic apparatus | |
CN207640809U (en) | A kind of pulse generating circuit through cranial nerve physical therapy apparatus | |
CN212439713U (en) | Electrotherapy equipment | |
CN102058934A (en) | Fully computer-controlled multifunctional physiotherapy equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 215000 West 5th Floor, Building 1, No. 233 Yunchuang Road, Jiangling Street, Wujiang District, Suzhou City, Jiangsu Province Patentee after: SUZHOU XIAOLAN MEDICAL TECHNOLOGY CO.,LTD. Address before: 215000 Room 102, 1st floor, building 1, east side of Chang'an Road, Wujiang Economic and Technological Development Zone, Suzhou City, Jiangsu Province Patentee before: SUZHOU XIAOLAN MEDICAL TECHNOLOGY CO.,LTD. |