Blog

Learn something new with our collection of blog posts centered around various topics on PSpice® technology.

Lorenz Oscillator- The Lorenz System

“It may happen that small differences in the initial conditions produce very great ones in the final phenomena. A small error in the former will produce an enormous error in the future. Prediction becomes impossible”. Edward Lorenz

 

The meteorologist, Edward Lorenz, in 1961, discovered chaos theory inadvertently whilst modeling atmospheric convection and weather patterns. He published a paper in 1963 where he showed how the model produced chaotic behavior by changing the model from a linear to a nonlinear model. To save time during a simulation run on a very basic desktop computer, he started from the middle of a previous simulation session and to his surprise found the output was completely different from a previous output. By truncating five-digit simulation numbers down to three-digit numbers he discovered one of the principles of chaos theory “Sensitive to Initial Conditions (SIC)”. A small change in initial conditions i.e., reducing the number of places of decimals, produced a bigger change in the system as it evolves. What is often quoted in the literature is Lorenz’s famous quote in a presentation in 1972 to the American Association of Scientific research “Does the flap of a butterfly’s wings in Brazil set off a tornado in Texas”, which illustrates how very small change in the initial condition produces much bigger changes later. Edward Lorenz showed that for chaos to exist in autonomous ordinary differential equation systems, three variables and two quadratic non-linear elements must be present. However, since then the number of variables can be reduced to two for non-autonomous chaotic  system, and one, for discrete chaotic systems. The Lorenz weather system models clockwise and anticlockwise thermal convective air mass rotations in a closed container and the ordinary differential equations used in this model were originally created by Barry Saltzman (1962). Any n-th order nonlinear differential equation can be written as n separate coupled first-order ODEs. For example, the following coupled equations are a reduced form of the Navier-Stokes equations that model the Lorenz chaotic system that we will examine shortly:

 

                                             Lorenz_oscillator_equation1.png

 

By coupled we mean that the equations are linked to each other and the parameters. The original parameter used by Lorenz are: Prandtl number = 10, Rayleigh number, R = 28, and β = B = 8/3 and are all greater than zero. This simplified Lorenz model has since been proved to be chaotic by B Hassard and J Zhang, 1994 but also by Tucker in 1999. The parameters were given these names because Lorenz derived his equations from the Raleigh-Bénard convection flow (convection in a liquid heated in a container from below, generates Bénard cells). We rewrite these equations in a different form shortly, where we will express the variables as a function of time and introduce initial conditions. The Lorenz equations represent the movement of a horizontal layer of a fluid like air, being heated from below. The speed of the rising air mass, x, is positive for clockwise rotation and negative for anti-clockwise rotations. The temperature difference between descending and ascending air masses is y, and z is the deviation of the temperature profile from a linear scale.

 

3.1 Simulating the Lorenz system using ABM parts

 

To simulate the Lorenz system in PSpice, we rearrange the equations in integral form and introduce initial condition conditions x(t0), y(t0), z(t0) for each system variable. We do this because we will implement these equations using integrators using analog behavioral models (ABM) parts which will be replaced by electronic inverting integrators circuits later. The initial conditions will be dropped for simplicity later but will be included in the simulation model as initial conditions on the integrators. Hence, the first equation, P(y-x), becomes –P(x-y). We could use non-inverting integrators but it’s a little more complicated and left as an exercise to the interested reader. Later, we will see how to use the four-quadrant AD633 multiplier IC to realize the nonlinear product terms. This IC may also be configured to achieve integration using current outputs but that’s much later. The Lorenz equations with initial conditions, t0 are:

 

             Lorenz_oscillator_equation2.png

 

The simplest approach when investigating a chaotic system for the first time is to always use ABM parts, as shown in Figure 1 and later with actual integrated circuit models.  This approach is also useful when the circuit becomes complex and in some cases when the electronic part models cause convergence.

 

                Lorenz_oscillator_figure1.png

 

                                       Figure 1: The Lorenz ABM schematic

 

