An internal combustion engine controller configured to control air flow between a compressor and an intake manifold based on an engine accelerator actuator position, the internal combustion engine controller comprising: an input port for receiving: a compressor air flow signal that represents a measure of air flow through the compressor; a compressor inlet pressure signal that represents a measure of pressure at an inlet of the compressor; a compressor outlet pressure signal that represents a measure of pressure at an outlet of the compressor; and an accelerator actuator control signal that represents a measure of the engine accelerator actuator position; an output port; a processor operatively coupled to the input port and the output port; a memory having instructions stored therein that are executable by the processor to determine a predicted value for a future time based on the accelerator actuator control signal and one or more of the compressor air flow signal, the compressor inlet pressure signal, and the compressor outlet pressure signal; compare the predicted value to a threshold; provide (110; 112) one or more control signals via the output port to a throttle configured to control the air flow between the compressor and the intake manifold based on a first equation for controlling a rate of change of a position of the throttle when the predicted value is on a first side of the threshold and based on a second equation for controlling the rate of change of the position of the throttle when the predicted value is on a second side of the threshold; and wherein the threshold is any threshold value related to a surge line of the compressor and the threshold is parameterized relative to or otherwise related to the predicted value. an input port for receiving: a compressor air flow signal that represents a measure of air flow through the compressor; a compressor inlet pressure signal that represents a measure of pressure at an inlet of the compressor; a compressor outlet pressure signal that represents a measure of pressure at an outlet of the compressor; and an accelerator actuator control signal that represents a measure of the engine accelerator actuator position; a compressor air flow signal that represents a measure of air flow through the compressor; a compressor inlet pressure signal that represents a measure of pressure at an inlet of the compressor; a compressor outlet pressure signal that represents a measure of pressure at an outlet of the compressor; and an accelerator actuator control signal that represents a measure of the engine accelerator actuator position; an output port; a processor operatively coupled to the input port and the output port; a memory having instructions stored therein that are executable by the processor to determine a predicted value for a future time based on the accelerator actuator control signal and one or more of the compressor air flow signal, the compressor inlet pressure signal, and the compressor outlet pressure signal; compare the predicted value to a threshold; provide (110; 112) one or more control signals via the output port to a throttle configured to control the air flow between the compressor and the intake manifold based on a first equation for controlling a rate of change of a position of the throttle when the predicted value is on a first side of the threshold and based on a second equation for controlling the rate of change of the position of the throttle when the predicted value is on a second side of the threshold; and wherein the threshold is any threshold value related to a surge line of the compressor and the threshold is parameterized relative to or otherwise related to the predicted value. determine a predicted value for a future time based on the accelerator actuator control signal and one or more of the compressor air flow signal, the compressor inlet pressure signal, and the compressor outlet pressure signal; compare the predicted value to a threshold; provide (110; 112) one or more control signals via the output port to a throttle configured to control the air flow between the compressor and the intake manifold based on a first equation for controlling a rate of change of a position of the throttle when the predicted value is on a first side of the threshold and based on a second equation for controlling the rate of change of the position of the throttle when the predicted value is on a second side of the threshold; and wherein the threshold is any threshold value related to a surge line of the compressor and the threshold is parameterized relative to or otherwise related to the predicted value.