308 6 Dynamic System Analysis and Simulation
Therefore, the torque input (b) is such that the tracking error vanishes asymp-
totically.
The system simulation uses the following model parameters; l
1
= 0.65 m,
l
2
= 0.5 m, m
1
= 1.6 kg, m
2
= 1.2 kg, I
1
= 0.06 kg-m
2
, I
2
= 0.05 kg-m
2
.
The desired trajectory of the robot is,
q
1d
(t) =
π/4 if t < 2
0 if t ≥ 2
, q
2d
(t) = π/2.
The parameters for the controller are selected as ζ = 1.1 and ω = 5/
p
ζ
2
− 1.
Figure 6.9 shows the result of the numerical simulation. The plot (i) shows
the response for the angle q
1
, and the desired angle q
1d
. The plot (ii) shows
the response for the angle q
2
, and the desired angle q
2d
. In both cases we can
see that the input torque allows the robot to follow the desired trajectory.
The angular velocities ˙q
1
and ˙q
2
are shown in plots (iii) and (iv), respectively.
Finally, plots (v) and (vi) show the torques τ
1
and τ
2
required to execute this
maneuver.
It should be noted that the actual implementation of the control (b) is
a nontrivial task. Since, it requires the measurements q
1
(t), q
2
(t), ˙q
1
(t) and
˙q
2
(t), as well as the model parameters. Other control techniques must be used
if any of this information is unknown, or is imprecise. For examples of such
control system designs see Craig (1986), and Slotine and Li (1991).
Example 6.18.
The schematic of an electromagnetic suspen-
sion is shown in the figure on the left. This de-
vice consists of a coil with inductance, L, and
resistance, R, that is actuated by the voltage
source v(t). The mass, m, is made of a highly
permeable magnetic material. For devices of
this type it can be shown that the coil induc-
tance satisfies an equation of the form
L(x) =
γ
0
γ
1
+ x
,
where γ
0
> 0 and γ
1
> 0 are parameters that depend on the material prop-
erties and the geometry of the system. In the system simulation given below
uses the following model parameters, m = 0.1 kg, R = 10 ohm, g = 9.8 m/s
2
,
γ
0
= 0.03 volt-m-s/amp, and γ
1
= 1 × 10
−5
m.
Kinematic analysis:
The network current ˙q and the displacement of the mass x are taken as