commit 71a687eb5c38799ed33fb18e677a8ae4871251ab
parent 48bc97753458aabbca88341c3dec9f8e89ef3e6f
Author: Martin Kloeckner <mjkloeckner@gmail.com>
Date: Wed, 6 Nov 2024 14:55:03 -0300
add led spice model: `pwm_driver_spice_simulation_models/led.lib`
Diffstat:
2 files changed, 33 insertions(+), 2 deletions(-)
diff --git a/pwm_driver_kicad/pwm_driver_kicad.kicad_sch b/pwm_driver_kicad/pwm_driver_kicad.kicad_sch
@@ -2954,6 +2954,24 @@
(hide yes)
)
)
+ (property "Sim.Library" "pwm_driver_spice_simulation_models/led.lib"
+ (at 189.23 72.39 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
+ (property "Sim.Name" "LED2"
+ (at 189.23 72.39 0)
+ (effects
+ (font
+ (size 1.27 1.27)
+ )
+ (hide yes)
+ )
+ )
(pin "2"
(uuid "0a957eb0-a272-4a1c-b3b4-76803d37c575")
)
@@ -3117,7 +3135,7 @@
(hide yes)
)
)
- (property "Sim.Params" "r=50k pos=0.75"
+ (property "Sim.Params" "r=50k pos=0.5"
(at 160.02 105.41 0)
(effects
(font
@@ -3408,7 +3426,7 @@
(justify left)
)
)
- (property "Value" "220"
+ (property "Value" "330"
(at 191.516 82.296 0)
(effects
(font
diff --git a/pwm_driver_kicad/pwm_driver_spice_simulation_models/led.lib b/pwm_driver_kicad/pwm_driver_spice_simulation_models/led.lib
@@ -0,0 +1,13 @@
+.model led D (IS=1a RS=3.3 N=1.8)
+
+*Typ RED GaAs LED: Vf=1.7V Vr=4V If=40mA trr=3uS
+.MODEL LED1 D (IS=93.2P RS=42M N=3.73 BV=4 IBV=10U
++ CJO=2.97P VJ=.75 M=.333 TT=4.32U)
+
+*Typ RED,GREEN,YELLOW,AMBER GaAs LED: Vf=2.1V Vr=4V If=40mA trr=3uS
+.MODEL LED2 D (IS=93.1P RS=42M N=4.61 BV=4 IBV=10U
++ CJO=2.97P VJ=.75 M=.333 TT=4.32U)
+
+*Typ BLUE SiC LED: Vf=3.4V Vr=5V If=40mA trr=3uS
+.MODEL LED3 D (IS=93.1P RS=42M N=7.47 BV=5 IBV=30U
++ CJO=2.97P VJ=.75 M=.333 TT=4.32U)