In this paper, compensator dynamics are introduced in sliding mode thr
ough a new class of switching surfaces which has the interpretation of
linear operators. Two design methods are presented, the first is base
d on pole placement, whereas the second is based on frequency-shaped q
uadratic optimal control formulation. The compensators are designed to
attenuate the frequency contents of the sliding mode dynamics such th
at unmodelled dynamics are minimally excited. The design method using
frequency shaping is applied to the control of a flexible link robot a
rm. Simulation results show that the excitation of the link deformatio
ns are minimized while preserving the insensitivity of the sliding mod
e.