The ABM INTEG part has its gain set to {–Invert_tau}, where the time constant defined in a PARAM part. The gain of an inverting integrator is set negative and equal to the inverse of the time constant because in the next blog we will use inverting electronic part models. Making the gain as the inverse of the time constant enables us to set a frequency close to the main operating frequency of the system, and in the section on scaling later in this chapter, we will see the need for scaling and how to scale both amplitude and time variables. Figure 2 shows how the three variables vary over time

 

                   Lorenz_oscillator_figure2.png

                        Figure 2: The Lorenz x, y and z output

 

Figure 3 displays the spectra for the variables and is obtained by pressing the FFT icon when in the Probe environment (appears after simulation). Note we may express the spectral components as dB(V(x)*V(x)), to ensure the smaller spectral component are emphasized, otherwise the main spectral component of 1.32 Hz will tend to mask the other components. Select the Add Trace icon (a small graph-like icon), and then select dB( ) from the list of functions in the right panel. Select between the brackets and type v(x)*v(x). However, I just checked before going to press and the dB() function doesn’t now seem to allow the product of variables in the brackets so instead use 10*log10(v(x)*v(x)).  Increasing the simulation run time will increase the frequency resolution but obviously increases the simulation time. The z output is quite periodic and is therefore said to be chaotically weak.

 

                  Lorenz_oscillator_figure3.png

                                                            Figure 3: Power Spectra

 

 

After Probe simulation and to automate the process of placing multiple windows and additional plots, we use the log command which records all keys selected. Select log in Probe File menu. When this is selected, it will record  log file of all keys pressed when doing tasks such as separating the windows. This is useful where you intend to repeat the simulation for parameter variations, for example. If you change the integrator gain from 100 to 1, you will change the system operating frequency hence you will need to change the simulation settings. I have included a log file I created called Lorenz.cmd which will plot all the variables and is called from the File menu in Probe. Select Run Commands and then select Lorenz.cmd. This will plot Figure 1 and 2 but also it will plot the famous Lorenz strange attractor by changing time to the x variable.

Thu, 2023-12-21 13:46
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

I am very happy to discover

I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit. インドのビザの種類 医療ビザ

Sat, 2023-12-30 01:33
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

You make so many great points

You make so many great points here that I read your article a couple of times. Your views are in accordance with my own for the most part. This is great content for your readers. Antragsverfahren für ein Türkei Visum

Mon, 2024-01-01 05:33
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

You made such an interesting

You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this... indian visa for lalian citizens

Thu, 2024-01-04 04:37
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

nice post, keep up with this

nice post, keep up with this interesting work. It really is good to know that this topic is being covered also on this web site so cheers for taking time to discuss this! THE ELECTRONIC MEDICAL ATTENDANT VISA TO VISIT INDIA

Sat, 2024-01-06 01:54
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Nice blog and absolutely

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. kelayakan visa india visa india untuk warga negara honduras

Sun, 2024-01-07 04:53
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Nice post. I was checking

Nice post. I was checking constantly this blog and I’m impressed! Extremely useful info specially the last part I care for such information a lot. I was seeking this certain info for a long time. Thank you and good luck. ใบสมัครขอวีซ่าอินเดีย

Tue, 2024-01-09 04:34
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Remarkable article, it is

Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! persyaratan visa arab saudi

Wed, 2024-01-10 05:32
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Your work is truly

Your work is truly appreciated round the clock and the globe. It is incredibly a comprehensive and helpful blog. Suudi Arabistan Giriş Vizesi

Thu, 2024-01-11 13:59
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

This is a great inspiring

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Turkse ambassade in Tunesië

Tue, 2024-01-16 12:30
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

I have been impressed after

I have been impressed after read this because of some quality work and informative thoughts. I just want to say thanks for the writer and wish you all the best for coming! Your exuberance is refreshing. Online Canada Visa for Croatia Citizens

Fri, 2024-01-19 02:21
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Very useful post. This is my

Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. india evisa voor thais

Mon, 2024-01-22 02:12
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Wonderful blog! I found it

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. hvordan kan jeg ansøge om visum til os

