Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Functional Electrical Stimulation is a techeology reed to re - animate the muscles of a paralyzed limb . We can model the horixontal plane (

Functional Electrical Stimulation is a techeology reed
to re-animate the muscles of a paralyzed limb. We can
model the horixontal plane (2D, no gravity) movemest
of the endpoint of an anm ne-animaied by FES by
considering the activity of the bioeps and triceps. This
model can be appeosimuted as a sinuple
mass'spring/damper model. Each muscle is modeled as
a spring and a damper in parallel. In this model the
springs act as the force generating elemeat and the
'activation' of the muscle can be changed by varying
the spring or damping constants, and the resting length of the spring. The mass is may also be subjected to a
perturtation Ferensil which is external to the am. The resulting equation is:
Afler some manipulation, we get the differential equation for the position .
d2dt=-(cD+cT)m+ddt-(ka+kT)m++kT+Lveat+ka+Lventm+Fexienailingutm
Where the system vesting length is Lrest=18*(Acty-ActT),k t and kg are the biceps and triceps spring
constants and c1 and c9 are the damping constancs, ghen by
kT=ActT+40;kB=Acta+50
cT=1+kV6;cS=1+ka7
Wrike a fusctions FES.m that can be used by an ODE solver to numerically solve this equation w should
be passed through the odexr solver to your fusction. Remember, anything that depends oet tiene MUST
be defined insile your tale funetien. (3 pey). Aseame
Fzxt(t)=80a(t-8)e-tt-0|,Actz=0.15,ActD={0,t,100.35,t>10
You'll also want to gather the actaal time points that the ode solver passes into your ode fanction. You'll
plot these values (vs iteration number) ia a question belox. One way to do this is to insert code imo your
main function that will save solver times into a vector:
And is eoupled with the following code inerted into your ode function (assuming you call your
if iserpty (evalin ('base', "Eolvertines' 1)
evalin("base',['golverTines |1|=?' num2str(t)';']);
else
end
Another way to do this would be to simply output your independent variable (the Lt input) into your ode
function to the comenand window and then copy and passe them into a variable once you're done running
the ode solver.
Solve this sysiem for m-3. Assume (0)=-1.75,ddx(0)=0, and a daration of 25 seconds. On a 12
figure plot: )
a. In position 1, plot the resulting locarion when the system was solved with odel 50.
b. In position 2 plot the resulting locarion when the system was solved with ode 15 s 0.
How moch RAM was requied for the cole450 solutions? For the ode15s() solutions? How much time
was recuired to solve the equation using ode450 and edel5s0? What was the sixe of the selutions
resulting from the two differem methods? Diseuse which solver was best and why. (3 pos)
Ples the time values that were passel frem each solver versus iterazion number. Discuss what is happening
urang & (3 psy)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems Asian Conference Aciids 2012 Kaohsiung Taiwan March 19 21 2012 Proceedings Part 3 Lnai 7198

Authors: Jeng-Shyang Pan ,Shyi-Ming Chen ,Ngoc-Thanh Nguyen

2012th Edition

3642284922, 978-3642284922

More Books

Students also viewed these Databases questions