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

Click For Summary

Discussion Overview

The discussion revolves around the best software for analyzing chaos in electric circuits, focusing on various simulation tools and methodologies applicable to chaos theory in circuit analysis. Participants explore the use of SPICE packages, state space representations, and numerical continuation analysis, among other approaches.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that most SPICE packages could be utilized for chaos analysis, while others express uncertainty about the effectiveness of SPICE for this purpose.
  • There is a discussion about the necessity of non-linearities or feedback in circuits to achieve chaotic behavior, with some participants questioning the role of closed loop control in chaos analysis.
  • A participant mentions that chaos analysis typically involves simulating differential equations or difference equations, raising questions about how to effectively perform chaos analysis using SPICE.
  • Another participant points out that while SPICE uses differential equations, it may not be the most efficient tool for simulating many time-domain waveforms, suggesting alternative methods like State Space models.
  • One participant recommends VISSIM as a software optimized for real-time simulations, noting its block-oriented nature compared to SPICE.
  • There is mention of a MATLAB package called MatCont for numerical continuation analysis, which can provide insights into how systems become chaotic, alongside references to literature on Chua's circuit.
  • A later post highlights the importance of bifurcation analysis and suggests resources for further understanding chaos in circuits, including specific literature references and a book on linear and nonlinear circuits.

Areas of Agreement / Disagreement

Participants express a range of views on the effectiveness of different software tools for chaos analysis, with no clear consensus on the best approach. There are competing perspectives on the role of SPICE and alternative methods, indicating that the discussion remains unresolved.

Contextual Notes

Participants note limitations in SPICE for time-domain simulations and the potential need for additional tools or methods to analyze chaos effectively. The discussion includes references to specific literature and resources that may not be universally accessible.

Who May Find This Useful

This discussion may be of interest to individuals involved in circuit analysis, chaos theory, and those seeking software recommendations for simulating chaotic behavior in electrical systems.

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   Reactions: 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   Reactions: 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: 545
  • Chua's circuit 2.plt.txt
    Chua's circuit 2.plt.txt
    298 bytes · Views: 512
  • chuas.png
    chuas.png
    56.6 KB · Views: 568
  • Like
Likes   Reactions: 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   Reactions: 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   Reactions: 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   Reactions: student-engineer and berkeman

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
Replies
11
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 14 ·
Replies
14
Views
9K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K