The mobile element is a vehicle window pane, panel, movable seat or
similar, conveniently guided, and driven by a DC electric motor with a
permanent magnet, and the method comprises a step of detecting an
entrapment or collision situation of the mobile element by means of a
first fuzzy logic algorithm, which inputs are the mobile element's
position and the increments that may occur in the intensity of the
current demanded by said motor, which is evaluated from the relative
increase of the current intensity at one turn of the motor and after one
next, subsequent turn of the motor. A second fuzzy logic algorithm is
used to control the mobile element's velocity, in close loop.