There is provided a flow rate sensor comprising: a pair of heating
resistors operable to heat a sensor tube; a temperature sensor operable
to control respective temperatures of the heating resistors; and a case
operable to hold the heating resistors and the temperature sensor. The
flow rate sensor is adapted to detect a flow rate of a fluid flowing in
the sensor tube based on variations of voltages applied to the heating
resistors, wherein the variations occur according to the flow rate of the
fluid. The flow rate sensor further comprises a voltage applying device
operable to arbitrarily set an increase in temperature of each of the
heating resistors. The sensor tube has opposite ends thereof thermally
connected to the case. The temperature sensor is positioned to be
equidistant from the opposite ends of the sensor.