Can complex non linear circuits be simulated using matlab code?
3 次查看(过去 30 天)
显示 更早的评论
Hello everyone
I am familiar with simulink and simscape. But I have a particularly odd circuit to simulate.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1109690/image.png)
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 个评论
John D'Errico
2022-8-27
This is a MATLAB forum, so asking for help in simulating your problem in another environment (ngspice) will not be appropriate.
采纳的回答
William Rose
2022-8-27
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.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!