Abstract

Functional electrical stimulation (FES) is the most commonly used system for restoring function after spinal cord injury (SCI). In this study, we used a model consists of a joint, two links with one degree of freedom, and two muscles as flexor and extensor of the joint, which simulated in MATLAB using SimMechanics and Simulink Toolboxes. The muscle model is based on Zajac musculotendon actuator and composed of a nonlinear recruitment curve, a nonlinear activation-frequency relationship, calcium dynamics, fatigue/recovery model, an additional constant time delay, force-length and force-velocity factors. In this study, we used a classic controller for regulating the elbow joint angle; a Proportional- Integral- Derivative controller. First, we tuned the PID coefficients with trial and error, and then a particle swarm optimization algorithm was used to optimize them. The important features of this algorithm include flexibility, simplicity, short solution time, and the ability to avoid local optimums. This PSO -PID controller uses particle swarm optimization algorithm to get the required pulse width for stimulating the biceps to reach the elbow joint to the desired angle. The fitness function was defined as sum square of error. The results for PSO -PID controller show faster response for reaching the range of the set point than the PID controller tuned by trial and error. However the PSO -PID is much better in terms of the rise time and the settling time, the PID tuned by trial and error has no overshoot. The time to reach the zero steady state error is half in PSO -PID in comparison to PID tuned by trial and error.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call