Jump to content

User:KX36

From Wikipedia, the free encyclopedia

Maths Sandbox

[edit]

Child-Langmuir Law

[edit]

Ia is anode current.

S is surface area of anode.

d is distance between anode and cathode.

Va is the potential difference from anode to cathode.

P is the perveance of the device.


Ia=(4ϵ092eme)(Sd2)Va32

Ia=k1(Sd2)Va32

Ia=PVa32

Ia∝Va32

P∝Sd2

Triode equation (and rearrangements thereof)

[edit]

μ is the amplification factor of the triode.


Ia=P(Vaμ+Vg)32

Va=μ((IaP)23−Vg)

Vg=(IaP)23−Vaμ

Derivatives of triode equation

[edit]

ra is the anode resistance

gm is the transconductance of the device

ra=μgm

μ=dVadVg

gm=dIadVg=32 P2Ia3

ra=dVadIa=23 μP2Ia3

DC to DC converters - conversion ratios

[edit]
BuckBoostBuck-boost (inverting)Buck-boost (non-inverting)
D=VVgD=V−VgVD=−VVg−VD=VVg+V
M(D)=VVg=DM(D)=VVg=11−DM(D)=VVg=−D1−DM(D)=VVg=D1−D
ddDM(D)=1ddDM(D)=1(1−D)2ddDM(D)=−1(D−1)2ddDM(D)=1(1−D)2

Type II Compensator transfer function

[edit]

H(s)=VeV(s)=−R3C1s+1[R1(C1+C2)s](R3C1C2C1+C2s+1)

H(s)=VeV(s)≈−R3C1s+1(R1C1s)(R3C2s+1) when C2≪C1

Type III Compensator transfer function

[edit]

H(s)=VeV(s)=−(R3C1s+1)[C3(R1+R4)s+1][R1(C1+C2)s](R3C1C2C1+C2s+1)(R4C3s+1)

H(s)=VeV(s)≈−(R3C1s+1)[R1C3s+1](R1C1s)(R3C2s+1)(R4C3s+1) when C2≪C1 and R4≪R1

Formula for R3

[edit]

For type III compensation,

R3=FcFlcVoscVinR1

Voltage Feedforward

[edit]

The following formulae are for one particular voltage feedforward circuit which uses a bias winding to charge a capacitor through a resistor to create the ramp proportional to Vbias, which is proportional to Vsec

Vosc=Nb2NsVsec(1−e−1FsRC)


Comparator gain [N.B. gain is independant of Vsec (proportional to input voltage). Classical voltage mode control has a comparator gain (Vsec/Vosc) which proportiobal to Vsec, which causes problems. The idea of votlage feedforward is to make Vosc proportional to Vsec so that comparator gain is constant]:

VsecVosc=NsNb2(1−e−1FsRC)

Find RC for minimum acceptable Vosc at minimum Vpri (input voltage).

RC=−1Fsln(1−NpNb2VoscVpri)


Unfortunately any Offset voltage introduces an error:

Vosc=Nb2/Ns * Vsec * [1-e^(-1/FsRC)] + Voffset

Vsec/Vosc = Vsec/ [Nb2/Ns * Vsec * [1-e^(-1/FsRC)] + Voffset]

Vsec/Vosc = Vsec/ Vsec[Nb2/Ns * [1-e^(-1/FsRC)] + Voffset/Vsec]

Vsec/Vosc = 1/ [Nb2/Ns * [1-e^(-1/FsRC)] + Voffset/Vsec]

Offset error keeps Vsec in the equation, Vsec proportional to Vin, so PWM comparator gain is a function of input voltage.

EA gain

[edit]

From Summing Amplifier equation, with V2=0V and IN+=Vref.

Vout=−R3(Vin−VrefR1−VrefR2)+Vref

Vout=Vref(R3R2+R3R1+1)−R3R1Vin

For the target condition, Vout = Vref (i.e. opamp output equal to non-inverting input) . When this is true, the above can be simplified to:

Vin=Vref(R1R2+1)

or to find R2 for a target Vin:

R2=R1VinVref−1

A slightly different configuration can be found by swapping Vref and ground to make the circuit a typical summing amplifier. This may be useful when Vin is negative when referenced to ground.

Vout=−R3(VinR1+VrefR2)

Note, the target condition is now Vout=0V as the non-inverting input is grounded. When this is the case, above can be simplified to:

