Back to blog

Real-time simulation of matrix converters

Power Electronics

08 / 24 / 2026

Real-time simulation of matrix converters

Key Takeaways

  • Matrix converter accuracy depends on modelling current transfer during commutation, not just average voltage conversion.
  • Direct AC-AC control only proves itself when admissible states, source constraints, and timing limits stay active in the model.
  • Closed-loop validation earns trust when controller stress tests start with safe current paths and strict execution timing.

Accurate real-time simulation of a matrix converter depends on modelling commutation exactly as current moves between bidirectional switches.

Electric motors account for about 45% of global electricity use, so the quality of drive control matters far beyond a lab bench. Matrix converters attract attention because they remove the dc link and keep power conversion in one stage. That design puts the switching web in direct contact with source phases and load current. If your model smooths over commutation, you’re testing a cleaner machine than the one you’ll build.

A matrix converter links input phases with bidirectional switches

A matrix converter is an AC-AC converter that connects any output phase to any input phase through nine bidirectional switch cells. It converts frequency and voltage without a dc link, so source conditions and load current stay coupled at every switching instant.

Each output terminal selects one of three input phases at every instant. A motor drive makes that easy to picture. Output phase u can connect to input a while phases v and w connect to b and c, then the pattern shifts on the next switching event. That constant remapping is what sets output frequency and voltage.

The missing dc link matters because energy has no buffer between source and load. Supply distortion, source impedance, and load current direction stay visible to the switch network. You are modelling a live connection matrix with no settling stage after a switching event. That direct coupling is why matrix converters interest control engineers and frustrate simplified models.

Commutation makes matrix converters hard to model correctly

Commutation makes matrix converters hard to model correctly

Matrix converter commutation is hard to model because each transition must keep load current continuous while preventing an input phase short circuit. The required switch order depends on current direction and voltage polarity, so one gating command becomes a timed sequence with device constraints built in.

Take one output leg carrying positive current from input phase a. When the controller asks for phase b, current cannot vanish for even a short instant. A three-phase matrix converter has 27 switch state combinations. Each valid state still needs a commutation path that respects diode and switch conduction.

That is where simple models break. They jump from the old state to the new state and skip the transfer path. You’ll then miss the brief overlap or open interval that decides if your control law is safe. Hardware will expose those gaps through current spikes, source disturbance, or stalled current transfer.

“Matrix converter commutation is hard to model because each transition must keep load current continuous while preventing an input phase short circuit.”

Averaged models miss current transfer during switching events

Averaged models hide the events that matter most in a matrix converter because they replace physical switching with a smooth duty-cycle relationship. That approach is fine for broad power-flow studies, yet it won’t tell you if commutation order, dead time, or current direction logic is correct.

A speed controller for a spindle drive can look stable in an averaged model. The same controller can excite severe line current distortion once actual switch transitions appear, because the output voltage during commutation is neither ideal nor continuous. Gate delays, current polarity detection, and source phase crossing all shape the result. A smooth model erases those details before you ever test them.

You do not need full semiconductor physics for every study, but you do need event-level current transfer for control validation. That is the threshold many teams miss. They accept a model that predicts average torque and then wonder why lab tests show nuisance trips. The stand-in model answered a different question from the one the hardware asked.

Direct AC-AC control requires device level switching behaviour

Direct AC-AC control needs device-level switching behaviour because the controller acts on the converter state itself, not on a slow outer abstraction. If your modulation, predictive control, or space-vector scheme issues exact switch commands, the plant model must respond with exact commutation outcomes.

Predictive current control is a clear example. The algorithm evaluates candidate switching states and picks the one that best meets torque and input current targets for the next sample. That choice only makes sense when the simulated converter honours admissible states, transition timing, and current direction. A softened model makes every candidate look cleaner than it is.

The same issue appears in input power factor control and fault handling. A controller that seems graceful under averaged switching can still push the source into a forbidden path during an actual transfer. When you are validating direct control, detail is the minimum needed to trust the result. If the switch web is part of the control problem, it must be part of the plant model too.

