Voltecx is in beta. The macOS build comes first; Windows and Linux packages are still being tested.Beta. macOS comes first; Windows and Linux are still in testing. What's new
Documentation

Tutorials

Step-by-step lessons, each one a real run of Voltecx. Every picture is a screenshot of the current build, taken by a script that clicks through the same steps, and a test runs that script and checks its numbers, so a tutorial cannot drift from the program.

How to read them: a red box with a number marks what you click, in that order. ▶ Run is a button, File › Open Example a menu path and F5 a key (⌘ is Cmd on a Mac, Ctrl elsewhere).

First result in 5 minutes

New to power electronics or to Voltecx? Start in the app. The Start page shows a card, First result in 5 minutes. Click Start the guide and the Lessons view opens beside it with five steps. Each step names the command it waits for and moves on when that command runs, whether you click the step's own button, the toolbar or Properties:

  1. Open the buck example (file.openExample): 48 V in, 12 V out at 5 A.
  2. Run it (simulation.run): the scope shows the output voltage v(VOUT) and the inductor current i(L1).
  3. Read the waveform (scope.measure): v(VOUT) settles near 12 V, and i(L1) ripples by about 0.9 A peak to peak.
  4. Halve the inductor (circuit.setParam): set L1 to 50 µH.
  5. Run again (simulation.run): the ripple of i(L1) about doubles, to about 1.8 A, while v(VOUT) stays near 12 V.

Skip this step goes on without the command. Not now hides the card for good; the guide stays under Lessons in the activity bar. Tutorial 1 below walks the same circuit with pictures.

Learning path

# Tutorial You learn Time
1 Getting started: your first buck converter Open an example, simulate, read the scope, change a part, compare runs 10 min
2 Closed-loop buck: design the compensator The Design panel, a PI and its limit, a Type III compensator, the verification 15 min
3 Flyback: design the transformer Design Magnetics: core, turns, wire and gap from simulated currents 10 min
4 Boost and buck-boost The boost example, the Converter design task, a circuit from a template 15 min
5 Full-bridge inverter Sine PWM and dead time, the spectrum of the output, a fix from the Problems list 15 min
6 Three-phase motor drive Field-oriented control of a PM motor, the current and speed loop designs 20 min
7 Digital control and C code Sampling delay, PWM resolution and limit cycles, fixed-point coefficients, code generation 20 min
8 Thermal and losses Conduction and switching losses, the junction temperature, Design Thermal and a heatsink 15 min
9 Conducted EMI A CISPR 32 pre-compliance estimate, an input capacitor, a damped input filter inserted for you 15 min
10 Automatic design Design › Automate: a spec, the stages, the verdict and report, what to do when a gate fails 15 min
11 The Test Bench One test case at a time, waveforms against their limits, a fix and two runs compared 15 min
12 The AI assistant The chat, a proposal you accept or reject, the same assistant in a terminal 15 min
13 Python scripting A parameter sweep in the app, the same sweep from Python, and a matplotlib plot 15 min
14 Power factor correction A boost PFC: its two loops, line current against line voltage, power factor and THD, a load step, a design from the mains spec 20 min
15 LLC resonant converter Design › LLC Tank from a spec, the gain curve, the zero-voltage check over frequency, an input step and a light load 25 min
16 Grid-tie inverter PLL and current controller, line current against line voltage, THD and power factor; a three-phase dq loop from Auto Design, a PLL phase jump, active and reactive power steps, a grid sag 30 min
17 Modular multilevel converter The two arms of an MMC leg, the arm currents and the circulating current, the submodule capacitor voltages and their sorting, the output levels and THD, the circulating-current controller off against on 30 min
18 Fast isolation: a SiC half bridge on fiber Gate signals on fiber across the barrier, the link budget, the delay of each edge, the isolation chosen by the switch node's dv/dt against each part's CMTI, a CMTI failure in Problems 15 min
19 Tolerance and Monte Carlo A Monte Carlo of a flyback's output and peak current, the yield against limits, which part drives the spread, and a tighter part 20 min
20 Operating modes The intervals T1, T2… of one switching period on the timeline and the scope, the conducting path of each, playback limited to one mode, the table and one figure per mode for a paper 10 min
21 Dual active bridge Power set by a phase shift: the run against the textbook formula, what a larger shift costs in circulating current, the power sent back with a negative shift, a DAB designed from a spec 15 min
22 Long battery runs A real 4.5 Ah pack charged CC then CV over 1.5 hours in seconds with Simulation › Long Battery Run, then a 5 ms switching window at 30 minutes for the ripple 10 min
23 LED drivers Design › LED Driver on a hysteretic buck, the flicker of PWM dimming against IEEE Std 1789-2015, a boost driver dimmed by its current (analog) and by its duty (PWM) 15 min
24 Wireless power transfer A series-series link at 85 kHz: the tuned coils as a current source, the output and efficiency against the coupling, a detuned secondary and the bridge's power factor 15 min
25 Battery charger A buck charger's two loops: constant current held at its limit, the hand-over to constant voltage, the current taper, and a lower current limit 10 min
26 Solar charger with MPPT Perturb and observe on a boost charger: the climb to the array's peak power, the duty that dithers around it, half the sunlight and a step in the sunlight 15 min

Worked examples

  • Choosing the switching frequency with a sweep: a 48 V to 12 V, 10 A synchronous buck run at ten frequencies from 100 kHz to 1 MHz, with a data-sheet loss model and the inductor resized at each, to find the knee of the loss against inductor size. A script runs the sweep from the command line and pastes every number.

Questions: see the FAQ. The full reference is the manual.