--- In LTspice@..., "ridethesnake7miles" wrote:
I'm trying to figure out how to model a standard No. 47 flash-
light lamp. I'm having trouble trying to find a similar model.
Here's a short (but very realistic) subcircuit for a filament type
lamp that has been written for optimum convergence performance in
LTspice:
* Two Pin Incandescent Lamp Model
*
* input: Kc = conductance constant of filament
* input: Kr = radiation constant of filament
* input: CTf = filament thermal capacitance
* input: RTf = filament thermal resistance
* n = numerical dynamic range scale factor
* Cf = filament conductance
* Pf = filament power (electrical input)
* Pr = radiated power (electromagnetic output)
* Tf = filament temperature (in degrees K)
* Ta = ambient temperature (converted to deg K)
*
.subckt Lamp 1 2 params: Kc=120 Kr=.7p CTf=5m RTf=10k
.param n=1m Ta=temp-kelvin ; internal parameters
BCf 1 2 I=V(1,2)*Kc/V(Tf)**1.2
BPf 0 Tf I=V(1,2)*I(BCf)*n
BPr Tf 0 I=Kr*(V(Tf)**4-Ta**4)*n
Cfa Tf Ta {CTf*n} Rpar={RTf/n}
VTa Ta 0 {Ta}
.ends Lamp
Look here for a Lamp bulb symbol and a hierarchical model version
of this subcicuit:
LampModel.zip ; incandescent lamp model, symbol, and test files
Lamp.asc ; updated lamp model to replace the one in the zip file
Regards -- analogspiceman