# Thermal Management

## Thermal Management Overview

The Orca M.2 module includes internal temperature monitoring and a frequency throttling mechanism to prevent overheating. To maintain optimal performance and prevent thermal throttling during intensive workloads, effective thermal management is crucial. If the module exceeds a preset high-temperature threshold, the firmware automatically reduces the operating frequency until the temperature returns to safe levels. This helps avoid damage due to insufficient heat dissipation.

For environments with high ambient temperatures or extended workloads, additional cooling solutions, such as heatsinks or improved airflow, may be required to maintain optimal operating temperatures.

## Heatsink and Airflow Requirements

Thermal dissipation can be approximated by the following formula:

$$
\text{Ambient Temperature} + W \times R\_{TJA} < \text{Maximum Operating Temperature}
$$

Where:

* $$\text{W}$$: Power Dissipated by the Orca module (Watts)
* $$R\_{TJA}$$: Thermal resistance from junction to ambient (°C/W)
* $$\text{Maximum Operating Temperature}$$: Junction temperature limit

The total thermal resistance $$R\_{\text{TJA}}$$ consists of:

* $$R\_{JC}$$: Junction-to-case thermal resistance (0.3 °C/W)
* $$R\_{CHS}$$: Case-to-heatsink thermal resistance (0.12 °C/W with thermal paste or pad)
* $$R\_{HSA}$$: Heatsink-to-ambient thermal resistance

### Example Calculation

Consider a scenario where the Orca module dissipates **3 W**, the ambient temperature is **70 °C**, and the recommended maximum operating temperature is **95 °C**.

$$
70,^\circ\text{C} + 3,\text{W} \times \left(0.3,^\circ\text{C/W} + 0.12,^\circ\text{C/W} + R\_{HSA}\right) < 95,^\circ\text{C}
$$

Solving for $$R\_{HSA}$$:

$$
R\_{HSA} < 5.4,^\circ\text{C/W}
$$

A heatsink with thermal resistance lower than 5.4 °C/W is required to maintain safe operating temperatures. Select an appropriate combination of heatsink type, size, and airflow to ensure a thermal resistance below 5.4 °C/W.

### Heatsink and Airflow Design Guidelines

* **Material**: Use aluminum or copper for optimal thermal conductivity.
* **Dimensions**: Ensure the heatsink is appropriately sized for the M.2 2280 form factor (22 mm x 80 mm).
* **Attachment**: Use thermal pads or thermal paste to enhance heat transfer between the module and heatsink.
  * **Airflow**:
    * In environments with limited airflow, a passive heatsink may be sufficient.
    * For more demanding applications, active cooling solutions (e.g., small fans or improved ventilation) are recommended. Optimize airflow direction and placement for maximum cooling efficiency.

### Example M.2 2280 Heatsinks

<figure><img src="/files/dlgDhb0th6qVKJAxB7mG" alt="" width="375"><figcaption><p>M.2 2280 heatsink with an active cooling fan</p></figcaption></figure>

<figure><img src="/files/89VLjL8fsKLZ0II3r4CO" alt="" width="375"><figcaption><p>M.2 2280 passive heatsink</p></figcaption></figure>

<figure><img src="/files/6IgVc2RXfhM0TzAfMOlZ" alt="" width="375"><figcaption><p>M.2 2280 passive heatsink with visible heat pipes</p></figcaption></figure>

### Example Heatsink Installations

{% embed url="<https://www.youtube.com/watch?v=CyNfNVF-4UY>" %}

{% embed url="<https://www.youtube.com/watch?v=kiMqa0BWmlA>" %}

{% embed url="<https://www.youtube.com/watch?v=cWhEjJcVuak>" %}

## Testing and Validation

* Thermal Testing: Monitor the module’s temperature under typical workloads to validate the cooling solution.
* Frequency Throttling: Observe any signs of frequency throttling, which may indicate inadequate cooling.
* Long-Term Reliability: Keep the module within recommended temperature limits to prevent degradation and ensure stable, high-performance AI inference during extended or heavy workloads.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.degirum.com/orca/thermal-management.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
