Voltecx user manual
This manual is for engineers who are new to Voltecx. It assumes you know power electronics (what a buck
converter is, what a loop gain plot shows) but not this program. It is written for version 0.9.0.
A Traditional Chinese edition is in ../zh-Hant/.
Chapters
| # | Chapter | You will learn |
|---|---|---|
| 1 | Install | Get the app and the command-line tool running |
| 2 | Your first circuit | Open or build a buck converter and simulate it |
| 3 | Wiring and shortcuts | Place parts, wire them, work fast |
| 4 | Simulation settings | Fixed or variable step, the two solvers, end time |
| 5 | The scope | Tabs, cursors, measurements, export |
| 6 | Analyses | AC sweep, loop gain, sweeps, optimize, losses, parts |
| 7 | The Design panel (beta) | Size L, C and compensators from targets |
| 8 | Problems and quick fixes (beta) | Read an error, apply the fix |
| 9 | Import, export and LaTeX | SPICE, LTspice, PLECS, waveforms, thesis figures |
| 10 | Models | Motor drives, ICs, non-ideal parts, digital control |
| 11 | Chat and the command line | Talk to the built-in assistant in a terminal; drive the app from scripts |
| 12 | The agent panel | Work with an assistant inside the app: proposals, checkpoints, suggestions |
| 13 | The Tools menu | Parameter Sweep, scripts and C code generation |
| 14 | Preferences and saving | Settings, autosave, recovery, the last result, versions and variants, circuits in git |
| 15 | Examples | Open the ready-made circuits, by category |
| 16 | Automatic design | Write a spec, run design.auto, read the report, and use each design tool alone |
| 17 | Python | Run any command from Python and Jupyter; waveforms as numpy arrays, sweeps |
| 18 | The Test Bench | Run one test case, see its waveforms against the limits, compare runs |
| 19 | The command line | powercraft-cli: sim, analyses, batch, sweep, compare, exports, completion, exit codes |
| 20 | Troubleshoot | From a wrong reading on the bench to the faulty part, one measurement at a time |
| 21 | The field solver (Preview) | Inductance, core loss, heat and force from the field of the part: examples, 2D and 3D, drawing, exports, limits and the accuracy report |
| 22 | The board | Stack-up, impedance, placement, routing, zones, design rule check, board diff and fabrication files, as commands |
| 23 | Code generation, HIL and FMU export | Controller C for a microcontroller, the firmware against the plant, the real-time model, HIL test sequences and FMUs, as one worked run |
| 24 | Conducted EMI and input filters | The LISN and the CISPR limit lines, reading the margins, sizing a damped differential-mode and a common-mode input filter, Middlebrook's check, applying it |
| 25 | Thermal and losses | From a switching run to a junction temperature: losses, thermal network, steady and transient Tj, margin, fixes |
| 26 | Teaching with Voltecx | Per-student component values from a seed, an answer key for each, and checking what a student hands in |
Conventions
- Cmd means the Command key on a Mac and the Ctrl key on Windows and Linux.
- (beta) marks a feature that was developed on a branch that had not been merged when this release was prepared. It exists in the beta build, but it has had the least testing, and its details may change. Every feature in 0.9.0 is a beta in the wider sense; the mark tells you where to expect rough edges.
- Values accept SI suffixes:
10k,4.7u,100n,1meg. A bare number is in base units (volts, amperes, ohms, seconds, hertz). - Names of signals are written
v(out)for a node voltage andi(L1)for the current in elementL1.
One program, three doors
Everything Voltecx does is a named command, for example simulation.run or analysis.acSweep. You can reach
a command from the menus and shortcuts, from Quick Open (Cmd+K), from the command-line tool
(powercraft-cli), and from the built-in assistant. This manual shows the menu path first and names the command
so you can find it in the other places. The list of every command comes from powercraft-cli commands.
Menu items that need parameters open a form: one field per parameter, filled in from what you selected, the
traces on the scope, the visible time window and the circuit's settings. Numbers take engineering notation (4.7u,
10k), a field you get wrong is marked in red, Enter runs the command and Esc closes the form. Fields with a ▾
button list the parts, pins, nets, signals or variables you can pick. Advanced (JSON) shows the command's
parameters as JSON text instead, for keys the form has no field for; the chapters show example parameters you can
paste there. A command without a form opens the JSON box directly.
The result appears in a window titled with the command's name: tables for losses, FFT harmonics, sweeps, Monte
Carlo runs and frequency responses (with small plots), and lists for checks and the circuit's parts. Numbers are
shown with SI prefixes (6.32 mW). Copy puts the table on the clipboard as CSV, with the full numbers. A result
of any other shape shows as JSON.
Where to go for depth
| Topic | Document |
|---|---|
| Build from source, tests, browser build | docs/development.md |
| Optimize, sensitivity, worst case | docs/workflows/optimize.md |
| Debugging a misbehaving circuit | docs/workflows/debugging.md |
| Picking real parts from a simulation | docs/workflows/part-selection.md |
| AI chat | docs/workflows/ai-chat.md |
| Motor-drive models and equations | docs/motor-drive.md |
| File formats | docs/formats/ |
| JSON control protocol | docs/control-protocol.md |
The in-depth documents are written in Traditional Chinese. Their command names, parameters and JSON examples are the same as here.