Mon, 2024-01-22 14:05
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

This is my first time visit

This is my first time visit here. From the tons of comments on your articles,I guess I am not only one having all the enjoyment right here! Visa d'affaires pour l'Inde

Thu, 2024-01-25 05:43
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

I think that thanks for the

I think that thanks for the valuabe information and insights you have so provided here. ottenere un visto Schengen per entrare in Turchia

Mon, 2024-01-29 07:56
basit khatri66
basit khatri66's picture
Offline
Last seen: 3 hours 50 min ago
Joined: 2022-06-28 05:48

Wow, What an Outstanding post

Wow, What an Outstanding post. I found this too much informatics. It is what I was seeking for. I would like to recommend you that please keep sharing such type of info.If possible, Thanks. Питання та відповіді щодо візи до В’єтнаму

Mon, 2024-02-05 00:44
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

SEO

اموس collections are a makeup lover's dream come true. So many choices and all so elegant!

Thu, 2024-02-08 04:03
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

꽁머니

The safest bet? 꽁머니사이트, without a doubt.

Fri, 2024-02-09 05:39
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

툰코

툰코웹툰's community feature is awesome! I enjoy discussing my favorite webtoons with fellow fans.

Tue, 2024-02-13 05:28
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

SEo

Enhance your 강사모집 strategy with Timely GPT's consistency.

Tue, 2024-03-05 08:46
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

툰코, 툰코2

툰코2 has become my go-to platform for entertainment.

Tue, 2024-03-05 09:19
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

뉴토끼

I recently stumbled upon 뉴토끼 and was blown away by the diverse selection of webtoons available. It's truly a treasure trove for anyone passionate about comics!

Wed, 2024-03-20 21:44
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

블랙툰

블랙툰 has quickly become one of my favorite comics. The storytelling is masterful, and the artwork is breathtaking.

Wed, 2024-03-27 10:58
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

sadsadsd

Joining 온라인 바카라 promises an immersive baccarat experience.

Tue, 2024-04-02 03:30
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

asdsd

I've recommended 카지노사이트 to all my friends—it's simply the best online gaming platform out there.

Tue, 2024-04-02 03:43
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

asdsd

마나토끼 주소 offers a delightful blend of new releases and pre-loved books. It's a bookworm's dream destination.

Tue, 2024-04-02 04:23
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

asdsd

Thankful for 뉴토끼 as an alternative when other sites have server issues.

Tue, 2024-04-02 04:29
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

asdsd

Been recommending 블랙툰 to all my friends - it's too good not to share.

Tue, 2024-04-02 04:34
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

asdsd

툰코's user-friendly interface makes it easy to navigate and discover new comics.

Sat, 2024-04-06 02:21
Jack3344
Offline
Last seen: 2 days 2 hours ago
Joined: 2024-04-02 02:06

ewd

What a great opportunity to get rid of all your infinite problems in just glimpses!! Surprised by the way it works. They are very functional! I hope everyone gets to utilize it for their good! Partial Hospitalization Program Atlanta

Thu, 2024-04-11 17:24
cafoy
Offline
Last seen: 2 weeks 2 days ago
Joined: 2022-06-26 08:11

I’m going to read this. I’ll

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... 

nowgoal 5

Tue, 2024-04-16 18:28
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

sdsd

I enjoy spending time on 뉴토끼 exploring different webtoons. The platform is easy to use, and the community is active.

Wed, 2024-04-17 07:03
yousuf
Offline
Last seen: 5 hours 32 min ago
Joined: 2022-06-15 05:21

seo

Streamlined sign-up process and robust security features make 토토사이트 the go-to platform for online betting enthusiasts.

Thu, 2024-04-25 23:04
Arisu
Offline
Last seen: 2 days 12 hours ago
Joined: 2023-12-02 16:02

sdsd

I'm hooked on 마나토끼's exclusive content. It's like getting VIP access to the best shows!

Download PSpice and try it for free! Download Free Trial
Cadence