User: That Man, Location: Massachusetts
Asked on: Wednesday, April 6, 2011 at 1:14 pm EDT
Answered on: Tuesday, May 14, 2024 at 3:51 am EDT
Question: Does anyone know how to model a 400W HPS fixture in SPICE? I've found one model, but it isn't suited for use in a circuit (too complicated... hard to explain, check it out http://www.ee.bgu.ac.il/~pel/lamp_models/HPS.htm). I'm currently using an 872.73 ohm resistor (three phase, 480V power), but I think I might need to add some sort of inductive component. Any ideas? The version of SPICE I'm using is LTspiceIV from Linear Technologies.
Model a 400W HPS Fixture in SPICE
Step 1: Voltage Source
A 3-phase voltage source should be used with a line-to-line voltage of 480V. Use the following syntax:
V_phase1 v1 0 sin(0 480 50)V_phase2 v2 0 sin(120 480 50)V_phase3 v3 0 sin(240 480 50)Step 2: ResistorR_fixture f1 f2 872Step 3: Inductor (Optional)L_fixture f1 f2 5mHStep 4: Capacitor (Optional)C_fixture f2 0 50uFStep 5: Lamp ModelSubckt lamp i oV_lamp i o {V}R_lamp o 0 10I_lamp o 0 {I_lamp(V)}.model I_lamp(V) VSWITCH(Ron=0.1 Roff=100k).ends lampIn this example: `V_lamp`: Voltage across the lamp `R_lamp`: Leakage resistance of the lamp `I_lamp`: Current through the lamp, modeled using a voltage-controlled switch (VSWITCH) with a low resistance (Ron) when the voltage is above a certain threshold and a high resistance (Roff) when the voltage is below the threshold.