My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

temperature.h 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  20. *
  21. */
  22. /**
  23. * temperature.h - temperature controller
  24. */
  25. #ifndef TEMPERATURE_H
  26. #define TEMPERATURE_H
  27. #include "thermistor/thermistors.h"
  28. #include "../inc/MarlinConfig.h"
  29. #if ENABLED(BABYSTEPPING)
  30. extern bool axis_known_position[XYZ];
  31. #endif
  32. #if ENABLED(AUTO_POWER_CONTROL)
  33. #include "../feature/power.h"
  34. #endif
  35. #if ENABLED(PID_EXTRUSION_SCALING)
  36. #include "stepper.h"
  37. #endif
  38. #ifndef SOFT_PWM_SCALE
  39. #define SOFT_PWM_SCALE 0
  40. #endif
  41. /**
  42. * States for ADC reading in the ISR
  43. */
  44. enum ADCSensorState : char {
  45. #if HAS_TEMP_0
  46. PrepareTemp_0,
  47. MeasureTemp_0,
  48. #endif
  49. #if HAS_TEMP_1
  50. PrepareTemp_1,
  51. MeasureTemp_1,
  52. #endif
  53. #if HAS_TEMP_2
  54. PrepareTemp_2,
  55. MeasureTemp_2,
  56. #endif
  57. #if HAS_TEMP_3
  58. PrepareTemp_3,
  59. MeasureTemp_3,
  60. #endif
  61. #if HAS_TEMP_4
  62. PrepareTemp_4,
  63. MeasureTemp_4,
  64. #endif
  65. #if HAS_TEMP_BED
  66. PrepareTemp_BED,
  67. MeasureTemp_BED,
  68. #endif
  69. #if ENABLED(FILAMENT_WIDTH_SENSOR)
  70. Prepare_FILWIDTH,
  71. Measure_FILWIDTH,
  72. #endif
  73. #if ENABLED(ADC_KEYPAD)
  74. Prepare_ADC_KEY,
  75. Measure_ADC_KEY,
  76. #endif
  77. SensorsReady, // Temperatures ready. Delay the next round of readings to let ADC pins settle.
  78. StartupDelay // Startup, delay initial temp reading a tiny bit so the hardware can settle
  79. };
  80. // Minimum number of Temperature::ISR loops between sensor readings.
  81. // Multiplied by 16 (OVERSAMPLENR) to obtain the total time to
  82. // get all oversampled sensor readings
  83. #define MIN_ADC_ISR_LOOPS 10
  84. #define ACTUAL_ADC_SAMPLES max(int(MIN_ADC_ISR_LOOPS), int(SensorsReady))
  85. #if HAS_PID_HEATING
  86. #define PID_K2 (1.0-PID_K1)
  87. #define PID_dT ((OVERSAMPLENR * float(ACTUAL_ADC_SAMPLES)) / TEMP_TIMER_FREQUENCY)
  88. // Apply the scale factors to the PID values
  89. #define scalePID_i(i) ( (i) * PID_dT )
  90. #define unscalePID_i(i) ( (i) / PID_dT )
  91. #define scalePID_d(d) ( (d) / PID_dT )
  92. #define unscalePID_d(d) ( (d) * PID_dT )
  93. #endif
  94. #if !HAS_HEATER_BED
  95. constexpr int16_t target_temperature_bed = 0;
  96. #endif
  97. class Temperature {
  98. public:
  99. static float current_temperature[HOTENDS],
  100. current_temperature_bed;
  101. static int16_t current_temperature_raw[HOTENDS],
  102. target_temperature[HOTENDS],
  103. current_temperature_bed_raw;
  104. #if ENABLED(AUTO_POWER_E_FANS)
  105. static int16_t autofan_speed[HOTENDS];
  106. #endif
  107. #if HAS_HEATER_BED
  108. static int16_t target_temperature_bed;
  109. #endif
  110. static volatile bool in_temp_isr;
  111. static uint8_t soft_pwm_amount[HOTENDS],
  112. soft_pwm_amount_bed;
  113. #if ENABLED(FAN_SOFT_PWM)
  114. static uint8_t soft_pwm_amount_fan[FAN_COUNT],
  115. soft_pwm_count_fan[FAN_COUNT];
  116. #endif
  117. #if ENABLED(PIDTEMP)
  118. #if ENABLED(PID_PARAMS_PER_HOTEND) && HOTENDS > 1
  119. static float Kp[HOTENDS], Ki[HOTENDS], Kd[HOTENDS];
  120. #if ENABLED(PID_EXTRUSION_SCALING)
  121. static float Kc[HOTENDS];
  122. #endif
  123. #define PID_PARAM(param, h) Temperature::param[h]
  124. #else
  125. static float Kp, Ki, Kd;
  126. #if ENABLED(PID_EXTRUSION_SCALING)
  127. static float Kc;
  128. #endif
  129. #define PID_PARAM(param, h) Temperature::param
  130. #endif // PID_PARAMS_PER_HOTEND
  131. #endif
  132. #if ENABLED(PIDTEMPBED)
  133. static float bedKp, bedKi, bedKd;
  134. #endif
  135. #if ENABLED(BABYSTEPPING)
  136. static volatile int babystepsTodo[3];
  137. #endif
  138. #if WATCH_HOTENDS
  139. static uint16_t watch_target_temp[HOTENDS];
  140. static millis_t watch_heater_next_ms[HOTENDS];
  141. #endif
  142. #if WATCH_THE_BED
  143. static uint16_t watch_target_bed_temp;
  144. static millis_t watch_bed_next_ms;
  145. #endif
  146. #if ENABLED(PREVENT_COLD_EXTRUSION)
  147. static bool allow_cold_extrude;
  148. static int16_t extrude_min_temp;
  149. FORCE_INLINE static bool tooCold(const int16_t temp) { return allow_cold_extrude ? false : temp < extrude_min_temp; }
  150. FORCE_INLINE static bool tooColdToExtrude(const uint8_t e) {
  151. #if HOTENDS == 1
  152. UNUSED(e);
  153. #endif
  154. return tooCold(degHotend(HOTEND_INDEX));
  155. }
  156. FORCE_INLINE static bool targetTooColdToExtrude(const uint8_t e) {
  157. #if HOTENDS == 1
  158. UNUSED(e);
  159. #endif
  160. return tooCold(degTargetHotend(HOTEND_INDEX));
  161. }
  162. #else
  163. FORCE_INLINE static bool tooColdToExtrude(const uint8_t e) { UNUSED(e); return false; }
  164. FORCE_INLINE static bool targetTooColdToExtrude(const uint8_t e) { UNUSED(e); return false; }
  165. #endif
  166. FORCE_INLINE static bool hotEnoughToExtrude(const uint8_t e) { return !tooColdToExtrude(e); }
  167. FORCE_INLINE static bool targetHotEnoughToExtrude(const uint8_t e) { return !targetTooColdToExtrude(e); }
  168. private:
  169. #if EARLY_WATCHDOG
  170. // If temperature controller is running
  171. static bool inited;
  172. #endif
  173. #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
  174. static uint16_t redundant_temperature_raw;
  175. static float redundant_temperature;
  176. #endif
  177. static volatile bool temp_meas_ready;
  178. #if ENABLED(PIDTEMP)
  179. static float temp_iState[HOTENDS],
  180. temp_dState[HOTENDS],
  181. pTerm[HOTENDS],
  182. iTerm[HOTENDS],
  183. dTerm[HOTENDS];
  184. #if ENABLED(PID_EXTRUSION_SCALING)
  185. static float cTerm[HOTENDS];
  186. static long last_e_position;
  187. static long lpq[LPQ_MAX_LEN];
  188. static int lpq_ptr;
  189. #endif
  190. static float pid_error[HOTENDS];
  191. static bool pid_reset[HOTENDS];
  192. #endif
  193. #if ENABLED(PIDTEMPBED)
  194. static float temp_iState_bed,
  195. temp_dState_bed,
  196. pTerm_bed,
  197. iTerm_bed,
  198. dTerm_bed,
  199. pid_error_bed;
  200. #else
  201. static millis_t next_bed_check_ms;
  202. #endif
  203. static uint16_t raw_temp_value[MAX_EXTRUDERS],
  204. raw_temp_bed_value;
  205. // Init min and max temp with extreme values to prevent false errors during startup
  206. static int16_t minttemp_raw[HOTENDS],
  207. maxttemp_raw[HOTENDS],
  208. minttemp[HOTENDS],
  209. maxttemp[HOTENDS];
  210. #ifdef MAX_CONSECUTIVE_LOW_TEMPERATURE_ERROR_ALLOWED
  211. static uint8_t consecutive_low_temperature_error[HOTENDS];
  212. #endif
  213. #ifdef MILLISECONDS_PREHEAT_TIME
  214. static millis_t preheat_end_time[HOTENDS];
  215. #endif
  216. #ifdef BED_MINTEMP
  217. static int16_t bed_minttemp_raw;
  218. #endif
  219. #ifdef BED_MAXTEMP
  220. static int16_t bed_maxttemp_raw;
  221. #endif
  222. #if ENABLED(FILAMENT_WIDTH_SENSOR)
  223. static int8_t meas_shift_index; // Index of a delayed sample in buffer
  224. #endif
  225. #if HAS_AUTO_FAN
  226. static millis_t next_auto_fan_check_ms;
  227. #endif
  228. #if ENABLED(FILAMENT_WIDTH_SENSOR)
  229. static uint16_t current_raw_filwidth; // Measured filament diameter - one extruder only
  230. #endif
  231. #if ENABLED(PROBING_HEATERS_OFF)
  232. static bool paused;
  233. #endif
  234. #if HEATER_IDLE_HANDLER
  235. static millis_t heater_idle_timeout_ms[HOTENDS];
  236. static bool heater_idle_timeout_exceeded[HOTENDS];
  237. #if HAS_TEMP_BED
  238. static millis_t bed_idle_timeout_ms;
  239. static bool bed_idle_timeout_exceeded;
  240. #endif
  241. #endif
  242. public:
  243. #if ENABLED(ADC_KEYPAD)
  244. static uint32_t current_ADCKey_raw;
  245. static uint8_t ADCKey_count;
  246. #endif
  247. /**
  248. * Instance Methods
  249. */
  250. Temperature();
  251. void init();
  252. /**
  253. * Static (class) methods
  254. */
  255. static float analog2temp(const int raw, const uint8_t e);
  256. #if HAS_TEMP_BED
  257. static float analog2tempBed(const int raw);
  258. #endif
  259. /**
  260. * Called from the Temperature ISR
  261. */
  262. static void isr();
  263. /**
  264. * Call periodically to manage heaters
  265. */
  266. static void manage_heater() _O2; // Added _O2 to work around a compiler error
  267. /**
  268. * Preheating hotends
  269. */
  270. #ifdef MILLISECONDS_PREHEAT_TIME
  271. static bool is_preheating(const uint8_t e) {
  272. #if HOTENDS == 1
  273. UNUSED(e);
  274. #endif
  275. return preheat_end_time[HOTEND_INDEX] && PENDING(millis(), preheat_end_time[HOTEND_INDEX]);
  276. }
  277. static void start_preheat_time(const uint8_t e) {
  278. #if HOTENDS == 1
  279. UNUSED(e);
  280. #endif
  281. preheat_end_time[HOTEND_INDEX] = millis() + MILLISECONDS_PREHEAT_TIME;
  282. }
  283. static void reset_preheat_time(const uint8_t e) {
  284. #if HOTENDS == 1
  285. UNUSED(e);
  286. #endif
  287. preheat_end_time[HOTEND_INDEX] = 0;
  288. }
  289. #else
  290. #define is_preheating(n) (false)
  291. #endif
  292. #if ENABLED(FILAMENT_WIDTH_SENSOR)
  293. static float analog2widthFil(); // Convert raw Filament Width to millimeters
  294. static int8_t widthFil_to_size_ratio(); // Convert Filament Width (mm) to an extrusion ratio
  295. #endif
  296. //high level conversion routines, for use outside of temperature.cpp
  297. //inline so that there is no performance decrease.
  298. //deg=degreeCelsius
  299. FORCE_INLINE static float degHotend(const uint8_t e) {
  300. #if HOTENDS == 1
  301. UNUSED(e);
  302. #endif
  303. return current_temperature[HOTEND_INDEX];
  304. }
  305. FORCE_INLINE static float degBed() { return current_temperature_bed; }
  306. #if ENABLED(SHOW_TEMP_ADC_VALUES)
  307. FORCE_INLINE static int16_t rawHotendTemp(const uint8_t e) {
  308. #if HOTENDS == 1
  309. UNUSED(e);
  310. #endif
  311. return current_temperature_raw[HOTEND_INDEX];
  312. }
  313. FORCE_INLINE static int16_t rawBedTemp() { return current_temperature_bed_raw; }
  314. #endif
  315. FORCE_INLINE static int16_t degTargetHotend(const uint8_t e) {
  316. #if HOTENDS == 1
  317. UNUSED(e);
  318. #endif
  319. return target_temperature[HOTEND_INDEX];
  320. }
  321. FORCE_INLINE static int16_t degTargetBed() { return target_temperature_bed; }
  322. #if WATCH_HOTENDS
  323. static void start_watching_heater(const uint8_t e = 0);
  324. #endif
  325. #if WATCH_THE_BED
  326. static void start_watching_bed();
  327. #endif
  328. static void setTargetHotend(const int16_t celsius, const uint8_t e) {
  329. #if HOTENDS == 1
  330. UNUSED(e);
  331. #endif
  332. #ifdef MILLISECONDS_PREHEAT_TIME
  333. if (celsius == 0)
  334. reset_preheat_time(HOTEND_INDEX);
  335. else if (target_temperature[HOTEND_INDEX] == 0)
  336. start_preheat_time(HOTEND_INDEX);
  337. #endif
  338. #if ENABLED(AUTO_POWER_CONTROL)
  339. powerManager.power_on();
  340. #endif
  341. target_temperature[HOTEND_INDEX] = celsius;
  342. #if WATCH_HOTENDS
  343. start_watching_heater(HOTEND_INDEX);
  344. #endif
  345. }
  346. static void setTargetBed(const int16_t celsius) {
  347. #if HAS_HEATER_BED
  348. #if ENABLED(AUTO_POWER_CONTROL)
  349. powerManager.power_on();
  350. #endif
  351. target_temperature_bed =
  352. #ifdef BED_MAXTEMP
  353. min(celsius, BED_MAXTEMP)
  354. #else
  355. celsius
  356. #endif
  357. ;
  358. #if WATCH_THE_BED
  359. start_watching_bed();
  360. #endif
  361. #endif
  362. }
  363. FORCE_INLINE static bool isHeatingHotend(const uint8_t e) {
  364. #if HOTENDS == 1
  365. UNUSED(e);
  366. #endif
  367. return target_temperature[HOTEND_INDEX] > current_temperature[HOTEND_INDEX];
  368. }
  369. FORCE_INLINE static bool isHeatingBed() { return target_temperature_bed > current_temperature_bed; }
  370. FORCE_INLINE static bool isCoolingHotend(const uint8_t e) {
  371. #if HOTENDS == 1
  372. UNUSED(e);
  373. #endif
  374. return target_temperature[HOTEND_INDEX] < current_temperature[HOTEND_INDEX];
  375. }
  376. FORCE_INLINE static bool isCoolingBed() { return target_temperature_bed < current_temperature_bed; }
  377. FORCE_INLINE static bool wait_for_heating(const uint8_t e) {
  378. return degTargetHotend(e) > TEMP_HYSTERESIS && abs(degHotend(e) - degTargetHotend(e)) > TEMP_HYSTERESIS;
  379. }
  380. /**
  381. * The software PWM power for a heater
  382. */
  383. static int getHeaterPower(int heater);
  384. /**
  385. * Switch off all heaters, set all target temperatures to 0
  386. */
  387. static void disable_all_heaters();
  388. /**
  389. * Perform auto-tuning for hotend or bed in response to M303
  390. */
  391. #if HAS_PID_HEATING
  392. static void PID_autotune(const float &target, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
  393. /**
  394. * Update the temp manager when PID values change
  395. */
  396. #if ENABLED(PIDTEMP)
  397. FORCE_INLINE static void updatePID() {
  398. #if ENABLED(PID_EXTRUSION_SCALING)
  399. last_e_position = 0;
  400. #endif
  401. }
  402. #endif
  403. #endif
  404. #if ENABLED(BABYSTEPPING)
  405. static void babystep_axis(const AxisEnum axis, const int16_t distance) {
  406. if (axis_known_position[axis]) {
  407. #if IS_CORE
  408. #if ENABLED(BABYSTEP_XY)
  409. switch (axis) {
  410. case CORE_AXIS_1: // X on CoreXY and CoreXZ, Y on CoreYZ
  411. babystepsTodo[CORE_AXIS_1] += distance * 2;
  412. babystepsTodo[CORE_AXIS_2] += distance * 2;
  413. break;
  414. case CORE_AXIS_2: // Y on CoreXY, Z on CoreXZ and CoreYZ
  415. babystepsTodo[CORE_AXIS_1] += CORESIGN(distance * 2);
  416. babystepsTodo[CORE_AXIS_2] -= CORESIGN(distance * 2);
  417. break;
  418. case NORMAL_AXIS: // Z on CoreXY, Y on CoreXZ, X on CoreYZ
  419. babystepsTodo[NORMAL_AXIS] += distance;
  420. break;
  421. }
  422. #elif CORE_IS_XZ || CORE_IS_YZ
  423. // Only Z stepping needs to be handled here
  424. babystepsTodo[CORE_AXIS_1] += CORESIGN(distance * 2);
  425. babystepsTodo[CORE_AXIS_2] -= CORESIGN(distance * 2);
  426. #else
  427. babystepsTodo[Z_AXIS] += distance;
  428. #endif
  429. #else
  430. babystepsTodo[axis] += distance;
  431. #endif
  432. }
  433. }
  434. #endif // BABYSTEPPING
  435. #if ENABLED(PROBING_HEATERS_OFF)
  436. static void pause(const bool p);
  437. FORCE_INLINE static bool is_paused() { return paused; }
  438. #endif
  439. #if HEATER_IDLE_HANDLER
  440. static void start_heater_idle_timer(const uint8_t e, const millis_t timeout_ms) {
  441. #if HOTENDS == 1
  442. UNUSED(e);
  443. #endif
  444. heater_idle_timeout_ms[HOTEND_INDEX] = millis() + timeout_ms;
  445. heater_idle_timeout_exceeded[HOTEND_INDEX] = false;
  446. }
  447. static void reset_heater_idle_timer(const uint8_t e) {
  448. #if HOTENDS == 1
  449. UNUSED(e);
  450. #endif
  451. heater_idle_timeout_ms[HOTEND_INDEX] = 0;
  452. heater_idle_timeout_exceeded[HOTEND_INDEX] = false;
  453. #if WATCH_HOTENDS
  454. start_watching_heater(HOTEND_INDEX);
  455. #endif
  456. }
  457. FORCE_INLINE static bool is_heater_idle(const uint8_t e) {
  458. #if HOTENDS == 1
  459. UNUSED(e);
  460. #endif
  461. return heater_idle_timeout_exceeded[HOTEND_INDEX];
  462. }
  463. #if HAS_TEMP_BED
  464. static void start_bed_idle_timer(const millis_t timeout_ms) {
  465. bed_idle_timeout_ms = millis() + timeout_ms;
  466. bed_idle_timeout_exceeded = false;
  467. }
  468. static void reset_bed_idle_timer() {
  469. bed_idle_timeout_ms = 0;
  470. bed_idle_timeout_exceeded = false;
  471. #if WATCH_THE_BED
  472. start_watching_bed();
  473. #endif
  474. }
  475. FORCE_INLINE static bool is_bed_idle() { return bed_idle_timeout_exceeded; }
  476. #endif
  477. #endif // HEATER_IDLE_HANDLER
  478. #if HAS_TEMP_SENSOR
  479. static void print_heaterstates(
  480. #if NUM_SERIAL > 1
  481. const int8_t port = -1
  482. #endif
  483. );
  484. #if ENABLED(AUTO_REPORT_TEMPERATURES)
  485. static uint8_t auto_report_temp_interval;
  486. static millis_t next_temp_report_ms;
  487. static void auto_report_temperatures(void);
  488. FORCE_INLINE void set_auto_report_interval(uint8_t v) {
  489. NOMORE(v, 60);
  490. auto_report_temp_interval = v;
  491. next_temp_report_ms = millis() + 1000UL * v;
  492. }
  493. #endif
  494. #endif
  495. private:
  496. #if ENABLED(FAST_PWM_FAN)
  497. static void setPwmFrequency(const pin_t pin, int val);
  498. #endif
  499. static void set_current_temp_raw();
  500. static void updateTemperaturesFromRawValues();
  501. #if ENABLED(HEATER_0_USES_MAX6675)
  502. static int read_max6675();
  503. #endif
  504. static void checkExtruderAutoFans();
  505. static float get_pid_output(const int8_t e);
  506. #if ENABLED(PIDTEMPBED)
  507. static float get_pid_output_bed();
  508. #endif
  509. static void _temp_error(const int8_t e, const char * const serial_msg, const char * const lcd_msg);
  510. static void min_temp_error(const int8_t e);
  511. static void max_temp_error(const int8_t e);
  512. #if ENABLED(THERMAL_PROTECTION_HOTENDS) || HAS_THERMALLY_PROTECTED_BED
  513. typedef enum TRState : char { TRInactive, TRFirstHeating, TRStable, TRRunaway } TRstate;
  514. static void thermal_runaway_protection(TRState * const state, millis_t * const timer, const float &current, const float &target, const int8_t heater_id, const uint16_t period_seconds, const uint16_t hysteresis_degc);
  515. #if ENABLED(THERMAL_PROTECTION_HOTENDS)
  516. static TRState thermal_runaway_state_machine[HOTENDS];
  517. static millis_t thermal_runaway_timer[HOTENDS];
  518. #endif
  519. #if HAS_THERMALLY_PROTECTED_BED
  520. static TRState thermal_runaway_bed_state_machine;
  521. static millis_t thermal_runaway_bed_timer;
  522. #endif
  523. #endif // THERMAL_PROTECTION
  524. };
  525. extern Temperature thermalManager;
  526. #endif // TEMPERATURE_H