摘要 |
PROBLEM TO BE SOLVED: To provide a sensor device in which a heater can be appropriately controlled on the basis of the result obtained by monitoring a temperature of a sensor element by a temperature monitoring resistance element, and a temperature control method in the sensor device. ! SOLUTION: In a magnetic sensor device 10, a switching element 83 is controlled on the basis of the result of comparison between a temperature detection voltage divided by a voltage division circuit 80 and a control target voltage V0 in a comparator 85 to control power supply to a heating resistance film 48 (heater). Before shipping of the magnetic sensor device 10, a control target voltage setting step of applying a constant voltage Va to the voltage division circuit 80 is executed. A microcomputer 9 sets, as the control target voltage V0, the result obtained by calculating a temperature detection voltage at the time when a temperature of a temperature monitoring resistance film 47 becomes a preliminarily set temperature, o |