PID Control of Systems with Hysteresis