[go: up one dir, main page]

CN101794114A - Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm - Google Patents

Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm Download PDF

Info

Publication number
CN101794114A
CN101794114A CN 201010115882 CN201010115882A CN101794114A CN 101794114 A CN101794114 A CN 101794114A CN 201010115882 CN201010115882 CN 201010115882 CN 201010115882 A CN201010115882 A CN 201010115882A CN 101794114 A CN101794114 A CN 101794114A
Authority
CN
China
Prior art keywords
pid
stimulation system
hrv
genetic algorithm
parameter
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.)
Granted
Application number
CN 201010115882
Other languages
Chinese (zh)
Other versions
CN101794114B (en
Inventor
张广举
明东
程龙龙
刘秀云
万柏坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongdian Yunnao (tianjin) Technology Co Ltd
Original Assignee
Tianjin University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tianjin University filed Critical Tianjin University
Priority to CN2010101158828A priority Critical patent/CN101794114B/en
Publication of CN101794114A publication Critical patent/CN101794114A/en
Application granted granted Critical
Publication of CN101794114B publication Critical patent/CN101794114B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Feedback Control In General (AREA)
  • Electrotherapy Devices (AREA)

Abstract

本发明涉及电流脉冲序列来刺激肢体运动肌群及其外周神经装置中参数控制方法。具体讲,本发明涉及助行电刺激系统中参数控制方法。为实现准确稳定实时地控制FES系统的电流强度,有效地提高FES系统准确性和稳定性,本发明采用的技术方案是:助行电刺激系统中的参数控制方法,包括下列步骤:首先对步行器施加力,引起HRV参数变化,进而利用模糊控制器控制启动;其次,利用遗传算法整定PID参数,实时调控助行电刺激系统电流水平强度,最后根据HRV的变化关闭助行电刺激系统,PID是指比例单元P、积分单元I和微分单元D三部分。本发明主要用于康复治疗中的助行电刺激系统。

Figure 201010115882

The invention relates to a method for controlling parameters in a current pulse sequence to stimulate limb movement muscles and a peripheral nerve device. In particular, the invention relates to a parameter control method in an electrical stimulation system for walking aids. In order to realize accurate, stable and real-time control of the current intensity of the FES system and effectively improve the accuracy and stability of the FES system, the technical solution adopted in the present invention is: a parameter control method in the walking aid electrical stimulation system, comprising the following steps: The force applied by the device causes the change of HRV parameters, and then the fuzzy controller is used to control the start; secondly, the genetic algorithm is used to adjust the PID parameters, and the current level of the electric stimulation system for walking is adjusted in real time. Finally, the electric stimulation system for walking is turned off according to the change of HRV, and the PID It refers to the three parts of proportional unit P, integral unit I and differential unit D. The invention is mainly used in the electrical stimulation system for walking aid in rehabilitation treatment.

Figure 201010115882

Description

The genetic algorithm method of controlled variable of adjusting in the walk-aiding functional electric stimulation system
Technical field
The present invention relates to stimulates parameter control method in limb motion muscle group and the peripheroneural device thereof with current pulse sequence.Specifically, the present invention relates to open and close duty, relate to the method for genetic algorithm Tuning PID Controller parameter in the walk-aiding functional electric stimulation system based on the fuzzy control FES system of walker HRV parameter.
Technical background
(Functional Electrical Stimulation is to stimulate limb motion muscle group and peripheral nerve thereof by current pulse sequence FES) to functional electrostimulation, recovers or rebuild the technology of the componental movement function of paralytic patient effectively.At present, because the spinal cord regeneration ability is faint, at the spinal cord injury paralysed patient, Shang Weiyou can directly repair effective treatment method of damage, and implementing function rehabilitation training is effective measures.According to statistics, spinal cord injury paralysed patient number increases year by year, and function rehabilitation training is a technology of demanding demand urgently.The sixties in 20th century, Liberson successfully utilizes the electro photoluminescence nervus peronaeus to correct the gait of hemiplegic patient's drop foot first, has started the new way that functional electrostimulation is used to move and Sensory rehabilitation is treated.At present, FES has become the componental movement function of recovering or rebuilding paralytic patient, is important rehabilitation means.Yet how accurate triggering sequential and the pulse current intensity of controlling FES can accurately be finished the key problem in technology that the intended function action is still FES with assurance electro photoluminescence action effect.According to statistics, the mode of the triggering of FES control is at present studied still few, and according to action effect and predetermined action deviation, automatically adjust FES stimulus intensity and time sequence parameter with closed-loop control, thereby improved real-time, accuracy and the stability of FES system greatly, but now effective control method is still among exploring.
Handle retroaction vector (handle reactions vector, HRV) according in the process of standing and walking under the walker help, in fact the effectiveness that walker offers the patient can be divided into clear and definite independently 3 parts: sagittal trying hard to recommend into, about to dynamic balance and the power support of upward and downward, this also can be regarded as the patient in fact and keeps the new ideas that the required to external world additional mechanics demand of self normal stand walking proposes, promptly be that the patient is reduced to centre-point load to the effect of walker is synthetic in the walking process of standing, represent with two mechanics vectors that are positioned at handle mid point xsect centre of form place respectively, as shown in Figure 1.Vector is at x, y, and the size of making a concerted effort of the durection component on the z axle can characterize the patient respectively by trying hard to recommend into that walker obtained, dynamic balance and power support level.Wherein, the x axle forward that sets of definition coordinate system is patient's dextrad, and y axle forward be patient's a forward direction, z axle forward be the patient on to.Like this, the defined formula of HRV can be written as:
[HRV]=[HRV 1,HRV r] T=[F lx,F ly,F lz,F rx,F ry,F rz] T????(1)
HRV is used at present monitoring that the situation when patient walks prevents that patient from falling down in the electro photoluminescence process, causes the secondary injury.
Ratio infinitesimal analysis (proportional-integral-differential, PID) be a kind of very practical feedback regulation algorithm, it detects according to system or the operation deviation, proportion of utilization, integration, the required regulated quantity of acquisition of differentiating are widely used in engineering practice so that system is carried out FEEDBACK CONTROL because of it is easy to operate.Especially indeterminate or when being difficult to timely on-line determination, safe closed-loop control can be adopted the PID setting algorithm when the controlled system characterisitic parameter.In the face of the complicacy and the time variation operating environment of muscle, because good stability, the reliable operation of PID have still obtained in the functional electrostimulation field using widely at present.The PID core technology is accurate determine wherein ratio, integration, differential coefficient, especially in the FES field, system stability is required very strictness, so select particularly important to pid parameter.PID control will obtain controls effect preferably, must adjust ratio, integration and three kinds of control actions of differential, forms in the controlled quentity controlled variable not only to cooperatively interact but also the relation of mutual restriction.
Summary of the invention
For overcoming the deficiencies in the prior art, the objective of the invention is to realize accurately stablize and control systematically strength of current of FES in real time, improve FES system accuracy and stability effectively.
For achieving the above object, the technical solution used in the present invention is: the adjust method of ratio infinitesimal analysis parameter control of the genetic algorithm in the walk-aiding functional electric stimulation system comprises the following steps:
At first walker is applied power, cause that the HRV parameter changes, and then utilize fuzzy Control to start, HRV is: handle retroaction vector is the vector combination that is applied to the reacting force of power on the walker;
Secondly, utilize the genetic algorithm pid parameter of adjusting, according to kneed variation real-time monitoring walk-aiding functional electric stimulation system levels of current intensity, close the walk help electric stimulation according to the variation of HRV at last, PID is made up of ratio unit P, integral unit I and differentiation element D three parts.
The described HRV parameter that causes changes, and utilizes fuzzy Control walk help electric stimulation to start then and is meant: at first the HRV parameter is carried out obfuscation, calculating according to different control laws then, and last de-fuzzy, different control laws refer to:
As dHRV (t)/dt>a and for occurring then starting the walk help electric stimulation for the first time;
As dHRV (t)/dt<-a and dHRV (t+T)/dt>α then walk line state;
As | dHRV (t)/dt|<α and HRV (t s)-HRV (0)>β is standing state then;
As dHRV (t)/dt<-α and HRV (t s)=HRV (0) then closes the walk help electric stimulation.
The described genetic algorithm pid parameter of adjusting, its flow process of adjusting is: three decision variable K that at first determine PID p, K iAnd K dApproximate range and code length, and to its initial population P (0) that encodes and produce n individual composition at random;
Secondly select the parameter of suitable genetic algorithm: whole evolutionary generation G, crossover probability P cAnd variation probability P m
Export the corresponding relation of joint angles at last by actual joint angles and muscle model, set up the minimum target function, each individuality in the population is decoded into the corresponding parameters value, and ask for corresponding cost function value and adapt to functional value, use again duplicate, intersection and mutation operator operate population P (t), produces population P of future generation (t+1), repeats above operation repeatedly, up to parameter convergence or reach predetermined index, the final output of calculating neural network promptly gets the K of PID p, K iAnd K dThree coefficients, computing system output yout under the new PID coefficient and with the deviation of muscle model after enter the self study and the weighting coefficient self-adjusting of next step neural network again;
This process finally realizes the self-adaptation on-line tuning of pid control parameter repeatedly, and is used for the walk help electric stimulation.
The described genetic algorithm pid parameter of adjusting, its flow process of adjusting is refined as:
Pid parameter is carried out chromosome coding;
Produce initial population at random;
Gene Selection is intersected and mutation operation;
The chromosome decoding obtains new argument;
The input and output of sampling controlled process;
Optimal selection to controlled output;
Colony's fitness statistics also produces new colony;
Judge that whether colony is stable, returns gene Selection if not and intersects and mutation operation;
The pid parameter that output is optimized.
Describedly pid parameter is carried out chromosome coding be, adopt multiparameter mapping binary-coding, promptly three substrings are represented three parameter: 0100010011|1100100110|1001100100 respectively on a chromosome.
Described colony fitness statistics also produces new colony, and fitness function is the feedback deviation error (t) optimum prediction and expectation value, the rate of change error ' of deviation (t) with the relation of controlled quentity controlled variable u (t), as the optimum index J of selection of parameter:
J = ∫ 0 t w 1 error 2 ( t ) + w 2 u 2 ( t ) + w 3 ( error ′ ( t ) ) 2 dt - - - ( 10 )
Wherein, w 1, w 2And w 3Be weights, generally all get w 1=100, w 2=10, w 3=1;
The appropriateness function is
F=C/J????(11)
Wherein, C=10 n, n is an integer, when individuality is overstrain one's nervesly to differ when big n≤0; Differ hour n 〉=0.
The present invention has following technique effect: the present invention at first utilizes the method for fuzzy control to open the FES system by walker HRV parameter and variation thereof, the optimized method of passing through the parallel random search of genetic algorithm is then optimized scale-up factor, differential coefficient and the integral coefficient of PID, then control the current impulse intensity of walk help electric stimulation FES system, according to walker HRV parameter and variation, utilize the method for fuzzy control to close the FES system at last.The present invention can improve walk help electric stimulation FES system real time, accuracy and stability effectively, and obtains considerable social benefit and economic benefit.
Description of drawings
Fig. 1 handle retroaction vector (HRV) definition synoptic diagram.
Fig. 2 is based on the FES system architecture diagram of HRV.
Fig. 3 genetic algorithm structured flowchart of pid parameter control method of adjusting.
Fig. 4 structure of fuzzy controller principle.
Fig. 5 is based on the PID controller parameter optimizing process flow diagram of genetic algorithm.
Fig. 6 experiment scene.
The result is followed the trail of in the PID control that Fig. 7 genetic algorithm adaptive optimization is adjusted.
The adjust relative error of the default down input joint angles of pid parameter control and actual output of Fig. 8 genetic algorithm.
Embodiment
The present invention proposes by the startup of fuzzy control control FES and the duty of closing, and come adaptive optimization to adjust ratio, integration and the differential coefficient of PID with the new method of accurate control FES strength of current by genetic algorithm.Its techniqueflow is: at first the HRV parameter by walk helper changes the method control FES startup of cause fuzzy control and the duty of closing, the optimized method of passing through the parallel random search of genetic algorithm is then optimized scale-up factor, differential coefficient and the integral coefficient of PID, controls the current impulse intensity of FES system then.The present invention is a kind of brand-new functional electrical stimulation accurate control technique, and what the present invention proposed can obtain good effect based on the adjust horizontal aspect of method FES system power of the accurate control of functional electrostimulation of PID of genetic algorithm.
Further describe the present invention below in conjunction with drawings and Examples.
In the walk-aiding functional electric stimulation system genetic algorithm adjust controlled variable the method application structure as shown in Figure 2.Its workflow is: when patient relies on walker to stand, at first walker is applied power, cause that the HRV parameter changes, utilize fuzzy Control FES to start then; Secondly, utilize the genetic algorithm pid parameter of adjusting, real-time monitoring FES levels of current intensity is closed the FES system according to the variation of HRV at last.The genetic algorithm structured flowchart of pid parameter control method of adjusting, as shown in Figure 3, its flow process of adjusting is: three decision variable K that at first determine PID p, K iAnd K dApproximate range and code length, and it is encoded and produces n the individual initial population P (0) that forms at random, the parameter of secondly selected suitable genetic algorithm: whole evolutionary generation G, crossover probability P cAnd the general P that makes a variation m, by the corresponding relation of actual joint angles and muscle model output joint angles, set up the minimum target function at last; Each individuality in the population is decoded into the corresponding parameters value, and ask for corresponding cost function value and adapt to functional value, use again duplicate, intersection and mutation operator operate population P (t), produce population P of future generation (t+1), repeat above operation repeatedly, up to parameter convergence or reach predetermined index; The final output of calculating neural network promptly gets the K of PID p, K iAnd K dThree coefficients.Computing system output yout under the new PID coefficient and with the deviation of muscle model after enter next step genetic algorithm optimization adjustment again.This process finally realizes the self-adaptation on-line tuning of pid control parameter repeatedly, and is used for the FES system.
1 control based on the triggering FES starting state of HRV parameter
Fuzzy control structural principle block diagram as shown in Figure 4, its principle of work is according to HRV parameter and rate of change thereof, control the startup of FES and the duty of closing, its workflow is: at first the HRV parameter is carried out obfuscation, calculating according to different control laws then, last de-fuzzy, the signal that controlled FES starts and closes, and then the duty of control FES switch.
In the walker use, the HRV parameter changes in real time.Before not using, there is not power to be added to walker, then HRV is expressed as HVR (0); In the walker use, the power that is added on the walker changes constantly, and then HRV is expressed as HVR (t).Its workflow is as shown in table 1.
When patients with spinal cord injury stands, at first to apply power to walker, then HRV changes:
dHRV ( t ) dt > a - - - ( 2 )
Wherein, α is the certain value vector, starts the FES system works this moment.
Patient in the process of walking, the power that is applied on the walker also is constantly to change, and then HRV also is a real-time change:
| dHRV ( T ) dt | > a - - - ( 3 )
Wherein α is the certain value vector, and this moment, the FES system was in running order.
The duty that table 1 is opened and closed based on HRV fuzzy control FES
??1 As dHRV (t)/dt>α and for occurring then starting FES for the first time
??2 As dHRV (t)/dt<-a and dHRV (t+T)/dt>α then walk line state
??3 As | dHRV (t)/dt|<α and HRV (t s)-HRV (0)>β is standing state then
??4 As dHRV (t)/dt<-a and HRV (t s)=HRV (0) then closes FES
When patient stood, the power that is applied on the walker was constant, and this moment, HRV then had
HRV(t s)-HRV(0)>β(4)
HRV (t wherein s) being the HRV constantly that stands, β is the certain value vector.
When patient sat down, the power that applies on the walker device was removed, and this moment, HRV then had
HRV(t s)=HRV(0)(5)
Can close the FES system this moment.
The control that 2 genetic algorithms are adjusted pid parameter
PID is made up of ratio unit P, integral unit I and differentiation element D three parts, according to the error of system, by the K that sets p, K iAnd K dThree parameters are controlled system.
yout ( t ) = K p error ( t ) + K i Σ j = 0 t error ( j ) + K d [ error ( t ) - error ( t - 1 ) ] - - - ( 6 )
K wherein pBe scale-up factor, K iBe integral coefficient, K dBe differential coefficient, error is the deviation of default output with actual output, and u (t) is the output of PID, is again the input of controlled system simultaneously.
Can obtain by PID output formula (1)
u ( t - 1 ) = K p error ( t - 1 ) + K i Σ j = 0 t - 1 error ( j ) + K d [ error ( t - 1 ) - error ( t - 2 ) ] - - - ( 7 )
According to:
Δu(t)=u(t)-u(t-1)
=K p(error(t)-error(t-1))+K ierror(t)+K d(error(t)-2error(t-1)+error(t-2))……………………………………………………………(8)
Have:
u(t)=Δu(t)+u(t-1)=
u(t-1)+K p(error(t)-error(t-1))+K ierror(t)+K d(error(t)-2error(t-1)+error(t-2))
………………(9)
Based on the PID controller parameter optimizing process flow diagram of genetic algorithm as shown in Figure 5, at first be to determine code length according to the approximate range of three parameters of PID, then PID three parameters are carried out random coded, should note the difference between the chromosome in the colony when noting coding, guarantee the diversity of initial population; Gene Selection, intersection and mutation operation, the selection of gene is the thought according to the occurring in nature survival of the fittest, utilize and select operator to screen, intersect and make a variation and decide, when adaptive value is lower than average adaptive value, adopt bigger crossing-over rate and aberration rate according to adaptive value, when adaptive value during more greater than average adaptive value, the crossing-over rate and the aberration rate that adopt are more little, and concrete operations are: intersection is to utilize the hybridization operator to realize that variation utilizes mutation operator to realize; By selecting, intersection and mutation operation obtain new chromosome, with new chromosome decoding, new pid parameter will be obtained, utilize this parameter according to joint angles FEEDBACK CONTROL FES system, and with next joint angles constantly of data prediction of this output data and muscle model output, and ask this constantly joint angles and the output of predetermined joint angles error and PID, bring optimum target function into, and ask for adaptive value and judge then whether new colony is stable, if unstable rule is carried out gene Selection once more, intersection and mutation operation are up to stable, to its decoding output pid parameter, if stable then to its coding and decoding output pid parameter.Promptly finish genetic algorithm adjusting to pid parameter.Adaptive value is lower than average adaptive value then, and genetic algorithm is adjusted to pid parameter once more, finishes the real-time monitoring pid parameter, and then reaches the precision control to the FES system.
1, the optimizing parameter of PID controller
The input of PID control is optimum prediction knee joint angle and given angle feedback deviation, in control procedure, according to the state of a certain moment t, by PREDICTIVE CONTROL t+1 state constantly, improves the stability of control system.The optimizing parameter is the K of PID controller p, K iAnd K dThree decision parameters.
2, chromosomal coding method
Owing to be the parameter optimization problem, and problem separates and is real number value, so adopt multiparameter to shine upon binary-coding, promptly three substrings are represented three parameters respectively on a chromosome:
0100010011|1100100110|1001100100
3, the design of fitness function
Owing to weigh three indexs of control system is stability, accuracy and rapidity, for control deviation is gone to zero, response speed and less overshoot are faster arranged, therefore fitness function should be the feedback deviation error (t) of optimum prediction and expectation value, the rate of change error ' of deviation (t) and the relation of controlled quentity controlled variable u (t), as the optimum index J of selection of parameter
J = ∫ 0 t w 1 error 2 ( t ) + w 2 u 2 ( t ) + w 3 ( error ′ ( t ) ) 2 dt - - - ( 10 )
Wherein, w 1, w 2And w 3Be weights, generally all get w 1=100, w 2=10, w 3=1.
The appropriateness function is
F=C/J????(11)
Wherein, C=10 n(n is an integer), when individuality is overstrain one's nervesly to differ when big n≤0; Differ hour n 〉=0.
4, the end condition of algorithm
The individual in population state that tended towards stability of evolving promptly finds to account for a certain proportion of individuality of colony for same when individual, and iteration stops.
3 experimental programs
Experimental provision adopts the walker system of wireless transmission and the Parastep functional electric stimulation system that U.S. SIGMEDICS company produces, and this system comprises microprocessor and boost pulse generation circuit, contains six stimulation channels, powered battery.Experiment content is: utilize the FES system that the relevant muscle group of lower limb is stimulated, make the experimenter according to predetermined actions, record is applied to HRV and knee joint angle movement locus on the walker simultaneously, and HRV at first demarcates the force vector that forms by being installed in the voltage signal that foil gauge (BX350-6AA) network of electrical bridge changes into that leads of 12 on the walker.Require the experimenter healthy, no lower limb muscles, bone illness, impassivity illness and severe cardiac pulmonary disease.Before the experimenter sits on walker during experiment, stimulating electrode is fixed in corresponding position, when not applying electro photoluminescence, the experimenter keeps easily when the experimenter has a mind to stand, applying power to walker, triggers FES work, and under FES helped, the experimenter stood and walks.The FES experiment scene as shown in Figure 6.The electric stimulation pulse sequence adopts classical Lilly waveform, and pulsed frequency is 25Hz, pulsewidth 150 μ s, and pulse current is adjustable in 0~120m scope.In the experiment, write down HRV in real time and can adjust stimulus intensity to change the knee joint angle that produces by stimulating by changing the pulse current size.Before the experiment, set the knee joint angle movement locus of expectation, utilize the measurement of angle meter to detect the knee joint subtended angle in real time in the experiment and change.The experimental data sampling rate is 128Hz, and the data recording duration is 60s.
The PID new algorithm that heredity is adjusted is calculated the FES pulse current amplitude and is adjusted, the approaching movement locus of expecting of knee joint angle motion that the FES effect is produced.Fig. 7 follows the trail of the result for the PID control that the genetic algorithm adaptive optimization is adjusted.Red line represents that desired movement track, blue line are actual output joint angles among the figure, and X-axis is the time, and Y-axis is the motion of knee joint angle.For more clearly observing the departure that genetic algorithm is adjusted PID, shown in the relative error of default input knee joint angle and actual knee joint angle under Fig. 8 genetic algorithm Tuning PID Controller, then error can reach accurate control all within 5% as can be seen.
Purport of the present invention is the precision control method that proposes a kind of new FES: according to the HRV parameter of walker, utilize fuzzy control to control the duty of the unlatching of FES accurately; Calculate scale-up factor, integral coefficient and the differential coefficient of optimizing PID by heredity, the accurately stable then strength of current of controlling the FES system in real time effectively.This invention can improve FES system real time, accuracy and stability effectively, and obtains considerable social benefit and economic benefit.Optimum implementation intends adopting patent transfer, technological cooperation or product development.

Claims (6)

1.一种助行功能性电刺激系统中遗传算法整定控制参数的方法,其特征是,包括下列步骤:1. A method for genetic algorithm tuning control parameters in a functional electrical stimulation system for walking, characterized in that it comprises the following steps: 首先对步行器施加力,引起HRV参数变化,进而利用模糊控制器控制启动,HRV是:柄反作用矢量,是施加在步行器上力的反作用力的向量组合;First, force is applied to the walker, which causes the HRV parameter to change, and then the fuzzy controller is used to control the start. HRV is: handle reaction vector, which is the vector combination of the reaction force applied to the walker; 其次,利用遗传算法整定PID参数,根据膝关节的变化实时调控助行功能性电刺激系统电流水平强度,最后根据HRV的变化关闭助行电刺激系统,PID由比例单元P、积分单元I和微分单元D三部分组成。Secondly, use the genetic algorithm to adjust the PID parameters, adjust the current level of the walking-assisting functional electrical stimulation system in real time according to the change of the knee joint, and finally turn off the walking-aiding electrical stimulation system according to the change of HRV. Unit D consists of three parts. 2.根据权利要求1所述的一种助行功能性电刺激系统中遗传算法整定控制参数的方法,其特征是,所述引起HRV参数变化,继而利用模糊控制器控制助行电刺激系统启动是指:首先对HRV参数进行模糊化,然后在根据不同的控制规则计算,最后去模糊化,不同的控制规则指:2. The method for setting control parameters by genetic algorithm in a walking-assisting functional electrical stimulation system according to claim 1, characterized in that, the HRV parameters are caused to change, and then a fuzzy controller is used to control the walking-assisting electrical stimulation system to start It means: first fuzzify the HRV parameters, then calculate according to different control rules, and finally defuzzify them. Different control rules refer to: 如dHRV(t)/dt>a且为第一次出现则启动助行电刺激系统;If dHRV(t)/dt>a and it appears for the first time, start the walking aid electrical stimulation system; 如dHRV(t)/dt<-a  且dHRV(t+T)/dt>a  则走路状态;If dHRV(t)/dt<-a and dHRV(t+T)/dt>a then walking state; 如|dHRV(t)/dt|<a  且HRV(ts)-HRV(0)>β则站立状态;If |dHRV(t)/dt| <a and HRV(t s )-HRV(0)> β, then stand; 如dHRV(t)/dt<-a  且HRV(ts)=HRV(0)则关闭助行电刺激系统。If dHRV(t)/dt<-a and HRV(t s )=HRV(0), the walking aid electrical stimulation system is turned off. 3.根据权利要求1所述的一种助行功能性电刺激系统中遗传算法整定控制参数的方法,其特征是,所述遗传算法整定PID参数,其整定流程为:首先确定PID的三个决策变量Kp、Ki和Kd大致范围和编码长度,并对其进行编码以及随机产生n个个体组成的初始种群P(0);3. the method for setting control parameters by genetic algorithm in a kind of walking-aiding functional electrical stimulation system according to claim 1, it is characterized in that, described genetic algorithm sets PID parameter, and its tuning process is: first determine three of PID Decision variables K p , K i and K d approximate range and encoding length, and encode them and randomly generate an initial population P(0) composed of n individuals; 其次选定合适的遗传算法的参数:终进化代数G、交叉概率Pc以及变异概率PmSecondly, select the appropriate parameters of the genetic algorithm: the final evolutionary algebra G, the crossover probability P c and the mutation probability P m ; 最后通过实际关节角度与肌肉模型输出关节角度的相应关系,建立最小目标函数,将种群中各个个体解码成对应的参数值,并求取相应的代价函数值和适应函数值,再应用复制、交叉和变异算子对种群P(t)进行操作,产生下一代种群P(t+1),反复重复以上操作,直到参数收敛或者达到预定的指标,计算神经网络的最终输出即得PID的Kp、Ki和Kd三个系数,在新的PID系数下计算系统输出yout及其与肌肉模型的偏差后再进入下一步神经网络的自学习与加权系数自调整;Finally, through the corresponding relationship between the actual joint angle and the output joint angle of the muscle model, the minimum objective function is established, each individual in the population is decoded into the corresponding parameter value, and the corresponding cost function value and fitness function value are obtained, and then the copying, crossover Operate the population P(t) with the mutation operator to generate the next generation population P(t+1), repeat the above operations until the parameters converge or reach the predetermined index, and calculate the final output of the neural network to obtain the K p of the PID , K i and K d three coefficients, calculate the system output yout and its deviation from the muscle model under the new PID coefficient, and then enter the next step of neural network self-learning and weighting coefficient self-adjustment; 反复此过程,最终实现PID控制参数的自适应在线整定,并用于助行电刺激系统。Repeat this process, and finally realize the adaptive online tuning of PID control parameters, and use it in the walking aid electrical stimulation system. 4.根据权利要求3所述的一种助行功能性电刺激系统中遗传算法整定控制参数的方法,其特征是,所述遗传算法整定PID参数,其整定流程细化为:4. the method for genetic algorithm setting control parameter in a kind of walking-aiding functional electrical stimulation system according to claim 3, it is characterized in that, described genetic algorithm setting PID parameter, its tuning process is refined as: 对PID参数进行染色体编码;Chromosomal encoding of PID parameters; 随机产生初始群体;Randomly generate the initial population; 基因选择交叉和变异操作;Gene selection crossover and mutation operations; 染色体解码得到新参数;Chromosome decoding to get new parameters; 采样受控过程的输入和输出;Sampling the inputs and outputs of the controlled process; 对受控输出的最优选择;Optimal selection of controlled outputs; 群体适应度统计并产生新的群体;Group fitness statistics and generate new groups; 判断群体是否稳定,若否返回基因选择交叉和变异操作;Determine whether the population is stable, and if not, return to gene selection crossover and mutation operations; 输出优化的PID参数。Output optimized PID parameters. 5.根据权利要求4所述的一种助行功能性电刺激系统中遗传算法整定控制参数的方法,其特征是,所述对PID参数进行染色体编码是,采用多参数映射二值编码,即在一条染色体上三个子串分别表示三个参数:0100010011|1100100110|1001100100。5. the method for genetic algorithm setting control parameter in a kind of walking aid functional electric stimulation system according to claim 4, it is characterized in that, described to carry out chromosomal coding to PID parameter, adopt multi-parameter mapping binary coding, i.e. Three substrings on one chromosome respectively represent three parameters: 0100010011|1100100110|1001100100. 6.根据权利要求4所述的一种助行功能性电刺激系统中遗传算法整定控制参数的方法,其特征是,所述群体适应度统计并产生新的群体,适应度函数是把最优预测与期望值的反馈偏差error(t),偏差的变化率error′(t)和控制量u(t)的关系,作为参数选取的最优指标J:6. the method for genetic algorithm setting control parameter in a kind of walk-aiding functional electric stimulation system according to claim 4, it is characterized in that, described group fitness counts and produces new group, and fitness function is the optimum The relationship between the feedback deviation error(t) of the prediction and the expected value, the change rate of the deviation error'(t) and the control variable u(t) is used as the optimal index J for parameter selection: JJ == &Integral;&Integral; 00 tt ww 11 errorerror 22 (( tt )) ++ ww 22 uu 22 (( tt )) ++ ww 33 (( errorerror &prime;&prime; (( tt )) )) 22 dtdt -- -- -- (( 1010 )) 其中,w1,w2和w3是权值,一般都取w1=100,w2=10,w3=1;Among them, w 1 , w 2 and w 3 are weights, generally take w 1 =100, w 2 =10, w 3 =1; 适度函数为The fit function is F=C/J                        (11)F=C/J         (11) 其中,C=10n,n为整数,当个体的是用脑过度相差较大时,n≤0;相差较小时,n≥0。Wherein, C=10 n , n is an integer, when there is a large difference in individual brain overuse, n≤0; when the difference is small, n≥0.
CN2010101158828A 2010-03-02 2010-03-02 Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm Active CN101794114B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101158828A CN101794114B (en) 2010-03-02 2010-03-02 Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101158828A CN101794114B (en) 2010-03-02 2010-03-02 Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm

Publications (2)

Publication Number Publication Date
CN101794114A true CN101794114A (en) 2010-08-04
CN101794114B CN101794114B (en) 2011-08-31

Family

ID=42586850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101158828A Active CN101794114B (en) 2010-03-02 2010-03-02 Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm

Country Status (1)

Country Link
CN (1) CN101794114B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102274581A (en) * 2011-05-18 2011-12-14 天津大学 Precise control method for functional electric stimulation
CN103143298A (en) * 2013-03-27 2013-06-12 桂林电子科技大学 Power modulation control method of artificial diamond hydraulic machine optimized on the basis of genetic algorithm
CN105094202A (en) * 2015-09-02 2015-11-25 重庆大学 ECPT system output voltage stability control method based on NSGA-II parameter optimization
CN106292271A (en) * 2016-09-13 2017-01-04 西北工业大学 A kind of high-order control system determination of stability method based on Fuzzy Adaptive PID
CN108646547A (en) * 2018-04-27 2018-10-12 宁波工程学院 It is a kind of based on the mixed tension control method for genetic optimization
CN109889069A (en) * 2019-03-05 2019-06-14 淮阴工学院 A single-phase inverter compound control method and system
CN110543094A (en) * 2019-08-17 2019-12-06 深圳信息职业技术学院 PID Control Parameter Tuning Method for Dosing in Waterworks Based on Real Coded Genetic Algorithm
CN117970785A (en) * 2024-04-01 2024-05-03 济南大学 Walking aid control method based on improved group optimization algorithm
CN119306142A (en) * 2024-12-19 2025-01-14 嘉兴市特种设备检验检测院 Method, system and computer device for controlling elevator brake using genetic PID

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421249A (en) * 2001-11-29 2003-06-04 同济大学 Functional electric-stimulation controller with monochip computer and LCD
CN1803216A (en) * 2005-12-08 2006-07-19 清华大学 Method for directly controlling functionalized electronic simulator using brain wave
CN101596338A (en) * 2009-04-29 2009-12-09 天津大学 A Precise Control Method of Functional Electrical Stimulation Based on BP Neural Network Tuning PID

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1421249A (en) * 2001-11-29 2003-06-04 同济大学 Functional electric-stimulation controller with monochip computer and LCD
CN1803216A (en) * 2005-12-08 2006-07-19 清华大学 Method for directly controlling functionalized electronic simulator using brain wave
CN101596338A (en) * 2009-04-29 2009-12-09 天津大学 A Precise Control Method of Functional Electrical Stimulation Based on BP Neural Network Tuning PID

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《31st Annual International Conference of the IEEE EMBS》 20090906 Longlong Cheng etc. Radial Basis Function Neural Network-based PID Model for Functional Electrical Stimulation System Control 3481-3484 1-6 , *
《IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS-PART C: APPLICATIONS AND REVIEWS》 20080131 Chul-Seung Kim etc. Stimulation Pattern-Free Control of FES Cycling: Simulation Study 125-134 1-6 第38卷, 第1期 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102274581A (en) * 2011-05-18 2011-12-14 天津大学 Precise control method for functional electric stimulation
CN102274581B (en) * 2011-05-18 2013-07-10 天津大学 Precise control method for functional electric stimulation
CN103143298A (en) * 2013-03-27 2013-06-12 桂林电子科技大学 Power modulation control method of artificial diamond hydraulic machine optimized on the basis of genetic algorithm
CN105094202A (en) * 2015-09-02 2015-11-25 重庆大学 ECPT system output voltage stability control method based on NSGA-II parameter optimization
CN106292271A (en) * 2016-09-13 2017-01-04 西北工业大学 A kind of high-order control system determination of stability method based on Fuzzy Adaptive PID
CN106292271B (en) * 2016-09-13 2018-11-13 西北工业大学 A kind of high-order control system determination of stability method based on Fuzzy Adaptive PID
CN108646547A (en) * 2018-04-27 2018-10-12 宁波工程学院 It is a kind of based on the mixed tension control method for genetic optimization
CN109889069A (en) * 2019-03-05 2019-06-14 淮阴工学院 A single-phase inverter compound control method and system
CN110543094A (en) * 2019-08-17 2019-12-06 深圳信息职业技术学院 PID Control Parameter Tuning Method for Dosing in Waterworks Based on Real Coded Genetic Algorithm
CN117970785A (en) * 2024-04-01 2024-05-03 济南大学 Walking aid control method based on improved group optimization algorithm
CN119306142A (en) * 2024-12-19 2025-01-14 嘉兴市特种设备检验检测院 Method, system and computer device for controlling elevator brake using genetic PID
CN119306142B (en) * 2024-12-19 2025-03-11 嘉兴市特种设备检验检测院 Method, system and computer device for controlling elevator brake using genetic PID

Also Published As

Publication number Publication date
CN101794114B (en) 2011-08-31

Similar Documents

Publication Publication Date Title
CN101794114B (en) Method for tuning control parameter in walk-aiding functional electric stimulation system by utilizing genetic algorithm
CN101596338A (en) A Precise Control Method of Functional Electrical Stimulation Based on BP Neural Network Tuning PID
CN101816822B (en) Setting method of functional electrical stimulation PID (Proportion Integration Differentiation) parameter double source characteristic fusion particle swarm
Cheng et al. Nonlinear modeling and control of human heart rate response during exercise with various work load intensities
CN101816821B (en) Walking aid functional electrical stimulation precision control method based on ant colony fuzzy controller
CN102799937A (en) Lower limb movement track predication method under fusion of information of myoelectricity signal and joint angle
EP3820367B1 (en) Functional electrical stimulation system offering coordinated and natural movements
CN101846977B (en) Genetic fuzzy control method of joint angles by functional electrical stimulation
CN102488964A (en) Functional electro stimulation closed loop fuzzy proportional integral derivative (PID) control method
CN102274581B (en) Precise control method for functional electric stimulation
Pan et al. A closed-loop BMI system design based on the improved SJIT model and the network of Izhikevich neurons
Khademi et al. Toward minimal-sensing locomotion mode recognition for a powered knee-ankle prosthesis
Cavallaro et al. On the intersubject generalization ability in extracting kinematic information from afferent nervous signals
CN101837164B (en) Double source feature fusion ant colony tuning method for PID (Proportion Integration Differention) parameter in functional electro-stimulation
CN101837165B (en) Walking aid electrostimulation fine control method based on genetic-ant colony fusion fuzzy controller
Bao et al. Sub-optimally solving actuator redundancy in a hybrid neuroprosthetic system with a multi-layer neural network structure
Kim et al. Stimulation pattern-free control of FES cycling: Simulation study
Arcolezi et al. RISE controller tuning and system identification through machine learning for human lower limb rehabilitation via neuromuscular electrical stimulation
Wannawas et al. Towards ai-controlled fes-restoration of arm movements: Controlling for progressive muscular fatigue with gaussian state-space models
Barbosa et al. Control techniques for neuromuscular electrical stimulation: A brief survey
Pedrocchi et al. Error mapping controller: a closed loop neuroprosthesis controlled by artificial neural networks
Ibrahim et al. Optimized fuzzy control for natural trajectory based fes-swinging motion
Kostov et al. Improved methods for control of FES for locomotion
Ahmad et al. Closed-loop Functional Electrical Stimulation (FES)–cycling rehabilitation with phase control Fuzzy Logic for fatigue reduction control strategies for stroke patients
Dixon et al. Cycling

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180918

Address after: 300300 Tianjin Dongli District Dongli Lake Huizhi North Road and Huizhi Ring Road junction southeast side of Zhi Space Plaza Phase I 4-803-50

Patentee after: Yuxi Technology (Tianjin) Co., Ltd.

Address before: 300072 Tianjin City, Nankai District Wei Jin Road No. 92

Patentee before: Tianjin University

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190509

Address after: 300451 Building 6, Jinghu Science Park, Dongli District, Tianjin

Patentee after: Zhongdian Yunnao (Tianjin) Technology Co., Ltd.

Address before: 300300 Tianjin Dongli District Dongli Lake Huizhi North Road and Huizhi Ring Road junction southeast side of Zhi Space Plaza Phase I 4-803-50

Patentee before: Yuxi Technology (Tianjin) Co., Ltd.

TR01 Transfer of patent right