File size: 9,531 Bytes
1e8420e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a4ea8c
 
 
 
1e8420e
9a4ea8c
1e8420e
 
 
 
 
 
 
 
 
 
 
 
9a4ea8c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1e8420e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a4ea8c
1e8420e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264fc61
1e8420e
 
 
 
 
 
 
 
 
 
 
9a4ea8c
1e8420e
 
9a4ea8c
1e8420e
 
 
 
0a53b5b
1e8420e
 
 
 
 
 
 
 
 
264fc61
1e8420e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0a53b5b
1e8420e
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1" />
    <meta
      name="description"
      content="OpenPELS: Open Source Power Electronics Librarian Systems. Edit converter schematics and compare loss mechanisms, die allocation and coupled magnetics."
    />
    <title>OpenPELS: Open Source Power Electronics Librarian Systems</title>
    <link rel="stylesheet" href="./pe.css" />
  </head>
  <body>
    <header class="topbar">
      <a class="brand" href="./index.html"
        ><span class="brand-icon">↯</span
        ><span
          >OpenPELS<small
            >OPEN SOURCE POWER ELECTRONICS<br />LIBRARIAN SYSTEMS</small
          ></span
        ></a
      >
      <nav aria-label="Workspace">
        <button class="active" data-view="gallery">Gallery</button>
        <button data-view="compare" disabled>Analysis</button>
        <button data-view="simulator" disabled>Simulator</button>
        <button data-view="design">Schematic</button>
      </nav>
      <div class="file-actions" hidden>
        <button id="open-project">Open project</button
        ><button class="primary" id="save-project" disabled>
          ↓ Save project</button
        ><input
          hidden
          id="project-file"
          type="file"
          accept=".json,.icproj.json"
        />
      </div>
    </header>
    <div id="message" role="status" aria-live="polite"></div>
    <section id="gallery-view" aria-label="Topology gallery">
      <div class="gallery-hero">
        <div class="eyebrow">THE POWER ELECTRONICS LIBRARY</div>
        <h1>
          Find your topology.<br /><span>Explore what makes it work.</span>
        </h1>
        <p>
          Choose a conversion ratio, explore matching circuits, and open a
          topology for detailed analysis and simulation.
        </p>
        <div class="workflow-steps">
          <span><b>01</b> Choose a ratio</span><i>→</i
          ><span><b>02</b> Select a topology</span><i>→</i
          ><span><b>03</b> Analyze &amp; simulate</span>
        </div>
      </div>
      <div class="gallery-toolbar">
        <div>
          <h2>Topology gallery</h2>
          <p id="gallery-count">Loading supported topologies…</p>
        </div>
        <div
          id="gallery-ratios"
          class="gallery-ratios"
          aria-label="Filter by conversion ratio"
        ></div>
      </div>
      <div id="gallery-cards" class="gallery-cards"></div>
      <div id="gallery-empty" class="gallery-empty" hidden>
        <span>More families ahead</span>
        <h2>This family is awaiting validation.</h2>
        <p id="gallery-empty-text"></p>
      </div>
      <p class="gallery-note">
        Families follow the qualified coupled-inductor reference models.
        Simulation availability is shown on each card.
      </p>
    </section>
    <section id="selection-bar" hidden aria-label="Selected topology">
      <button id="back-gallery">← Gallery</button
      ><img id="selected-image" alt="" />
      <div class="selected-identity">
        <small id="selected-ratio"></small>
        <h1 id="selected-name"></h1>
        <p>Curated reference · independent of canvas edits</p>
      </div>
      <div class="selection-actions">
        <button id="selected-analysis">Detailed analysis</button
        ><button id="selected-simulate" class="primary">Simulate →</button
        ><button id="selected-edit">Edit schematic</button>
      </div>
      <p id="selected-availability" role="status"></p>
    </section>
    <main id="design-view" class="design-layout" hidden>
      <aside class="library">
        <div class="eyebrow">START WITH A CIRCUIT</div>
        <h1>From topology<br />to tradeoffs.</h1>
        <p class="intro">
          Draw a converter. Explore its devices, coupling and connections.
          Compare established analytical models.
        </p>
        <div class="section-label">Conversion ratio</div>
        <div class="ratio-pills" id="family-tabs">
          <button data-ratio="2">2:1</button
          ><button data-ratio="4" class="active">4:1</button
          ><button data-ratio="6">6:1</button><button data-ratio="8">8:1</button
          ><button data-ratio="16">16:1</button>
        </div>
        <div id="starter-list"></div>
        <div class="library-note">
          <b>A real schematic editor.</b><br />Place components, draw wires and
          edit values. Changes use the original editor’s undo and connectivity
          engine.
        </div>
        <details class="help">
          <summary>Canvas shortcuts</summary>
          <p>
            I — insert component<br />W — draw wire<br />Esc — cancel tool<br />Ctrl/⌘
            Z — undo<br />Use the editor’s View menu to fit the circuit.
          </p>
          <p>
            Click a component to edit its properties. The File menu exports SVG
            and design netlists.
          </p>
        </details>
      </aside>
      <section class="workspace">
        <div class="workspace-bar">
          <div>
            <span class="live-dot"></span
            ><strong id="project-name">Opening circuit…</strong
            ><span id="save-status">Local workspace</span>
          </div>
          <span class="workspace-label">SCHEMATIC / CONNECTIVITY</span>
        </div>
        <iframe
          id="editor"
          title="Editable power electronics schematic"
          src="./pe-editor.html"
        ></iframe>
        <div class="workspace-foot">
          <span>Structural circuit models · generic MOSFET placeholders</span
          ><span
            >Export a netlist for device-model and transient verification.</span
          >
        </div>
      </section>
      <aside class="inspector">
        <div class="eyebrow">CIRCUIT CONTEXT</div>
        <h2 id="context-name">Power converter</h2>
        <p id="context-description"></p>
        <div class="metrics">
          <div><strong id="device-count">—</strong><span>switches</span></div>
          <div><strong id="winding-count">—</strong><span>windings</span></div>
          <div><strong id="cap-count">—</strong><span>capacitors</span></div>
        </div>
        <div class="section-label">Analysis provenance</div>
        <div id="model-status" class="model-status">
          Loading the reference project…
        </div>
        <p class="fineprint">
          The scoreboard evaluates curated topology models. It does not infer a
          new analytical model from arbitrary rewiring.
        </p>
        <button id="compare-reference" class="wide primary" disabled>
          Analyze reference topology →
        </button>
        <div class="section-label assumptions-title">WHAT YOU CAN COMPARE</div>
        <ul class="mechanisms">
          <li>
            <i class="fet"></i>Switch conduction <b>R<sub>S</sub></b>
          </li>
          <li>
            <i class="cap"></i>Capacitor ESR <b>R<sub>C</sub></b>
          </li>
          <li>
            <i class="ind"></i>Winding copper <b>R<sub>L</sub></b>
          </li>
          <li>
            <i class="ssl"></i>Charge sharing <b>R<sub>SSL</sub></b>
          </li>
          <li><i class="sw"></i>Gate / switching estimate</li>
        </ul>
        <p class="fineprint">
          Device area allocation, equivalent output resistance and per-unit
          coefficients remain available in the scoreboard.
        </p>
        <details>
          <summary>Model limits</summary>
          <p class="fineprint">
            NGSpice runs the available circuit models in the Simulator tab.
            Editable schematic starters use structural MOSFET placeholders. No
            foundry PDK is connected. Coupling values are illustrative. The TSMC
            180 nm figure of merit is user-supplied; Ron × area is editable and
            illustrative by default. Unmodeled core and transition losses are
            not certified as zero.
          </p>
        </details>
      </aside>
    </main>
    <section id="compare-view" hidden>
      <div class="compare-caption">
        <strong>Detailed topology analysis</strong
        ><span id="compare-context"
          >Curated reference circuits · independent of canvas edits</span
        ><button id="back-design">← Back to gallery</button>
      </div>
      <iframe
        id="comparison"
        title="Topology loss scoreboard"
        data-src="./compare/index.html?v=buck-stacked-coss"
      ></iframe>
    </section>
    <section
      id="simulator-view"
      hidden
      aria-label="Integrated NGSpice simulator"
    >
      <div class="simulator-caption">
        <strong>Transient simulation</strong
        ><span>XFLY6S, XFLY8S and C3L · independent of canvas edits</span
        ><span id="simulator-status" role="status"></span>
      </div>
      <iframe id="simulator" title="OpenPELS NGSpice simulator"></iframe>
    </section>
    <footer>
      <span
        >Adapted from
        <a
          href="https://github.com/cascode-ai/analog-canvas"
          target="_blank"
          rel="noopener"
          >Analog Canvas</a
        >
        · AGPL-3.0</span
      ><span
        ><a href="./openpels-source.zip" download>Download complete source</a>
        <a href="./LICENSE.txt" target="_blank">License</a> · Power electronics
        workspace</span
      >
    </footer>
    <script type="module" src="./pe.js?v=buck-stacked-coss"></script>
  </body>
</html>