Vin=−VrefR1R2

K factor - phase boost

[edit]

Based on H. Dean Venable's well known paper which defines a pole and a zero around a centre frequency for a given phase boost at that frequency. Phase boost will be maximum at this frequency.

Below these well documented formulae are 2 more sets of formulae which I have derived for finding the phase boost (θ) at any frequency (f) between a zero-pole pair rather than just the centre frequency, and for finding the frequencies between these zero-pole pairs which give a known phase boost.

Type IIType III
fz=fcKfz=fcK
fp=fcKfp=fcK
θ=arctan⁡K−arctan⁡1Kθ=2(arctan⁡K−arctan⁡1K)
K=tan⁡(θ2+45∘)K=tan2(θ4+45∘)
θ=arctan⁡ffz−arctan⁡ffpθ=2(arctan⁡ffz−arctan⁡ffp)
f=fp−fztan⁡θ±(fz−fptan⁡θ)2−4fpfz2f=fp−fztan⁡θ2±(fz−fptan⁡θ2)2−4fpfz2

RLC series circuits

[edit]

XL=2πfL     XC=12πfC


Total reactance X=XL−XC because XL and XC are 180° out of phase.


Z=R2+X2=R2+(XL−XC)2

At resonance XC=XL, therefore X=0, Z=R.


Gain of a low pass RLC filter

[edit]

Gain=XCZ=XCR2+(XL−XC)2

Gain=XCZ=12πfCR2+(2πfL−12πfC)2

At resonance, Gain = XC/R.

Gain of a high pass RLC filter

[edit]

Gain=XLZ=XLR2+(XL−XC)2

Gain=XLZ=2πfLR2+(2πfL−12πfC)2

At resonance, Gain = XL/R.

Phase of a low pass RLC filter

[edit]

θ=−arctan⁡[Q(ffp−fpf)]−90∘

where Q=1RLC and fp=12πLC.

Therefore,

θ=−arctan⁡[1RLC(2πfLC−12πfLC)]−90∘

Phase of a high pass RLC filter

[edit]

θ=−arctan⁡[Q(ffp−fpf)]+90∘

θ=−arctan⁡[1RLC(2πfLC−12πfLC)]+90∘

Inductor gap

[edit]

lg=μ0LImax2Bmax2Ac

Bmax=μ0LImax2lgAc

Imax=lgBmax2Acμ0L

μ0=4π⋅10−7 permeability of free space (H/m)

lg gap length (m)

L Inductance (H)

Imax max peak current (A)

Bmax max flux density (T)

Ac core cross-sectional area (m2)

Snubber design

[edit]

For an unknown inductance L resonating with an unknown capacitance C1 at a measurable frequency F, add capacitance C2 in parallel with C1 until the resonant frequency halves. From the LC frequency equation we know that for frequency to half, capacitance must be quadrupled, therefore C2=3*C1 and we can calculate C1 from C2. From F and C1, we can calculate the resonant impedance (reactance of C1 at the resonant frequency) and this becomes the snubber resistance Rsnb. Power lost in the snubber is proportional to Csnb so its value should be minimised while being significantly greater than C1. C2 may be used in the final snubber as its capacitance is arguably "significantly" greater than C1 (Usually in electronics significatly greater means 5-10x greater).

Modelling thermal system

[edit]

THIS IS JUST ME THINKING OUT LOUD. DON'T TAKE THIS SECTION AS ANY RELIABLE SOURCE

Discharging capacitor through a resistor

[edit]

A charged capacitor discharging through a resistor from voltage V0 to 0

V(t)=V0e−tτ

τ is the time taken for voltage to fall from V0 to V0/e when the end point is V=0.

τ=RC

Transfer function:

HC(s)=VC(s)Vin(s)=11+RCs=11+τs

Thermal equivalent

[edit]

A hot object falling from starting temperature T0 to room temperature Trt:

T(t)=T0e−tτ

τ is the time taken for temperature to fall to 1e(T0−Trt)

Transfer function:

H(s)=T(s)Tin(s)=11+τs

Really I need a transfer function of T(s)/Pin(s).

This is a good start because it means I only have to measure temperature and time to get Tau, and not need to know the thermal equivalents of R and C. The end result should be a way to correctly tune a PID controller for an critically damped step response in a thermal system.

Userboxes

[edit]