A temperature controller is a device which is used to control the temperature. It does this by first measuring the temperature (process variable), it then compares it to the desired value (set value). The difference between these values is known as the error (Deviation). Temperature controllers use this error to decide how much heating or cooling is required to bring the process temperature back to the desired value. Once this calculation is complete the controller will produce an output signal that effects the change required. This output signal is known as the (manipulated value) and is normally connected to a heater, control valve, fan or some other "final control element" which actually injects or removes heat from the process.