Electronics > Projects, Designs, and Technical Stuff

LTspice and pulse voltage

<< < (3/3)

PA0PBZ:
This is the best I can think of using LT Spice. If you want to play with it copy the below to an .asc file.

--- Code: ---Version 4
SHEET 1 880 680
WIRE 128 112 16 112
WIRE 224 112 208 112
WIRE 320 112 304 112
WIRE 400 112 320 112
WIRE 320 128 320 112
WIRE 192 176 192 160
WIRE 144 192 144 160
WIRE 192 192 192 176
FLAG 16 192 0
FLAG 144 192 0
FLAG 400 192 0
FLAG 320 192 0
FLAG 192 272 0
FLAG 192 176 SW
FLAG 400 112 OUT
SYMBOL voltage 16 96 R0
WINDOW 0 24 16 Invisible 2
WINDOW 3 -67 55 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 24
SYMBOL sw 112 112 R270
WINDOW 0 24 16 Invisible 2
WINDOW 3 24 96 Invisible 2
SYMATTR InstName S1
SYMBOL res 320 96 R90
WINDOW 0 0 56 Invisible 2
WINDOW 3 -39 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 0.1
SYMBOL polcap 304 128 R0
WINDOW 0 24 8 Invisible 2
WINDOW 3 -84 34 Left 2
SYMATTR InstName C1
SYMATTR Value 10000ยต
SYMATTR Description Capacitor
SYMATTR Type cap
SYMATTR SpiceLine V=35 Irms=995m Rser=0.067 Lser=0
SYMBOL voltage 192 176 R0
WINDOW 0 24 16 Invisible 2
WINDOW 3 38 105 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V2
SYMATTR Value PULSE(5 0 0.002 0 0 0.001)
SYMBOL res 384 96 R0
WINDOW 0 36 40 Invisible 2
WINDOW 3 63 57 Left 2
SYMATTR InstName R2
SYMATTR Value 4
TEXT 232 240 Left 2 !.model SW SW(Ron=10m Vt=2.5)
TEXT -52 302 Left 2 !.tran .004

--- End code ---

lk:
Thank You PA0PBZ,

I'm very grateful for the time you have spend helping me with my somewhat imprecise odd questions, but maybe this helps others as well :)

When i have all the bits and pieces i will make a posting on it, if all this has been in response to a problem that is infact not a problem, i think you are right in this.


-lk

lk:
And sometimes problems are just imagined, looks to me like the entire switchover event is done in 50ns, there is no catch diode installed, and its only run off 12volts as that is what the coil can handle. So i guess that i can get away with 1000uF capacitance.


-lk

PA0PBZ:
What are we looking at here? Yes, a Rigol scope screendump but it doesn't tell much without the circuit it's measuring.  ;)

Navigation

[0] Message Index

[*] Previous page

There was an error while thanking
Thanking...
Go to full version