A peristaltic pump is provided with a housing, a pump head in the housing, and a receiving path defined along a housing and pump head for receiving tubing. Two spaced-apart temperature sensors are provided.
One temperature sensor is located adjacent the tubing in a heat conduction path along which heat flows between the sensor and the tubing. The other sensor is located outside of the heat conduction path for sensing ambient temperature. The pump operating speed is adjusted as a function of the sensed temperatures. This accommodates the temperature-dependent rate of recovery of the tubing from its peristaltically deformed configuration to its original configuration.