Maths Sandbox edit

Child-Langmuir Law edit

  is anode current.

  is surface area of anode.

  is distance between anode and cathode.

  is the potential difference from anode to cathode.

  is the perveance of the device.


 

 

 

 

 

Triode equation (and rearrangements thereof) edit

  is the amplification factor of the triode.


 

 

 

Derivatives of triode equation edit

  is the anode resistance

  is the transconductance of the device

 

 

 

 

DC to DC converters - conversion ratios edit

Buck Boost Buck-boost (inverting) Buck-boost (non-inverting)
       
       
       

Type II Compensator transfer function edit

 

  when  

Type III Compensator transfer function edit

 

  when   and  

Formula for R3 edit

For type III compensation,

 

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

 


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]:

 

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

 


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.

 

 

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:

 

or to find R2 for a target Vin:

 

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.

 

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:

 

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 II Type III
   
   
   
   
   
   

RLC series circuits edit

       


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


 

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


Gain of a low pass RLC filter edit

 

 

At resonance, Gain = XC/R.

Gain of a high pass RLC filter edit

 

 

At resonance, Gain = XL/R.

Phase of a low pass RLC filter edit

 

where   and  .

Therefore,

 

Phase of a high pass RLC filter edit

 

 

Inductor gap edit

 

 

 

  permeability of free space (H/m)

  gap length (m)

  Inductance (H)

  max peak current (A)

  max flux density (T)

  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

 

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

 

Transfer function:

 

Thermal equivalent edit

A hot object falling from starting temperature   to room temperature  :

 

  is the time taken for temperature to fall to  

Transfer function:

 

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