What is the best software for the analysis of chaos in electric circuits?

AI Thread Summary
The discussion centers on the best software for analyzing chaos in electric circuits, highlighting the use of SPICE packages for simulation. Participants note that chaos analysis often requires simulating differential equations, particularly in circuits with non-linearities or feedback. While SPICE is user-friendly, it may be slow for complex time-domain simulations, suggesting alternatives like State Space models for efficiency. MATLAB's MatCont is recommended for numerical continuation analysis, which can provide deeper insights into chaotic behavior. Additional resources, including literature on Chua's circuit and relevant textbooks, are also mentioned to aid understanding of chaos theory in circuit analysis.
student-engineer
What is the best software for the analysis of chaos in electric circuits.
 
Engineering news on Phys.org
Most SPICE packages could be used. Are you familiar with any SPICE packages?
 
  • Like
Likes student-engineer
berkeman said:
Most SPICE packages could be used. Are you familiar with any SPICE packages?
Yes,I am familiar with them.But isn't chaos analysis done by simulating the differential equation or difference equations for a system.May be SPICE analysis is also possible but for that,may be some value is varied such as inductance and the system has a closed loop voltage or current control.Why is chaos analysis done with circuits which have closed loop control?I have simulated circuits in SPICE.It is an easy software,but how to do chaos analysis on it?
 
I'm not that familiar with Chaos Theory https://en.wikipedia.org/wiki/Chaos_theory

but it looks like you either need non-linearities or feedback to help get the chaotic behaviors (I could be wrong about that).

And SPICE does use differential equations for part of the modeling. The disadvantage is that it takes a long time to accurately simulate many time-domain waveforms, and you might be able to use a different type of simulation to speed things up (like using a State Space model)...
 
  • Like
Likes student-engineer
student-engineer said:
I have simulated circuits in SPICE.It is an easy software,but how to do chaos analysis on it?
Attached is a spice simulation of Chua's circuit.
Remove the .txt extensions to run the .asc file in LTspice.
 

Attachments

  • Chua's circuit 2.asc.txt
    Chua's circuit 2.asc.txt
    2.8 KB · Views: 527
  • Chua's circuit 2.plt.txt
    Chua's circuit 2.plt.txt
    298 bytes · Views: 491
  • chuas.png
    chuas.png
    56.6 KB · Views: 548
  • Like
Likes student-engineer
Baluncore said:
Attached is a spice simulation of Chua's circuit.
Remove the .txt extensions to run the .asc file in LTspice.
Thank you.
 
berkeman said:
I'm not that familiar with Chaos Theory https://en.wikipedia.org/wiki/Chaos_theory

And SPICE does use differential equations for part of the modeling. The disadvantage is that it takes a long time to accurately simulate many time-domain waveforms, and you might be able to use a different type of simulation to speed things up (like using a State Space model)...
Which software can be used for analysis if I make state space representation of the circuit?
 
My recommendation: VISSIM (Visual Solutions Inc.).
This package is optimized for real time simulations - however, it is block-oriented and not based on parts level (like SPICE)
 
  • Like
Likes berkeman and student-engineer
  • #10
student-engineer said:
But isn't chaos analysis done by simulating the differential equation or difference equations for a system.
Yes, since the differential equation is the mathematical model that describes the dynamics of the circuit.

Here follow some other remarks that I hope you will find helpful.

In addition to pure simulation, it is often useful to perform a numerical continuation analysis. This typically begins by selecting a system parameter and watching how simple invariant sets (such as equilibria and limit cycles) (dis)appear or change their stability at bifurcation points. A rather user friendly MATLAB package for this purpose that has seen frequent use in research is MatCont. The corresponding literature reference is:
  • Dhooge, A., Govaerts, W. and Kuznetsov, Yu. A. MATCONT: a MATLAB package for numerical bifurcation analysis of ODEs. ACM Trans. Math. Software 29 (2003), no. 2, 141–164.
While simulation can show you chaos, continuation and bifurcation analysis can provide insight into how a system may become chaotic in the first place.

For the Chua circuit in particular, you could have a look at the end-of-chapter project (Section 16.5) in the second edition of Differential Equations, Dynamical Systems and an Introduction to Chaos by Hirsch, Smale and Devaney. (Meanwhile, there is a third edition, but as far as I could see, the section numbering did not change for this particular section.) This project - together with the material in that chapter - will help you understand how chaos in Chua's circuit relates to Shil'nikov's homoclinic bifurcation.

In case you cannot (or: don't want to) get the book, here are the two literature references that the project cites on Chua's circuit:
  • Chua, L., Komuro, M., and Matsumoto, T. The double scroll family. IEEE Trans. on Circuits and Systems. 33 (1986), 1073.
  • Khibnik, A., Roose, D., and Chua, L. On periodic orbits and homoclinic bifurcations in Chua’s circuit with a smooth nonlinearity. Int. J. Bifurcation and Chaos. 3 (1993), 363.
This and related systems have been the subject of intense study, so the above is just a start. A lot more can be found if you look for it. Have fun! :smile:
 
Last edited:
  • Like
Likes student-engineer and berkeman
  • #11
Krylov said:
Yes, since the differential equation is the mathematical model that describes the dynamics of the circuit.

Here follow some other remarks that I hope you will find helpful.

In addition to pure simulation, it is often useful to perform a numerical continuation analysis. This typically begins by selecting a system parameter and watching how simple invariant sets (such as equilibria and limit cycles) (dis)appear or change their stability at bifurcation points. A rather user friendly MATLAB package for this purpose that has seen frequent use in research is MatCont. The corresponding literature reference is:
  • Dhooge, A., Govaerts, W. and Kuznetsov, Yu. A. MATCONT: a MATLAB package for numerical bifurcation analysis of ODEs. ACM Trans. Math. Software 29 (2003), no. 2, 141–164.
While simulation can show you chaos, continuation and bifurcation analysis can provide insight into how a system may become chaotic in the first place.

For the Chua circuit in particular, you could have a look at the end-of-chapter project (Section 16.5) in the second edition of Differential Equations, Dynamical Systems and an Introduction to Chaos by Hirsch, Smale and Devaney. (Meanwhile, there is a third edition, but as far as I could see, the section numbering did not change for this particular section.) This project - together with the material in that chapter - will help you understand how chaos in Chua's circuit relates to Shil'nikov's homoclinic bifurcation.

In case you cannot (or: don't want to) get the book, here are the two literature references that the project cites on Chua's circuit:
  • Chua, L., Komuro, M., and Matsumoto, T. The double scroll family. IEEE Trans. on Circuits and Systems. 33 (1986), 1073.
  • Khibnik, A., Roose, D., and Chua, L. On periodic orbits and homoclinic bifurcations in Chua’s circuit with a smooth nonlinearity. Int. J. Bifurcation and Chaos. 3 (1993), 363.
This and related systems have been the subject of intense study, so the above is just a start. A lot more can be found if you look for it. Have fun! :smile:
Thank you.
 
  • #12
For future readers of this thread, I would also like to mention the book Linear and Nonlinear Circuits by Chua, Desoer and Kuh. The original (1987) hardcover is out of print and expensive to buy used, but in 2015 an affordable softcover came out. Among other things, it is a bridge between circuit analysis and dynamical systems, so it could also be interesting for certain mathematicians.

Thanks to @jasonRF for briefly discussing this book in a couple of old threads in the textbook forum.
 
  • Like
Likes student-engineer and berkeman
Back
Top