Partitioned control trajectory following (nonlinear system, imperfect model)
Differential equation
Define simple second-order differential equation with input
Display differential equation
Numeric system values
Numerical model values
Controller specification
Controller type
Controller frequency (Hz)
Simulation parameters
Total simulation time
Desired trajectory (cubic interpolation)
Create desired trajectory as interpolation function
Control simulation #1 (small gains, no integral term)
Control gain vectors
Control simulation
Visualization of results #1
Join trajectories
Error plot
Applied torques
Control simulation #2 (larger gains)
Control gain vectors
Control simulation
Visualization of results #2
Join trajectories
Error plot
Applied torques
Compare previous two simulations
Control simulation #3 (even larger gains, integral gain as well)
Control gain vectors
Control simulation
Visualization of results #3
Join trajectories
Error plot
Applied torques
Compare the las two simulations
Created by Mathematica (November 12, 2003)