Back to blog

Device-level and switching function converter models compared

Power Electronics

08 / 31 / 2026

Device-level and switching function converter models compared

Key Takeaways

  • Converter model fidelity should follow the test objective, because each level keeps or removes a specific set of electrical effects.
  • Averaged models are strongest for control development, switching-function models fit waveform and protection studies, and device-level models are best for stress and loss.
  • A single workflow that supports all three levels reduces rework and keeps validation focused on evidence instead of model rebuilding.

Your model should only be as detailed as the claim you need to prove.

Converter validation slows down when teams treat fidelity as a test requirement. Electric car sales exceeded 17 million in 2024, which means more traction inverters, onboard chargers, and grid interfaces must be checked. Better answers come from matching the model to the study, then raising fidelity only where switching events, losses, or device stress matter. Device-level, switching function, and averaged models answer different questions. A switching-function model runs fast because it drops semiconductor physics, while a device-level model keeps those effects and pays the runtime cost.

Your study goal sets the required model fidelity

Model fidelity should match the engineering question, because each converter model removes a different layer of physics. Averaged models show slow plant response and control interactions. Switching-function models preserve gate timing and waveform structure. Device-level models keep semiconductor behaviour that shapes stress, loss, and fault transients.

  • Choose an averaged model for loop tuning.
  • Choose a switching-function model for ripple and harmonic checks.
  • Choose a device-level model for loss and edge effects.
  • Raise fidelity near a protection event.
  • Keep the simplest model that answers the test.

A bidirectional onboard charger shows the pattern. Early control work needs line-frequency dynamics, battery-side power flow, and current-loop bandwidth, so an averaged model fits. Dead time, PWM interaction, or common-mode current push the study to switching. Thermal margin, diode recovery, or turn-off overshoot push it to device level. That sequence keeps your effort tied to evidence.

“Model fidelity should match the engineering question, because each converter model removes a different layer of physics.”

Device level models preserve semiconductor behaviour through each transition

Device level models preserve semiconductor behaviour through each transition

Device-level models simulate each semiconductor state transition and the electrical effects that shape current, voltage, and loss. They answer questions about turn-on, turn-off, reverse recovery, diode conduction, and switching energy. You use them when edge physics changes the result. You pay for that detail with smaller time steps and more compute.

A silicon carbide half bridge gives a concrete example. Gate resistance, loop inductance, and device capacitances affect overshoot and ringing at turn-off. A device-level model can show the drain-source spike, current tail, and energy dissipated during the event. Those details matter when clamp design or thermal margin is tight. A simplified switch will miss those waveforms even if average current looks right.

This fidelity also helps when you’re validating snubbers, soft-switching intervals, or body-diode conduction during dead time. The tradeoff is scale. A detailed model that works for one converter leg can become heavy when you add a motor, a grid model, and a full control stack. That’s why device-level work belongs where device physics sets the answer.

Switching function models keep commutation timing without device physics

A switching-function model preserves switch commands and commutation sequence while replacing semiconductor physics with simplified switching behaviour. You still see PWM patterns, dead-time distortion, and harmonic content. You also keep current ripple and phase relationships. You won’t capture charge storage, reverse recovery detail, or edge energy at each transition.

A three-phase motor inverter fits this level well. You can check line current distortion, modulation limits, bus ripple, and controller interaction using actual gating. You still see duty-cycle saturation and phase-voltage shifts around zero crossing. Those effects matter for control validation and filter sizing. They don’t require full semiconductor physics.

Switching-function models are often the best middle ground when you need event timing but not junction detail. You keep enough structure to validate modulation, current ripple, and harmonic behaviour under load steps or regenerative operation. Runtime stays manageable when the converter sits inside a larger plant model. That balance makes this the practical default for many hardware-in-the-loop benches.

Averaged models remove switching to expose slow dynamics

An averaged converter model replaces switching events with their cycle-averaged effect on voltages and currents. It removes carrier ripple so you can focus on plant response, outer loops, and operating-point shifts. This is the fastest way to study behaviour over milliseconds to seconds. It’s also the clearest way to see control structure.

A boost stage in a battery charger shows why this matters. Duty cycle changes map directly to output voltage and inductor current without the visual noise of a switching carrier. That makes start-up sequencing, bus regulation, and battery current limiting easier to tune. You can run long transients and inspect controller gains without sorting through irrelevant high-frequency ripple.

