Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #547650

Re: LT Spice problem

Subject Re: LT Spice problem
Newsgroups sci.electronics.design
References (2 earlier) <WipKE.5$6X.2@fx43.iad> <e886ecfe-4c56-4a0c-8199-87a4f596c6df@googlegroups.com> <SHUKE.113$%r7.27@fx40.iad> <gm2qrjFtjnuU1@mid.individual.net> <RawME.79230$TD1.7379@fx48.iad>
From Robert Baer <robertbaer@localnet.com>
Message-ID <CfSNE.9532$C%7.7486@fx15.iad> (permalink)
Date 2019-06-17 12:56 -0800

Show all headers | View raw


Robert Baer wrote:
> Helmut Sennewald wrote:
>> Am 08.06.2019 um 23:15 schrieb Robert Baer:
>>> ....
>>>
>>>     File SP_GV3S800.MOD
>>>
>>> * GV3S800
>>> .SUBCKT GV3S800   1   2
>>> *               +in -in
>>> C1    1  2 20.00E-12
>>> DP    1  2 DX
>>> .MODEL DX D(IS=800.0E-18 Rs=10K Bv=800 Ibv=20e-3
>>> .ENDS
>>>
>>>
>>>    Still no gold.
>>>    Thanks.
>>
>>
>> Hello Robert,
>>
>> This diode has a subcircuit-model, but the standard symbol of a diode 
>> provided by LTspice is for a ".model"-definition.
>>
>> It's not a big deal to fix this problem.
>>
>> Move the cursor over the body of the GV3S800-diode. Press the CTRL-key 
>> and right-mouse-click. A window with all the attributes will pop-up.
>> One line is
>> Prefix: D
>> Change the D to X
>> Prefix: X
>> OK
>>
>> That's all. Now the simulation will run.
>>
>> Background info: The reference designators of subcircuits used in a 
>> SPICE-netlist have to start with X whereas diodes have to start with D.
>>
>> Best regards,
>> Helmut
>    Thank you very much.
>    It has been about 40 years since i messed with spice.
> 
   That did not work as advertised.
   Best i could get was a pull-down filled with diode models.
   So, i modified the program and put .MODEL descriptions in for running.
   Well, the actual circuit oscillates and the simulation in effect latches.
   I also find that there is no .PRINT and no .PLOT; my DOS-based spice 
could put those fancy graphs on paper - and that was 25-30 years ago; 
what gives?

   Have added some part documentation and 2 .MODEL for the sim:

Version 4
SHEET 1 2748 1028
WIRE 176 64 80 64
WIRE 336 64 176 64
WIRE 464 64 416 64
WIRE 608 64 464 64
WIRE 864 64 608 64
WIRE 608 96 608 64
WIRE 864 96 864 64
WIRE -96 128 -192 128
WIRE 80 128 -96 128
WIRE 464 128 464 64
WIRE -96 192 -128 192
WIRE 176 192 176 128
WIRE 176 192 -96 192
WIRE 608 192 608 176
WIRE -128 208 -128 192
WIRE -128 208 -192 208
WIRE 80 224 80 128
WIRE 176 224 176 192
WIRE 464 256 464 192
WIRE 864 256 864 176
WIRE 176 288 80 288
WIRE 608 288 608 272
WIRE 176 368 176 288
WIRE 864 368 864 336
WIRE 1056 368 864 368
WIRE 1120 368 1056 368
WIRE 1248 368 1200 368
WIRE 1456 368 1248 368
WIRE 608 384 608 368
WIRE 1056 400 1056 368
WIRE 1248 400 1248 368
WIRE 864 416 864 368
WIRE 1248 480 1248 464
WIRE 1456 480 1248 480
WIRE 592 496 448 496
WIRE 864 496 864 480
WIRE 864 496 592 496
WIRE 1056 496 864 496
WIRE 1248 496 1248 480
WIRE 864 512 864 496
WIRE 656 544 656 528
WIRE 1056 560 1056 496
WIRE 448 576 448 496
WIRE 656 656 656 624
WIRE 592 672 592 496
WIRE 624 672 592 672
WIRE 864 688 864 656
WIRE 864 688 688 688
WIRE 1056 688 1056 624
WIRE 1056 688 864 688
WIRE 1136 688 1056 688
WIRE 624 704 592 704
WIRE 448 720 448 640
WIRE 656 752 656 720
WIRE 656 848 656 832
WIRE 592 880 592 704
WIRE 864 880 864 832
WIRE 864 880 592 880
WIRE 592 896 592 880
WIRE 864 896 864 880
WIRE 592 1008 592 960
WIRE 864 1008 864 976
FLAG 176 368 0
FLAG -96 128 P1
IOPIN -96 128 In
FLAG -96 192 P2
IOPIN -96 192 In
FLAG 464 256 0
FLAG 608 464 0
FLAG 864 1008 0
FLAG 1056 464 0
FLAG 1248 496 0
FLAG 592 1008 0
FLAG 448 720 0
FLAG 656 528 0
FLAG 656 848 0
FLAG 1136 688 TP
IOPIN 1136 688 Out
FLAG 1456 368 J1
IOPIN 1456 368 Out
FLAG 1456 480 FORK
IOPIN 1456 480 Out
SYMBOL diode 96 128 R180
WINDOW 0 -23 0 Left 2
WINDOW 3 45 27 Left 2
SYMATTR InstName D1
SYMATTR Value VR40X
SYMBOL diode 192 128 R180
WINDOW 0 -20 1 Left 2
WINDOW 3 -134 29 Left 2
SYMATTR InstName D2
SYMATTR Value VR40X
SYMBOL diode 96 288 R180
WINDOW 0 24 64 Left 2
WINDOW 3 46 29 Left 2
SYMATTR InstName D3
SYMATTR Value VR40X
SYMBOL diode 192 288 R180
WINDOW 0 24 64 Left 2
WINDOW 3 -135 32 Left 2
SYMATTR InstName D4
SYMATTR Value VR40X
SYMBOL res 432 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100K
SYMBOL cap 448 128 R0
SYMATTR InstName C1
SYMATTR Value 0.05µ
SYMATTR SpiceLine V=1500V
SYMBOL res 592 80 R0
SYMATTR InstName R2
SYMATTR Value 5.1Meg
SYMBOL res 592 176 R0
SYMATTR InstName R3
SYMATTR Value 5.1Meg
SYMBOL res 592 272 R0
SYMATTR InstName R4
SYMATTR Value 5.1Meg
SYMBOL res 592 368 R0
SYMATTR InstName R5
SYMATTR Value 5.1Meg
SYMBOL res 848 80 R0
SYMATTR InstName R6
SYMATTR Value 5.1Meg
SYMBOL res 848 240 R0
SYMATTR InstName R7
SYMATTR Value 5.1Meg
SYMBOL zener 880 480 R180
WINDOW 0 -52 67 Left 2
WINDOW 3 -108 7 Left 2
SYMATTR InstName DVR1
SYMATTR Value GV3S800
SYMBOL cap 1040 400 R0
WINDOW 3 23 51 Left 2
SYMATTR Value 0.01µ
SYMATTR InstName C20
SYMATTR SpiceLine V=1000V
SYMBOL cap 1232 400 R0
SYMATTR InstName C3
SYMATTR Value 0.05µ
SYMATTR SpiceLine V=1600V
SYMBOL res 1216 352 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 100Meg
SYMBOL res 880 608 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R9
SYMATTR Value 20K
SYMBOL res 880 848 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R10
SYMATTR Value 20K
SYMBOL res 880 992 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R11
SYMATTR Value 68K
SYMBOL diode 848 592 R0
WINDOW 0 39 29 Left 2
SYMATTR InstName D6
SYMATTR Value 1N914
SYMBOL diode 848 688 R0
WINDOW 0 37 32 Left 2
SYMATTR InstName D7
SYMATTR Value 1N914
SYMBOL Opamps\\opamp2 656 624 R0
WINDOW 0 21 43 Left 2
WINDOW 3 30 81 Left 2
SYMATTR InstName U1
SYMATTR Value UA741
SYMBOL cap 1040 560 R0
SYMATTR InstName C4
SYMATTR Value 100p
SYMBOL cap 576 896 R0
SYMATTR InstName C5
SYMATTR Value 1000p
SYMBOL zener 432 576 R0
SYMATTR InstName D5
SYMATTR Value UMZ15K
SYMBOL voltage 656 848 R180
WINDOW 0 20 15 Left 2
WINDOW 3 -51 54 Left 2
SYMATTR InstName V3
SYMATTR Value 15V
SYMBOL voltage 656 640 R180
WINDOW 0 24 96 Left 2
WINDOW 3 -51 56 Left 2
SYMATTR InstName V2
SYMATTR Value 15V
SYMBOL voltage -192 112 R0
WINDOW 0 38 54 Left 2
WINDOW 3 -167 -69 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 -83 -8 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(650 1500 0 1Sec 1uSec 1Sec 1.1Sec 1)
SYMATTR SpiceLine Rser=10K
TEXT 480 216 Left 2 ;1500V
TEXT 968 408 Left 2 ;1000V\nCER
TEXT 1280 432 Left 2 ;1600V
TEXT 1072 648 Left 2 ;MICA
TEXT 608 984 Left 2 ;MICA
TEXT 464 672 Left 2 ;15V
TEXT 1272 352 Left 2 ;+800 VDC OUT
TEXT 1280 496 Left 2 ;COMMON OUT
TEXT -208 360 Left 2 !.tran 0 1Sec 0 1mSec
TEXT 744 400 Left 2 ;Victoreen\nCorotron
TEXT -208 400 Left 2 !.include sp_ua741.mod
TEXT -216 432 Left 2 !.MODEL GV3S800 D(IS=800.0E-18 Rs=10K Bv=800 Ibv=20e-6)
TEXT -80 -48 Left 2 !.MODEL VR40X D(Rs=1.4 Vj=6.5V Bv=5000 Ibv=100uA)
TEXT 792 360 Left 2 ;n006
TEXT 480 472 Left 2 ;n008
TEXT 744 856 Left 2 ;n010
TEXT 168 32 Left 2 ;n001
TEXT 592 32 Left 2 ;n002
TEXT -104 -16 Left 2 ;VB40X 9mmX2mm Mfg not found; use VMI X50SG as ref
TEXT -352 232 Left 2 ;HIVOLT POWER SUPPLY\nModel PSL2-5M\n2KV @ 
5MA\nCONDENSER PRODUCTS CO
TEXT -232 536 Left 2 ;Nodes n001=1405 n002=1395  n006=800 (meas 725 
loading)\nNode  n008 and n010 should be same\nNode i(DVR1) OK; meas avg 
of TP=-640mV

   Thanks.


Back to sci.electronics.design | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-02 21:52 -0800
  Re: LT Spice problem Sylvia Else <sylvia@email.invalid> - 2019-06-03 15:26 +1000
    Re: LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-03 13:22 -0800
      Re: LT Spice problem "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-06-04 20:32 +0100
        Re: LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-05 08:12 -0800
  Re: LT Spice problem Simon S Aysdie <gwhite@ti.com> - 2019-06-05 20:46 -0700
    Re: LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-07 01:32 -0800
      Re: LT Spice problem Simon S Aysdie <gwhite@ti.com> - 2019-06-07 11:41 -0700
        Re: LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-08 13:15 -0800
          Re: LT Spice problem Helmut Sennewald <helmutsennewald@t-online.de> - 2019-06-09 00:23 +0200
            Re: LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-13 11:00 -0800
              Re: LT Spice problem Robert Baer <robertbaer@localnet.com> - 2019-06-17 12:56 -0800

csiph-web