A system and method for controlling a device such that device operates in a
smooth manner. The system may switch between control architectures or vary
gain coefficients used in a control loop to control the device. As the
architecture or gains are switched, the control signal may be smoothed so
that the device does not experience an abrupt change in the control signal
it receives. In one embodiment, the control signal may be smoothed by
adding a decaying offset value to the control signal to create a smoothed
control signal that is applied to the device.