Dynamic Optimization
Dynamic Optimization
8A-2
8A-3
WHAT APPLICATIONS?
Optimization has many applications: Economics Mechanical Designs Geographical Models Providing models with a nervous system Jumping FES Locomotion Reaching tasks and many others
8A-4
8A-5
8A-6
t start
Fi i =1 CSAi
/ j , / j joint angles and angular velocities predicted by the model errortol - measure of the error in the data, constrains how close final model joint data should be to the measured data.
John H. Challis - Modeling in Biomechanics
8A-7
t start
Fi i =1 CSAi
( )
2 CM Y tf
( )
2. g
8A-8
8A-9
SOLUTION PROCEDURES
Calculus of Variation
[Permits some problems to be simplified, others can be solved analytically.] Consider the problem of moving the load shown schematically
The resistance to motion is a function of the mass (M), the degree of damping (D), and the stiffness (K). The task is to move the mass from x=0 to x=X in time T.
8A-10
SOLUTION PROCEDURES
Calculus of Variation
If the equations of motion of the system are written and the objective function formulated an analytical solution can be obtained.
2 )dt Minimize Velocity Minimize (x
T
Gives
= c1 x x = c1 .t + co
Minimize Acceleration
= 2.c2 + 6.c3 .t x
2 dt Minimize x
o
( )
Gives
= 2.c2 .t + 3.c3 .t 2 x x = c2 .t 2 + c3 .t 3
8A-11
SOLUTION PROCEDURES
Calculus of Variation Minimize Jerk
Gives
5 i =0
2 dt Minimize x
o
( )
x = c i .t i
Similar simple equations are available for the analytical solution to movement problems commonly accounted in human movement (e.g. Flash and Hogan, 1985).
8A-12
SOLUTION PROCEDURES
Optimal Control
There are software packages which allow the solution of optimal control problems. The theory behind these techniques is similar to those for static optimization (Polak and Mayne, 1975; Teo and Moore, 1978). The objective function is often simplified using calculus of variation. (see Bryson and Ho, 1975). These techniques are generally time consuming, for example Anderson et al. (1995) estimated to simulate a vertical jump using a four segment, eight muscle model took three days of CPU time. Consider an 8 segment, 14 degree of freedom model, actuated by 46 muscle models comprising 120 first-order differential equations. One iteration of an optimal control algorithm takes the following times IRIS 21.36 hours Cray 0.77 Hours 128 Parallel Processors 0.88 hours It was estimated that 100 iterations would be required for convergence.
8A-13
SOLUTION PROCEDURES
Static Optimization
Goh and Teo, (1988) proposed solving optimal control problems using static optimization algorithms. The optimal control problem is converted into a parameter optimization approach by dividing up the control history (e.g. muscle activations) into a series of knots from which the full time history can be determined by interpolation. This approach normally gives equivalent results to traditional optimal control solutions, but the algorithms used to implement these procedures are generally numerically more robust. Another advantage is that the solutions are normally attained using less processing time (Goh and Teo, 1988).
8A-14
SOLUTION PROCEDURES
Static Optimization
Therefore the static optimization techniques can be used, for example Direct Search Technique - Hooke and Jeeves (1961) Downhill Simplex - Nelder and Mead, (1965) Gradient Search - Powell, 1970). This approach is particularly well suited to problems which assume a singular bang-bang control for the muscles.
8A-15
EVALUATION CRITERIA
Two Principle Methods
EMG - Use EMG signal to indicate when the muscles compare this with the activity of the muscles as predicted by the optimization procedure. Performance Measures does the predicted movement correspond with actual movement, and/or is the movement outcome the same as with real subjects (e.g. movement time, jump height).
8A-16
Where the three components are Task specific Kinematics track a given trajectory, make hand follow straight line, minimize jerk, etc.
8A-17
REVIEW QUESTIONS
1) What is meant by dynamic optimization? 2) Why is dynamic optimization considered more physiologically realistic than static optimization? 3) Give some examples of objective functions which can be used for dynamic optimization (name source of function). What are their application? 4) How can dynamic optimization problems be solved? 5) What are the evaluation criteria for dynamic optimization problems? 6) Present a generalized performance criteria that you think could be applicable to some aspect of human movement (name the movement).