Effacer les filtres
Effacer les filtres

Understanding Multistep Solver Behavior During Switch Direction Changes in Converters: Exploring Stiffness in BuckLLC Converters

2 vues (au cours des 30 derniers jours)
I am currently in the process of searching for an effective solver to use in designing a converter. However, I have encountered a specific query regarding the behavior of switches when they change direction. If I opt for a multistep solver like ode15s, will it take into account the states before the switch changed, potentially leading to errors? Additionally, I am curious about whether power electronics systems exhibit stiffness.
To provide context, I have already gathered some relevant information:
  • Information on ODEs can be found here: link
  • A comparison of solvers is available here: link
  • Guidance on selecting an appropriate solver is provided here: link
With the information provided above and your kind assistance, I hope to identify suitable solvers for my power converter project. Thank you for your help.
  1 commentaire
Jacobo
Jacobo le 15 Déc 2023
I recomend you to utilize a better simulator like PSIM or SIMplis/SIMETRIX.
SIMULINK is good for control and embed programming, for switched simulations is too cumbersome.
While ago I tried to do a circuit with SIMULINK and then with SIMSCAPE, both were wrong (and different results), hence, I opt for Co-simulate with PSIM (SIMULINK control + Circuit in PSIM)

Connectez-vous pour commenter.

Réponses (1)

Ayush
Ayush le 21 Nov 2023
Hi 依娃柯,
I understand that you want to identify a suitable solver for a power convertor project that contains switches which change directions across time. The behaviour of switches which can change direction or state rapidly can often introduce discontinuities and stiffness, thus making the choice of solver a critical decision.
Here are some possible points to consider understanding the mechanisms provided by solvers and your project system:
Multistep Solvers and Switching States
  • Solvers like “ode15s” handle the discontinuities introduced by the switching states by considering the states before and after. They may not automatically detect the exact amount of the switch since standard ODE solvers work effectively with smooth, continuous models and are not inherently designed for discrete events.
  • The solver should be able to handle the states correctly to avoid errors or an inefficient simulation. Hence the handling of states dictated by the switch should be backed by some correctly implemented system equations and logic.
Handling Discontinuities
  • An event detect mechanism can be incorporated for a more accurate simulation of the switches and its behaviour. The “Events” option in MATLAB can allow the solver to find where the function for the solution is zero (to identify discontinuities). This detection can then be extended into a trigger for the solver to change its configuration accordingly. Please refer to the below documentation to know more about the “events” options in MATLAB: https://www.mathworks.com/help/matlab/events-sending-and-responding-to-messages.html
  • Another way to handle discontinuities is to restart the solver with the new initial conditions post-switching, thus avoiding the potential errors that might arise from using states before the switch changed.
Stiffness in Power Electronics Systems
  • The stiffness in Power Electronics Systems is majorly due to the presence of fast-switching behaviour working alongside dynamic elements like capacitors etc.
  • This stiffness can also be seen significant in transitional stages when the switches are changing states or rapid changing in voltages.
  • A stiff solver like `ode15s` is generally recommended for such systems because it can handle the wide range of time constants without taking excessively small time steps, which would be necessary for a non-stiff solver to maintain stability.
Choosing a Suitable Solver
  • When choosing a solver for your power converter project, consider the following:
  • Does the solver handle stiff systems effectively?
  • Can the solver detect and handle events (switching actions)?
  • Is the solver robust enough to handle the discontinuities introduced by the switches?
  • Does the solver allow for variable step sizes to efficiently simulate periods of fast and slow dynamics?
Given that you've already gathered information on ODEs, comparisons of solvers, and guidance on selecting a solver, you're on the right track. Make sure to incorporate event handling in your solver choice to manage the switch actions accurately. If you're using MATLAB, `ode15s` with the 'Events' option could be a suitable choice for your power converter project, provided you set up the event detection correctly to handle the switching behavior.
Hope it helps,
Regards,
Ayush Misra

Communautés

Plus de réponses dans  Power Electronics Control

Catégories

En savoir plus sur Trimming and Linearization dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by