Can complex non linear circuits be simulated using matlab code?

3 vues (au cours des 30 derniers jours)
Md. Golam Zakaria
Md. Golam Zakaria le 27 Août 2022
Commenté : Md. Golam Zakaria le 27 Août 2022
Hello everyone
I am familiar with simulink and simscape. But I have a particularly odd circuit to simulate.
I have to simulate the above circuit. But the problem is in the load section, the plasma load parameters are defined by differential equations. Also no specific value of any component is known in advance. To simulate this, one has to assume all circuit parameters first and then execute two loops (nested), to find the actual values. In the inner loop the differential equations needs to be solved again and again until steady state is reached.Then there are some logic in the outer loop. Then after,one have to take fft off the determined voltage and currents. The authors of the paper from where this figure is taken mentioned that they performed the simulation in ngSpice. I have no knowledge of ngSpice. Can this circuit be simulated using matlab code? Also do simulink allows to solve differential equations?
Any kind of help , whether how to simulate this in matlab is appreciated.
Thank you.
  2 commentaires
John D'Errico
John D'Errico le 27 Août 2022
This is a MATLAB forum, so asking for help in simulating your problem in another environment (ngspice) will not be appropriate.
Md. Golam Zakaria
Md. Golam Zakaria le 27 Août 2022
sorry for that. I edited it out.

Connectez-vous pour commenter.

Réponse acceptée

William Rose
William Rose le 27 Août 2022
Yes, this task can be done in Matlab. You have provided an outline of the outer and inner loops. Matlab has excellent tools for numerical evaluation of differential equations: ode45 and so on. You can use those tools for the plasma load. You can also write the differential equations for the voltages or currents in the matching network, as a large set of first order differential equations. This will be somewhat complicated, but it is cetainly possible. Then you can solve the set of first order differential equations, using the built-in function ode45(), or something similar.

Plus de réponses (0)

Catégories

En savoir plus sur Electrical Sensors dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by