You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/examples/state_dependent_perturbation.md
+21-20Lines changed: 21 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,12 @@ end
46
46
47
47
We will consider two coupled linearly coupled parametrons, i.e., Duffing resonators with a global parametric drive. The equations of motion are given by:
where $x_1$ and $x_2$ are the two induidual modes. The system is parametrized by the following parameters: $\omega_0$ (bare frequency), $\omega$ (drive frequency), $\lambda$ (parametric drive amplitude), $\alpha$ (nonlinearity), $J$ (coupling strength), and $\gamma$ (damping).
54
+
where $x_1$ and $x_2$ are the two individual modes. The system is characterized by several parameters. The parameter `ω₀` represents the bare frequency of the system, which is the natural frequency at which the system oscillates in the absence of any external driving force. The parameter `ω` denotes the drive frequency, which is the frequency of an external driving force applied to the system. The parameter `λ` stands for the amplitude of the parametric drive, which modulates the natural frequency periodically. The parameter `α` represents the nonlinearity of the system, indicating how the system's response deviates from a linear behavior. The parameter `J` signifies the coupling strength, which measures the interaction strength between different parts or modes of the system. Finally, the parameter `γ` denotes the damping, which quantifies the rate at which the system loses energy to its surroundings.
53
55
54
56
With HarmonicBalance.jl, we can easily solve the phase diagram of the system in the limit where the modes oscillate at the frequency $\omega$:
55
57
@@ -63,22 +65,17 @@ equations = [
63
65
system = DifferentialEquation(equations, [x1, x2])
64
66
add_harmonic!(system, x1, ω)
65
67
add_harmonic!(system, x2, ω)
66
-
harmonic_normal = get_harmonic_equations(system);
67
-
nothing #hide
68
+
harmonic_normal = get_harmonic_equations(system)
68
69
````
69
70
70
71
We sweep over the system where we both increase the drive frequency $\omega$ and the parametric drive amplitude $\lambda$:
These frequencies where the lobes are centered around corresponds to the normal mode frequency of the coupled system. Indeed, when resonators are strongly coupled, the system is better described in the normal mode basis. However, in addition, we also find additional bifurcation lines in the phase diagram. These bifurcation lines we would like to understand with a state-dependent perturbation.
107
104
108
-
As the system, in the strongly coupled limit, is better described in the normal mode basis, let's us consider the symmetric and antisymmetric modes $x_s = (x_1 + x_2)/\sqrt{2}$ and $x_a = (x_1 - x_2)/\sqrt{2}$, respectively. The equations of motion in this basis are given by:
105
+
As the system, in the strongly coupled limit, is better described in the normal mode basis, let's us consider the symmetric and antisymmetric modes $x_s = (x_1 + x_2)/2$ and $x_a = (x_1 - x_2)/2$, respectively. The equations of motion in this basis are given by:
Note that the system couples nonlinearly through the Kerr medium. However, solving the full system with HarmonicBalance.jl, expanding the normal modes in the the frequency $\omega$ yields the same phase diagram:
114
113
@@ -119,11 +118,11 @@ equations = [
119
118
d(d(xs, t), t) +
120
119
(ω0^2 - J - λ * cos(2 * ω * t)) * xs +
121
120
γ * d(xs, t) +
122
-
(α / 4) * (xs^3 + 3 * xa^2 * xs),
121
+
α * (xs^3 + 3 * xa^2 * xs),
123
122
d(d(xa, t), t) +
124
123
(ω0^2 + J - λ * cos(2 * ω * t)) * xa +
125
124
γ * d(xa, t) +
126
-
(α / 4) * (xa^3 + 3 * xs^2 * xa),
125
+
α * (xa^3 + 3 * xs^2 * xa),
127
126
]
128
127
system = DifferentialEquation(equations, [xs, xa])
129
128
@@ -180,10 +179,12 @@ plot!(
180
179
Let us assume that the antisymmetrcic mode is in the parametric non-zero amplitude state. We will dress the symmetric mode with the non-zero amplitude solution of the antisymmetric mode.
Copy file name to clipboardExpand all lines: examples/state_dependent_perturbation.jl
+19-15Lines changed: 19 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,12 @@ end
37
37
38
38
# We will consider two coupled linearly coupled parametrons, i.e., Duffing resonators with a global parametric drive. The equations of motion are given by:
# where $x_1$ and $x_2$ are the two induidual modes. The system is parametrized by the following parameters: $\omega_0$ (bare frequency), $\omega$ (drive frequency), $\lambda$ (parametric drive amplitude), $\alpha$ (nonlinearity), $J$ (coupling strength), and $\gamma$ (damping).
45
+
# where $x_1$ and $x_2$ are the two individual modes. The system is characterized by several parameters. The parameter `ω₀` represents the bare frequency of the system, which is the natural frequency at which the system oscillates in the absence of any external driving force. The parameter `ω` denotes the drive frequency, which is the frequency of an external driving force applied to the system. The parameter `λ` stands for the amplitude of the parametric drive, which modulates the natural frequency periodically. The parameter `α` represents the nonlinearity of the system, indicating how the system's response deviates from a linear behavior. The parameter `J` signifies the coupling strength, which measures the interaction strength between different parts or modes of the system. Finally, the parameter `γ` denotes the damping, which quantifies the rate at which the system loses energy to its surroundings.
44
46
45
47
# With HarmonicBalance.jl, we can easily solve the phase diagram of the system in the limit where the modes oscillate at the frequency $\omega$:
46
48
@@ -53,15 +55,15 @@ equations = [
53
55
system =DifferentialEquation(equations, [x1, x2])
54
56
add_harmonic!(system, x1, ω)
55
57
add_harmonic!(system, x2, ω)
56
-
harmonic_normal =get_harmonic_equations(system);
58
+
harmonic_normal =get_harmonic_equations(system)
57
59
58
60
# We sweep over the system where we both increase the drive frequency $\omega$ and the parametric drive amplitude $\lambda$:
# The phase diagram shows the number of stable steady states in the $\omega-\lambda$ plane. We find a familiar structure with two Arnold tongues (also known as Mathieu stability zones) around the drive frequency $\omega_s=\sqrt{\omega_0^2-J}$ and $\omega_s=\sqrt{\omega_0^2+J}$.
@@ -85,10 +87,12 @@ plot!(
85
87
86
88
# These frequencies where the lobes are centered around corresponds to the normal mode frequency of the coupled system. Indeed, when resonators are strongly coupled, the system is better described in the normal mode basis. However, in addition, we also find additional bifurcation lines in the phase diagram. These bifurcation lines we would like to understand with a state-dependent perturbation.
87
89
88
-
# As the system, in the strongly coupled limit, is better described in the normal mode basis, let's us consider the symmetric and antisymmetric modes $x_s = (x_1 + x_2)/\sqrt{2}$ and $x_a = (x_1 - x_2)/\sqrt{2}$, respectively. The equations of motion in this basis are given by:
90
+
# As the system, in the strongly coupled limit, is better described in the normal mode basis, let's us consider the symmetric and antisymmetric modes $x_s = (x_1 + x_2)/2$ and $x_a = (x_1 - x_2)/2$, respectively. The equations of motion in this basis are given by:
# Note that the system couples nonlinearly through the Kerr medium. However, solving the full system with HarmonicBalance.jl, expanding the normal modes in the the frequency $\omega$ yields the same phase diagram:
94
98
@@ -98,11 +102,11 @@ equations = [
98
102
d(d(xs, t), t) +
99
103
(ω0^2- J - λ *cos(2* ω * t)) * xs +
100
104
γ *d(xs, t) +
101
-
(α /4)* (xs^3+3* xa^2* xs),
105
+
α* (xs^3+3* xa^2* xs),
102
106
d(d(xa, t), t) +
103
107
(ω0^2+ J - λ *cos(2* ω * t)) * xa +
104
108
γ *d(xa, t) +
105
-
(α /4)* (xa^3+3* xs^2* xa),
109
+
α* (xa^3+3* xs^2* xa),
106
110
]
107
111
system =DifferentialEquation(equations, [xs, xa])
108
112
@@ -155,10 +159,10 @@ plot!(
155
159
156
160
# Let us assume that the antisymmetrcic mode is in the parametric non-zero amplitude state. We will dress the symmetric mode with the non-zero amplitude solution of the antisymmetric mode.
0 commit comments