Chaotic Circuit: Chua’s Circuit
Chaotic circuits
混沌是发生在确定性系统中的一种不确定行为,或者类似随机的行为。混沌运动是一种非周期运动。混沌的一个最显著特点是,状态变量的波形对状态变量的初始值极为敏感,即初始值对波形由重大影响。在一些二阶非线性非自治电路或三阶非线性自治电路中就存在着混沌现象。这类动态电路通常是二阶或三阶非线性微分方程。根据经典理论(决定论),在初始态条件确定之后,方程的解是确定的。但是人们发现在一定参数值得条件下,电路会出现很复杂的解,这种解:
-
不是周期解,又不是拟周期解(Quasiperiodicity1),在状态平面上它的相轨道始终不会重复;
拟周期解:拟周期解可以看作是一些具有不同频率的周期解之和,这些频率的相互比值是非有理数(即不存在最小公倍数)。总体看来,它似乎是具有“很长”的周期又接近周期解的一种解。
-
是有界的,即在一定的有界范围内具有遍历性,它对初始条件极为敏感。
Three-oder nonlinear autonomous circuit: Chua’s circuit
蔡氏电路(Chua’s circuit)的电路结构如下图所示:
该电路是由两个线性电容、一个线性电感、一个线性电阻和一个非线性电阻构成的三阶自治(autonomous)动态电路。非线性电阻的伏安特性是 $i_R=g(u_R)$ ,是一个电压控制型非线性电阻,它所对应的伏安特性曲线是一个分段线性曲线。
Autonomous circuit23: An autonomous circuit in analogue electronics is a circuit that produces a time-varying output without having a time-varying input (i.e., it has only DC power as an input).
设电压电容 $u_{C1}$、$u_{C2}$ 和电感电流 $i_L$ 为状态变量,根据基尔霍夫定律可以得到电路的状态方程:
\[\left\{ \begin{split} C_1\dfrac{\mathrm{d}u_{C1}}{\mathrm{d}t}&=\dfrac1{R_0}(u_{C2}-u_{C1})-g(u_R)\\ C_2\dfrac{\mathrm{d}u_{C2}}{\mathrm{d}t}&=\dfrac1{R_0}(u_{C1}-u_{C2})+i_L\\ L\dfrac{\mathrm{d}i_L}{\mathrm{d}t}&=-u_{C2} \end{split} \right.\notag\]为了简化表示,我们令:$u_{C1}=x$ ,$u_{C2}=y$,$i_L=z$,则有:
\[\left\{ \begin{split} \dfrac{\mathrm{d}x}{\mathrm{d}t}&=\alpha(y-x-f(x))\\ R_0C_2\dfrac{\mathrm{d}y}{\mathrm{d}t}&=(x-y)+R_0z\\ \dfrac{\mathrm{d}z}{\mathrm{d}t}&=-\beta y \end{split} \right.\label{chua1}\]其中,$\alpha=\dfrac1{R_0C_1}$ ,$f=\dfrac1{C_1}g$,$\beta=\dfrac1L$。
这是一个三阶非线性自治方程组。蔡氏电路在不同的参数条件下会发生丰富多样的自激励震荡过程,并有混沌出现,同时其所对应的方程 $\eqref{chua1}$ 的解对初始条件非常敏感。根据不同的参数值和不同的初始条件,根据方程 $\eqref{chua1}$ 可以计算出以 $x$, $y$, $z$ 为坐标的状态空间的相轨道和它们的时域波形。
Numerical simulation for Chua’s circuit
网站4提供了其中一种情形的蔡氏电路: $\alpha=15.6$ ,$\beta=28$,$R_0=1$,$C_2=1$ ,非线性电阻的伏安特性曲线为:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% The voltage-current profile of the nonlinear resistance
x = -2:0.01:2;
m0 = -1.143;
m1 = -0.714;
h = m1*x+0.5*(m0-m1)*(abs(x+1)-abs(x-1));
f = @(x)m1*x+0.5*(m0-m1)*(abs(x+1)-abs(x-1));
figure, axes
hold(gca, 'on')
plot(x, h, LineWidth=1.7);
scatter(0, 0, 'filled')
scatter(-1, f(-1), 'filled');
scatter(1, f(1), 'filled');
xlabel('$u_R$', Interpreter='latex')
ylabel('$i_R$', Interpreter='latex')
title('The voltage-current profile of the nonlinear resistance')
其相轨迹为:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[t,y] = ode45(@chua,[0 100],[0.7 0 0]);
plot3(y(:,1),y(:,2),y(:,3))
grid
function out = chua(t,in)
x = in(1);
y = in(2);
z = in(3);
alpha = 15.6;
beta = 28;
m0 = -1.143;
m1 = -0.714;
h = m1*x+0.5*(m0-m1)*(abs(x+1)-abs(x-1));
xdot = alpha*(y-x-h);
ydot = x - y+ z;
zdot = -beta*y;
out = [xdot ydot zdot]';
end
观察它的相轨迹绘制过程:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
gifFile = 'Chua1.gif';
if exist(gifFile, 'file')
delete(gifFile)
end
figure, axes, view(-6.9,37.1)
xlabel('x'), ylabel('y'), zlabel('z')
axis([-3, 3, -0.4, 0.4, -4, 4])
h = animatedline(gca, LineWidth=1.3);
grid
[t,y] = ode45(@chua,[0 100],[0.7 0 0]);
for i = 1:numel(y(:,1))
addpoints(h, y(i,1), y(i,2), y(i,3))
drawnow
exportgraphics(gcf, gifFile, 'Append', true);
end
function out = chua(t,in)
x = in(1);
y = in(2);
z = in(3);
alpha = 15.6;
beta = 28;
m0 = -1.143;
m1 = -0.714;
h = m1*x+0.5*(m0-m1)*(abs(x+1)-abs(x-1));
xdot = alpha*(y-x-h);
ydot = x - y+ z;
zdot = -beta*y;
out = [xdot ydot zdot]';
end
整个相轨迹呈现出“双涡卷”形状,因此也有称这个蔡氏电路为“双涡卷”电路,它的相轨道永远也不会重复,表现为混沌振荡的非周期性。
由于非线性电路中混沌解的特殊性,分析研究混沌的主要方法有:
- 使用计算机对非线性电路进行数值计算,从得到的相图和频域波形等来判断混沌特征的信息;
- 对电路直接进行实验,在实验中对混沌现象进行观察和分析。
References
- 邱关源. 电路(第5版).
- Chua’s circuit.