Study need Model level that fits best What you keep in view What you set aside
Current-loop tuning across operating points Averaged modelling keeps the plant clear. You see bandwidth, saturation, and operating-point shifts. You lose ripple and edge timing.
Harmonic content from PWM modulation Switching-function modelling preserves commutation timing. You see pulse structure, dead time, and ripple. You lose charge and recovery physics.
Short-circuit trip timing in one converter leg Switching detail is the minimum useful fidelity. You see the transient protection logic must catch. Average behaviour no longer helps.
Turn-off overshoot and snubber sizing Device-level modelling keeps edge physics intact. You see parasitic effects, stress, and energy per event. Runtime grows and system scale shrinks.
Efficiency mapping near thermal limits Device-level checkpoints give credible loss values. You see conduction and switching loss under load. Simplified switches hide edge energy.

Control loop development starts with an averaged model

Control design should start with an averaged model because loop structure, bandwidth, and saturation limits show up clearly once switching ripple is removed. You can tune current, voltage, or power loops faster. You also avoid mistaking carrier ripple for instability. That keeps early control work focused.

A grid-tied inverter makes the benefit obvious. You can tune the inner dq current loop, place the outer direct-current bus loop on top, and inspect cross-coupling terms cleanly. Phase-locked loop settings, feedforward terms, and anti-windup limits stand out without the switching carrier. That visibility shortens the path to a stable controller and reduces false alarms.

Higher fidelity still has a place later in the sequence. Once loop gains, limiter logic, and operating ranges are settled, a switching-function model shows how PWM delay, sampling, and dead time shape the controller. That step catches practical issues without discarding proved control work. Device-level detail comes last, when switching physics changes the controller outcome.

Protection studies need switching detail near each event

Protection validation needs switching detail whenever trip logic depends on edge timing, current slope, or short transients. Averaged models smooth away the very behaviour that overcurrent, desaturation, shoot-through, and blanking logic must detect. A switching-function model is often the minimum useful fidelity. Device-level detail matters when device physics changes the trip path.

A motor inverter short-circuit test is a good example. Current can rise in microseconds, and the controller, gate unit, and protection logic each react on a different time scale. A switching-function model keeps states, dead time, and bus interactions visible, so you can see the event the fault logic will face. That’s enough for many overcurrent and blanking studies.

Some cases need more detail. Desaturation thresholds, diode recovery, or active clamping can alter current and voltage at the instant of protection. A device-level model captures those effects and shows if a nuisance trip or delayed trip comes from the hardware. That distinction matters when the same protection code works on one device stack and fails on another.

Loss estimation benefits from device level detail

Loss estimation becomes credible when the model retains the voltage and current waveforms each device actually sees during conduction and switching. Average and switching-function models can rank operating points, but they cannot fully capture edge energy, reverse recovery, or temperature-sensitive device behaviour. That makes device-level checkpoints the safer choice near efficiency or thermal limits.

A silicon carbide traction inverter illustrates the issue. Two operating points can carry the same average current, yet one will switch at a bus voltage and phase angle that produces higher turn-off energy. Thermal margin, cooling plate size, and derating policy depend on that difference. The U.S. Department of Energy notes that power electronics are expected to process about 80% of electricity by 2030. That makes credible loss work more than reporting.

The best workflow uses detail selectively. The eHS solver in OPAL-RT lets you move from a switching-function efficiency sweep to a device-level checkpoint without rebuilding the rest of the test case. You keep the same controls and plant interfaces, then spend heavy compute only where loss confidence matters. That approach produces tighter answers than running a simplified model everywhere.

One platform should support each fidelity level

The best workflow keeps averaged, switching-function, and device-level models on one execution path so you can raise fidelity only where evidence requires it. That keeps controls, plant, and test interfaces consistent. You spend time answering the engineering question instead of rebuilding the model stack. Consistency across phases is what turns model choice into reliable validation.

A direct-current to direct-current converter programme shows the pattern. Early work focuses on start-up, current limiting, and bus regulation with an averaged model. Mid-phase tests add a switching model to inspect ripple, timing, and sampled-control interaction. Final checks move part of the case to device level for loss, overshoot, or protection edge cases. The study goal stays stable while fidelity rises only where the proof requires it.

That discipline leads to better engineering judgement than defaulting to the most detailed schematic. A platform such as OPAL-RT fits that workflow because it supports the full fidelity ladder in real time and helps teams keep one test path. You end up with faster iteration, fewer model rewrites, and results that match the question you needed to answer.

“You spend time answering the engineering question instead of rebuilding the model stack.”