Input source constraints shape every switching state

Input source constraints shape every switching state because the source phases are exposed to the converter at all times. A matrix converter cannot interrupt inductive load current and cannot short two source phases. Those two rules govern state selection, commutation order, and fault response.

An input filter or grid emulator will make these limits visible fast. A weak source with some inductance can magnify a poor transfer sequence into overvoltage or ringing. A stiff source can force a large circulating current if two phases overlap during commutation. You are never choosing an output voltage alone. You are choosing a current path through the source.

  • Never connect two input phases to one output leg at the same instant.
  • Never open a path that is carrying inductive load current.
  • Current direction must select the commutation sequence.
  • Zero-crossing detection must tolerate measurement noise.
  • Source impedance must be part of the test case.

Those checks sound basic, yet they decide model usefulness. Teams often wire the converter logic first and add source constraints later. That order hides the failure modes that make matrix converters difficult. If the source is idealized too far, your controller can’t prove much.

How to simulate a matrix converter without hidden shortcuts

You will simulate a matrix converter correctly when the model preserves admissible switch states, executes timed commutation, and includes source and load dynamics in the same loop. Anything less can still support concept work, yet it will not validate the controller that will run on hardware.

A practical workflow starts with the switching matrix, current direction logic, and a source model with believable impedance. Load the converter with an induction motor or an RL network that forces current continuity, then inject line imbalance, command steps, and sensor delay. That setup reveals commutation trouble before you spend time tuning outer loops.

Model checkpoint What the test will hide if you skip it
Admissible states are enforced at every sample. The controller will appear to choose switch patterns the hardware cannot use.
Timed commutation reacts to current direction. Short circuits and open current paths will disappear from the result.
Source impedance and filtering stay active. Input current quality will look cleaner than the bench will show.
Load current remains continuous through switching. Torque ripple and voltage error will look smaller than they are.
Execution timing matches the closed-loop sample rate. An offline-stable design will appear ready long before it actually is.

The table gives you a checkpoint rather than a recipe. Some studies can simplify devices, yet none can skip current transfer if the goal is control proof. It’s a way to match model detail to the question you’re asking. For a direct AC-AC converter, that question stays tied to switching truth.

Safe commutation logic must run in real time

Safe commutation logic must run in real time because the controller, plant, and protection each react to the same microsecond-scale event chain. If the simulator slows, reorders events, or delays current polarity updates, you stop testing converter behaviour and start testing the scheduler.

A hardware-in-the-loop bench makes this concrete. The control processor issues a state change, the simulator executes the transfer sequence, and protection logic checks current and voltage within the same closed loop. OPAL-RT fits this kind of test because the commutation model runs in real time instead of hiding behind an averaged stand-in. That lets direct AC-AC control code face the same switching logic it will meet in the lab.

Timing discipline matters as much as electrical detail. A beautiful waveform from an offline model doesn’t prove that your interrupt schedule, sensor latency, and gate sequencing are compatible. Once the loop runs at speed, weak assumptions surface quickly. That is exactly when you want the model to be strict.

Validation starts with current path checks under controller stress

Validation starts with current path checks under controller stress because matrix converter failures show up first in switching instants and current transfer. If you want trustworthy results, start with admissible states, commutation timing, and source constraints before you judge torque, power factor, or waveform quality.

A solid test case pushes the controller into awkward moments. Step the speed command near an input voltage zero crossing. Force a brief sensor sign error on load current. Add source imbalance while the converter is regulating torque. Each case asks the same blunt question: does current still have a safe path through the switch matrix.

That standard is what makes matrix converter simulation useful instead of comforting. OPAL-RT matters here for one practical reason: it lets engineers validate commutation in real time, so direct AC-AC control is checked against the converter they plan to build. Clean judgment starts there, and it stays tied to execution from first model to lab result.

“That standard is what makes matrix converter simulation useful instead of comforting.”