CN101496748A - Functional electric stimulation FES walking-assisting artificial nerve prosthesis device - Google Patents
Functional electric stimulation FES walking-assisting artificial nerve prosthesis device Download PDFInfo
- Publication number
- CN101496748A CN101496748A CNA2008101531252A CN200810153125A CN101496748A CN 101496748 A CN101496748 A CN 101496748A CN A2008101531252 A CNA2008101531252 A CN A2008101531252A CN 200810153125 A CN200810153125 A CN 200810153125A CN 101496748 A CN101496748 A CN 101496748A
- Authority
- CN
- China
- Prior art keywords
- constant current
- current source
- stimulation
- fes
- prosthesis device
- 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.)
- Pending
Links
Images
Landscapes
- Electrotherapy Devices (AREA)
Abstract
Description
技术领域 technical field
本发明属于医疗、康复器械,具体讲是涉及功能性电刺激FES助行人工神经假体装置。The invention belongs to medical treatment and rehabilitation equipment, and in particular relates to a functional electric stimulation FES walking aid artificial nerve prosthesis device.
背景技术 Background technique
2007年,有关部门估计美国脊髓损伤的患者为25万多人,每年还有大约1.2万的新增病例。据不完全统计,中国大陆各类脊髓损伤患者已达100万人,而且正以每年10万以上的速度增长。脊髓损伤后,神经传输受阻,损伤平面以下的感觉及运动功能将会衰减甚至消失极易引起瘫痪。对数量庞大的瘫痪患者,其身体活动不便,生活难以自理,对家庭和社会带来了莫大的负担,可以说,瘫痪患者已经成为生活在我们身边的一个亟需关注和照顾的特殊社会群体。In 2007, relevant departments estimated that there were more than 250,000 patients with spinal cord injuries in the United States, and there were about 12,000 new cases every year. According to incomplete statistics, the number of patients with various types of spinal cord injuries in mainland China has reached 1 million, and is increasing at a rate of more than 100,000 per year. After spinal cord injury, nerve transmission is blocked, and sensory and motor functions below the level of injury will attenuate or even disappear, which can easily cause paralysis. For a large number of paralyzed patients, their physical activities are inconvenient and difficult to take care of themselves, which has brought a great burden to the family and society. It can be said that paralyzed patients have become a special social group living around us that urgently needs attention and care.
人工神经假体(Neuroprosthesis)是一类帮助神经损伤后恢复功能的电子装置。它通常以功能性电刺激(Functional Electrical Stimulation,缩写为FES)技术为基础,构造假体和矫形器,代替大脑发出神经冲动,从而达到控制肢体肌肉活动的目的。在瘫痪患者功能康复方面,普遍认为FES是一种有效的临床辅助装置。另外,很多证据显示利用FES在改善截瘫患者体质和促进健康方面也有很好的效果,比如心肺功能的改善、骨密度的影响及新陈代谢的健全等。用电刺激辅助瘫痪病人步行是FES神经假体应用的一个重要方面。其原因是瘫痪病人瘫痪后,在相当长的时间里,腓神经及其支配的肌肉仍然可以发挥正常功能,如果在举步时用电刺激神经有可能恢复患者失去的功能。Artificial neural prosthesis (Neuroprosthesis) is a kind of electronic device that helps restore function after nerve injury. It is usually based on functional electrical stimulation (Functional Electrical Stimulation, abbreviated as FES) technology to construct prostheses and orthotics, instead of the brain to send nerve impulses, so as to achieve the purpose of controlling limb muscle activity. FES is generally considered to be an effective clinical aid in the functional rehabilitation of paralyzed patients. In addition, a lot of evidence shows that the use of FES also has good effects in improving the physical fitness and promoting health of paraplegic patients, such as the improvement of cardiopulmonary function, the impact of bone density and the soundness of metabolism. Assisting paralyzed patients to walk with electrical stimulation is an important aspect of the application of FES neuroprostheses. The reason is that after a paralyzed patient is paralyzed, the peroneal nerve and the muscles it controls can still function normally for quite a long time. If the nerve is stimulated with electricity when walking, it is possible to restore the lost function of the patient.
发明内容 Contents of the invention
为克服现有技术的不足,提供一种功能性电刺激FES助行人工神经假体装置,帮助具备一定条件的脊髓损伤和下肢瘫痪病人实现短距离自主行走或进行康复训练。In order to overcome the deficiencies of the existing technology, a functional electrical stimulation FES walk-assisted artificial neural prosthesis device is provided to help patients with spinal cord injury and paralysis of the lower limbs to achieve short-distance autonomous walking or rehabilitation training.
本发明采用的技术方案是,一种功能性电刺激FES助行人工神经假体装置,包括依次相连的单片机、D/A转换器、恒流源、波形翻转单元、刺激电极,还包括与单片机相连的功能键、显示单元,所述单片机连接到波形翻转单元,所述恒流源连接为其供电的电源模块。The technical solution adopted by the present invention is a functional electric stimulation FES walking aid artificial neural prosthesis device, including a single-chip microcomputer connected in sequence, a D/A converter, a constant current source, a waveform reversal unit, and a stimulating electrode, and also includes a single-chip microcomputer connected function keys and a display unit, the single-chip microcomputer is connected to the waveform inversion unit, and the constant current source is connected to a power supply module for powering it.
D/A转换器为4片8位分辨率D/A转换集成芯片,单片机通过一片74系列译码器连接到4片D/A芯片,4片D/A芯片分别输出到各自连接的恒流源、波形翻转单元、刺激电极,形成4个分别对应左大腿、右大腿、左小腿、右小腿的独立通道。The D/A converter is 4 pieces of 8-bit resolution D/A conversion integrated chips. The single-chip microcomputer is connected to 4 pieces of D/A chips through a piece of 74 series decoder, and the 4 pieces of D/A chips are respectively output to the constant current connected to each other. The source, the waveform flipping unit, and the stimulating electrodes form 4 independent channels corresponding to the left thigh, right thigh, left calf, and right calf.
恒流源采用一个有高电压匹配的恒流源作为刺激级,还采用威尔森Wilson恒流源进行二级恒流,输出电流与输入电压的关系为:The constant current source uses a constant current source with high voltage matching as the stimulus level, and also uses Wilson constant current source for secondary constant current. The relationship between the output current and the input voltage is:
IO=VI/RS,其中RS为采样电阻,VI为经过D/A转换器转换得到的电压。I O =V I /R S , wherein R S is a sampling resistor, and V I is a voltage converted by a D/A converter.
波形翻转单元包括:控制端连接到单片机的可控硅光耦,可控硅光耦两个输出端间是串联连接的一个耐压为630V的铝电解电容和一个电阻,连接电容的输出端接刺激电极,另一个输出端接恒流源。The waveform inversion unit includes: the control terminal is connected to the thyristor optocoupler of the microcontroller, and the two output terminals of the thyristor optocoupler are connected in series with an aluminum electrolytic capacitor with a withstand voltage of 630V and a resistor, and the output terminal of the connected capacitor is connected to Stimulating electrodes, and the other output terminal is connected to a constant current source.
单片机包括:Microcontrollers include:
用于初始化、等待中断的主模块;Main module for initialization and waiting for interrupt;
用于选择刺激通道并输出刺激强度、周期、脉宽的定时中断模块;Timing interrupt module for selecting stimulation channel and outputting stimulation intensity, cycle and pulse width;
用于判断按键增加或减少相应通道刺激等级、显示刺激强度等级的外部中断模块;An external interrupt module for judging whether the button increases or decreases the stimulation level of the corresponding channel and displays the stimulation intensity level;
用于根据按键的输入信号给予相应通道刺激等级增1或减1的外部中断响应子模块;An external interrupt response submodule used to increase or decrease the stimulus level of the corresponding channel by 1 or 1 according to the input signal of the button;
用于根据刺激等级与电流大小的对应关系控制D/A转换器的子模块;A sub-module used to control the D/A converter according to the corresponding relationship between the stimulus level and the current magnitude;
通过输出高、低电平,用于控制波形翻转单元的子模块;By outputting high and low levels, it is used to control the sub-module of the waveform inversion unit;
用于控制显示单元的子模块。Submodule for controlling the display unit.
本发明可带来下列技术效果:The present invention can bring following technical effect:
采用单片机调制和控制波形的功能性电刺激助行人工神经假体装置,输出改进可调的Lilly刺激波序列,实现帮助瘫痪病人自主行走的目的;A functional electrical stimulation walking aid artificial neural prosthesis device that uses a single-chip microcomputer to modulate and control waveforms, and outputs an improved and adjustable Lilly stimulation wave sequence to achieve the purpose of helping paralyzed patients walk autonomously;
操作简单,可控性好,控制的精度和灵敏度高,并且带有液晶屏,显示4个独立通道的刺激强度,使非专业人士也可以很方便的操作,极大的减轻了病人和家属的负担;The operation is simple, the controllability is good, the control precision and sensitivity are high, and it is equipped with an LCD screen to display the stimulation intensity of 4 independent channels, so that non-professionals can also operate very conveniently, which greatly reduces the burden on patients and family members. burden;
对刺激小腿的效果进行了测试,主要包括:第一,给出了最小迈步阈值,最佳迈步阈值及迈步电流变化值的大小;第二,利用基本运动学参数(步长、迈步时间)对刺激效果进行了评价;最后测定了最佳迈步阈值时和正常状态时的膝关节角度曲线和角速度曲线,结果显示该运动神经假体系统能达到较好的效果;The effect of stimulating the calf was tested, mainly including: first, the minimum step threshold, the optimal step threshold and the change value of the step current were given; second, the basic kinematic parameters (step length, step time) were used to The stimulation effect was evaluated; finally, the knee joint angle curve and angular velocity curve were measured at the optimal step threshold and normal state, and the results showed that the motor nerve prosthesis system can achieve better results;
可以为将来更好的实现下肢运动神经重建提供帮助,并获得可观的经济效益。It can provide help for better realization of lower limb motor nerve reconstruction in the future, and obtain considerable economic benefits.
附图说明 Description of drawings
图1是系统整体框架图。Figure 1 is the overall framework diagram of the system.
图2是Lilly波形示意图。Figure 2 is a schematic diagram of the Lilly waveform.
图3是一路波形翻转单元的电路图。Fig. 3 is a circuit diagram of a waveform inversion unit.
图4是一路翻转单元的输出。Figure 4 is the output of one flip unit.
图5是系统软件流程图,其中(a)为主程序流程图,(b)为外部中断程序流程图,(c)为定时中断流程图。Fig. 5 is a flowchart of the system software, wherein (a) is a flowchart of the main program, (b) is a flowchart of an external interrupt program, and (c) is a flowchart of a timer interrupt.
图6是功能键的软件流程图。Figure 6 is a software flow chart of the function keys.
图7D/A模块的软件流程图。Figure 7 The software flow chart of the D/A module.
图8波形翻转的软件流程图。Figure 8 software flow chart of waveform flipping.
图9显示单元软件流程图。Figure 9 shows the unit software flow chart.
具体实施方式 Detailed ways
本发明提供的一种带有单片机控制和液晶显示的功能性电刺激助行人工神经假体装置,通过产生一系列特定的脉冲电流去刺激失去自主控制的肌肉,使其产生收缩,替代和矫正器官及肢体丧失的功能,主要是下肢,帮助具备一定条件的脊髓损伤和下肢瘫痪病人实现短距离自主行走或康复训练。The present invention provides a functional electrical stimulation walking aid artificial nerve prosthesis device with single-chip microcomputer control and liquid crystal display, which stimulates the muscles that lose their voluntary control by generating a series of specific pulse currents to make them contract, replace and correct Loss of function in organs and limbs, mainly the lower limbs, to help patients with spinal cord injury and paralysis of the lower limbs who have certain conditions to achieve short-distance autonomous walking or rehabilitation training.
本装置是由控制命令发生器(command generator),控制器(controller),刺激器(stimulator)和电极(electrodes)四个基本部分构成,有4个独立通道,由患者手动调节控制按钮,由单片机通过数模转换,波形翻转等过程来调整刺激波形的参数,并显示在液晶屏上,供患者参考。The device is composed of four basic parts: command generator, controller, stimulator and electrodes. There are 4 independent channels, and the control button is manually adjusted by the patient. The parameters of the stimulation waveform are adjusted through processes such as digital-to-analog conversion and waveform inversion, and are displayed on the LCD screen for patient reference.
下面结合附图和实施例进一步说明本发明。The present invention will be further described below in conjunction with the accompanying drawings and examples.
本发明的功能性电刺激FES助行人工神经假体装置整体框图如图1所示,考虑到系统对人体的安全性,本发明的系统输出波形采用了正负电荷相等的以Lilly波,如图2所示,为原形改进的刺激波形,为使系统操作方便,采用了临床上常用的脉冲幅度的调节方式来满足不同瘫痪患者需要。系统具体的参数选为频率25Hz,脉宽150μs,电流为0—128mA可调,采用恒流刺激的输出方式。The overall block diagram of the functional electrical stimulation FES walking aid artificial neural prosthesis device of the present invention is shown in Figure 1. Considering the safety of the system to the human body, the output waveform of the system of the present invention adopts a Lilly wave with equal positive and negative charges, such as As shown in Figure 2, it is the improved stimulation waveform of the prototype. In order to make the system easy to operate, the pulse amplitude adjustment method commonly used in clinical practice is used to meet the needs of different paralyzed patients. The specific parameters of the system are selected as frequency 25Hz, pulse width 150μs, current 0-128mA adjustable, and the output mode of constant current stimulation is adopted.
根据人体下肢的动作特点,本发明设计为4个独立通道(左大腿,右大腿,左小腿,右小腿),主要包括控制,D/A转换,恒流源,波形翻转,功能键,液晶显示,刺激电极及供电电源八个部分。According to the action characteristics of the lower limbs of the human body, the present invention is designed as 4 independent channels (left thigh, right thigh, left calf, right calf), mainly including control, D/A conversion, constant current source, waveform flip, function keys, liquid crystal display , stimulating electrodes and power supply eight parts.
功能键采用手动控制方式,本发明共有12个功能键,2个大腿开关键,2个小腿开关键和4个通道8个增减功能键,但只有10个功能键需控制,不包括2个大腿开关键。本发明采用硬件申请软件查询方法进行外部中断扩展,这种查询法原则上可以处理任意多个外部中断源,各功能键接在单片机的I/O口管脚上。本发明使用的单片机是一款低功耗,高性能CMOS8位单片机,片内含ISP(In-system programmable,在线可编程)可反复擦写的Flash只读程序存储器,器件采用高密度、非易失性存储技术制造,兼容标准MCS-51指令系统及80C51引脚结构。由单片机提供的控制信号要经过数模转换控制恒流源,这里采用了4片8位分辨率D/A转换集成芯片进行数模转换,利用了一片74系列译码器为4片D/A芯片提供片选信号和数据传输控制信号。其后接双电源供电的双运放放大输出电流并转换成电压值。D/A输出信号为下级恒流源提供输入信号。对恒流源的要求:由于人体的电阻抗值为1K左右,刺激电流最大值为128mA,因此,采用的恒流源要能承受一个高电压。本文的恒流源为Wilson恒流源的二级恒流电路,其电流输出更加稳定。负载与地相连,安全性提高。该电流源的输出电流与输入电压的关系为:The function keys adopt the manual control method. The present invention has 12 function keys in total, 2 thigh opening keys, 2 calf opening keys and 8 increase and decrease function keys for 4 channels, but only 10 function keys need to be controlled, excluding 2 Thigh key. The present invention adopts the hardware application software query method to carry out the external interrupt expansion. This query method can deal with any number of external interrupt sources in principle, and each function key is connected to the I/O port pin of the single-chip microcomputer. The single-chip microcomputer used in the present invention is a low-power consumption, high-performance CMOS 8-bit single-chip microcomputer, which contains ISP (In-system programmable, online programmable) flash read-only program memory that can be repeatedly erased and written. The device adopts high-density, non-volatile Manufactured with volatile memory technology, compatible with standard MCS-51 command system and 80C51 pin structure. The control signal provided by the single-chip microcomputer needs to go through digital-to-analog conversion to control the constant current source. Here, 4 pieces of 8-bit resolution D/A conversion integrated chips are used for digital-to-analog conversion, and a piece of 74 series decoder is used to convert 4 pieces of D/A The chip provides chip select signal and data transmission control signal. It is followed by dual operational amplifiers powered by dual power supplies to amplify the output current and convert it into a voltage value. The D/A output signal provides the input signal for the lower constant current source. Requirements for the constant current source: Since the electrical impedance of the human body is about 1K and the maximum stimulating current is 128mA, the constant current source used must be able to withstand a high voltage. The constant current source in this article is the secondary constant current circuit of the Wilson constant current source, and its current output is more stable. The load is connected to the ground, which improves the safety. The relationship between the output current of this current source and the input voltage is:
IO=VI/RS (1)I O =V I /R S (1)
其中RS为采样电阻,VI为经过DAC转换得到的电压。Among them, R S is the sampling resistance, and V I is the voltage converted by DAC.
波形翻转是通过单片机控制电子开关的开闭使电容充放电来实现的,电子开关选用的是4片可控硅光耦。最后得到的刺激信号通过电极连接到患者下肢。本发明实施例采用的是导线式电极,这是一种自粘性可重复使用电极。其接触电阻较低(150Ω),粘性好,可以置于人体不同的部位,可重复使用20次以上。用于小腿的电极尺寸为45mm×45mm,用于大腿的电极尺寸为45mm×90mm。The waveform inversion is realized by controlling the opening and closing of the electronic switch by the single-chip microcomputer to charge and discharge the capacitor. The electronic switch uses 4 thyristor optocouplers. The resulting stimulation signals are connected to the patient's lower limbs via electrodes. The embodiment of the present invention uses a wire electrode, which is a self-adhesive reusable electrode. It has low contact resistance (150Ω), good viscosity, can be placed on different parts of the human body, and can be reused more than 20 times. The electrode size for the calf is 45 mm x 45 mm, and the electrode size for the thigh is 45 mm x 90 mm.
电源模块采用的是隔离型DC/DC模块,其最大输出电压—150V,最大输出电流300mA。输入电压DC24V±2V。该电源模块为电压电流均为全程线性可调的。电压稳定性在0.1%范围内,稳定性好,能够满足系统的要求。The power supply module adopts an isolated DC/DC module with a maximum output voltage of 150V and a maximum output current of 300mA. Input voltage DC24V±2V. The voltage and current of the power module are linearly adjustable throughout the whole process. The voltage stability is in the range of 0.1%, and the stability is good, which can meet the requirements of the system.
本发明要点在于采用了一个有高电压匹配的恒流源作为刺激级,还采用Wilson恒流源进行了二级恒流,提高了恒流效果;由于充放电时电压很高,本文中采用高耐压的电子开关控制电容充放电,得到了电荷相等的双相脉冲电流波形;本发明的系统采用了一个单片机芯片作为核心控制芯片,使得本系统控制精度高,灵敏度好,可靠性高。The gist of the present invention is that a constant current source with high voltage matching is used as the stimulus level, and the Wilson constant current source is used to carry out two-level constant current, which improves the constant current effect; because the voltage is very high during charging and discharging, high The voltage-resistant electronic switch controls the charge and discharge of the capacitor, and obtains a biphasic pulse current waveform with equal charges; the system of the present invention uses a single-chip microcomputer chip as the core control chip, which makes the system have high control precision, good sensitivity and high reliability.
下面分几点进一步详细说明本发明。The present invention will be further described in detail in several points below.
1带Wilson恒流源的二级恒流电路:1 Secondary constant current circuit with Wilson constant current source:
对恒流源的要求:由于人体的电阻抗值为1K左右,刺激电流最大值为128mA,因此,采用的恒流源要能承受一个高电压。该恒流源输出电流的大小与负载RL无关;另外,在VCC足够大情况下,通过改变电位器数值的大小就可以改变输出电流到任意值。考虑到负载与电源直接相连,用于人体是不安全的,因此,对其进行了改进。Requirements for the constant current source: Since the electrical impedance of the human body is about 1K and the maximum stimulating current is 128mA, the constant current source used must be able to withstand a high voltage. The output current of the constant current source has nothing to do with the load RL ; in addition, when V CC is large enough, the output current can be changed to any value by changing the value of the potentiometer. Considering that the load is directly connected to the power supply, it is unsafe for the human body, so it has been improved.
改进后的恒流源是一个带Wilson恒流源的二级恒流电路。其特点是:二级恒流后电流输出更加稳定;负载与地相连,安全性提高。该电流源的输出电流与输入电压的关系为:The improved constant current source is a secondary constant current circuit with Wilson constant current source. Its characteristics are: the current output is more stable after the secondary constant current; the load is connected to the ground, and the safety is improved. The relationship between the output current of this current source and the input voltage is:
IO=VI/RS (2)I O =V I /R S (2)
其中RS为采样电阻,VI为经过DAC转换得到的电压。Among them, R S is the sampling resistance, and V I is the voltage converted by DAC.
本设计VCC为—150V。因此需要选择耐高压的三极管,在此选择的三极管,其承受电压为350V,集电极电流最大为500mA,能满足系统设计的要求;为了减小温漂,加入了负反馈电路;放大器选用的是双电源供电的双运放;根据所需要的实际刺激电流值,选择采样电阻的大小。而且考虑系统安全性及便携性,采用了隔离型的DC/DC模块为恒流源供电。This design V CC is -150V. Therefore, it is necessary to choose a high-voltage triode. The triode selected here has a withstand voltage of 350V and a maximum collector current of 500mA, which can meet the requirements of system design; in order to reduce temperature drift, a negative feedback circuit is added; the amplifier is Dual operational amplifiers powered by dual power supplies; select the size of the sampling resistor according to the actual stimulation current value required. Moreover, considering system security and portability, an isolated DC/DC module is used to supply power to the constant current source.
2高耐压双向脉冲电子开关:2 high withstand voltage bidirectional pulse electronic switch:
波形翻转是通过单片机控制电子开关的开闭使电容充放电来实现的。电子开关选用的是4片可控硅光耦。Waveform inversion is realized by controlling the opening and closing of the electronic switch by the single-chip microcomputer to charge and discharge the capacitor. The electronic switch uses 4 thyristor optocouplers.
波形翻转单元的电路连接图如图3所示。The circuit connection diagram of the waveform flip unit is shown in Figure 3.
电容选择1μF。在充放电过程中电容两端的电压很高,因此选择了耐压为630V的铝电解电容。Capacitor selection 1μF. In the process of charging and discharging, the voltage at both ends of the capacitor is very high, so an aluminum electrolytic capacitor with a withstand voltage of 630V is selected.
图4显示的是一路翻转波形。Figure 4 shows the flip waveform all the way.
波形翻转单元还可以是利用电压信号控制555定时器,555定时器控制电路状态的翻转。The waveform inversion unit can also control the 555 timer by using the voltage signal, and the 555 timer controls the inversion of the state of the circuit.
3 以单片机为核心的开环控制系统:3 Open-loop control system with single-chip microcomputer as the core:
3.1 系统整体流程:3.1 The overall process of the system:
对整个系统,软件包括主程序和中断程序两部分,中断程序又包括定时中断和外部中断。这三部分的软件流程图如图5所示。For the whole system, the software includes two parts, the main program and the interrupt program, and the interrupt program includes timing interrupt and external interrupt. The software flowchart of these three parts is shown in Figure 5.
下面介绍一下变量的定义及其初始化。stimLD,stimRD,stimLX stimRX分别定义为左大腿、右大腿、左小腿和右小腿的刺激等级变量。4个变量都初始化为5;LX(RX)作为判断左小腿(右小腿)是否有刺激,即当没有小腿开关按下时LX=0,RX=0,当左(右)小腿开关按下时LX=1(RX=1);stimX_num定义为小腿按键每按下一次时小腿的刺激脉冲个数,该设计中stimX_num=10。The following introduces the definition and initialization of variables. stimLD, stimRD, stimLX and stimRX are defined as stimulus level variables for the left thigh, right thigh, left calf and right calf, respectively. All 4 variables are initialized to 5; LX (RX) is used to judge whether the left calf (right calf) is stimulated, that is, when no calf switch is pressed, LX=0, RX=0, when the left (right) calf switch is pressed LX=1 (RX=1); stimX_num is defined as the number of stimulation pulses of the calf every time the calf button is pressed, and stimX_num=10 in this design.
3.2 功能键的设计:3.2 Design of function keys:
由于本发明使用的单片机个外部中断源不能直接满足要求,因此本文采用了硬件申请软件查询法扩展外部中断源,扩展后外部中断源的个数为10个。Since the single-chip external interrupt sources used in the present invention cannot directly meet the requirements, this paper adopts the hardware application software query method to expand the external interrupt sources. After the expansion, the number of external interrupt sources is 10.
当有功能键按下时,其一个I/O口变为低电平,响应外部中断,执行相应按键的功能。其软件流程图如图6所示。When a function key is pressed, one of its I/O ports becomes low level, responds to an external interrupt, and executes the function of the corresponding key. Its software flowchart is shown in Figure 6.
3.3 D/A转换模块的软件设计:3.3 Software design of D/A conversion module:
本发明的人工神经假体系统输出有14个电流等级,每级间隔10mA(最后一级除外),最大为128mA。输出电流等级与电流大小的对应关系如表1所示。The output of the artificial neural prosthesis system of the present invention has 14 current levels, and the interval between each level is 10mA (except the last level), and the maximum is 128mA. The corresponding relationship between the output current level and the current size is shown in Table 1.
表1 输出电流等级与电流大小的对应关系Table 1 Correspondence between output current level and current magnitude
由恒流源输入输出公式IO=VI/RS;可以计算得到DAC的输出电压VI,进而可由公式VOUT=-VREF×(数字码/256)得到不同电流等级时P0口应输出的数字码值。计算公式如下:From the constant current source input and output formula I O =V I / RS ; the output voltage V I of the DAC can be calculated, and then the output voltage of the DAC can be obtained by the formula V OUT =-V REF ×(digital code/256) The output digital code value. Calculated as follows:
在系统中,D/A采用的是双缓冲的工作方式,即D/A芯片的两个寄存器均工作于受控锁存器状态。74译码器的低四位分别控制四片D/A的片选端,高四位分别控制四片D/A的数据传输控制信号端。程序执行时,先选中4片D/A的CS把刺激数值传送到D/A的输入寄存器中寄存;选定刺激通道后,使控制相应通道D/A的XEFR有效,刺激值传送到DA转换器,在D/A的输出端输出。其软件流程图如图7所示。In the system, D/A adopts double-buffering working mode, that is, both registers of D/A chip work in controlled latch state. The lower four bits of the 74 decoder respectively control the chip selection terminals of the four D/As, and the upper four bits respectively control the data transmission control signal terminals of the four D/As. When the program is executed, first select 4 pieces of D/A CS to transfer the stimulation value to the D/A input register for registration; after selecting the stimulation channel, enable the XEFR controlling the corresponding channel D/A, and transfer the stimulation value to the DA for conversion device, output at the output of the D/A. Its software flowchart is shown in Figure 7.
3.4 波形翻转的软件设计:3.4 Software design of waveform flipping:
该单元是由单片机的某些I/O口控制的。有方波输出时,这些I/O口为高电平,电子开关断开,电容充电,输出方波;放电时,这些I/O口相应为低电平,电子开关闭合,电容放电。其软件流程图如图8所示。The unit is controlled by some I/O ports of the microcontroller. When there is square wave output, these I/O ports are at high level, the electronic switch is turned off, the capacitor is charged, and a square wave is output; when discharging, these I/O ports are correspondingly at low level, the electronic switch is closed, and the capacitor is discharged. Its software flowchart is shown in Figure 8.
3.5 显示的软件设计:3.5 Displayed software design:
本发明是通过把数据或控制命令以16位数据包形式逐位送入MAX7219内部16位移位寄存器,驱动8个LED进行显示的,如图9所示。The present invention sends data or control commands bit by bit into the 16-bit shift register inside the MAX7219 in the form of 16-bit data packets, and drives 8 LEDs for display, as shown in FIG. 9 .
为了考查本发明在的可靠性和可行性,进行了相关的实验,其中包括刺激大腿和膝关节伸展实验和刺激小腿迈步实验。In order to examine the reliability and feasibility of the present invention, relevant experiments have been carried out, including stimulating the thigh and knee joint extension experiment and stimulating the calf stepping experiment.
1.刺激大腿测试该系统是否使受试者达到站立的状态,并给出了最小动作阈值、最大动作阈值及动作电流变化值的大小。结果是令人满意的。1. Stimulate the thigh to test whether the system can make the subject stand up, and give the minimum action threshold, maximum action threshold and action current change value. The result is satisfactory.
2.对刺激小腿的效果进行了测试。主要包括:第一,给出了最小迈步阈值,最佳迈步阈值及迈步电流变化值的大小;第二,利用基本运动学参数(步长、迈步时间)对刺激效果进行了评价;最后测定了最佳迈步阈值时和正常状态时的膝关节角度曲线和角速度曲线。结果显示该运动神经假体系统能达到较好的效果。2. The effect of stimulating the calf was tested. It mainly includes: first, the minimum step threshold, the optimal step threshold and the change value of the step current are given; second, the stimulation effect is evaluated by using the basic kinematic parameters (step length, step time); finally, the Knee joint angle curve and angular velocity curve at the optimal step threshold and normal state. The results show that the motor nerve prosthesis system can achieve better results.
本发明提供了一种用单片机调制和控制波形的功能性电刺激(FES)助行人工神经假体装置,输出特定的刺激波序列,达到帮助瘫痪病人自主行走的目的。其操作简单,可控性好,控制的精度和灵敏度高,并且带有液晶屏,显示4个独立通道的刺激强度,便于控制。可以为将来更好的实现下肢运动神经重建提供帮助,并获得可观的社会效益和经济效益。最佳实施方案拟采用专利转让,技术合作。The invention provides a functional electric stimulation (FES) walking aid artificial neural prosthesis device which uses a single-chip microcomputer to modulate and control waveforms, and outputs specific stimulation wave sequences to achieve the purpose of helping paralyzed patients walk autonomously. The operation is simple, the controllability is good, the control precision and sensitivity are high, and it is equipped with an LCD screen to display the stimulation intensity of 4 independent channels, which is convenient for control. It can provide help for better realization of lower limb motor nerve reconstruction in the future, and obtain considerable social and economic benefits. The best implementation plan is to use patent transfer and technical cooperation.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101531252A CN101496748A (en) | 2008-11-17 | 2008-11-17 | Functional electric stimulation FES walking-assisting artificial nerve prosthesis device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101531252A CN101496748A (en) | 2008-11-17 | 2008-11-17 | Functional electric stimulation FES walking-assisting artificial nerve prosthesis device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101496748A true CN101496748A (en) | 2009-08-05 |
Family
ID=40944160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101531252A Pending CN101496748A (en) | 2008-11-17 | 2008-11-17 | Functional electric stimulation FES walking-assisting artificial nerve prosthesis device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101496748A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105030237A (en) * | 2015-07-17 | 2015-11-11 | 中国科学院电工研究所 | Spinal cord injury localization device |
WO2021036165A1 (en) * | 2019-08-29 | 2021-03-04 | 苏州大学 | Closed-loop electrical spinal cord stimulation system |
-
2008
- 2008-11-17 CN CNA2008101531252A patent/CN101496748A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105030237A (en) * | 2015-07-17 | 2015-11-11 | 中国科学院电工研究所 | Spinal cord injury localization device |
WO2021036165A1 (en) * | 2019-08-29 | 2021-03-04 | 苏州大学 | Closed-loop electrical spinal cord stimulation system |
US12023493B2 (en) | 2019-08-29 | 2024-07-02 | Soochow University | Closed-loop spinal cord electrical stimulation system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8983621B2 (en) | Functional electrical stimulation system | |
JP5778263B2 (en) | Functional electrical stimulator and system and use thereof | |
CN201404216Y (en) | Neural network reconstruction device | |
CN103212157B (en) | Bipolar general nerve electric stimulation instrument | |
CN202920822U (en) | Electronic nerve prosthesis gait rectifying and walking-assisting system | |
Zhou et al. | A fully implanted programmable stimulator based on wireless communication for epidural spinal cord stimulation in rats | |
Masdar et al. | Development of wireless-based low-cost current controlled stimulator for patients with spinal cord injuries | |
CN105194798A (en) | Myoelectricity biofeedback stimulation massage instrument | |
Qu et al. | Development of network-based multichannel neuromuscular electrical stimulation system for stroke rehabilitation | |
CN106606820A (en) | Electrical stimulation device | |
CN107158564A (en) | A kind of external diaphragm pacemaker of the medium frequency electric stimulation of low frequency modulations | |
CN105363127A (en) | Sacral nerve stimulation generator | |
CN204951946U (en) | Swallow neural muscle electricity stimulation instrument | |
CN203183521U (en) | Bipolar universal electrical nerve stimulator | |
CN101496748A (en) | Functional electric stimulation FES walking-assisting artificial nerve prosthesis device | |
Basumatary et al. | A Microcontroller based charge balanced trapezoidal stimulus generator for FES system | |
Minzly et al. | Computer-controlled portable stimulator for paraplegic patients | |
Masdar et al. | Current source with low voltage controlled for surface Electrical Stimulation | |
CN207203218U (en) | A kind of portable micro-current analgesia repairing and treating instrument | |
CN203090255U (en) | Functional electrical stimulation device | |
CN102921104A (en) | Functional electric stimulation device and method thereof | |
CN204233609U (en) | A kind of adjustable type Channel-bio-electricity treats instrument | |
CN103142400A (en) | Method for generating diaphragm rehabilitation stimulation signal and diaphragm functional rehabilitative apparatus | |
CN109173051B (en) | Electronic pulse therapeutic apparatus for swallowing and speech dysfunction | |
Sabut et al. | Design of a programmable multi-pattern FES system for restoring foot drop in stroke rehabilitation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Open date: 20090805 |