⬇ Download Markdown · ⬇ Download LaTeX · ⬇ original · view original · CSV: table 1, table 2
2024 IEEE Energy Conversion Congress and Exposition (ECCE)
| 979-8-3503-7606-7/24/$31.00 ©2024 IEEE | DOI:
10.1109/ECCE55643.2024.10860273
| Nicolas Voyer | Akinu Nakabayashi | Ryota Kondo |
|---|---|---|
| Mitsubishi Electric Research and | Advanced R&D Center | |
| Development Centre Europe | Mitsubishi Electric Corporation | |
| Rennes, France | Amagasaki, Japan | |
| [email protected] | [email protected] | [email protected] |
Amagasaki, Japan [email protected] Abstract—This paper introduces a method that reaches the closed-form expression of waveforms in linear electronic circuits, enabling fast and accurate simulations. The method is automated for circuits described with Modified Nodal Analysis (MNA) formalism, that is easy to reach with collection of Kirchhoff laws. The method produces same closed-form expressions of waveforms as in State-Space Analysis (SSA), expressed as sums of weighted exponential functions of time, driven by characteristic frequencies of the circuit. However, the proposed method does not use SSA formalism and can therefore be applied to any circuit. The precise formulation of waveforms enables its computation in a single step with ultimate accuracy and constant CPU effort. Significant acceleration ratio was verified on DC/DC circuit by comparison with commercial simulation tool. The proposed method can effectively reduce the calculation effort at the design and verification stages of applications which need loss analysis over long mission profiles, like mobility applications.
Keywords— Simulation, Electronic circuits, Modified Nodal Analysis, State-Space Analysis
Simulation-based design of power electronic converters involves a very large number of simulations at various timescales, as key performance indicators (KPI) such as losses, temperature, must be verified over a large design space of circuit and control parameters. Each design must be verified at (or between) many operating conditions met during the desired mission of the converter. To deal with such a high number of simulations, the execution speed of simulation becomes crucial. Speed of execution and the related computing resource is also critical for other applications (e.g. virtual twin, model-predicted control, simulation/hardware-in-the-loop), which must run simulation faster than in real-time, in parallel to the real converter.
The speed of execution generally relates to the level of accuracy. In a first class of simple circuit solvers, circuit waveforms are assumed linear in time over small, fixed simulation step [1]. Accuracy is also affected by the choice of numerical integration method (e.g. Trapezoidal, BackwardEuler, Runge-Kutta, …). The simulation step must be carefully chosen to control inaccuracies brought from the linearity assumption. While the choice of small simulation steps improves the accuracy of simulation, it increases the number of timesteps for a given simulation period and negatively impacts the execution speed.
979-8-3503-7606-7/24/$31.00 ©2024 IEEE Ryota Kondo Advanced R&D Center Mitsubishi Electric Corporation
Amagasaki, Japan [email protected] To reduce the number of timesteps, a second class of circuit solvers use variable simulation steps, which are determined according to a given accuracy target [2]. As example, simulation steps are small during switching transients, and then relaxed after the ringing oscillations resulting from the switching. The reduced number of timesteps after the switching significantly accelerates the speed of simulation.
A third class of circuit solvers [3-4] use polynomial approximation of waveforms with time and both simulation step and polynomial order are adapted to reach desired accuracy with minimal complexity. This strategy can help increasing the simulation step for a given accuracy and further reduces the number of timesteps. Additional waveform coefficients must however be computed, negatively impacting the execution speed, but this can get compensated by the reduction in number of timesteps. This approach introduces the possibility of eventdriven simulation, where the simulation step is enlarged to the interval between consecutive simulation events (sampling, switching), skipping the simulation of circuit waveform at intermediate timesteps for the sake of accuracy.
All above strategies are applicable for any circuit using Modified Nodal Analysis (MNA) [5], where electronic circuit is described by the collection of Kirchhoff laws, relating the voltage waveforms of each circuit node with the current waveforms flowing in each branch of the circuit through a Laplace transfer function.
These strategies are equally applicable to circuits described with State-Space Analysis (SSA) formalism, where a single matrix relates the vector of circuit states to its derivatives and to power sources. The state vector contains waveforms driving the storage of energy in the passive components of the circuit, (e.g. capacitor voltage, inductor currents). For SSA formalism, a closed-form expression of state waveforms can be precisely formulated as a weighted sum of exponential functions of time [6-7], using eigen decomposition of the matrix. SSA formalism is thus very attractive for the simulation of electronic circuits, as waveforms can then be directly computed at any time event of interest (single-step simulation), without any need to simulate intermediate timesteps, at constant processing effort and without any impairment on accuracy.
The fixed or variable-order polynomial formulation used in MNA can be viewed as truncated Taylor-series approximation of the perfectly precise SSA exponential formulation. The 3825
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
applicability of SSA exponential formulation to any electrical circuit is however limited, as for circuits with nonlinear The state vector #⃗ also relates to the waveform vector ⃗
Other missing relation terms may be found through recursive identification of polynomial terms arising from (2).
builds a linear system with ? + $ relations with ? + 1
unknowns. The apparent lack of relations can be resolved by neglecting highest order, and by setting − $ terms to zero in the last 5 6@ ⃗ expression.
The accuracy is driven by the term >⃗ 9 , which is a function of approximation order A and of step size and is approximated as:
The complexity of the linear system to be inverted increases with the approximation order, so that added complexity brought 3826
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
by higher order approximation does not guarantee a significant complexity gain compared with using smaller steps.
initialisation Get
In SSA framework, the state vector relates to its derivatives according to:
(12) where {P K } K8 Q are eigenvalues of matrix E FFG identified as characteristic frequencies of electrical circuit, and ⃗ K , ≤ $ are corresponding eigenvectors of matrix E, i.e. E FFG ⃗ K = P K ⃗ K .
(13)
(14) where S is a matrix gathering eigenvectors of matrix E FFG . The weight vector J⃗ is thus determined from (13), enabling the identification of state vector #⃗ at any time instant with (12).
Using (2), (4) and (12), considering that is of full rank, we ultimately reach the expression of full waveform vector:
(15)
(16)
The formal solution (15) brought by SSA thus allows the computation of waveforms at any time with perfect accuracy. In contrast to former MNA solver, SSA has great benefit of absence of any approximation, and a repeatable CPU complexity that is independent of initial conditions of the circuit.
Translating MNA equation system into SSA is however not a trivial task and could not yet be generalised especially for circuits with a large number of circuit branches.
The Fast Circuit Solver (FCS) presented in this section addresses static circuits, composed of RLC components and variable power sources.
Fig. 1 depicts the general workflow of the proposed fast circuit solver. An initialization stage gathers computation steps that are independent of circuit state. This includes the identification of MNA matrices and , a triangulation of the Get Get and Get (11) where E FFG is a full-rank I × I matrix, and H ⃗ is representative of the input power source vector ⃗ . From (11), and assuming constant power sources H ⃗ = H ⃗ , the solution elegantly comes as
Step simulations Get and Get Fig. 1. Workflow of proposed Fast Circuit Solver related Laplace matrix E X G Y using two Gauss-Jordan elimination steps, the identification of a vector characteristic frequencies Z ⃗ , the determination of a filter matrix ,[ of input power sources, and the determination and the inversion of a matrix ,\ of weights of transfer functions.
The simulation step determines a vector S ⃗ of filtered functions of power sources, a weight vector ] ⃗ , and characteristic functions of time ^ ⃗ and finally the circuit waveforms _ ⃗ at any instant t from the initial conditions of passive components _ ⃗ 0
. The complexity of the simulation step is independent of the time at which the waveforms must be computed.
MNA equation (2) can get rewritten as
where E X G Y = + Y is a matrix of transfer functions, and Y is the Laplace operator: Y 6 = 6 a 6 . Considering E X G Y is of full rank, we shall apply a first Gauss-Jordan elimination step. Using pivotal matrix b Y , we get
elimination step is then applied. Using upper triangular matrix b i Y
, we get
3827
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
1 2 successive
{ { } }
Nevertheless, it is possible to always avoid derated cases, simply adding artificial (large) resistances ˆ ‰ in parallel to 3828
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
capacitors, and (small) in series to inductors. With an appropriate choice of each resistance ˆ ‰ , the resulting time constants Š ! = ˆ ‰ ‹, Š " = Œ/ˆ ‰ is significantly higher than the simulation step time (e.g. switching period), and eventually the associated inaccuracy brought by adding artificial resistance is limited to a desired level /Š ! .
The weight vector J⃗ is finally identified as
It should be noted here that the matrix ,\ to get inverted is independent of initial circuit conditions and of dimensions $ × $
, equal to that of SSA formulation, and of much reduced complexity compared with the × dimension of matrix of initial MNA problem expressed from (9).
Some derated cases may occur when ,\ is singular and cannot get inverted. This occurs as example when capacitors are connected in parallel, or inductors are connected in series and therefore share the same transfer function o K Y . Such derated case can get avoided by simplification of circuit, merging the parallel capacitors or the series-connected inductances into a single component.
Once weight vector J⃗ is identified, the waveform vector is identified from (26) as
Modern power electronic designs generally also comprise switching devices, such as diodes or transistors. In these circuits, the circuit state changes together with the conduction or the blocking state of its switching components.
After switching transients, the circuit derates into RLC subcircuits, which can be analyzed with the proposed FCS method. Switching transients carry information on switching losses, and occur at nanoseconds scale, especially for wide bandgap devices (SiC, GaN). This time scale is generally small with respect to the precision of pulse-width modulation (PWM) (few hundreds of nanoseconds), and to the deadtime (few microseconds or less) applied to top and bottom switches of half bridges. Analytic model of switches comprises ideal switches, parasitic RLC components, waveform-controlled power source and e.g. non-linear Miller or output capacitance, that impact switching transients. On the other hand, simulations of switching transients involve nanosecond-scale precision, which is hardly compatible with the objective of reduction of CPU effort for simulation.
Using ideal switches in the simulation can relax the simulation effort, as switching losses can be later be accounted for using loss maps, where switching losses are functions of arm current and bus voltage, of gate circuit parameters (e.g. gate resistance, low/high gate voltages) and/or of junction temperature. Such maps are ideally tabulated using measurements or simulation results of double pulse test method.
Active devices (IGBTs, MosFETs) being modelled as ideal switches, the circuit topology evolves dynamically according to the conduction state of circuit switches, as shown in Fig. 3 for a simple DC/DC boost circuit example. For a given switching state, the circuit derates into one or several independent subcircuits built of only passive and power source elements. Non-conductive switches get removed from the circuit, and conductive switches are replaced with shortcut current paths.
At initialization stage, FCS initialization is run for all subcircuits of all possible states of the circuit. The associated relatively CPU-consuming tasks are realized only once.
The final expressions (37) and (38) are very similar to (15) and (12), leading to the same analytical solution, built with identical exponential characteristic functions: they are both equally precise, for any time instant, and without approximation / truncation of polynomial solution.
With the proposed MNA method, the closed-form expression of waveform was reached without identification of SSA framework, nor eigenvector analysis of SSA matrix.
a) b)
c) d)
Fig. 3. Decomposition of boost converter circuit (a) into disjoint subcircuits for each half-bridge state: (b) bottom-side connected, (c) disconnected, (d) topside connected 3829
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
At simulation stage, the circuit simulator must operate in coordination with one or more circuit controller. Circuit controller takes as input some waveform data sampled at precise ADC sampling events, and then determines the timing of next switching and next ADC events. As an example, the circuit controller decides switching events according to PWM, by comparison of a triangular PWM carrier and desired modulating voltage, and the timing of ADC events are aligned with the edges of PWM carrier.
The circuit simulator applies fast circuit solver individually for each subcircuit concerned by the present state of the circuit. The waveforms of the circuits are partitioned across subcircuits and determined by each solver according to the initial conditions of the passive circuit component (at the time of entering the circuit state), and to the timings of ADC and next switching events. At the effective time of switching, the state of the circuit is updated according to the controller output, leading to different active subcircuits. The solvers associated with these subcircuits are then used for the following simulation step, until a new switching event occurs. The initial state conditions #⃗ 0 of the circuit is used to estimate weights J⃗ from (36). For subsequent time events following the change of circuit, the state waveforms #⃗
is determined using (38). Optionally, all other circuit waveforms ⃗ may get computed using (37).
In circuits composed of half-bridges, circuit controller must implement a deadtime between the activation periods of top and bottom switches to avoid short circuit across top and bottom switches during the switching transients. During deadtime, the half bridge current continues to flow in either body diode or freewheeling diodes. Which (top or bottom) diode conducts is determined by the direction of current. This behaviour is known as Continuous Current Mode (CCM). Depending on the sign of current, CCM can be modelled as instant switching or switching with a simple delay brought by the deadtime as seen in Fig. 4.
During deadtime though, the half bridge current may reach zero value, an event at which the circuit enters Discontinuous Current Mode (DCM). In DCM, top and bottom switches are both in blocking state, meaning that the circuit is no longer in the initial state, and not yet in its final state. The mid-point of the half bridge is simply disconnected from both top and bottom points due to combined interlocking of body/forward diodes.
Delayed Switching DCM type I Control event Instant Switching DCM type II Deadtime event Zero-crossing event
Fig. 4. Effective timings of switching during deadtimes
The general workflow of circuit simulation is not much affected by the presence of deadtime, CCM and DCM, it only needs to simulate waveforms at events additional to those defined by the controller. In Fig. 4, control time events for switching are followed by additional end-of-deadtime events. The effective timing of state switching is dictated by the direction of current simulated at the control time event, as one bypass diodes of the half bridge can immediately start conduction.
As shown in Fig. 5, if the current reverses sign between control and deadtime events, another zero-crossing (ZC) event is added, at which circuit enters another state, where both top and bottom switches are disconnected. This state is short lived, as effective switching then gets effective at the end of the deadtime. The timing of zero-crossing event is determined from estimated currents at switching and deadtime events, assuming that the current behaves linearly at this time scale, and under assumption that diode would be still conducting while polarised.
In our application example shown in Fig. 6 and table I, a bidirectional DC/DC boost chopper is fed by a battery and aims at delivering higher DC voltage to a load with regeneration capability. The load is symbolised as a controllable current source.
The circuit controller decides the activation timing of the unique half bridge to steer the DC bus voltage to some predetermined DC bus voltage reference. Switching frequency
3830
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
TABLE I P ARAMETERS FOR VERIFICATION OF SIMULATION CONCEPT
Fig. 6. DC/DC converter circuit and waveforms of passive components used for the verification of simulation concept 150
100
50
0
-50
-100
-150
0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 0.18 0.2
Time (s) Fig. 7. Reversal of controllable load current source
was set to 5kHz, and controller operates at 10 kHz, with DC bus voltage ADC sampled at both edges of PWM carrier. The duty cycle of the half bridge is controlled by an integral regulator to steer the capacitor voltage to the desired regulation voltage. As shown in Fig. 7, at = 0.05Y, the load current source ) ‘’“”
changes from power consumption mode to power regeneration mode. During the power ramp period, the energy collected in the passive energy storage device must adapt to new levels, causing an inevitable overshoot in DC bus voltage ! •s . Such overshoot may be harmful to the design of the DC/DC converter and needs to get evaluated with accuracy.
according to the choice of simulation step. On the right side are displayed waveforms computed only at timings of interest with FCS: switching (SW) timings decided by controller, sampling (ADC) events, end of deadtimes (DT), and possibly Zerocrossing events (ZC/DCM) occurring during deadtimes.
With both simulators, the circuit exhibits secondary overshoots amplified by the duration of deadtime, with DCM occurrence when the inductor current " enters (around = 0.06Y)
and leaves (around = 0.07Y) the zero-current area in presence of deadtimes, as indicated by the presence of ZC/DCM events. To replicate such secondary overshoot with accuracy, the simulation of precise behaviour of DCM in such situation typically requires a high precision on the simulation step, which should be typically much smaller than the deadtime.
Fig. 9 shows the differences in the results obtained with commercial simulation software under different timesteps versus results reached with proposed approach, around the main peak in DC bus voltage overshoot.
The observed differences not only lie in the accuracy of waveform prediction between two simulation steps. Conventional fixed step simulators have additional following weaknesses:
The verification of this power reversal scenario was realized with proposed fast circuit simulation (FCS) and compared with the results of commercial circuit simulation tool (PSIM [5]).
740 720 700 680 660 640 620
0.04 • the timing precision of sampling and switching events
(including deadtime and zero-crossing) is necessarily limited by the simulation step, 740
waveform ADC events SW events DT events ZC/DCM events 720 700 680 660 640 0.05 0.06 0.07 0.08 0.09 620 0.04 0.1 0.05 0.06 500 500 0 0 0.09 0.1 waveform ADC events SW events DT events ZC/DCM events 0.05 0.06 0.07 0.08 0.09 0.04 0.1 0.05 0.06 240 240
220 220
200 200
180 180 0.05 0.06 0.07 0.07 0.08 0.09 0.1 Time (s) Time (s)
160
0.04 0.08 -500 -500
0.04 0.07 Time (s) Time (s)
0.08 0.09 160 0.04 0.1 waveform ADC events SW events DT events ZC/DCM events 0.05 0.06 0.07 0.08 0.09 0.1 Time (s) Time (s) Fig. 8. Comparison of circuit waveforms (left) fixed simulation steps (blue : 1žY , red : 10ŸY ) versus (right) Fast Circuit Simulator (FCS)
3831
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.
TABLE II C OMPARISON OF SIMULATORS FOR DC/DC BOOST CIRCUIT Simulator Number of Elapsed Peak Vbus
simulation CPU time Level (V)
steps Fast Circuit Solver 6028 97 ms 734.9 1us fixed step 2e5 1 s 730.2 100ns fixed step 2e6 8 s 734.4 10ns fixed step 2e7 98 s 734.8 Fig. 9. Comparison of detailed circuit waveform using FCS vs commercial simulation software with different time steps
• the circuit behaviour is not clearly defined between
consecutive simulation steps surrounding a zero crossing, as the circuit state is not unique in that period.
• duty cycles decided by controller are sensitive to input
ADC waveform inaccuracies, also causing supplemental marginal errors. Selecting smaller simulation steps, the above impairments of fixed-step simulators can get reduced. Ultimately, results of fixed step simulator then converge towards FCS results with ultimate accuracy. Table II shows that the improved accuracy comes with a higher number of simulation steps and a CPU effort increased by several orders of magnitude.
In comparison, FCS reaches same accuracy results (100mV ~ 0.01%) with a CPU effort reduced by a factor 1000, with even higher impact on disk/memory usage. Despite implementation in interpreted software language on a standard i7-1265U 1.8GHz laptop computer, FCS was even faster than real-time on this application.
As known from SSA analysis, the simulation of power electronic circuit can be greatly accelerated using closed-form expression of its waveforms as function of time : waveforms are directly expressed at the event timings of interest, skipping the need for evaluation at intermediate simulation steps. The formal solutions are expressed as a weighted sum of exponential functions of time. The formulation is exact and is free of inaccuracies resulting from truncation of polynomial series.
We have presented an automated algorithm that determines the characteristic complex frequencies of the circuit, and the complex weights required in this analytical expression using the easy-to-reach MNA description of the circuit. The obtained solution is mathematically equivalent to that reached using SSA. Thus, circuit waveforms can get directly formulated skipping the difficult problem of translating MNA into SSA.
The proposed method was applied for the verification of bidirectional DC/DC converter, aiming at evaluating the voltage overshoot during torque reversal, under influence of DCM during deadtimes.
Compared with existing commercial simulation software, the proposed fast circuit simulation method could drastically reduce the simulation effort for design/control verification over the long mission profiles involved in the development of emobility solutions. The memory/disk footprint of simulation is also greatly reduced as waveform details are stored with much less number of samples.
By construction, the proposed MNA method can apply to any linear circuit. Further investigation is needed to extend the method to the simulation of non-linear circuits e.g. comprising saturable inductances and/or rotating machines.
The approach is very promising for accelerating simulation effort and may also enable new usage of real-time simulation in embedded applications, e.g., simulation-in-the-loop, digital twins, or model-predicted control.
R EFERENCES [1] PSIM User Manual Version 12.0, 2020, [online] Available :
https://powersimtech.com/support/resources/tutorials/psimuser-manual/. [2] PLECS User Manual, Plexim GmbH, 2018, version 4.2. [Online].
Available: https://www.plexim.com/download/documentation. [3] Y. Zhu, Z. Zhao, B. Shi and Z. Yu, “Discrete State Event-driven
Framework with a Flexible Adaptive Algorithm for Simulation of Power Electronic Systems,” IEEE Transactions on Power Electronics, vol. 34, no. 12, pp. 11692-11702, Dec. 2019. [4] L. Yongtao, C. Jianan and J. Dong, "Comparison and Analysis of DSIM
and SIMULINK Simulation Based on MMC System," 2021 IEEE 4th International Electrical and Energy Conference (CIEEC), Wuhan, China, 2021, pp. 1-6, doi: 10.1109/CIEEC50170.2021.9510501. [5] C.-W. Ho, A. Ruehli and P. Brennan, "The modified nodal approach to
network analysis", IEEE Transactions on circuits and systems, vol. 22, no. 6, pp. 504-509, 1975. [6] D. Rowell, “Time-Domain Solution of LTI State Equations”, October
2002, [Online] Available: https://web.mit.edu/2.14/www/Handouts/StateSpaceResponse.pdf [7] MathWorks. (2020). Simulink User’s Guide R2020a. [Online]. Available:
https://www.mathworks.com/help/pdf_doc/simulink [8] P. J. van Duijsen, "Steady-state analysis and sampled data modeling of
AC power converters using the MNA method. (modified nodal analysis)," 1993 Fifth European Conference on Power Electronics and Applications, Brighton, UK, 1993, pp. 157-162 vol.5. [9] L. Brančík, "Modified nodal analysis and state variable descriptions for
MTLs systems solution in Matlab," 2013 36th International Conference on Telecommunications and Signal Processing (TSP), Rome, Italy, 2013, pp. 354-357, doi: 10.1109/TSP.2013.6613951. [10] C. Hao and M. Merlin, "Automatic Derivation of State-Space Model from
Linear Electrical Circuits with Dependent Variables using Modified Nodal Analysis," 2020 IEEE 21st Workshop on Control and Modeling for Power Electronics (COMPEL), Aalborg, Denmark, 2020, pp. 1-6, doi: 10.1109/COMPEL49091.2020.9265762. [11] M. Shenk, “AnSim: An Analytic Simulator for Electronic Circuits”,
Dissertation, Graz University of Technology, Austria, 2020 [Online]. [12] S.J. Mason, “Feedback theory-some properties of signal flow graphs”,
Proceedings of the IRE, vol. 41, no. 9, pp. 1144-1156, Sep. 1953.
3832
Authorized licensed use limited to: Rajshahi University Of Engineering and Technology. Downloaded on June 06,2026 at 18:56:10 UTC from IEEE Xplore. Restrictions apply.