Can complex non linear circuits be simulated using matlab code?

4 visualizzazioni (ultimi 30 giorni)
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 Commenti
John D'Errico
John D'Errico il 27 Ago 2022
This is a MATLAB forum, so asking for help in simulating your problem in another environment (ngspice) will not be appropriate.

Accedi per commentare.

Risposta accettata

William Rose
William Rose il 27 Ago 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.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by