320 lines
13 KiB
HTML
320 lines
13 KiB
HTML
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en" >
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="canonical" href="https://ralim.github.io/IronOS/Power/" />
|
|
<link rel="shortcut icon" href="../img/favicon.ico" />
|
|
<title>Power - IronOS</title>
|
|
<link rel="stylesheet" href="../css/theme.css" />
|
|
<link rel="stylesheet" href="../css/theme_extra.css" />
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
|
|
|
|
<script>
|
|
// Current page data
|
|
var mkdocs_page_name = "Power";
|
|
var mkdocs_page_input_path = "Power.md";
|
|
var mkdocs_page_url = "/IronOS/Power/";
|
|
</script>
|
|
|
|
<script src="../js/jquery-3.6.0.min.js" defer></script>
|
|
<!--[if lt IE 9]>
|
|
<script src="../js/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/languages/yaml.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search">
|
|
<a href=".." class="icon icon-home"> IronOS
|
|
</a><div role="search">
|
|
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" title="Type search term here" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="..">Home</a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../GettingStarted/">Getting Started</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Flashing the firmware</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Flashing/MHP30/">MHP30</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Flashing/Pinecil%20V1/">Pinecil V1</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Flashing/Pinecil%20V2/">Pinecil V2</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Flashing/TS80%28P%29/">TS80(P)</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Flashing/TS100/">TS100</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Operation</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="../Menu/">Main Menu</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Settings/">Settings</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../DebugMenu/">Debug Menu</a>
|
|
</li>
|
|
<li class="toctree-l1 current"><a class="reference internal current" href="./">Power</a>
|
|
<ul class="current">
|
|
<li class="toctree-l2"><a class="reference internal" href="#use-an-ohm-calculator-to-quickly-derive-watts">Use an Ohm calculator to quickly derive watts.</a>
|
|
</li>
|
|
<li class="toctree-l2"><a class="reference internal" href="#output-control-regulation">Output Control & Regulation</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Temperature/">Temperature</a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Logo/">Startup Logo</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Hardware</span></p>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../HallSensor/">Hall Sensor (Pinecil)</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Hardware/">Hardware Notes</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Troubleshooting/">Troubleshooting</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../HardwareIssues/">Known Hardware Issues</a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Translation/">Translations</a>
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="../Development/">Development</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="..">IronOS</a>
|
|
|
|
</nav>
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href=".." class="icon icon-home" aria-label="Docs"></a> »</li>
|
|
<li>Operation »</li>
|
|
<li>Power</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/ralim/IronOS/edit/dev/Documentation/Power.md" class="icon icon-github"> Edit on GitHub</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div class="section" itemprop="articleBody">
|
|
|
|
<h1 id="power-performance">Power & Performance</h1>
|
|
<p>All of the irons are <a href="https://www.digikey.com/en/blog/pulse-width-modulation#">PWM controlled</a> resistive heating elements.
|
|
This means that the electronics in the handle can only turn the heating element on and off.
|
|
This <em>means</em> that the power provided in the tip is 100% controlled by the supply voltage used (higher voltage PSU = higher performance).</p>
|
|
<p>Irons at their simplest are just a resistor (Ω) connected to your power source via a switch.</p>
|
|
<ul>
|
|
<li>When the switch is on, the power in the resistor is: $P(watts) = V(volts) \times\ I(current=amps)$</li>
|
|
<li>Current through the resistor is: $I(amps) = V(volts) ÷ Ω (resistance)$</li>
|
|
<li>Combining these gives some common equations for Power</li>
|
|
</ul>
|
|
<p>$P(watts) = V(volts) * I(amps)$ or $P = V^2 ÷ Ω$</p>
|
|
<p>The resistance of the tip is a fixed constant in ohms (Ω):
|
|
- 6.2 Ω Pine64 short tip
|
|
- 8.0 Ω TS100/Pinecil long tip
|
|
- 4.5 Ω TS80(P)</p>
|
|
<p>This means the power delivered to the soldering tip is proportional to the voltage squared.
|
|
Therefore the Pinecil and TS100 perform poorly when run off 12V power supplies and may issue a <code>Thermal Runaway</code> message (weak power supply).</p>
|
|
<h4 id="use-an-ohm-calculator-to-quickly-derive-watts">Use an <a href="https://www.rapidtables.com/calc/electric/power-calculator.html#dc">Ohm calculator</a> to quickly derive watts.</h4>
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th align="center">Type</th>
|
|
<th align="center">Volts</th>
|
|
<th align="center">/</th>
|
|
<th align="center">Tip Ω</th>
|
|
<th align="center">=</th>
|
|
<th align="center">Amps</th>
|
|
<th align="center">*</th>
|
|
<th align="center">Volts</th>
|
|
<th align="center">=</th>
|
|
<th align="center">Watts</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center">USB QC3.0</td>
|
|
<td align="center">9V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">4.5 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">2.0A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">9V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">18W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">USB-C PD</td>
|
|
<td align="center">12V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">4.5 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">3.0A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">12V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">32W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">USB-C PD</td>
|
|
<td align="center">20V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">8.0 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">2.5A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">20V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">50W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">USB-C PD</td>
|
|
<td align="center">20V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">6.2 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">3.2A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">20V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">64W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">DC Barrel</td>
|
|
<td align="center">24V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">8.0 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">3.0A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">24V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">72W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">DC Barrel</td>
|
|
<td align="center">24V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">6.2 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">3.8A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">24V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">92W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">EPR PD3.1</td>
|
|
<td align="center">28V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">8.0 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">3.5A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">28V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">98W</td>
|
|
</tr>
|
|
<tr>
|
|
<td align="center">EPR PD3.1</td>
|
|
<td align="center">28V</td>
|
|
<td align="center">/</td>
|
|
<td align="center">6.2 Ω</td>
|
|
<td align="center">=</td>
|
|
<td align="center">4.5A</td>
|
|
<td align="center">*</td>
|
|
<td align="center">28V</td>
|
|
<td align="center">=</td>
|
|
<td align="center">126W</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<h2 id="output-control-regulation">Output Control & Regulation</h2>
|
|
<p>These soldering irons use a FET to switch the power to the soldering iron tip. This is a P-MOSFET and its controlled via a small transistor circuit, which in turn is controlled via the MCU (i.e., STM32). The MCU controls this PWM output proportional to the output from the PID control loop running in the software.</p>
|
|
<p>To measure the tip temperature in the iron, the iron has a small op-amp connected across the terminals at the cold end of the tip. This is setup to measure the voltage across the same terminals that are used to power the tip. In order to read the very small voltage generated by the <a href="https://ralim.github.io/IronOS/Temperature/">thermocouple cold junction</a>, the iron's output must be turned off for a moment.</p>
|
|
<p>Once the output is turned off (via the FET), the system has a recovery time as the tip capacitance discharges and the op-amp exits saturation. After this delay period, the MCU's ADC (analog-to-digital converter) samples the output of the op-amp 8 times quickly and then sets a flag to turn the PWM output back on.
|
|
This enforces a small dead time in the output signal while this occurs, so there is a balance between sampling the temperature often to maintain a stable tip temperature control and sampling less often to increase the maximum power deliverable to the tip (<a href="https://ralim.github.io/IronOS/Temperature/#complexity-of-measurement">see Complexity of measurement</a>).</p>
|
|
|
|
</div>
|
|
</div><footer>
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
|
|
<a href="../DebugMenu/" class="btn btn-neutral float-left" title="Debug Menu"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
<a href="../Temperature/" class="btn btn-neutral float-right" title="Temperature">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<!-- Copyright etc -->
|
|
</div>
|
|
|
|
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="rst-versions" role="note" aria-label="Versions">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
|
<span>
|
|
<a href="https://github.com/ralim/IronOS/" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
|
|
|
|
<span><a href="../DebugMenu/" style="color: #fcfcfc">« Previous</a></span>
|
|
|
|
|
|
<span><a href="../Temperature/" style="color: #fcfcfc">Next »</a></span>
|
|
|
|
</span>
|
|
</div>
|
|
<script>var base_url = '..';</script>
|
|
<script src="../js/theme_extra.js" defer></script>
|
|
<script src="../js/theme.js" defer></script>
|
|
<script src="../search/main.js" defer></script>
|
|
<script defer>
|
|
window.onload = function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
};
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|