A right median nerve electrical stimulator and treatment method
By designing a right median nerve electrical stimulator using a C8051F060 microcontroller and a bidirectional wave bridge circuit, the problems of insufficient safety and complex operation in the existing technology have been solved, safe and efficient pulse stimulation has been achieved, the operation process has been simplified, and the efficiency has been improved. Therapeutic effect.
Patent Information
- Application Number
- CN201611221986.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2016-12-26
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2036-12-26
AI Technical Summary
The existing median nerve electrical stimulator has insufficient safety when treating comatose patients with craniocerebral injury. It is difficult to effectively adjust the stimulation current and pulse width, resulting in the possibility of electrical burns, complicated operation, and inconvenient use.
Design a right median nerve electrical stimulator, which is controlled by C8051F060 microcontroller. It is equipped with a bidirectional wave bridge and a selection circuit. The current size is adjusted through the MOS tube to achieve adjustable pulse width and frequency. The operating parameters are set with buttons to simplify the operation.
It improves the safety of the equipment, avoids electric burns, is simple to operate and easy to use, and can effectively promote the recovery of the patient's consciousness.
Smart Images

Figure CN106693175B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electrical stimulators, and in particular to a right median nerve electrical stimulator and a processing method. Background Art
[0002] The mortality rate of patients with severe craniocerebral injury in China is as high as 20%, and the disability rate is 50%. Some of the survivors fall into coma to varying degrees, and prolonged coma is prone to cause multiple complications, which increases the mortality rate. Therefore, actively promoting the recovery of patients' consciousness is the key to early treatment. Since Japan first reported the successful treatment of comatose patients with median nerve electrical stimulation in 1996, a large number of reports at home and abroad have shown that median nerve electrical stimulation has a good effect on awakening coma caused by craniocerebral injury. Summary of the invention
[0003] The purpose of the present invention is to design a neural electrical stimulator which is provided with two stimulation channels and can generate safer bidirectional square waves for pulse stimulation.
[0004] To achieve the above purpose, a right median nerve electrical stimulator is designed, including a host with processing software, an electrode sheet, and a liquid crystal display. The host includes a processor, a power supply circuit, a liquid crystal display circuit, a key circuit, and a stimulation circuit; the output end of the power supply circuit is connected to the power input end of the host; the other control signal ends of the processor are respectively connected to the input end of the liquid crystal display circuit and the input end of the stimulation circuit; the output end of the stimulation circuit is connected to the electrode sheet, characterized in that:
[0005] The processor adopts C8051F060 single chip microcomputer;
[0006] The power supply circuit includes a 5pin-con power line pin header, wherein the 5 pins of the power line input pin J308 of the power line pin header are respectively used to connect the VDD output terminal, the STM_VCC output terminal, the +12V power output terminal, the -3.3V power output terminal, and the GND output terminal; the 5th to 4th pins of the power line output pin J309 of the power line pin header output the STM_VDD power supply, the STM_VCC power supply, the STM_+12V power supply, and the STM_-3.3V power supply, respectively, and the 1st pin of the power line output pin J309 is grounded;
[0007] The stimulation circuit is provided with two paths, A and B; each stimulation circuit adopts four MOS tubes in a bidirectional wave bridge circuit to control the stimulation circuit; the two stimulation circuits A and B are provided with a selection circuit; the stimulation circuit includes the first to fourth circuits;
[0008] The selection circuit includes a 74HC4053R three-way two-choice analog switch and a pin header; the pin header uses a transmission line to connect the input pin J302 and the output pin J303, the A SLECT output end on the p3.0 pin of the C8051F060 microcontroller is connected to the first pin of the input pin J302; the A SLECT output end on the DAC0 pin of the C8051F060 microcontroller is connected to the first pin of the input pin J302; The STM output is connected to the 3rd pin of the input pin J302; the Stim_EN_AP output on the p3.1 pin of the C8051F060 microcontroller is connected to the 5th pin of the input pin J302, the Stim_EN_AP_Switch output on the p3.2 pin of the C8051F060 microcontroller is connected to the 6th pin of the input pin J302, the Stim_EN_AN output on the p3.3 pin of the C8051F060 microcontroller is connected to the 7th pin of the input pin J302; the B SLECT output on the p2.0 pin of the C8051F060 microcontroller is connected to the 2nd pin of the input pin J302; the B The STM output is connected to the 4th pin of the input pin J302; the Stim_EN_BP on the p2.1 pin of the C8051F060 microcontroller is connected to the 9th pin of the input pin J302, the Stim_EN_BP_Switch on the p2.2 pin of the C8051F060 microcontroller is connected to the 10th pin of the input pin J302; the Stim_EN_BN on the p2.3 pin of the C8051F060 microcontroller is connected to the 11th pin of the input pin J302; the Stim_EN_AN_Switch output on the p3.4 pin of the C8051F060 microcontroller is connected to the 8th pin of the input pin J302; the 1st pin of the output pin J303 is connected to the 74HC4053 The B pin of the R three-way two-way analog switch; the second pin of the output pin J303 is connected to the A pin of the 74HC4053R three-way two-way analog switch; the third pin of the output pin J303 is connected to the Y pin of the 74HC4053R three-way two-way analog switch; the fourth pin of the output pin J303 is connected to the X pin of the 74HC4053R three-way two-way analog switch; the INH pin of the 74HC4053R three-way two-way analog switch is grounded, and the VCC pin of the 74HC4053R three-way two-way analog switch is connected to the STM_VDD power supply of the power line pin; the GND pin of the 74HC4053R three-way two-way analog switch is connected to the VEE pin of the 74HC4053R three-way two-way analog switch and then grounded;
[0009] The bidirectional wave circuit includes MOS tubes Q304-Q307 arranged at four corners, resistors R328, R330, voltage regulator diode D500, voltage regulator diode D501, input and output pin headers J304, J305, pin header J300, transformer T300, capacitor C304, capacitor C305; STM_VCC output by the power line pin header is connected to one end of the resistor R328, and the other end of the resistor R328 is respectively connected to the source of the MOS tube Q304 and the source of the MOS tube Q305; the gate of the MOS tube Q304 is connected to the CON AN U end in the stimulation circuit, and the gate of the MOS tube Q305 is connected to the CON AN U end in the stimulation circuit At the APU end, the drain of the MOS tube Q304 is respectively connected to the drain of the MOS tube Q306, the cathode of the voltage-stabilizing diode D500, and the first pin of the input-output pin header J304; the drain of the MOS tube Q305 is respectively connected to the cathode of the voltage-stabilizing diode D501, the drain of the MOS tube Q307, and the second pin of the input-output pin header J304; the anode of the voltage-stabilizing diode D500 and the anode of the voltage-stabilizing diode D501 are connected to ground; the gate of the MOS tube Q306 is respectively connected to the CON APD end in the stimulation circuit and one end of the capacitor C304, and the other end of the capacitor C304 is grounded; the gate of the MOS tube Q307 is respectively connected to the CON APD end in the stimulation circuit and one end of the capacitor C304, and the other end of the capacitor C304 is grounded; AND terminal and one end of capacitor C305, the other end of capacitor C305 is grounded; the source of MOS tube Q306 and the source of MOS tube Q307 are connected to resistor R330 respectively and then grounded; the first pin of J305 in the input and output pin header is connected to the first pin of transformer T300, the second pin of J304 in the input and output pin header is connected to the third pin of transformer T300, the fourth pin of transformer T300 is connected to the first pin of pin header J300, and the sixth pin of transformer T300 is connected to the second pin of pin header J300;
[0010] The first circuit includes resistors R302-R310, an operational amplifier U301A, a capacitor C300, a capacitor C301, and a transistor Q300; the STM_+12V power supply output by the power line pin is connected to one end of the resistor R303, the other end of the resistor R303 is respectively connected to one end of the capacitor C300 and the positive electrode of the operational amplifier U301A, and the other end of the capacitor C300 is grounded; the in-phase input end of the operational amplifier U301A is connected to one end of the resistor R302, the inverting input end of the operational amplifier U301A is respectively connected to one end of the resistor R305 and one end of the resistor R306, the other end of the resistor R305 is grounded, and the positive electrode of the operational amplifier U301A is connected to the positive electrode of the operational amplifier U301A. The other end is respectively connected to the output end of the operational amplifier U301A and one end of the resistor R307. The negative electrode of the operational amplifier U301A is respectively connected to one end of the resistor R304 and one end of the capacitor C301. The other end of the resistor R304 is connected to the STM_-3.3V output by the power line pin header. The other end of the capacitor C301 is grounded. The other end of the resistor R307 is respectively connected to the collector of the transistor Q300 and one end of the resistor R310. The base of the transistor Q300 is respectively connected to one end of the resistor R308 and one end of the resistor R309. The other end of the resistor R309 is connected to the emitter of the transistor Q300 and then grounded. The other end of the resistor R310 is the CON AP D end.
[0011] The second circuit includes resistors R313 to R319, an operational amplifier U301B, and a transistor Q301; one end of the resistor R313 is connected to the non-inverting input end of the operational amplifier U301B, the inverting input end of the operational amplifier U301B is respectively connected to one end of a resistor R315 and one end of a resistor R314, the other end of the resistor R315 is grounded, the other end of the resistor R314 is respectively connected to the output end of the operational amplifier U301B and one end of a resistor R316, the other end of the resistor R316 is respectively connected to one end of a resistor R319 and the collector of the transistor Q301, and the other end of the resistor R319 is a CON AND end; the base of the transistor Q301 is respectively connected to one end of a resistor R317 and one end of a resistor R318, the other end of the resistor R318 is connected to the emitter of the transistor Q301 and then grounded;
[0012] The third circuit includes a resistor R320, a resistor R322, a resistor R323, and a transistor Q302. One end of the resistor R320 is connected to the STM_VCC power supply of the power line pin header. The other end of the resistor R320 is divided into two paths, one is the CON AP U end, and the other is connected to the collector of the transistor Q302. The base of the transistor Q302 is respectively connected to one end of the resistor R322 and one end of the resistor R323. The other end of the resistor R323 is connected to the emitter of the transistor Q302 and then grounded.
[0013] The fourth circuit includes a resistor R324, a resistor R326, a resistor R327, and a transistor Q303. One end of the resistor 324 is connected to the STM_VCC power supply of the power line pin, and the other end of the resistor 324 is divided into two paths, one is the CON AN U end, and the other is connected to the collector of the transistor Q303. The base of the transistor Q303 is respectively connected to one end of the resistor R326 and one end of the resistor R327. The other end of the resistor R327 is connected to the emitter of the transistor Q303 and then grounded.
[0014] The other end of the resistor R308 of the first circuit of the A-way stimulation circuit is connected to the 6th pin of the output pin J303; the other end of the resistor R317 of the second circuit of the A-way stimulation circuit is connected to the 8th pin of the output pin J303; the other end of the resistor R322 of the third circuit of the A-way stimulation circuit is connected to the 5th pin of the output pin J303; one end of the resistor R326 of the fourth circuit of the A-way stimulation circuit is connected to the 7th pin of the output pin J303; the other end of the resistor R302 of the first circuit of the A-way stimulation circuit is connected to the X0 pin of the 74HC4053R three-way two-to-one analog switch; one end of the resistor R313 of the second circuit of the A-way stimulation circuit is connected to the X1 pin of the 74HC4053R three-way two-to-one analog switch;
[0015] The other end of the resistor R308 of the first circuit in the B-way stimulation circuit is connected to the 10th pin of the output pin J303; the other end of the resistor R317 of the second circuit in the B-way stimulation circuit is connected to the 12th pin of the output pin J303; the other end of the resistor R322 of the third circuit in the B-way stimulation circuit is connected to the 9th pin of the output pin J303; one end of the resistor R326 of the fourth circuit in the B-way stimulation circuit is connected to the 11th pin of the output pin J303; the other end of the resistor R302 of the first circuit of the B-way stimulation circuit is connected to the Y0 pin of the 74HC4053R three-way two-to-one analog switch; one end of the resistor R313 of the second circuit of the B-way stimulation circuit is connected to the Y1 pin of the 74HC4053R three-way two-to-one analog switch;
[0016] The operational amplifier in each stimulation circuit amplifies the original control voltage signal generated by the DAC in the C8051F060 microcontroller, and directly controls the MOS tube in the corresponding bidirectional wave circuit to adjust the current, and the pulse width is adjusted by the timer inside the C8051F060 microcontroller;
[0017] The DAC signal generated by the C8051F060 microcontroller is used to switch between the A and B stimulation pulse generating circuits via a 74HC4053R three-way two-to-one analog switch.
[0018] The power supply circuit also includes a 6V charger, a 3.7V lithium battery, a power line input and output pin header, a voltage value detection circuit, a boost circuit, a linear voltage regulator circuit, and a switching regulator circuit;
[0019] The output end of the 6V charger is connected to the input end of the bq24010 voltage detection chip, the output end of the bq24010 voltage detection chip is connected to the output end of the 3.7V lithium battery, and then connected to the input end of the boost circuit and the input end of the linear voltage regulator circuit respectively; the output of the boost circuit is divided into two paths, one path outputs 12V power supply, and the other path is the STM_VCC output end;
[0020] The output end of the linear voltage regulator circuit is divided into two paths, one output end outputs 3.3V power as the system power of the microcontroller; the other output end is connected to the input end of the switching regulator circuit, and the switching regulator circuit outputs -3.3V power.
[0021] The voltage value detection circuit includes a power interface J400, a fuse switch FU400, a diode D400, a diode D401, a diode D402, a voltage stabilizing diode D403, an electrolytic capacitor E400, a capacitor C400, a capacitor C401, a capacitor C402, resistors R401 to R406, and a bq24010 voltage value detection chip;
[0022] The 1st and 2nd pins of the power interface J400 are connected to ground, the 3rd pin of the power pin J400 is connected to one end of the fuse switch FU400, the other end of the fuse switch FU400 is respectively connected to the positive electrode of the diode D400 and the negative electrode of the diode D401, the positive electrode of the diode D401 is connected to the positive electrode of the diode D402 and then grounded; the negative electrode of the diode D400 is respectively connected to the positive electrode of the electrolytic capacitor E400 and one end of the capacitor C400, the negative electrode of the electrolytic capacitor E400 and the other end of the capacitor C400 are connected and then grounded; one end of the capacitor C400 is also respectively connected to the charge output end, one end of the voltage-stabilizing diode D403, one end of the capacitor 401, the IN pin of the bq24010 voltage value detection chip, the VCC pin, and one end of the resistor R406, the other end of the capacitor C401 is grounded; the other end of the resistor R406 is connected in series with the resistor R405 and then grounded;
[0023] The STAT1 pin of the bq24010 voltage detection chip is connected to the STAT1 open-drain output terminal and one end of the resistor R401, the STAT2 pin is connected to the STAT2 open-drain output terminal and one end of the resistor R402, the / PG pin is connected to the PG\ open-drain output terminal and one end of the resistor R403, the other end of the resistor R401 and the other end of the resistor R402 are connected and then connected to the other end of the resistor R403 and then connected to the VD1 output terminal; the STAT1 open-drain output terminal, the STAT2 open-drain output terminal, and the PG\ open-drain output terminal are connected to the P on the C8051F060 microcontroller respectively. 0.1 pin, P0.2 pin, P0.0 pin; the OUT pin and BAT pin of the bq24010 voltage value detection chip are connected and then connected to one end of the capacitor C402, the other end of the voltage regulator diode D403, and the first pin of the lithium battery Battery respectively. The third pin of the lithium battery Battery is grounded, and the other end of the capacitor C402 is respectively connected to the ISET pin of the bq24010 voltage value detection chip and one end of the resistor R404. The other end of the resistor R404 is grounded, and the other end of the resistor R406 is also connected to the TS pin of the bq24010 voltage value detection chip.
[0024] The charge output end of the voltage value detection circuit is respectively connected to one end of the resistor R204, the emitter of the transistor Q204, one end of the resistor R200, the 1S pin, the 2S pin, and the 3S pin of the SI9430 interface, the other end of the resistor R204 is respectively connected to the base of the transistor Q204 and one end of the resistor R206, the collector of the transistor Q204 is connected to one end of the resistor R208, the other end of the resistor R208 is respectively connected to the VBAT_CHECK output end and one end of the resistor R209, and the other end of the resistor R209 is grounded; the VBAT_CHECK output end is connected to the AIN0 pin of the C8051F060 microcontroller;
[0025] The other end of the resistor R200 is respectively connected to the positive electrode of the diode D202, one end of the resistor R201, and the 4G pin of the SI9430 interface, and the negative electrode of the diode D202 is connected to the output end of the KEY_POWER_ON of the key switch circuit; the other end of the resistor R201 is connected to the emitter of the transistor Q201, the collector of the transistor Q201 is grounded, the base of the transistor Q201 is connected to one end of the resistor R202, and the other end of the resistor R202 is respectively connected to the SYS_POWER_ON output end connected to the pin P6.7 of the C8051F060 microcontroller and the other end of the resistor R206; the 5D, 6D, 7D, and 8D pins of the SI9430 interface are connected and then connected to one end of the resistor R210, and the other end of the resistor R210 is respectively connected to the input end of the boost circuit and the input end of the linear voltage regulator circuit, and the output end of the linear voltage regulator circuit is then connected to the input end of the switching regulator circuit.
[0026] The linear voltage regulator circuit includes a capacitor C200, a capacitor C201, a capacitor C230, a resistor R211, a resistor R212, a resistor R236, and a LT3021ES8 linear voltage regulator; one end of the capacitor C200 is respectively connected to one end of the resistor R210, the SHDN pin of the LT3021ES8 linear voltage regulator, and the IN pin of the LT3021ES8 linear voltage regulator, and the other end of the capacitor C200 is respectively connected to the AGND pin, the PGND pin, one end of the resistor R212, and the IN pin of the LT3021ES8 linear voltage regulator. One end of capacitor C230 and one end of capacitor C201 are grounded, the OUT pin of LT3021ES8 linear regulator is respectively connected to one end of resistor R211, the other end of capacitor C230, the other end of capacitor C201, and one end of resistor R236, the other end of resistor R211 is respectively connected to ADJ pin of LT3021ES8 linear regulator and the other end of resistor R212; the other end of resistor R236 outputs VDD power supply and is connected to VDD output end, and the VDD output end is connected to pin 5 of power line input pin J308;
[0027] The switching regulator circuit comprises capacitor C226, capacitor C227, capacitor C228, capacitor C229, resistor R232, resistor R233, resistor R234, resistor R235, and MAX1673 boost chip; the VDD power supply output by the linear voltage regulator circuit is respectively connected to one end of capacitor C226, one end of resistor R232, IN pin of MAX1673 boost chip, one end of resistor R234, the other end of resistor R234 is connected to FB pin of MAX1673 boost chip, the other end of capacitor C226 is connected to one end of resistor R233 and then grounded, the other end of resistor R233 is respectively connected to resistor R The other end of 232 is connected to the / SHDN pin of the MAX1673 boost chip, the CAP+ pin of the MAX1673 boost chip is connected to one end of the capacitor C227, the other end of the capacitor C227 is connected to the CAD- pin of the MAX1673 boost chip, the GND pin and the LIN / SKIP pin of the MAX1673 boost chip are connected, and then connected to one end of the capacitor C228 and one end of the capacitor C229 and then to ground, the OUT pin of the MAX1673 boost chip is connected to the other end of the capacitor C228, the other end of the capacitor C229, and one end of the resistor R235, and then connected to the -3.3V power supply output end.
[0028] The boost circuit includes a MAX1673 switching regulator, capacitors C203-C210, capacitor C221, electrolytic capacitor E202, inductor L500, resistors R217-R225, R229, R230, R231, N-channel MOS tube Q203, P-channel MOS tube Q206, diode D201, and triode Q202;
[0029] The other end of the resistor R210 is respectively connected to one end of the capacitor C203, one end of the capacitor C204, one end of the resistor R207, and one end of the inductor L500. The other end of the capacitor C203 is connected to the other end of the capacitor C204 and then grounded. The other end of the resistor R217 is connected to the SHDN pin of the MAX1673 switching regulator. The other end of the inductor L500 is respectively connected to the drain of the N-channel MOS tube Q203 and the positive electrode of the diode D201. The gate of the N-channel MOS tube Q203 is connected to the E pin of the MAX1673 switching regulator. XT pin, the source of the N-channel MOS tube Q203 is connected to one end of the resistor R218, the resistor R219, the resistor R220, and the resistor R221, and then connected to the CS+ pin of the MAX1673 switching regulator. The other ends of the resistors R218, the resistor R219, the resistor R220, and the resistor R221 are connected and then connected to the PGND pin of the MAX1673 switching regulator and grounded. The FB pin of the MAX1673 switching regulator is connected to one end of the capacitor C210, one end of the resistor R224, and one end of the resistor R223. , the other end of capacitor C210 and the other end of resistor R224 are connected and grounded; the cathode of diode D201 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of resistor R223, one end of capacitor C207, and one end of resistor R225; the other end of capacitor C205 and the other end of capacitor C206 are connected and grounded; the other end of capacitor C207 is grounded; the other end of resistor R225 is respectively connected to the output end of 12V power supply, one end of resistor R229, and the emitter of transistor Q202; the cathode of resistor R229 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of capacitor C207 is grounded; the other end of resistor R225 is respectively connected to the output end of 12V power supply, one end of resistor R229, and the emitter of transistor Q202; the cathode of diode D201 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of capacitor C206 is connected and grounded; ... The other end is respectively connected to the base of the transistor Q202 and the source of the P-channel MOS transistor Q206. The gate of the P-channel MOS transistor Q206 is respectively connected to the collector of the transistor Q202 and one end of the resistor R231. The drain of the P-channel MOS transistor Q206 is respectively connected to one end of the capacitor C221, the positive electrode of the electrolytic capacitor E202, and one end of the resistor R230. The other end of the resistor R231, the other end of the capacitor C221, and the negative electrode of the electrolytic capacitor E202 are connected and then grounded. The other end of the resistor R230 is connected to the STM_VCC output end.
[0030] The key circuit uses the pins of the fpc16 connector connected to the C8051F060 single chip microcomputer to respectively connect the switch power button, SET button, A-UP button, A-DOWN button, B-UP button, and B-DOWN button.
[0031] It also includes an indicator light circuit, which includes a total power indicator light LED100, a path A indicator light LED101, a path B indicator light LED102, and resistors R109-R111. The VDD power supply output by the AVDD pin of the C8051F060 single-chip microcomputer is respectively connected to one end of the resistors R109-R111, the other end of the resistor R109 is connected to the positive electrode of the total power indicator light LED100, and the negative electrode of the total power indicator light LED100 is connected to the P3.5 pin of the C8051F060 single-chip microcomputer; the other end of the resistor R110 is connected to the positive electrode of the path A indicator light LED101, and the negative electrode of the path A indicator light LED101 is connected to the P3.6 pin of the C8051F060 single-chip microcomputer; the other end of the resistor R111 is connected to the positive electrode of the path B indicator light LED102, and the negative electrode of the path B indicator light LED102 is connected to the P3.7 pin of the C8051F060 single-chip microcomputer. The liquid crystal display adopts a 12864 liquid crystal module to communicate with the single-chip microcomputer parallel port.
[0032] A processing method for a right median nerve electrical stimulator, characterized in that: the processing software performs the following processing steps: (1) start; (2) initialize; (3) determine whether the power is lower than the set value? (4) if it is lower than the set value, end; if it is not lower than the set value, set parameters, the parameters include stimulation frequency, stimulation pulse width, and current intensity; (5) generate an electric pulse signal for stimulation according to the set parameters; (6) is there a key operation? If so, follow the key operation; if not, determine whether the lock screen time has arrived? (7) if the lock screen time has arrived, lock the screen; if the lock screen time has not arrived, determine whether the electric pulse stop time has arrived; (8) if the stop time has not arrived, return to the step of "generating an electric pulse signal for stimulation according to the set parameters", if the stop time has arrived, stop the stimulation; and end.
[0033] Compared with the prior art, the present invention is provided with two stimulation current circuits with adjustable pulse width and stimulation frequency, which is highly safe and avoids electric burns; and the operating parameters can be set by pressing buttons, which is simple to operate and easy to use. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 It is the overall connection block diagram of the power supply circuit in the present invention.
[0035] Figure 2 It is a circuit diagram of the single chip microcomputer in the present invention.
[0036] Figure 3 It is a circuit diagram of the voltage value detection circuit in the present invention.
[0037] Figure 4 It is a circuit connection diagram of the boost circuit and the linear voltage stabilizing circuit in the present invention.
[0038] Figure 5 It is a circuit diagram of the switching regulator circuit in the present invention.
[0039] Figure 6 is a circuit diagram of the first circuit in the present invention.
[0040] Figure 7 is a circuit diagram of the second circuit in the present invention.
[0041] Figure 8 is a circuit diagram of the third circuit in the present invention.
[0042] Fig. 9 is a circuit diagram of the fourth circuit in the present invention.
[0043] Fig.10 It is a circuit diagram of the bidirectional wave bridge circuit in the present invention.
[0044] Fig.11 It is a circuit diagram of the input pin J302 and the output pin J303 in the present invention.
[0045] Fig.12 The circuit diagram of the 74HC4053 three-way two-to-one analog switch in the present invention.
[0046] Fig.13 It is a circuit diagram of the power line input pin J308 and the power line input pin J309 in the present invention.
[0047] Fig.14 4 is a circuit diagram of a key circuit in an embodiment of the present invention.
[0048] Fig.15 FIG. 4 is a circuit diagram of a liquid crystal display circuit in an embodiment of the present invention.
[0049] Fig.16 It is a circuit diagram of the indicator light circuit in the present invention.
[0050] Fig.17 This is a flowchart of the processing in Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0051] The present invention will now be further described with reference to the accompanying drawings.
[0052] See also Figures 1 to 16 A right median nerve electrical stimulator, comprising a host with processing software, an electrode sheet, and a liquid crystal display, wherein the host comprises a processor, a power supply circuit, a liquid crystal display circuit, a key circuit, and a stimulation circuit; the output end of the power supply circuit is connected to the power input end of the host; the other control signal ends of the processor are respectively connected to the input end of the liquid crystal display circuit and the input end of the stimulation circuit; the output end of the stimulation circuit is connected to the electrode sheet, characterized in that:
[0053] The processor adopts C8051F060 single chip microcomputer;
[0054] See also Fig.13 , the power supply circuit includes a 5pin-con power line pin header, wherein the 5 pins of the power line input pin header J308 of the power line pin header are respectively used to connect the VDD output terminal, the STM_VCC output terminal, the +12V power output terminal, the -3.3V power output terminal, and the GND output terminal; the 5th to 4th pins of the power line output pin header J309 of the power line pin header output STM_VDD power, STM_VCC power, STM_+12V power, and STM_-3.3V power, respectively, and the 1st pin of the power line output pin header J309 is grounded;
[0055] The stimulation circuit is provided with two paths, A and B; each stimulation circuit uses four MOS tubes in a bidirectional wave bridge circuit to control the stimulation circuit; the two stimulation circuits A and B are provided with a selection circuit; the stimulation circuit includes the first to fourth circuits;
[0056] See also Figure 2 , Fig.11 and 12The selection circuit includes a 74HC4053R three-way two-to-one analog switch and a pin header; the pin header uses a transmission line to connect the input pin J302 and the output pin J303, the ASLECT output end on the p3.0 pin of the C8051F060 microcontroller is connected to the first pin of the input pin J302; the A on the DAC0 pin of the C8051F060 microcontroller The STM output is connected to the 3rd pin of the input pin J302; the Stim_EN_AP output on the p3.1 pin of the C8051F060 microcontroller is connected to the 5th pin of the input pin J302, the Stim_EN_AP_Switch output on the p3.2 pin of the C8051F060 microcontroller is connected to the 6th pin of the input pin J302, the Stim_EN_AN output on the p3.3 pin of the C8051F060 microcontroller is connected to the 7th pin of the input pin J302; the B SLECT output on the p2.0 pin of the C8051F060 microcontroller is connected to the 2nd pin of the input pin J302; the B The STM output is connected to the 4th pin of the input pin J302; the Stim_EN_BP on the p2.1 pin of the C8051F060 microcontroller is connected to the 9th pin of the input pin J302, the Stim_EN_BP_Switch on the p2.2 pin of the C8051F060 microcontroller is connected to the 10th pin of the input pin J302; the Stim_EN_BN on the p2.3 pin of the C8051F060 microcontroller is connected to the 11th pin of the input pin J302; the Stim_EN_AN_Switch output on the p3.4 pin of the C8051F060 microcontroller is connected to the 8th pin of the input pin J302; the 1st pin of the output pin J303 is connected to the 74HC4053 The B pin of the R three-way two-way analog switch; the second pin of the output pin J303 is connected to the A pin of the 74HC4053R three-way two-way analog switch; the third pin of the output pin J303 is connected to the Y pin of the 74HC4053R three-way two-way analog switch; the fourth pin of the output pin J303 is connected to the X pin of the 74HC4053R three-way two-way analog switch; the INH pin of the 74HC4053R three-way two-way analog switch is grounded, and the VCC pin of the 74HC4053R three-way two-way analog switch is connected to the STM_VDD power supply of the power line pin; the GND pin of the 74HC4053R three-way two-way analog switch is connected to the VEE pin of the 74HC4053R three-way two-way analog switch and then grounded;
[0057] See also Fig.10The bidirectional wave circuit includes MOS tubes Q304-Q307 arranged at four corners, resistors R328, R330, voltage regulator diode D500, voltage regulator diode D501, input and output pin headers J304, J305, pin header J300, transformer T300, capacitor C304, capacitor C305; STM_VCC output by the power line pin header is connected to one end of the resistor R328, and the other end of the resistor R328 is respectively connected to the source of the MOS tube Q304 and the source of the MOS tube Q305; the gate of the MOS tube Q304 is connected to the CON AN U end in the stimulation circuit, and the gate of the MOS tube Q305 is connected to the CON AP in the stimulation circuit U end, the drain of MOS tube Q304 is respectively connected to the drain of MOS tube Q306, the cathode of voltage zener diode D500, and the first pin of J304 in the input and output pin header, the drain of MOS tube Q305 is respectively connected to the cathode of voltage zener diode D501, the drain of MOS tube Q307, and the second pin of J304 in the input and output pin header, the anode of voltage zener diode D500 and the anode of voltage zener diode D501 are connected and then grounded, the gate of MOS tube Q306 is respectively connected to the CON AP D end in the stimulation circuit and one end of capacitor C304, and the other end of capacitor C304 is grounded; the gate of MOS tube Q307 is respectively connected to the CON AN D end in the stimulation circuit The D terminal and one end of the capacitor C305, the other end of the capacitor C305 is grounded; the source of the MOS tube Q306 and the source of the MOS tube Q307 are connected to the resistor R330 and then grounded; the first pin of the input and output pin J305 is connected to the first pin of the transformer T300, the second pin of the input and output pin J304 is connected to the third pin of the transformer T300, the fourth pin of the transformer T300 is connected to the first pin of the pin J300, and the sixth pin of the transformer T300 is connected to the second pin of the pin J300;
[0058] See also Figure 6The first circuit includes resistors R302-R310, an operational amplifier U301A, a capacitor C300, a capacitor C301, and a transistor Q300; the STM_+12V power supply output by the power line pin is connected to one end of the resistor R303, the other end of the resistor R303 is respectively connected to one end of the capacitor C300 and the positive electrode of the operational amplifier U301A, and the other end of the capacitor C300 is grounded; the non-inverting input end of the operational amplifier U301A is connected to one end of the resistor R302, the inverting input end of the operational amplifier U301A is respectively connected to one end of the resistor R305 and one end of the resistor R306, the other end of the resistor R305 is grounded, and the positive electrode of the operational amplifier U301A is connected to the positive electrode of the operational amplifier U301A. The other end is respectively connected to the output end of the operational amplifier U301A and one end of the resistor R307. The negative electrode of the operational amplifier U301A is respectively connected to one end of the resistor R304 and one end of the capacitor C301. The other end of the resistor R304 is connected to the STM_-3.3V output by the power line pin header. The other end of the capacitor C301 is grounded. The other end of the resistor R307 is respectively connected to the collector of the transistor Q300 and one end of the resistor R310. The base of the transistor Q300 is respectively connected to one end of the resistor R308 and one end of the resistor R309. The other end of the resistor R309 is connected to the emitter of the transistor Q300 and then grounded. The other end of the resistor R310 is the CON AP D end.
[0059] See also Figure 7 The second circuit includes resistors R313 to R319, an operational amplifier U301B, and a transistor Q301; one end of the resistor R313 is connected to the non-inverting input end of the operational amplifier U301B, the inverting input end of the operational amplifier U301B is respectively connected to one end of a resistor R315 and one end of a resistor R314, the other end of the resistor R315 is grounded, the other end of the resistor R314 is respectively connected to the output end of the operational amplifier U301B and one end of a resistor R316, the other end of the resistor R316 is respectively connected to one end of a resistor R319 and the collector of the transistor Q301, and the other end of the resistor R319 is a CON AN D end; the base of the transistor Q301 is respectively connected to one end of a resistor R317 and one end of a resistor R318, the other end of the resistor R318 is connected to the emitter of the transistor Q301 and then grounded;
[0060] See also Figure 8 The third circuit includes a resistor R320, a resistor R322, a resistor R323, and a transistor Q302. One end of the resistor R320 is connected to the STM_VCC power supply of the power line pin header. The other end of the resistor R320 is divided into two paths, one is the CON AP U end, and the other is connected to the collector of the transistor Q302. The base of the transistor Q302 is respectively connected to one end of the resistor R322 and one end of the resistor R323. The other end of the resistor R323 is connected to the emitter of the transistor Q302 and then grounded;
[0061] See also Fig. 9 The fourth circuit includes a resistor R324, a resistor R326, a resistor R327, and a transistor Q303. One end of the resistor 324 is connected to the STM_VCC power supply of the power line pin, and the other end of the resistor 324 is divided into two paths, one is the CON ANU end, and the other is connected to the collector of the transistor Q303. The base of the transistor Q303 is respectively connected to one end of the resistor R326 and one end of the resistor R327. The other end of the resistor R327 is connected to the emitter of the transistor Q303 and then grounded;
[0062] When working, the original control voltage signal generated by the DAC of the C8051F060 single-chip microcomputer is amplified by the amplifier and directly controls the MOS tube to adjust the current. The pulse width is controlled by the built-in timer of the C8051F060 single-chip microcomputer to control the state of the triode. In order to reduce the electrochemical effect caused by electrical stimulation, the present invention adopts a bidirectional waveform, see Fig.10 It uses 4 MOS tubes. As long as the two diagonal tubes are in the open state and the other two are in the closed state, the current can pass. When the unused diagonal tubes are opened, the current flowing through the transformer is opposite. In this way, a bidirectional waveform can be realized, that is, when one phase produces a stimulating effect, the other phase is a balanced wave.
[0063] The other end of the resistor R308 of the first circuit of the A-way stimulation circuit is connected to the 6th pin of the output pin J303; the other end of the resistor R317 of the second circuit of the A-way stimulation circuit is connected to the 8th pin of the output pin J303; the other end of the resistor R322 of the third circuit of the A-way stimulation circuit is connected to the 5th pin of the output pin J303; one end of the resistor R326 of the fourth circuit of the A-way stimulation circuit is connected to the 7th pin of the output pin J303; the other end of the resistor R302 of the first circuit of the A-way stimulation circuit is connected to the X0 pin of the 74HC4053R three-way two-to-one analog switch; one end of the resistor R313 of the second circuit of the A-way stimulation circuit is connected to the X1 pin of the 74HC4053R three-way two-to-one analog switch;
[0064] The other end of the resistor R308 of the first circuit in the B-way stimulation circuit is connected to the 10th pin of the output pin J303; the other end of the resistor R317 of the second circuit in the B-way stimulation circuit is connected to the 12th pin of the output pin J303; the other end of the resistor R322 of the third circuit in the B-way stimulation circuit is connected to the 9th pin of the output pin J303; one end of the resistor R326 of the fourth circuit in the B-way stimulation circuit is connected to the 11th pin of the output pin J303; the other end of the resistor R302 of the first circuit of the B-way stimulation circuit is connected to the Y0 pin of the 74HC4053R three-way two-to-one analog switch; one end of the resistor R313 of the second circuit of the B-way stimulation circuit is connected to the Y1 pin of the 74HC4053R three-way two-to-one analog switch;
[0065] The operational amplifier in each stimulation circuit amplifies the original control voltage signal generated by the DAC in the C8051F060 microcontroller, and directly controls the MOS tube in the corresponding bidirectional wave circuit to adjust the current, and the pulse width is adjusted by the timer inside the C8051F060 microcontroller;
[0066] The DAC signal generated by the C8051F060 microcontroller is used to switch between the A and B stimulation pulse generating circuits via a 74HC4053R three-way two-to-one analog switch.
[0067] The power supply circuit also includes a 6V charger, a 3.7V lithium battery, a power line input and output pin header, a voltage value detection circuit, a boost circuit, a linear voltage regulator circuit, and a switching regulator circuit;
[0068] See also Figure 1 The output end of the 6V charger is connected to the input end of the bq24010 voltage detection chip, the output end of the bq24010 voltage detection chip is connected to the output end of the 3.7V lithium battery, and then connected to the input end of the boost circuit and the input end of the linear voltage regulator circuit respectively; the output of the boost circuit is divided into two paths, one path outputs 12V power supply, and the other path is the STM_VCC output end;
[0069] The output end of the linear voltage regulator circuit is divided into two paths, one output end outputs 3.3V power as the system power of the microcontroller; the other output end is connected to the input end of the switching regulator circuit, and the switching regulator circuit outputs -3.3V power.
[0070] See also Figure 3 , further, the voltage value detection circuit includes a power interface J400, a fuse switch FU400, a diode D400, a diode D401, a diode D402, a voltage zener diode D403, an electrolytic capacitor E400, a capacitor C400, a capacitor C401, a capacitor C402, resistors R401 to R406, and a bq24010 voltage value detection chip;
[0071] The 1st and 2nd pins of the power interface J400 are connected to ground, the 3rd pin of the power pin J400 is connected to one end of the fuse switch FU400, the other end of the fuse switch FU400 is respectively connected to the positive electrode of the diode D400 and the negative electrode of the diode D401, the positive electrode of the diode D401 is connected to the positive electrode of the diode D402 and then grounded; the negative electrode of the diode D400 is respectively connected to the positive electrode of the electrolytic capacitor E400 and one end of the capacitor C400, the negative electrode of the electrolytic capacitor E400 and the other end of the capacitor C400 are connected and then grounded; one end of the capacitor C400 is also respectively connected to the charge output end, one end of the voltage-stabilizing diode D403, one end of the capacitor 401, the IN pin of the bq24010 voltage value detection chip, the VCC pin, and one end of the resistor R406, the other end of the capacitor C401 is grounded; the other end of the resistor R406 is connected in series with the resistor R405 and then grounded;
[0072] The STAT1 pin of the bq24010 voltage detection chip is connected to the STAT1 open-drain output terminal and one end of the resistor R401, the STAT2 pin is connected to the STAT2 open-drain output terminal and one end of the resistor R402, the / PG pin is connected to the PG\ open-drain output terminal and one end of the resistor R403, the other end of the resistor R401 and the other end of the resistor R402 are connected and then connected to the other end of the resistor R403 and then connected to the VD1 output terminal; the STAT1 open-drain output terminal, the STAT2 open-drain output terminal, and the PG\ open-drain output terminal are connected to the P on the C8051F060 microcontroller respectively. 0.1 pin, P0.2 pin, P0.0 pin; the OUT pin and BAT pin of the bq24010 voltage value detection chip are connected and then connected to one end of the capacitor C402, the other end of the voltage stabilizing diode D403, and the first pin of the lithium battery Battery, the third pin of the lithium battery Battery is grounded, the other end of the capacitor C402 is connected to the ISET pin of the bq24010 voltage value detection chip and one end of the resistor R404, the other end of the resistor R404 is grounded, and the other end of the resistor R406 is also connected to the TS pin of the bq24010 voltage value detection chip. In the present invention, three IO ports are used to detect the current power supply status, and the status includes charging, fully charged, using the battery alone, and using the charging power supply alone. In addition, an ADC is used to detect the voltage of the battery to indicate the power status.
[0073] See also Figure 4, further, the charge output end of the voltage value detection circuit is respectively connected to one end of the resistor R204, the emitter of the transistor Q204, one end of the resistor R200, the 1S pin, the 2S pin, and the 3S pin of the SI9430 interface, the other end of the resistor R204 is respectively connected to the base of the transistor Q204 and one end of the resistor R206, the collector of the transistor Q204 is connected to one end of the resistor R208, the other end of the resistor R208 is respectively connected to the VBAT_CHECK output end and one end of the resistor R209, and the other end of the resistor R209 is grounded; the VBAT_CHECK output end is connected to the AIN0 pin of the C8051F060 microcontroller;
[0074] The other end of the resistor R200 is respectively connected to the positive electrode of the diode D202, one end of the resistor R201, and the 4G pin of the SI9430 interface, and the negative electrode of the diode D202 is connected to the output end of the KEY_POWER_ON of the key switch circuit; the other end of the resistor R201 is connected to the emitter of the transistor Q201, the collector of the transistor Q201 is grounded, the base of the transistor Q201 is connected to one end of the resistor R202, and the other end of the resistor R202 is respectively connected to the SYS_POWER_ON output end connected to the pin P6.7 of the C8051F060 microcontroller and the other end of the resistor R206; the 5D, 6D, 7D, and 8D pins of the SI9430 interface are connected and then connected to one end of the resistor R210, and the other end of the resistor R210 is respectively connected to the input end of the boost circuit and the input end of the linear voltage regulator circuit, and the output end of the linear voltage regulator circuit is then connected to the input end of the switching regulator circuit.
[0075] Furthermore, the linear voltage regulator circuit includes a capacitor C200, a capacitor C201, a capacitor C230, a resistor R211, a resistor R212, a resistor R236, and an LT3021ES8 linear regulator; one end of the capacitor C200 is respectively connected to one end of the resistor R210, the SHDN pin of the LT3021ES8 linear regulator, and the IN pin of the LT3021ES8 linear regulator, and the other end of the capacitor C200 is respectively connected to the AGND pin, the PGND pin, and the one end of the resistor R212 of the LT3021ES8 linear regulator. The OUT pin of the LT3021ES8 linear regulator is connected to one end of the resistor R211, the other end of the capacitor C230, the other end of the capacitor C201, and one end of the resistor R236 respectively; the other end of the resistor R211 is connected to the ADJ pin of the LT3021ES8 linear regulator and the other end of the resistor R212 respectively; the other end of the resistor R236 outputs the VDD power supply and is connected to the VDD output end, and the VDD output end is connected to the 5th pin of the power line input pin J308;
[0076] The switching regulator circuit comprises capacitor C226, capacitor C227, capacitor C228, capacitor C229, resistor R232, resistor R233, resistor R234, resistor R235, and MAX1673 boost chip; the VDD power supply output by the linear voltage regulator circuit is respectively connected to one end of capacitor C226, one end of resistor R232, IN pin of MAX1673 boost chip, one end of resistor R234, the other end of resistor R234 is connected to FB pin of MAX1673 boost chip, the other end of capacitor C226 is connected to one end of resistor R233 and then grounded, the other end of resistor R233 is respectively connected to resistor R The other end of 232 is connected to the / SHDN pin of the MAX1673 boost chip, the CAP+ pin of the MAX1673 boost chip is connected to one end of the capacitor C227, the other end of the capacitor C227 is connected to the CAD- pin of the MAX1673 boost chip, the GND pin and the LIN / SKIP pin of the MAX1673 boost chip are connected, and then connected to one end of the capacitor C228 and one end of the capacitor C229 and then to ground, the OUT pin of the MAX1673 boost chip is connected to the other end of the capacitor C228, the other end of the capacitor C229, and one end of the resistor R235, and then connected to the -3.3V power supply output end.
[0077] The boost circuit includes a MAX1673 switching regulator, capacitors C203-C210, capacitor C221, electrolytic capacitor E202, inductor L500, resistors R217-R225, R229, R230, R231, N-channel MOS tube Q203, P-channel MOS tube Q206, diode D201, and triode Q202;
[0078] The other end of the resistor R210 is respectively connected to one end of the capacitor C203, one end of the capacitor C204, one end of the resistor R207, and one end of the inductor L500. The other end of the capacitor C203 is connected to the other end of the capacitor C204 and then grounded. The other end of the resistor R217 is connected to the SHDN pin of the MAX1673 switching regulator. The other end of the inductor L500 is respectively connected to the drain of the N-channel MOS tube Q203 and the positive electrode of the diode D201. The gate of the N-channel MOS tube Q203 is connected to the E pin of the MAX1673 switching regulator. XT pin, the source of the N-channel MOS tube Q203 is connected to one end of the resistor R218, the resistor R219, the resistor R220, and the resistor R221, and then connected to the CS+ pin of the MAX1673 switching regulator. The other ends of the resistors R218, the resistor R219, the resistor R220, and the resistor R221 are connected and then connected to the PGND pin of the MAX1673 switching regulator and grounded. The FB pin of the MAX1673 switching regulator is connected to one end of the capacitor C210, one end of the resistor R224, and one end of the resistor R223. , the other end of capacitor C210 and the other end of resistor R224 are connected and grounded; the cathode of diode D201 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of resistor R223, one end of capacitor C207, and one end of resistor R225; the other end of capacitor C205 and the other end of capacitor C206 are connected and grounded; the other end of capacitor C207 is grounded; the other end of resistor R225 is respectively connected to the output end of 12V power supply, one end of resistor R229, and the emitter of transistor Q202; the cathode of resistor R229 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of capacitor C207 is grounded; the other end of resistor R225 is respectively connected to the output end of 12V power supply, one end of resistor R229, and the emitter of transistor Q202; the cathode of diode D201 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of capacitor C206 is connected and grounded; ... The other end is respectively connected to the base of the transistor Q202 and the source of the P-channel MOS transistor Q206. The gate of the P-channel MOS transistor Q206 is respectively connected to the collector of the transistor Q202 and one end of the resistor R231. The drain of the P-channel MOS transistor Q206 is respectively connected to one end of the capacitor C221, the positive electrode of the electrolytic capacitor E202, and one end of the resistor R230. The other end of the resistor R231, the other end of the capacitor C221, and the negative electrode of the electrolytic capacitor E202 are connected and then grounded. The other end of the resistor R230 is connected to the STM_VCC output end.
[0079] See also Fig.14 Furthermore, the key circuit uses the pins of the fpc16 connector connected to the C8051F060 microcontroller to respectively connect the switch power button, SET button, A-UP button, A-DOWN button, B-UP button, and B-DOWN button.
[0080] See also Fig.15, also includes an indicator light circuit, the indicator light circuit includes a total power indicator light LED100, a path A indicator light LED101, a path B indicator light LED102, resistors R109~R111, the VDD power supply output by the AVDD pin of the C8051F060 single-chip microcomputer is respectively connected to one end of the resistors R109~R111, the other end of the resistor R109 is connected to the positive electrode of the total power indicator light LED100, and the negative electrode of the total power indicator light LED100 is connected to the P3.5 pin of the C8051F060 single-chip microcomputer; the other end of the resistor R110 is connected to the positive electrode of the path A indicator light LED101, and the negative electrode of the path A indicator light LED101 is connected to the P3.6 pin of the C8051F060 single-chip microcomputer; the other end of the resistor R111 is connected to the positive electrode of the path B indicator light LED102, and the negative electrode of the path B indicator light LED102 is connected to the P3.7 pin of the C8051F060 single-chip microcomputer.
[0081] See also Fig.16 Furthermore, the liquid crystal display uses a 12864 liquid crystal module to communicate with the single-chip microcomputer parallel port.
[0082] See also Fig.17 , a processing method for a right median nerve electrical stimulator, characterized in that: the processing software performs the following processing steps: (1) start; (2) initialize; (3) determine whether the power is lower than the set value? (4) If it is lower than the set value, end; if it is not lower than the set value, set parameters, and the parameters include stimulation frequency, stimulation pulse width, and current intensity; (5) generate an electric pulse signal for stimulation according to the set parameters; (6) Is there a key operation? If so, follow the key operation; if not, determine whether the lock screen time has arrived? (7) If the lock screen time has arrived, lock the screen; if the lock screen time has not arrived, determine whether the electric pulse stop time has arrived; (8) If the stop time has not arrived, return to the step of "generating an electric pulse signal for stimulation according to the set parameters", and if the stop time has arrived, stop the stimulation; and end.
[0083] This processing method can control the device's stimulation current intensity, stimulation waveform frequency, cycle, and stimulation time, and can automatically lock the buttons during stimulation to prevent accidental touches from affecting stimulation parameters. It can automatically shut down after a certain period of non-stimulation to save battery power.
[0084] The power supply of the present invention is powered by a 3.7V lithium battery or a 6V charger. The required signal is controlled by a built-in program of a C8051F060 single-chip microcomputer; the size of the stimulation pulse is controlled by a DAC of the C8051F060 single-chip microcomputer; and the stimulation frequencies of the two channels are controlled by Timer0 of the internal timer of the C8051F060 single-chip microcomputer; Timer3 controls the pulse width of channel A; Timer4 controls the pulse width of channel B, and TIME0-4 are internal timers of the single-chip microcomputer, which respectively control pins 51, 52, 53, and 54, i.e., P3.0, P3.1, P3.2, and P3.3 to achieve the above purpose. In this example, a bidirectional square wave is output, and the current intensity is adjusted step by step by 0.5 mA within the range of 1Ma-40Ma, the stimulation frequency is adjusted to 40Hz, the stimulation pulse width is adjusted to 300μs, and the built-in program can be used to work for 20s and then stay still for 40s, and can work continuously for 8h.
[0085] The entire electrical stimulator is an independent handheld device powered by a 3.7V lithium battery. The battery level is detected in real time and displayed on the LCD screen. It can also be charged with a 6V charger. The device is controlled by key input to control the intensity, pulse width and frequency of the output stimulation current. The display is a 3-inch LCD. The buttons include the power switch, SET, A-UP, A-DOWN, B-UP, and B-down. The display screen shows the power indicator, working time, channel and channel parameters, battery level, etc. It is very convenient and intuitive to use.
Claims
1. A right median nerve electrical stimulator, comprising a host with processing software, an electrode sheet, and a liquid crystal display, wherein the host comprises a processor, a power supply circuit, a liquid crystal display circuit, a key circuit, and a stimulation circuit; the output end of the power supply circuit is connected to the power input end of the host; other control signal ends of the processor are respectively connected to the input end of the liquid crystal display circuit and the input end of the stimulation circuit; the output end of the stimulation circuit is connected to the electrode sheet, characterized in that: The processor adopts C8051F060 single chip microcomputer; The power supply circuit includes a 5pin-con power line pin header, wherein the 5 pins of the power line input pin J308 of the power line pin header are respectively used to connect the VDD output terminal, the STM_VCC output terminal, the +12V power output terminal, the -3.3V power output terminal, and the GND output terminal; the 5th to 4th pins of the power line output pin J309 of the power line pin header output the STM_VDD power supply, the STM_VCC power supply, the STM_+12V power supply, and the STM_-3.3V power supply, respectively, and the 1st pin of the power line output pin J309 is grounded; The stimulation circuit is provided with two paths, A and B; each stimulation circuit uses four MOS tubes in a bidirectional wave circuit to control the stimulation circuit; the two stimulation circuits A and B are provided with a selection circuit; the stimulation circuit includes the first to fourth circuits; The selection circuit includes a 74HC4053R three-way two-to-one analog switch and a pin header; the pin header uses a transmission line to connect the input pin J302 and the output pin J303, and the A SLECT output end on the p3.0 pin of the C8051F060 microcontroller is connected to the first pin of the input pin J302; The A STM output on the DAC0 pin of the C8051F060 microcontroller is connected to the 3rd pin of the input pin J302; the Stim_EN_AP output on the p3.1 pin of the C8051F060 microcontroller is connected to the 5th pin of the input pin J302, the Stim_EN_AP_Switch output on the p3.2 pin of the C8051F060 microcontroller is connected to the 6th pin of the input pin J302, the Stim_EN_AN output on the p3.3 pin of the C8051F060 microcontroller is connected to the 7th pin of the input pin J302; the B SLECT output on the p2.0 pin of the C8051F060 microcontroller is connected to the 2nd pin of the input pin J302; the B The STM output is connected to the 4th pin of the input pin J302; the Stim_EN_BP on the p2.1 pin of the C8051F060 microcontroller is connected to the 9th pin of the input pin J302, the Stim_EN_BP_Switch on the p2.2 pin of the C8051F060 microcontroller is connected to the 10th pin of the input pin J302; the Stim_EN_BN on the p2.3 pin of the C8051F060 microcontroller is connected to the 11th pin of the input pin J302; the Stim_EN_AN_Switch output on the p3.4 pin of the C8051F060 microcontroller is connected to the 8th pin of the input pin J302; the 1st pin of the output pin J303 is connected to the 74HC4053 The B pin of the R three-way two-way analog switch; the second pin of the output pin J303 is connected to the A pin of the 74HC4053R three-way two-way analog switch; the third pin of the output pin J303 is connected to the Y pin of the 74HC4053R three-way two-way analog switch; the fourth pin of the output pin J303 is connected to the X pin of the 74HC4053R three-way two-way analog switch; the INH pin of the 74HC4053R three-way two-way analog switch is grounded, and the VCC pin of the 74HC4053R three-way two-way analog switch is connected to the STM_VDD power supply of the power line pin; the GND pin of the 74HC4053R three-way two-way analog switch is connected to the VEE pin of the 74HC4053R three-way two-way analog switch and then grounded; The bidirectional wave circuit includes MOS tubes Q304-Q307 arranged at four corners, resistors R328, R330, voltage regulator diode D500, voltage regulator diode D501, input and output pin headers J304, J305, pin header J300, transformer T300, capacitor C304, capacitor C305; STM_VCC output by the power line pin header is connected to one end of the resistor R328, and the other end of the resistor R328 is respectively connected to the source of the MOS tube Q304 and the source of the MOS tube Q305; the gate of the MOS tube Q304 is connected to the CON ANU end in the stimulation circuit, and the gate of the MOS tube Q305 is connected to the CON ANU end in the stimulation circuit. APU end, the drain of MOS tube Q304 is respectively connected to the drain of MOS tube Q306, the cathode of voltage stabilizing diode D500, and the first pin of J304 in the input and output pin header, the drain of MOS tube Q305 is respectively connected to the cathode of voltage stabilizing diode D501, the drain of MOS tube Q307, and the second pin of J304 in the input and output pin header, the anode of voltage stabilizing diode D500 and the anode of voltage stabilizing diode D501 are connected and grounded, the gate of MOS tube Q306 is respectively connected to the CON APD end in the stimulation circuit and one end of capacitor C304, and the other end of capacitor C304 is grounded; the gate of MOS tube Q307 is respectively connected to the CON AN end in the stimulation circuit The D terminal and one end of the capacitor C305, the other end of the capacitor C305 is grounded; the source of the MOS tube Q306 and the source of the MOS tube Q307 are connected to the resistor R330 and then grounded; the first pin of the input and output pin J305 is connected to the first pin of the transformer T300, the second pin of the input and output pin J304 is connected to the third pin of the transformer T300, the fourth pin of the transformer T300 is connected to the first pin of the pin J300, and the sixth pin of the transformer T300 is connected to the second pin of the pin J300; The first circuit includes resistors R302-R310, an operational amplifier U301A, a capacitor C300, a capacitor C301, and a transistor Q300; the STM_+12V power supply output by the power line pin is connected to one end of the resistor R303, the other end of the resistor R303 is respectively connected to one end of the capacitor C300 and the positive electrode of the operational amplifier U301A, and the other end of the capacitor C300 is grounded; the in-phase input end of the operational amplifier U301A is connected to one end of the resistor R302, the inverting input end of the operational amplifier U301A is respectively connected to one end of the resistor R305 and one end of the resistor R306, the other end of the resistor R305 is grounded, and the positive electrode of the operational amplifier U301A is connected to the positive electrode of the operational amplifier U301A. The other end is respectively connected to the output end of the operational amplifier U301A and one end of the resistor R307. The negative electrode of the operational amplifier U301A is respectively connected to one end of the resistor R304 and one end of the capacitor C301. The other end of the resistor R304 is connected to the STM_-3.3V output by the power line pin header. The other end of the capacitor C301 is grounded. The other end of the resistor R307 is respectively connected to the collector of the transistor Q300 and one end of the resistor R310. The base of the transistor Q300 is respectively connected to one end of the resistor R308 and one end of the resistor R309. The other end of the resistor R309 is connected to the emitter of the transistor Q300 and then grounded. The other end of the resistor R310 is the CON AP D end. The second circuit includes resistors R313 to R319, an operational amplifier U301B, and a transistor Q301; one end of the resistor R313 is connected to the non-inverting input end of the operational amplifier U301B, the inverting input end of the operational amplifier U301B is respectively connected to one end of a resistor R315 and one end of a resistor R314, the other end of the resistor R315 is grounded, the other end of the resistor R314 is respectively connected to the output end of the operational amplifier U301B and one end of a resistor R316, the other end of the resistor R316 is respectively connected to one end of a resistor R319 and the collector of the transistor Q301, and the other end of the resistor R319 is a CON AND end; the base of the transistor Q301 is respectively connected to one end of a resistor R317 and one end of a resistor R318, the other end of the resistor R318 is connected to the emitter of the transistor Q301 and then grounded; The third circuit includes a resistor R320, a resistor R322, a resistor R323, and a transistor Q302. One end of the resistor R320 is connected to the STM_VCC power supply of the power line pin header. The other end of the resistor R320 is divided into two paths, one is the CON APU end, and the other is connected to the collector of the transistor Q302. The base of the transistor Q302 is respectively connected to one end of the resistor R322 and one end of the resistor R323. The other end of the resistor R323 is connected to the emitter of the transistor Q302 and then grounded. The fourth circuit includes a resistor R324, a resistor R326, a resistor R327, and a transistor Q303. One end of the resistor 324 is connected to the STM_VCC power supply of the power line pin header. The other end of the resistor 324 is divided into two paths, one is the CON ANU end, and the other is connected to the collector of the transistor Q303. The base of the transistor Q303 is respectively connected to one end of the resistor R326 and one end of the resistor R327. The other end of the resistor R327 is connected to the emitter of the transistor Q303 and then grounded. The other end of the resistor R308 of the first circuit of the A-way stimulation circuit is connected to the 6th pin of the output pin J303; the other end of the resistor R317 of the second circuit of the A-way stimulation circuit is connected to the 8th pin of the output pin J303; the other end of the resistor R322 of the third circuit of the A-way stimulation circuit is connected to the 5th pin of the output pin J303; one end of the resistor R326 of the fourth circuit of the A-way stimulation circuit is connected to the 7th pin of the output pin J303; the other end of the resistor R302 of the first circuit of the A-way stimulation circuit is connected to the X0 pin of the 74HC4053R three-way two-to-one analog switch; one end of the resistor R313 of the second circuit of the A-way stimulation circuit is connected to the X1 pin of the 74HC4053R three-way two-to-one analog switch; The other end of the resistor R308 of the first circuit in the B-way stimulation circuit is connected to the 10th pin of the output pin J303; the other end of the resistor R317 of the second circuit in the B-way stimulation circuit is connected to the 12th pin of the output pin J303; the other end of the resistor R322 of the third circuit in the B-way stimulation circuit is connected to the 9th pin of the output pin J303; one end of the resistor R326 of the fourth circuit in the B-way stimulation circuit is connected to the 11th pin of the output pin J303; the other end of the resistor R302 of the first circuit of the B-way stimulation circuit is connected to the Y0 pin of the 74HC4053R three-way two-to-one analog switch; one end of the resistor R313 of the second circuit of the B-way stimulation circuit is connected to the Y1 pin of the 74HC4053R three-way two-to-one analog switch; The operational amplifier in each stimulation circuit amplifies the original control voltage signal generated by the DAC in the C8051F060 microcontroller, and directly controls the MOS tube in the corresponding bidirectional wave circuit to adjust the current, and the pulse width is adjusted by the timer inside the C8051F060 microcontroller; The DAC signal generated by the C8051F060 microcontroller is used to switch between the A and B stimulation pulse generation circuits via a 74HC4053R three-way two-to-one analog switch. The power supply circuit also includes a 6V charger, a 3.7V lithium battery, a power line input and output pin header, a voltage value detection circuit, a boost circuit, a linear voltage regulator circuit, and a switching regulator circuit; The output end of the 6V charger is connected to the input end of the bq24010 voltage detection chip, the output end of the bq24010 voltage detection chip is connected to the output end of the 3.7V lithium battery, and then connected to the input end of the boost circuit and the input end of the linear voltage regulator circuit respectively; the output of the boost circuit is divided into two paths, one path outputs 12V power supply, and the other path is the STM_VCC output end; The output end of the linear voltage regulator circuit is divided into two paths, one output end outputs 3.3V power as the system power of the microcontroller; the other output end is connected to the input end of the switching voltage regulator circuit, and the switching voltage regulator circuit outputs -3.3V power; The voltage value detection circuit includes a power interface J400, a fuse switch FU400, a diode D400, a diode D401, a diode D402, a voltage stabilizing diode D403, an electrolytic capacitor E400, a capacitor C400, a capacitor C401, a capacitor C402, resistors R401 to R406, and a bq24010 voltage value detection chip; The 1st and 2nd pins of the power interface J400 are connected to ground, the 3rd pin of the power pin J400 is connected to one end of the fuse switch FU400, the other end of the fuse switch FU400 is respectively connected to the positive electrode of the diode D400 and the negative electrode of the diode D401, the positive electrode of the diode D401 is connected to the positive electrode of the diode D402 and then grounded; the negative electrode of the diode D400 is respectively connected to the positive electrode of the electrolytic capacitor E400 and one end of the capacitor C400, the negative electrode of the electrolytic capacitor E400 and the other end of the capacitor C400 are connected and then grounded; one end of the capacitor C400 is also respectively connected to the charge output end, one end of the voltage-stabilizing diode D403, one end of the capacitor 401, the IN pin of the bq24010 voltage value detection chip, the VCC pin, and one end of the resistor R406, the other end of the capacitor C401 is grounded; the other end of the resistor R406 is connected in series with the resistor R405 and then grounded; The STAT1 pin of the bq24010 voltage detection chip is connected to the STAT1 open-drain output terminal and one end of the resistor R401, the STAT2 pin is connected to the STAT2 open-drain output terminal and one end of the resistor R402, the / PG pin is connected to the PG\ open-drain output terminal and one end of the resistor R403, the other end of the resistor R401 and the other end of the resistor R402 are connected and then connected to the other end of the resistor R403 and then connected to the VD1 output terminal; the STAT1 open-drain output terminal, the STAT2 open-drain output terminal, and the PG\ open-drain output terminal are connected to the P on the C8051F060 microcontroller respectively. 0.1 pin, P0.2 pin, P0.0 pin; the OUT pin and BAT pin of the bq24010 voltage value detection chip are connected and then connected to one end of the capacitor C402, the other end of the voltage stabilizing diode D403, and the first pin of the lithium battery Battery respectively. The third pin of the lithium battery Battery is grounded. The other end of the capacitor C402 is respectively connected to the ISET pin of the bq24010 voltage value detection chip and one end of the resistor R404. The other end of the resistor R404 is grounded. The other end of the resistor R406 is also connected to the TS pin of the bq24010 voltage value detection chip; The key circuit uses the pins of the fpc16 connector connected to the C8051F060 single chip microcomputer to respectively connect the switch power button, SET button, A-UP button, A-DOWN button, B-UP button, and B-DOWN button.
2. A right median nerve electrical stimulator as claimed in claim 1, characterized in that: The charge output end of the voltage value detection circuit is respectively connected to one end of the resistor R204, the emitter of the transistor Q204, one end of the resistor R200, the 1S pin, the 2S pin, and the 3S pin of the SI9430 interface, the other end of the resistor R204 is respectively connected to the base of the transistor Q204 and one end of the resistor R206, the collector of the transistor Q204 is connected to one end of the resistor R208, the other end of the resistor R208 is respectively connected to the VBAT_CHECK output end and one end of the resistor R209, and the other end of the resistor R209 is grounded; the VBAT_CHECK output end is connected to the AIN0 pin of the C8051F060 microcontroller; The other end of the resistor R200 is respectively connected to the positive electrode of the diode D202, one end of the resistor R201, and the 4G pin of the SI9430 interface, and the negative electrode of the diode D202 is connected to the output end of the KEY_POWER_ON of the key switch circuit; the other end of the resistor R201 is connected to the emitter of the transistor Q201, the collector of the transistor Q201 is grounded, the base of the transistor Q201 is connected to one end of the resistor R202, and the other end of the resistor R202 is respectively connected to the SYS_POWER_ON output end connected to the pin P6.7 of the C8051F060 microcontroller and the other end of the resistor R206; the 5D, 6D, 7D, and 8D pins of the SI9430 interface are connected and then connected to one end of the resistor R210, and the other end of the resistor R210 is respectively connected to the input end of the boost circuit and the input end of the linear voltage regulator circuit, and the output end of the linear voltage regulator circuit is then connected to the input end of the switching regulator circuit.
3. A right median nerve electrical stimulator as claimed in claim 2, characterized in that: The linear voltage regulator circuit includes a capacitor C200, a capacitor C201, a capacitor C230, a resistor R211, a resistor R212, a resistor R236, and a LT3021ES8 linear voltage regulator; one end of the capacitor C200 is respectively connected to one end of the resistor R210, the SHDN pin of the LT3021ES8 linear voltage regulator, and the IN pin of the LT3021ES8 linear voltage regulator, and the other end of the capacitor C200 is respectively connected to the AGND pin, the PGND pin, one end of the resistor R212, and the IN pin of the LT3021ES8 linear voltage regulator. One end of capacitor C230 and one end of capacitor C201 are grounded, the OUT pin of LT3021ES8 linear regulator is respectively connected to one end of resistor R211, the other end of capacitor C230, the other end of capacitor C201, and one end of resistor R236, the other end of resistor R211 is respectively connected to ADJ pin of LT3021ES8 linear regulator and the other end of resistor R212; the other end of resistor R236 outputs VDD power supply and is connected to VDD output end, and the VDD output end is connected to pin 5 of power line input pin J308; The switching regulator circuit comprises capacitor C226, capacitor C227, capacitor C228, capacitor C229, resistor R232, resistor R233, resistor R234, resistor R235, and MAX1673 boost chip; the VDD power supply output by the linear voltage regulator circuit is respectively connected to one end of capacitor C226, one end of resistor R232, IN pin of MAX1673 boost chip, one end of resistor R234, the other end of resistor R234 is connected to FB pin of MAX1673 boost chip, the other end of capacitor C226 is connected to one end of resistor R233 and then grounded, the other end of resistor R233 is respectively connected to resistor R The other end of 232 is connected to the / SHDN pin of the MAX1673 boost chip, the CAP+ pin of the MAX1673 boost chip is connected to one end of the capacitor C227, the other end of the capacitor C227 is connected to the CAD- pin of the MAX1673 boost chip, the GND pin and the LIN / SKIP pin of the MAX1673 boost chip are connected, and then connected to one end of the capacitor C228 and one end of the capacitor C229 and then to ground, the OUT pin of the MAX1673 boost chip is connected to the other end of the capacitor C228, the other end of the capacitor C229, and one end of the resistor R235, and then connected to the -3.3V power supply output end.
4. A right median nerve electrical stimulator as claimed in claim 1, characterized in that: The boost circuit includes a MAX1673 switching regulator, capacitors C203-C210, capacitor C221, electrolytic capacitor E202, inductor L500, resistors R217-R225, R229, R230, R231, N-channel MOS tube Q203, P-channel MOS tube Q206, diode D201, and triode Q202; The other end of the resistor R210 is respectively connected to one end of the capacitor C203, one end of the capacitor C204, one end of the resistor R207, and one end of the inductor L500. The other end of the capacitor C203 is connected to the other end of the capacitor C204 and then grounded. The other end of the resistor R217 is connected to the SHDN pin of the MAX1673 switching regulator. The other end of the inductor L500 is respectively connected to the drain of the N-channel MOS tube Q203 and the positive electrode of the diode D201. The gate of the N-channel MOS tube Q203 is connected to the E pin of the MAX1673 switching regulator. XT pin, the source of the N-channel MOS tube Q203 is connected to one end of the resistor R218, the resistor R219, the resistor R220, and the resistor R221, and then connected to the CS+ pin of the MAX1673 switching regulator. The other ends of the resistors R218, the resistor R219, the resistor R220, and the resistor R221 are connected and then connected to the PGND pin of the MAX1673 switching regulator and grounded. The FB pin of the MAX1673 switching regulator is connected to one end of the capacitor C210, one end of the resistor R224, and one end of the resistor R223. , the other end of capacitor C210 and the other end of resistor R224 are connected and grounded; the cathode of diode D201 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of resistor R223, one end of capacitor C207, and one end of resistor R225; the other end of capacitor C205 and the other end of capacitor C206 are connected and grounded; the other end of capacitor C207 is grounded; the other end of resistor R225 is respectively connected to the output end of 12V power supply, one end of resistor R229, and the emitter of transistor Q202; the cathode of resistor R229 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of capacitor C207 is grounded; the other end of resistor R225 is respectively connected to the output end of 12V power supply, one end of resistor R229, and the emitter of transistor Q202; the cathode of diode D201 is respectively connected to one end of capacitor C205, one end of capacitor C206, the other end of capacitor C206 is connected and grounded; ... The other end is respectively connected to the base of the transistor Q202 and the source of the P-channel MOS transistor Q206. The gate of the P-channel MOS transistor Q206 is respectively connected to the collector of the transistor Q202 and one end of the resistor R231. The drain of the P-channel MOS transistor Q206 is respectively connected to one end of the capacitor C221, the positive electrode of the electrolytic capacitor E202, and one end of the resistor R230. The other end of the resistor R231, the other end of the capacitor C221, and the negative electrode of the electrolytic capacitor E202 are connected and then grounded. The other end of the resistor R230 is connected to the STM_VCC output end.
5. A right median nerve electrical stimulator as claimed in claim 1, characterized in that: It also includes an indicator light circuit, which includes a total power indicator light LED100, a path A indicator light LED101, a path B indicator light LED102, and resistors R109-R111. The VDD power supply output by the AVDD pin of the C8051F060 single-chip microcomputer is respectively connected to one end of the resistors R109-R111, the other end of the resistor R109 is connected to the positive electrode of the total power indicator light LED100, and the negative electrode of the total power indicator light LED100 is connected to the P3.5 pin of the C8051F060 single-chip microcomputer; the other end of the resistor R110 is connected to the positive electrode of the path A indicator light LED101, and the negative electrode of the path A indicator light LED101 is connected to the P3.6 pin of the C8051F060 single-chip microcomputer; the other end of the resistor R111 is connected to the positive electrode of the path B indicator light LED102, and the negative electrode of the path B indicator light LED102 is connected to the P3.7 pin of the C8051F060 single-chip microcomputer.
6. A right median nerve electrical stimulator as claimed in claim 1, characterized in that: The liquid crystal display adopts a 12864 liquid crystal module to communicate with the single-chip microcomputer parallel port.
7. A treatment method for a right median nerve electrical stimulator as claimed in any one of claims 1 to 6, characterized in that: The processing software performs the following processing steps: (1) starting; (2) initializing; (3) Determine whether the power level is lower than the set value? (4) If it is lower than the set value, end; if it is not lower than the set value, set parameters, including stimulation frequency, stimulation pulse width, and current intensity; (5) Generate an electric pulse signal for stimulation according to the set parameters; (6) Is there any key operation? If so, follow the key operation; if not, determine whether the lock screen time has arrived? (7) If the lock screen time has arrived, lock the screen; if the lock screen time has not arrived, determine whether the electric pulse stop time has arrived; (8) If the stop time has not arrived, return to the step of "generate an electric pulse signal for stimulation according to the set parameters". If the stop time has arrived, stop the stimulation; and end.
Citation Information
Patent Citations
Wearable electrical median nerve stimulation coma awakening system and communication system
CN104399182A
Four-channel function electrical stimulation device based on complementary current source and time division multiplexing output
CN105031813A
Right side median nerve electrical stimulator
CN208641545U
Nerve stimulation device and control method thereof
JP2016086969A
Systems and methods of biofeedback using nerve stimulation
US20150142082A1
