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
Included inAcademicProEnterpriseTrial
ModuleParts & ICs
A phase-shifted full bridge exported from Voltecx: the isolated voltage sensor sits on the isolation barrier, the dashed line, with the control on the primary side.
A phase-shifted full bridge exported from Voltecx: the isolated voltage sensor sits on the isolation barrier, the dashed line, with the control on the primary side.

Every signal that crosses an isolation barrier goes through a part with limits of its own: an optocoupler whose gain drifts with current, temperature and age, a digital isolator with a delay and a slope it survives, an isolated amplifier with its bandwidth and clipping, a gate driver with its UVLO and peak current. Voltecx places each of them as a module with the data sheet's pin names and numbers, simulates it inside the switching circuit, and checks it against what the circuit does to it. Then it sizes the gate drive, splits the power and control grounds on the schematic and lists the clearance and creepage the barrier needs. Items marked in the next release are merged for the next beta and are not in Voltecx 0.9.0 yet.

Isolating ICs as modules

ic.place puts an IC into the circuit as a subsystem with named pins (unconnected, to be wired with circuit.connect), in one undo step. A preset places a real part: its data-sheet values and pin names, each value cited to its table or figure, and ic.describe lists the parameters with their unit, range and source. The models are behavioural, built from the numbers that matter to a power stage, not the vendor's transistor-level model. The isolating ones:

IC (name) Default part What it models Presets
optocoupler Vishay TCET1100 LED, current transfer ratio (CTR) over LED current and ambient temperature, phototransistor pole, saturation Sharp PC817, Lite-On LTV-817, Vishay SFH617A
digitalIsolator TI ISO7710 Input thresholds that follow VCC1, 11 ns delay, push-pull output, UVLO, default output
isolatedAmplifier, isolatedAmplifierAmc1302 TI AMC1301, AMC1302 Gain, bandwidth, signal delay, clipping, differential output
isolatedVoltageSensor TI AMC1311 A resistive divider into an isolated amplifier TI AMC3330
gateDriverIso TI UCC21756-Q1 UVLO, propagation delay, source and sink resistance, DESAT protection, soft turn-off, latched fault TI UCC21750, Infineon 1ED3491MU12M and 1ED3124MU12H, Skyworks Si82391CB

The optocoupler's CTR is the data sheet's curve, not one number. ctrScale moves the whole curve to another CTR bin or to an end-of-life value, and tAmb applies the curve's temperature factor, so a loop can be checked at the bin's highest, lowest and aged gain. A placed PC817, for example, carries a CTR of 149 % at 1 mA and about 276 % at 5 mA read off the Sharp data sheet (sheet OP18002EN). Every IC template.

Feedback across the barrier

An isolated supply regulates on its secondary and crosses the barrier with a TL431 and an optocoupler. File › Open Example › Isolated › Flyback with TL431 and optocoupler (flybackTl431) closes a 12 V flyback's loop through both, and holds 12.06 V at full and half load in both solvers. The TL431 model regulates down to zero cathode current, as a real one does not: circuit.problems {"run": true} warns when it carries less than the 1 mA its data sheet asks for during more than 20 % of the second half of the run.

For an isolated flyback, automatic design sizes this feedback as its isolatedFeedback stage: a TL431C, a TCET1100-family optocoupler bin and a type II network into a UC3843-class peak-current-mode controller, checked at the bin's highest, lowest and aged CTR. Automatic design.

CMTI checked against the simulated dv/dt

In the next release. A SiC or GaN switch node moves at 50 to 200 V/ns, and an isolator whose common-mode transient immunity (CMTI) is lower lets a glitch through: a wrong logic level, a spurious gate pulse. Every part that crosses a barrier (optocoupler, highSpeedOpto, digitalIsolator, gateDriverIso) now measures the slope of the voltage across its own barrier during the run, over a 1 ns window, short enough not to average away a 4 ns edge. While the slope is above the part's cmti rating, the output glitches for tGlitch, and after the run the Problems tab lists isolation.cmtiExceeded with the part selected, for example "CMTI exceeded: 120 V/ns > 100 V/ns rating on U1".

What the tests show, in both solvers:

  • A digital isolator at its ISO7710 default (100 V/ns typical, data sheet SLLSER9E) holds its output when its far ground jumps 600 V in 7.5 ns (80 V/ns), and drops it for 20 ns when the same 600 V takes 5 ns (120 V/ns).
  • The UCC21750 preset (150 V/ns minimum, data sheet SLUSD78C Table 6.8), with its input held low, puts a spurious pulse of more than 2 V on the gate when 800 V hits its COM pin in 4 ns (200 V/ns), and less than 0.1 V in 6 ns (133 V/ns).

Only cited ratings are filled in. The TCET1100 and UCC21756-Q1 defaults have no CMTI in Voltecx yet, so their cmti is 0: the slope is measured, nothing glitches and nothing is reported until you enter your part's value. The glitch width (20 ns) is an assumption, because data sheets give CMTI as a pass or fail limit, not the shape of the failure.

A high-speed logic optocoupler

