Dynerin — User guide
Dynerin designs DC–DC converters end to end: enter your voltages and board, get a schematic, BOM and microcontroller firmware, and fine-tune the power stage and control loop in the design lab when you need to.
This guide explains where things are on the screen and a simple order of steps. You don't need to know how Dynerin works behind the scenes.
What you can do here
- Pick a converter — buck, boost, buck-boost, Ćuk, SEPIC or Zeta — and see its schematic (voltage mode or average-current mode).
- Choose your kit so pin names match what you will wire on the bench.
- Size the power stage automatically — ripple targets → L / Cout / Cin (L1/L2/C1/C2 for Ćuk, SEPIC, Zeta) plus voltage sense resistors (E12 snap).
- See results after Apply — coefficients, Bode plots, step response, margins and a design Critique.
- Retune the compensator when targets miss — keep L/C frozen first; only re-size the plant if needed.
- Check robustness (sweep or Monte Carlo) and save Workspace snapshots while you iterate.
- Export a design package (ZIP), an HTML report, plant models, or the MCU project.
- Save your work to a file and load it again later.
Dynerin is built for design and analysis, not a full switching simulator. Always verify hardware on the bench and follow your own safety and review process.
Finding your way around
Top of the page
- Documentation — this guide.
- Feedback — send a note.
- Tutorial — a short guided walkthrough of the layout.
- Sign in — free; needed for Ćuk, SEPIC, Zeta, the LAUNCHXL-F28027F and NUCLEO-H753ZI, and for saving workspaces.
The Design panel (front door)
- Mode — Basic picks the topology for you from Vout/Vin. Advanced lets you choose the topology and opens the design lab.
- Enter Input Vin, Output Vout, Load Io and Settling time (or tick Auto settling time).
- Pick your Microcontroller: choose the maker tab (Microchip, Texas Instruments or STM32), then the board (dsPIC33CK256MP508; LAUNCHXL-F280049C or LAUNCHXL-F28027F; NUCLEO-G474RE or NUCLEO-H753ZI).
- Press Generate design. It sizes the converter, tunes the controller (re-running automatically if a target is missed) and designs the inductor. Four tabs appear:
- Schematic — the converter drawing for your topology.
- Parameters — L, C, inductor core / turns / wire, switching frequency, crossover and phase margin.
- BOM — suggested part numbers with distributor search links, with a Hide button.
- Firmware — choose ZIP file or Folder on disk, check the Wiring card (exact pins for PWM, Vo, IL, Vin and ground), then press Generate code.
The bottom bar offers Design Package, Report and Generate code.
Fine-tune (Advanced, or the "Fine-tune" link)
A step bar and sidebar walk through five steps:
- Power stage — ratings, ripple targets, manual or automatic L/C, parasitics, inductor design (core, turns, wire), suggested BOM (with a Hide button), current sensing. The converter schematic is shown at the top.
- Controller — voltage or average-current mode, crossover and phase margin, sampling, manual coefficients or poles and zeros, current limit.
- Results — Voltage Bode, Current Bode (average-current mode), Step & Disturbance, Margins, Critique, Coefficients.
- Export — board (maker, kit), the pin map with a pin diagram, and project format. The Design Package, Report and Generate code buttons in the bottom bar produce the files.
- Advanced — Protection & soft-start (UVLO/OVLO, OCP), Robustness (sweep, Monte Carlo) and Workspace (saved designs and comparison).
Press Apply in the sidebar to run the analysis and refresh results. Yellow or red dots on tabs flag sections that need attention.
A simple workflow
- Enter Vin, Vout, Io and your board in the Design panel, then press Generate design.
- Check the schematic and BOM.
- Need more control? Choose Fine-tune: set Power stage (optionally Automatic sizing), set the Controller targets, press Apply, and review Results.
- If Critique warns about margins or crossover, Retune compensator (fc / PM, keep L/C), then plant levers if needed.
- Optionally run Robustness and save a Workspace snapshot.
- Save configuration if you want a backup.
- Press Generate code and open the project folder in your vendor tools; build and test on real hardware.
Automatic power stage
On Power stage, choose Automatic:
- Enter Vin / Vo / Io / fsw.
- Set ripple targets (ΔiL, ΔvO, ΔVin). For Ćuk / SEPIC / Zeta also set ΔvC1 for the coupling cap.
- Click Update design — L (or L1 = L2), Cout (or C2), Cin and the sense resistors update (E12 snap).
Equations follow the Dynerin reference sheets (Lmin, Cout + ESR, Cin, device stresses × safety factor). Coupling C1 for dual-inductor topologies uses a mild ΔVc heuristic. Current shunts stay manual.
Things worth knowing:
- ΔiL is a percentage of Io,max. For boost, buck-boost and the dual-inductor converters the average inductor current is larger than Io (boost: Io / (1 − D)), so the real ripple is a smaller percentage of the inductor current. The sizing notes show the number.
- Light-load check. After L is rounded to a standard value, Dynerin checks the boundary of continuous conduction. If your minimum load is below it, you get a warning: below that load the converter runs in DCM and the CCM loop model no longer applies.
- Input capacitor. Buck, buck-boost and Zeta have a pulsed input current, so Cin is sized from the peak switch current; boost, Ćuk and SEPIC have a continuous input current.
- Inductor design uses the worst case: Io,max, and for boost-type converters Vin,min (inductor current Io / (1 − D)). It also reports the actual peak flux density.
When targets miss: automatic re-run
Press Apply. If the controller misses your targets (crossover, phase margin, margins), Dynerin re-runs the design on its own: it retunes the compensator first, then adjusts L and C if that is not enough, and tells you what it changed. Critique → Fix automatically repeats this at any time. The table below explains the order it follows.
The proposed crossover is capped at fsw/10 and at Fs/20, so the controller delay (about 540° × fc / Fs) costs at most roughly 27° of phase. If your load-step goal then needs more capacitance, the re-run enlarges Cout (up to 470 µF by default) rather than raising fc. If the dip goal is still out of reach at the largest Cout, the re-run relaxes the goal to what the design delivers and tells you the old and new values.
Boost, buck-boost and the dual-inductor converters have a right-half-plane zero and sharp resonances, so a crossover that works for a buck can be too high for them. When a target cannot be reached the compensator is still built to be stable, with less phase margin than asked, and Critique says so. A Closed loop unstable finding means the sampled loop has poles outside the unit circle even if the margins at the first crossover look fine; lower fc and apply again. A negative phase margin means the same thing. The Margins tab also shows the phase margin with about 1.5 samples of controller delay (one for the interrupt routine, half for the PWM update); the model itself has no delay, so this is the number to trust on the bench. Critique warns when it falls below 25° and flags it below 10°; the usual cure is fc at or below fs/20 or a faster sampling rate. A gain margin shown as no −180° crossing means nothing limits the loop gain at high frequency, which is good.
Order of levers
| Order | Lever | When |
|---|---|---|
| 1 | Retune compensator (fc / PM) | PM soft or compensator miss; L/C held. Does not change sampling. |
| 2a | Smaller L (raise ΔiL %) | Actual fc is below target. |
| 2b | Larger Cout (tighten ΔvO %) | Overshoot / Vo ripple, or PM soft without an fc undershoot. |
| 3 | Stuck | Keep PM and lower the fc goal. Sampling / fsw remain manual. |
Sampling frequency is designer-set on the Controller tab; Dynerin does not auto-tweak it.
Allowed input ranges
Each input has one allowed range, shown under the field and in its tooltip: input voltage 3–400 V, output voltage 1–200 V, load current 0.05–20 A (the peak current is 1.67 times that), switching frequency 10–500 kHz. It is the range Dynerin can design and source parts for with confidence. A value outside it turns the field red and Generate design will not run until you change it. The check also asks whether a complete bill of materials exists for the whole operating point (switch voltage and current, diode, inductor). If it does not, for example 400 V in with 35 A out, the form tells you which part is the problem and the largest current that works for your voltages. Large currents are covered by paralleling MOSFETs and diodes (2–4 devices, each loaded to 80%) and by stacking up to four toroid cores in the inductor.
Bill of materials and its limits
The BOM tab lists a part for every position (capacitors, resistors, MOSFET, diode, inductor). Each line says how sure we are:
- catalogue row (ceramic capacitors) — a real Murata GRM row; only the packaging character is left for you to choose.
- rule-built (resistors, current shunts) — a Yageo RC or RL code built from the manufacturer's numbering rule; confirm stock for that exact value.
- listing checked (MOSFET, diode, bulk capacitors) — the part number was confirmed on a distributor or manufacturer listing; hover for the date.
- designed (inductor) — core, turns and wire from the powder-core design, with peak flux, window fill and temperature rise checked.
Each part also shows how many are in stock at DigiKey and Mouser (stock only, no prices; "?" means the check could not be made, not that the part is out of stock). Stock changes quickly, so confirm at the distributor before ordering. A banner above the table tells you whether your operating point is inside the range we can source parts for. If it is not, the analysis and firmware still work, but the missing lines stay open instead of showing a guessed part, and the banner gives the largest current we can complete for your voltages. What range can I rely on? opens the table for your converter.
Obsolete and out-of-stock parts. Dynerin looks each part up at the distributors before showing the BOM. If a part is obsolete, end-of-life, last-buy or out of stock everywhere that is checked, it is replaced by the next suitable part that is active and in stock (same voltage and current ratings, at least the capacitance needed; a Yageo resistor becomes a Vishay CRCW of the same value). The line says what was replaced and why, and lists up to three further in-stock alternates. If nothing suitable is in stock the original stays, flagged, so you can choose by hand. Parts marked not for new designs are kept but noted. If the distributors cannot be reached the BOM is shown exactly as built.
Wiring your board
For every supported board Dynerin lists exactly where to connect the PWM output, the output voltage (Vo), inductor current (IL) and input voltage (Vin) sense signals, and which pins are ground. You'll find it in the Wiring card on the Firmware tab (Basic mode) and under Export → Board → Pin map. Every board has two views: Dev board (the header or connector pins printed on the board, for example the dsPIC33CK Curiosity DM330030 or the NUCLEO boards) and Microcontroller (the package pin numbers of the bare chip, for example the dsPIC33CK256MP508 80-pin TQFP or the TMS320F280049C 100-pin LQFP). Use the tabs above the table to switch. The diagram marks the same pins: click it to open it in a viewer where you can zoom (scroll, pinch, or the + / − buttons), drag to move, press Fit to reset, and close it with the × button, Esc, or a click outside. Pin names and numbers are the ones printed on the board or in the datasheet; the source is shown under each diagram.
Generated projects
Generate code produces the board project folder as a ZIP (for example NUCLEO_G474RE_DP.zip, F28004x_CTRL_v1.zip, CK256MP508_CTRL_v1.X.zip). The project opens in the vendor IDE without edits to include paths; Texas Instruments projects use Code Composer path variables (${PROJECT_ROOT}, ${CG_TOOL_ROOT}), so they are not tied to one computer.
In browsers that support it, you can instead extract straight to a folder: choose the parent directory (for example your IDE workspace) so you don't get a nested copy.
Saving and loading settings
Save configuration downloads your form settings as a file. Load configuration restores them. For quick in-browser variants use Workspace.
If something goes wrong
| What you notice | What to try |
|---|---|
| Preview doesn't update | Click Apply after changing inputs and wait for the progress bar. |
| Dots on tabs | Open those sections (or Critique) and follow the messages. |
| Specs miss after auto L/C | Critique → Retune fc/PM; then smaller L / larger Cout. |
| "Please sign in" | Ćuk, SEPIC, Zeta, LAUNCHXL-F28027F and NUCLEO-H753ZI need a free account. Use Sign in at the top of the page; it takes a minute. If sign-in will not load, refresh the page and allow the site in any script blocker. |
| A message such as "A buck converter needs Vin above Vo" or "Input voltage Vin (900 V) is outside the allowed 3 to 400 V" | Dynerin checks your inputs before it designs anything: it refuses impossible numbers (Vin,min above Vin,max, Io,min above Io,max, L or C of zero, fc above fsw/2, phase margin outside 0–90°, unknown topology or board). Correct the field named in the message. |
| Generate fails | Read the error shown; confirm required fields and the board. |
| Download doesn't appear | Run Generate code again; each download link is tied to that run. |
Words you might see
- ACMC (average current mode) — Two loops: an inner current loop and an outer voltage loop.
- Bode plot — Frequency-domain plot used to read stability and bandwidth.
- Critique — Post-Apply checks and suggested fixes.
- E12 — Preferred value series used when snapping sized parts.
- Margins — Phase / gain margin that describe how stable the loops are.
- Robustness — Sweep or Monte Carlo with a frozen compensator.
- Workspace — Named design snapshots you can save and compare.