16.12.2012 Views

Computer Algebra Recipes

Computer Algebra Recipes

Computer Algebra Recipes

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1.1. PHASE-PLANE PORTRAITS 29<br />

The battery voltage VB is adjusted to coincide with the in°ection point VS of<br />

the iD vs. VD curve, i.e., VB = VS. Near this operating point, one may write<br />

i = ¡av+ bv3 ,wherei = iD ¡ iS and v = VD ¡ VS, andaand b are positive.<br />

The governing Van der Pol (VdP) ODE, which will presently be derived, is<br />

Äx ¡ ² (1 ¡ x 2 )_x + x =0; ² > 0; (1.8)<br />

with x proportional to v. Equation (1.8) is just the simple harmonic oscillator<br />

equation for unit frequency and mass with an amplitude-dependent damping<br />

term. For x1 the damping is positive, tending to reduce the<br />

oscillations. The negative damping is responsible for the growth of any small<br />

spontaneous circuit \noise" into stable oscillations, i.e., into a stable limit cycle.<br />

Let's now derive the VdP equation and demonstrate the growth of a small<br />

input signal into a limit cycle for a typical tunnel diode, 1N3719, for which<br />

a =0:05 and b =1:0 in SI units.<br />

The DEtools and PDEtools packages are loaded. The former contains the<br />

DEplot3d command, which is a three-dimensional generalization of the DEplot<br />

command. The PDEtools package contains the dchange command, which will<br />

allow us to easily make a somewhat complicated variable transformation.<br />

> restart: with(DEtools): with(PDEtools):<br />

The time-dependent tunnel diode current and voltage expressions are entered.<br />

> i[D]:=i[S]-a*v(t)+b*v(t)^3; V[D]:=V[S]+v(t);<br />

iD := iS ¡ a v(t)+b v(t) 3 VD := VS + v(t)<br />

The voltage drop across both the resistor R and the capacitor C is the same as<br />

across the diode D, i.e., VR = VD and VC = VD. The voltage drop across the<br />

inductor L is VL = VB ¡ VD = VS ¡ VD, the latter form being entered.<br />

> V[R]:=V[D]: V[C]:=V[D]: V[L]:=V[S]-V[D];<br />

VL := ¡v(t)<br />

By Ohm's law, the current through the resistor is iR = VR=R. The current<br />

through the capacitor is iC = C (dVC=dt).<br />

> i[R]:=V[R]/R; i[C]:=C*diff(V[C],t);<br />

iR := VS<br />

μ<br />

+ v(t)<br />

d<br />

iC := C<br />

R<br />

dt v(t)<br />

<br />

Using Kirchho®'s current rule, eq1 states that the current leaving L must be<br />

equal to the sum of the currents entering R, C, andD.<br />

> eq1:=-i[L](t)+i[R]+i[C]+i[D]=0; #Kirchhoff's current rule<br />

eq1 := ¡iL(t)+ VS<br />

μ<br />

+ v(t) d<br />

+ C<br />

R dt v(t)<br />

<br />

+ iS ¡ a v(t)+b v(t) 3 =0<br />

Di®erentiating eq1 with respect to t eliminates the in°ection point current iS.<br />

> eq2:=expand(diff(eq1,t)/C);<br />

d<br />

eq2 := dt v(t)<br />

CR ¡<br />

d<br />

dt iL(t)<br />

μ<br />

d<br />

μ 2 a<br />

d dt<br />

+ v(t) ¡<br />

C dt2 v(t)<br />

<br />

3 b v(t)<br />

+<br />

C<br />

2<br />

μ<br />

d<br />

dt v(t)<br />

<br />

=0<br />

C

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!