In the next release. highSpeedOpto is the 10 MBd class of logic-output optocoupler used for PWM and fault signals: an LED threshold current, separate high-to-low and low-to-high delays (so a pulse comes out longer or shorter by the pulse-width distortion), an open-collector or totem-pole output, output capacitance, a supply range and a CMTI. No data sheet of this class has been read into Voltecx yet, so every default is labelled "typical, user must set": set them from your part. Its optoLink application circuit (circuit.applicationCircuit {"ic": "highSpeedOpto", "topology": "optoLink"}) drives the LED with a square wave across a 100 V ground offset.

In the next release. An isolating IC's symbol draws the barrier as its boundary: the first side's pins on the left, the second side's on the right, and a dashed line through the box. Only the drawing changes, never the netlist.

Gate drive

design.gateDrive (Design › Design Steps › Gate Drive) designs the gate drive of every switch in the circuit. A switch whose reference is off ground is high side and pairs with the switch below it. Each group gets a driver from a catalogue of 20 TI and Infineon parts, from UCC27211, UCC27517 and UCC21520 to 1EDN7550B and IR2110, every number from the cited data sheet: a low-side driver for a lone low-side switch, a half-bridge driver with bootstrap for a high-side one, an isolated one with isolate: true, chosen by supply, UVLO, bus voltage, peak current and the shortest propagation delay. It then sizes:

  • the turn-on and turn-off gate resistors, for the driver's peak current or for the edge time you ask for (TI SLUP169);
  • the bootstrap capacitor and the VDD bypass, rounded up to E6 (TI SLUA887A);
  • the drive power, and the dead time against the driver's delay matching plus the turn-off edge.

A data sheet's gate charge is measured at one gate voltage, so the command scales each switch's Qg to the voltage that really drives it: a CSD17573Q5B driven at 10 V needs 111 nC, not the 49 nC its data sheet gives at 4.5 V. It also checks VDD against each device's VGS(max), and a negative off-voltage against VGS(min). It changes nothing in the circuit; automatic design runs it as its gate-drive stage and puts the driver on the bill of materials.

Power ground and control ground

schematic.splitGrounds (Circuit › Split Power and Control Ground) splits the ground on the schematic into the power return PGND (the hot loops and the power stage) and the control return AGND (parts with a ground pin whose other nets no switch, diode, winding or source touches, such as a feedback divider's foot). Every ground pin moves to its net, each net gets a ground symbol and rail labels, and a 0 Ω link NT1 joins them at one point, in one undo step. On flybackTl431 it puts Vin, S1, Cy, Rbleed and Vpull on PGND and Cpole, Mfb, Rsn and U3 on AGND. The simulation is unchanged, because both nets still meet at ground; file.exportKicad then writes PGND and AGND apart with NT1 as a net tie. "apply": false only proposes the split.

Clearance and creepage across the barrier

design.safety (Design › Design Steps › Safety) finds every isolation barrier (the windings of a transformer or coupled inductor, and the parts you list in barrier, such as an optocoupler, an isolated driver or a Y capacitor), and gives every pair of nets across it, and from each side to protective earth, its working voltage: peak and RMS from the last simulation, else from the spec. It then applies the clearance and creepage method of IEC 62368-1:2018 for basic and reinforced insulation: procedure 1 at the peak, procedure 2 with the mains transient on the input side, the altitude factor above 2000 m, and creepage from the RMS voltage, pollution degree and material group.

Voltecx has no licensed copy of the standard, so its tables are empty: every distance comes back null, missing lists each table cell the result needs, and verify fails until they are filled. What you get today is the barrier, its sides, the working voltages and the list of lookups to make in your own copy. On flybackTl431 it finds the transformer's barrier with 353 V peak and 16.0 V RMS across it and lists 39 table cells to look up. The reply also lists what the transformer construction needs (triple-insulated wire, tape, margins), and file.exportKicad adds a note per barrier. It is not a safety approval.

In the next release. An optocoupler, isolated amplifier or digital isolator placed with ic.place joins each of its sides on its own, without being listed in barrier. An isolated design from automatic design keeps its secondary on its own ground (sgnd, with its own symbol), joined to the primary only through the transformer, the parts made to cross the barrier and a documented 10 kΩ simulation tie, and draws the barrier as a dashed line.

From a script

Place a PC817, size the gate drive of the buck example, then check the barrier and the grounds of the TL431 flyback:

powercraft-cli run --cmd file.openExample --params '{"name": "buck"}' \
  --cmd ic.place --params '{"name": "optocoupler", "preset": "PC817", "instance": "U2"}' \
  --cmd design.gateDrive --params '{"vdd": 12}'

powercraft-cli run --cmd file.openExample --params '{"name": "flybackTl431"}' \
  --cmd simulation.run --params '{}' \
  --cmd design.safety --params '{"pollutionDegree": 2, "materialGroup": "IIIb"}' \
  --cmd schematic.splitGrounds --params '{"apply": false}'

Know the limits

The ICs are behavioural models from data-sheet numbers, not the manufacturer's transistor-level models, and a default marked assumption is the model's guess, not a data-sheet value. CMTI is checked only for parts whose rating is set. The clearance and creepage distances wait for the standard's tables, and nothing here is a safety approval or a certification. The IC library and design.gateDrive are in the Parts & ICs licence module, and design.safety in EMI & Layout; see licences.

More in the manual: behavioural ICs, CMTI and feedback across the barrier, and the design steps, gate drive and safety among them. Related pages: models and parts, design tools, EMI.