Skip to main content
additional answer
Source Link
a concerned citizen
  • 21.8k
  • 1
  • 23
  • 40

It looks like there's a capacitor discharge problem but, if I increase their values, nothing changes except the time contant -- eventually the response looks like this, only time-stretched/shrinked. There must be something more which I don't know. If you think it will help you, here is how the schematic was transformed: [edit - deleted]


[edit]

After searching a bit more I came across an extremely rare case of a paper that could be acessed on IEEE: A 2 kW, Single-Phase, 7-Level Flying Capacitor Multilevel Inverter with an Active Energy Buffer. It's a 7-level but, on page 3, it shows the missing information about how the command pulses should be. Reading through it it also explains that these inverters are not driven at the grid frequency -- they're modulated by a carrier (symmetrical triangle) which, due to the flying capacitor topology, makes it appear that the output modulating frequency appears N-1 times larger, while also having considerably less ripple after filtering (the LC filter, itself, can have smaller values).

So that link on YouTube above is bogus and here is how the schematic looks like now:

5-level flying capacitor

Since it looks like what you're interested most is to see the behaviour of the circuit, I've changed the transistors for VCSW+D, for faster simulation. And below is the source for the schematic:

Version 4
SHEET 1 52285660 3772
WIRE 34244144 -35280 32483936 -35280
WIRE 32484288 -28880 32484208 -35280
WIRE 34244144 -28848 34244096 -35248
WIRE 32004288 -27248 31204208 -27248
WIRE 48164432 -25680 37924352 -25680
WIRE 37924544 -24080 37924432 -25680
WIRE 37924576 -24080 36004544 -24080
WIRE 32004704 -22480 31844640 -22480
WIRE 48164736 -22480 48164704 -25680
WIRE 31844864 -20880 31844800 -22480
WIRE 47684896 -14480 46084864 -14480
WIRE 32485024 -9680 32484960 -20880
WIRE 34245056 -9680 34245024 -20880
WIRE 34245184 -9680 32485120 -9680
WIRE 46084000 -96144 3936 144
WIRE 4048 144 4000 -96144
WIRE 48164544 -96160 48164544 -12880
WIRE 48164576 -96160 46084544 -96160
WIRE 48164704 -64160 48164704 -9680
WIRE 37924704 16160 37924656 -240160
WIRE 47684736 16160 46084704 16160
WIRE 46084864 64160 42084864 6480
WIRE 48164864 64160 4816 32160
WIRE 48164896 64160 46084864 64160
WIRE 48165024 160 5024 80
WIRE 48165024 64160 4976 160
WIRE 47685056 160 46245024 160
WIRE 46245184 208160 44165184 20880
WIRE 48165184 208160 48165136 176160
WIRE 48164432 192 4432 80
WIRE 4592 224 4592 208
WIRE 46244752 224 4752 208
WIRE 48164912 240224 48164912 208
WIRE 36005072 320224 36005072 -240208
WIRE 47685184 320224 46405184 320160
WIRE 44165216 336224 44165184 208224
WIRE 37925248 352224 37925216 80224
WIRE 38884000 352288 37923936 352288
WIRE 42084048 368288 42084000 64288
WIRE 48165248 368304 48165248 336224
WIRE 48164352 368320 46404352 36880
WIRE 51524704 368352 48164704 368160
WIRE 38884864 384352 38884864 160
WIRE 5024 352 5024 160
WIRE 48164432 400384 48164432 368256
WIRE 40004464 384 4432 384
WIRE 4464 416 4464 384
WIRE 4000 -96432 3936 432
WIRE 48165248 416448 48165248 400384
WIRE 47685312 480448 46405248 480448
WIRE 51525344 448 5312 448
WIRE 5344 464 5344 448
WIRE 5248 480 51525248 368448
WIRE 44164432 512496 44164432 400384
WIRE 46404000 512576 44163936 512576
WIRE 48165248 512576 48165248 496544
WIRE 48165344 512576 46405344 512544
WIRE 4656 592 4656 576
WIRE 4816 544592 4816 512576
WIRE 37924976 592 4976 576
WIRE 37925136 352592 5136 576
WIRE 47684592 624640 46404544 624640
WIRE 42084704 656640 42084704 432416
WIRE 46564704 656640 42084672 656640
WIRE 48164752 656640 48164704 640
WIRE 48164864 656640 46564864 656416
WIRE 48164864 688640 48164832 656640
WIRE 51524912 704640 4864 640
WIRE 5024 640 5024 416
WIRE 5024 640 4992 640
WIRE 5072 640 5024 640
WIRE 5184 640 5184 224
WIRE 5184 640 5152 640
WIRE 4352 720 4352 400
WIRE 4432 720 4432 560
WIRE 47684432 768720 46244352 768720
WIRE 40004544 816720 40004544 480640
WIRE 46724544 816720 40004432 816720
WIRE 48164608 816720 48164544 784720
WIRE 48164704 816720 46724704 816640
WIRE 48164704 864720 48164672 816720
WIRE 4768 944720 46404704 944720
WIRE 36004864 992720 36004864 400640
WIRE 37924864 992720 37924832 640720
WIRE 37924928 992720 36004864 992720
WIRE 37925024 1008720 37925024 992640
WIRE 46725024 1008720 37924992 1008720
WIRE 48165088 1008720 48165024 960720
WIRE 48165184 1008720 46725184 1008640
WIRE 5184 720 5152 720
FLAG 51205312 288448 LOAD
FLAG 51524464 704416 0
FLAG 38883936 384224 0
FLAG 46084000 144 101
FLAG 4288 -9680 21c[1:4]
FLAG 46084288 64-48 22_c[1:4]
FLAG 46243936 208512 230
FLAG 46404000 432 103
FLAG 3936 368 240
FLAG 46404000 512288 25102
FLAG 46563936 656 260
FLAG 46724000 816576 27104
FLAG 46724096 1008-48 28[101:104]
FLAG 31844640 -208 0
FLAG 34244592 -352224 [11:18]c[4]
FLAG 34244800 -96208 [21:28]0
FLAG 46084752 -144224 11c[3]
FLAG 46084960 16208 120
FLAG 46244912 160224 13c[2]
FLAG 46405120 320208 140
FLAG 46405072 480224 15c[1]
FLAG 46405088 624592 160
FLAG 46245136 768576 17_c[1]
FLAG 46404928 944592 180
FLAG 30244976 112576 0_c[2]
FLAG 30244768 256592 0
FLAG 30244816 400576 0_c[3]
FLAG 30244608 544592 0
FLAG 31204656 -272576 1,1,3,3,5,5,7,7_c[4]
FLAG 30243936 320 10
FLAG 30245248 176576 30
FLAG 30245344 320576 50
FLAG 30245216 464224 7x
SYMBOL res 51365328 464448 R0
SYMATTR InstName RL
SYMATTR Value 100
SYMBOL voltage 36004352 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 17 100 Left 2
SYMATTR InstName Vcc
SYMATTR Value {Vcc}
SYMBOL voltage 3936 128 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -16 121 Left 2
SYMATTR InstName V1
SYMATTR Value 100pulse rser=10m1 -1 0 {T/2} {T/2} 0 {T}
SYMBOL gvoltage 32483936 -304272 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -21 123 Left 2
SYMATTR InstName G[1:8]V2
SYMATTR Value pulse 1 -1 {T/4} {T/2} {T/2} 0 {T}
SYMBOL resDigital\\diffschmitt 34084144 -304128 R0
WINDOW 3 -3 121 Left 2
WINDOW 123 -3 143 Left 2
SYMATTR Value vt=0 vh=0
SYMATTR Value2 tau=1u tripdt=1u
SYMATTR InstName R[1A[1:8]4]
SYMBOL sw 4672 160 M270
SYMATTR ValueInstName 12S1
SYMBOL nmosdiode 47684640 -22496 R0M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName M1D1
SYMBOL sw 4832 160 M270
SYMATTR ValueInstName xS2
SYMBOL nmosdiode 47684800 -6496 R0M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName M2D2
SYMBOL sw 4992 160 M270
SYMATTR ValueInstName xS3
SYMBOL nmosdiode 47684960 8096 R0M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName M3D3
SYMBOL sw 5152 160 M270
SYMATTR ValueInstName xS4
SYMBOL nmosdiode 47685120 24096 R0M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName M4D4
SYMBOL sw 5056 640 M90
SYMATTR ValueInstName xS5
SYMBOL nmosdiode 47685088 400704 R0M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName M5D5
SYMBOL sw 4896 640 M90
SYMATTR ValueInstName xS6
SYMBOL nmosdiode 47684928 544704 R0M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName M6D6
SYMBOL sw 4736 640 M90
SYMATTR ValueInstName xS7
SYMBOL nmosdiode 4768 688704 R0M90
SYMATTRWINDOW InstName0 M70 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR ValueInstName xD7
SYMBOL nmossw 47684576 864640 R0M90
SYMATTR InstName M8S8
SYMBOL diode 4608 704 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR ValueInstName xD8
SYMBOL cap 37764688 576352 R0
SYMATTRWINDOW InstName39 C324 78 Left 2
SYMATTRWINDOW Value123 {C/24 100 Left 2}
WINDOW rser={R*2}40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMBOL voltage 3024SYMATTR 16Value2 R0Rser={R/3}
SYMATTR InstName V12C4
SYMATTR Value pulse 0 1 {TC/10} 1u 1u {T*0.3}
SYMATTR SpiceLine2 ic={TVcc*3/4}
SYMBOL voltage 30243936 160-96 R0
WINDOW 0 9 2 Left 2
SYMATTR InstName V34Vs
SYMATTR Value pulsesin 0 1 {T/5} 1u 1u {T*00.1}9 {T}50
SYMBOL voltage 30243936 304560 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -26 134 Left 2
SYMATTR InstName V56V4
SYMATTR Value pulse 01 -1 {T*7T*3/104} 1u 1u{T/2} {T*0.1T/2} 0 {T}
SYMBOL voltage 30243936 448416 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -21 130 Left 2
SYMATTR InstName V78V3
SYMATTR Value pulse 01 -1 {T*3T/52} 1u 1u{T/2} {T*0.3T/2} 0 {T}
SYMBOL ind 5232 288 R0
SYMATTR InstName L1
SYMATTR Value 0.5m
SYMBOL cap 37765232 16480 R0
SYMATTR InstName C2C6
SYMATTR Value {C/2}.2u
SYMBOL rser={R*2}cap 4848 352 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 3984SYMATTR 416Value2 R0Rser={R/2}
SYMATTR InstName C1
SYMATTR Value {C/3} rser={R*32}
SYMATTR SpiceLineSpiceLine2 Rpar=1megic={Vcc/2}
SYMBOL cap 41925008 368352 R0
SYMATTRWINDOW InstName39 C424 78 Left 2
SYMATTRWINDOW Value123 {C/24 100 Left 2}
WINDOW rser={R*2}40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 4400SYMATTR 336Value2 R0Rser={R}
SYMATTR InstName C5
SYMATTR Value {C}
SYMATTR rser=SpiceLine2 ic={RVcc/4}
SYMBOL cap 4416 192 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
TEXTSYMATTR 4224Value2 -304Rser={R}
SYMATTR InstName C2
SYMATTR Value {C}
SYMATTR SpiceLine2 ic={Vcc/2}
SYMBOL cap 4416 496 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW !.tran40 122 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMATTR Value2 Rser={R}
SYMATTR InstName C3
SYMATTR Value {C}
SYMATTR SpiceLine2 ic={Vcc/2}
TEXT 49044472 -7240 Left 2 !.model xtran ako:psmn057200b80m
TEXT 37204472 -320160 Left 2 !.parma T=1/f f=50f=5000 C=1m R=10m Vcc=100
TEXT 44564472 -2968 Left 2 !.save iv(rlload) v(x)
TEXT 4472 -112 Left 2 !.model sw sw ron=0.1 roff=0.1g vt=0.5 vh=-0.5\n.model d d ron=0.1 roff=0.1g vfwd=0.4 vrev=1k epsilon=0.3 revepsilon=10

It looks like there's a capacitor discharge problem but, if I increase their values, nothing changes except the time contant -- eventually the response looks like this, only time-stretched/shrinked. There must be something more which I don't know. If you think it will help you, here is how the schematic was transformed:

Version 4
SHEET 1 5228 3772
WIRE 3424 -352 3248 -352
WIRE 3248 -288 3248 -352
WIRE 3424 -288 3424 -352
WIRE 3200 -272 3120 -272
WIRE 4816 -256 3792 -256
WIRE 3792 -240 3792 -256
WIRE 3792 -240 3600 -240
WIRE 3200 -224 3184 -224
WIRE 4816 -224 4816 -256
WIRE 3184 -208 3184 -224
WIRE 4768 -144 4608 -144
WIRE 3248 -96 3248 -208
WIRE 3424 -96 3424 -208
WIRE 3424 -96 3248 -96
WIRE 4608 -96 4000 -96
WIRE 4816 -96 4816 -128
WIRE 4816 -96 4608 -96
WIRE 4816 -64 4816 -96
WIRE 3792 16 3792 -240
WIRE 4768 16 4608 16
WIRE 4608 64 4208 64
WIRE 4816 64 4816 32
WIRE 4816 64 4608 64
WIRE 4816 80 4816 64
WIRE 4768 160 4624 160
WIRE 4624 208 4416 208
WIRE 4816 208 4816 176
WIRE 4816 208 4624 208
WIRE 4816 240 4816 208
WIRE 3600 320 3600 -240
WIRE 4768 320 4640 320
WIRE 4416 336 4416 208
WIRE 3792 352 3792 80
WIRE 3888 352 3792 352
WIRE 4208 368 4208 64
WIRE 4816 368 4816 336
WIRE 4816 368 4640 368
WIRE 5152 368 4816 368
WIRE 3888 384 3888 352
WIRE 4816 400 4816 368
WIRE 4000 416 4000 -96
WIRE 4816 416 4816 400
WIRE 4768 480 4640 480
WIRE 5152 480 5152 368
WIRE 4416 512 4416 400
WIRE 4640 512 4416 512
WIRE 4816 512 4816 496
WIRE 4816 512 4640 512
WIRE 4816 544 4816 512
WIRE 3792 576 3792 352
WIRE 4768 624 4640 624
WIRE 4208 656 4208 432
WIRE 4656 656 4208 656
WIRE 4816 656 4816 640
WIRE 4816 656 4656 656
WIRE 4816 688 4816 656
WIRE 5152 704 5152 560
WIRE 4768 768 4624 768
WIRE 4000 816 4000 480
WIRE 4672 816 4000 816
WIRE 4816 816 4816 784
WIRE 4816 816 4672 816
WIRE 4816 864 4816 816
WIRE 4768 944 4640 944
WIRE 3600 992 3600 400
WIRE 3792 992 3792 640
WIRE 3792 992 3600 992
WIRE 3792 1008 3792 992
WIRE 4672 1008 3792 1008
WIRE 4816 1008 4816 960
WIRE 4816 1008 4672 1008
FLAG 5120 288 LOAD
FLAG 5152 704 0
FLAG 3888 384 0
FLAG 4608 -96 21
FLAG 4608 64 22
FLAG 4624 208 23
FLAG 4640 368 24
FLAG 4640 512 25
FLAG 4656 656 26
FLAG 4672 816 27
FLAG 4672 1008 28
FLAG 3184 -208 0
FLAG 3424 -352 [11:18]
FLAG 3424 -96 [21:28]
FLAG 4608 -144 11
FLAG 4608 16 12
FLAG 4624 160 13
FLAG 4640 320 14
FLAG 4640 480 15
FLAG 4640 624 16
FLAG 4624 768 17
FLAG 4640 944 18
FLAG 3024 112 0
FLAG 3024 256 0
FLAG 3024 400 0
FLAG 3024 544 0
FLAG 3120 -272 1,1,3,3,5,5,7,7
FLAG 3024 32 1
FLAG 3024 176 3
FLAG 3024 320 5
FLAG 3024 464 7
SYMBOL res 5136 464 R0
SYMATTR InstName RL
SYMATTR Value 100
SYMBOL voltage 3600 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 100 rser=10m
SYMBOL g 3248 -304 R0
SYMATTR InstName G[1:8]
SYMATTR Value 1
SYMBOL res 3408 -304 R0
SYMATTR InstName R[1:8]
SYMATTR Value 12
SYMBOL nmos 4768 -224 R0
SYMATTR InstName M1
SYMATTR Value x
SYMBOL nmos 4768 -64 R0
SYMATTR InstName M2
SYMATTR Value x
SYMBOL nmos 4768 80 R0
SYMATTR InstName M3
SYMATTR Value x
SYMBOL nmos 4768 240 R0
SYMATTR InstName M4
SYMATTR Value x
SYMBOL nmos 4768 400 R0
SYMATTR InstName M5
SYMATTR Value x
SYMBOL nmos 4768 544 R0
SYMATTR InstName M6
SYMATTR Value x
SYMBOL nmos 4768 688 R0
SYMATTR InstName M7
SYMATTR Value x
SYMBOL nmos 4768 864 R0
SYMATTR InstName M8
SYMATTR Value x
SYMBOL cap 3776 576 R0
SYMATTR InstName C3
SYMATTR Value {C/2} rser={R*2}
SYMATTR SpiceLine Rpar=1meg
SYMBOL voltage 3024 16 R0
SYMATTR InstName V12
SYMATTR Value pulse 0 1 {T/10} 1u 1u {T*0.3} {T}
SYMBOL voltage 3024 160 R0
SYMATTR InstName V34
SYMATTR Value pulse 0 1 {T/5} 1u 1u {T*0.1} {T}
SYMBOL voltage 3024 304 R0
SYMATTR InstName V56
SYMATTR Value pulse 0 1 {T*7/10} 1u 1u {T*0.1} {T}
SYMBOL voltage 3024 448 R0
SYMATTR InstName V78
SYMATTR Value pulse 0 1 {T*3/5} 1u 1u {T*0.3} {T}
SYMBOL cap 3776 16 R0
SYMATTR InstName C2
SYMATTR Value {C/2} rser={R*2}
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 3984 416 R0
SYMATTR InstName C1
SYMATTR Value {C/3} rser={R*3}
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 4192 368 R0
SYMATTR InstName C4
SYMATTR Value {C/2} rser={R*2}
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 4400 336 R0
SYMATTR InstName C5
SYMATTR Value {C} rser={R}
SYMATTR SpiceLine Rpar=1meg
TEXT 4224 -304 Left 2 !.tran 1
TEXT 4904 -72 Left 2 !.model x ako:psmn057200b
TEXT 3720 -320 Left 2 !.parma T=1/f f=50 C=1m R=10m
TEXT 4456 -296 Left 2 !.save i(rl)

It looks like there's a capacitor discharge problem but, if I increase their values, nothing changes except the time contant -- eventually the response looks like this, only time-stretched/shrinked. There must be something more which I don't know. If you think it will help you, here is how the schematic was transformed: [edit - deleted]


[edit]

After searching a bit more I came across an extremely rare case of a paper that could be acessed on IEEE: A 2 kW, Single-Phase, 7-Level Flying Capacitor Multilevel Inverter with an Active Energy Buffer. It's a 7-level but, on page 3, it shows the missing information about how the command pulses should be. Reading through it it also explains that these inverters are not driven at the grid frequency -- they're modulated by a carrier (symmetrical triangle) which, due to the flying capacitor topology, makes it appear that the output modulating frequency appears N-1 times larger, while also having considerably less ripple after filtering (the LC filter, itself, can have smaller values).

So that link on YouTube above is bogus and here is how the schematic looks like now:

5-level flying capacitor

Since it looks like what you're interested most is to see the behaviour of the circuit, I've changed the transistors for VCSW+D, for faster simulation. And below is the source for the schematic:

Version 4
SHEET 1 5660 3772
WIRE 4144 -80 3936 -80
WIRE 4288 -80 4208 -80
WIRE 4144 -48 4096 -48
WIRE 4288 -48 4208 -48
WIRE 4432 80 4352 80
WIRE 4544 80 4432 80
WIRE 4576 80 4544 80
WIRE 4704 80 4640 80
WIRE 4736 80 4704 80
WIRE 4864 80 4800 80
WIRE 4896 80 4864 80
WIRE 5024 80 4960 80
WIRE 5056 80 5024 80
WIRE 5184 80 5120 80
WIRE 4000 144 3936 144
WIRE 4048 144 4000 144
WIRE 4544 160 4544 80
WIRE 4576 160 4544 160
WIRE 4704 160 4704 80
WIRE 4704 160 4656 160
WIRE 4736 160 4704 160
WIRE 4864 160 4864 80
WIRE 4864 160 4816 160
WIRE 4896 160 4864 160
WIRE 5024 160 5024 80
WIRE 5024 160 4976 160
WIRE 5056 160 5024 160
WIRE 5184 160 5184 80
WIRE 5184 160 5136 160
WIRE 4432 192 4432 80
WIRE 4592 224 4592 208
WIRE 4752 224 4752 208
WIRE 4912 224 4912 208
WIRE 5072 224 5072 208
WIRE 5184 224 5184 160
WIRE 5216 224 5184 224
WIRE 5248 224 5216 224
WIRE 4000 288 3936 288
WIRE 4048 288 4000 288
WIRE 5248 304 5248 224
WIRE 4352 320 4352 80
WIRE 4704 352 4704 160
WIRE 4864 352 4864 160
WIRE 5024 352 5024 160
WIRE 4432 384 4432 256
WIRE 4464 384 4432 384
WIRE 4464 416 4464 384
WIRE 4000 432 3936 432
WIRE 5248 448 5248 384
WIRE 5312 448 5248 448
WIRE 5344 448 5312 448
WIRE 5344 464 5344 448
WIRE 5248 480 5248 448
WIRE 4432 496 4432 384
WIRE 4000 576 3936 576
WIRE 5248 576 5248 544
WIRE 5344 576 5344 544
WIRE 4656 592 4656 576
WIRE 4816 592 4816 576
WIRE 4976 592 4976 576
WIRE 5136 592 5136 576
WIRE 4592 640 4544 640
WIRE 4704 640 4704 416
WIRE 4704 640 4672 640
WIRE 4752 640 4704 640
WIRE 4864 640 4864 416
WIRE 4864 640 4832 640
WIRE 4912 640 4864 640
WIRE 5024 640 5024 416
WIRE 5024 640 4992 640
WIRE 5072 640 5024 640
WIRE 5184 640 5184 224
WIRE 5184 640 5152 640
WIRE 4352 720 4352 400
WIRE 4432 720 4432 560
WIRE 4432 720 4352 720
WIRE 4544 720 4544 640
WIRE 4544 720 4432 720
WIRE 4608 720 4544 720
WIRE 4704 720 4704 640
WIRE 4704 720 4672 720
WIRE 4768 720 4704 720
WIRE 4864 720 4864 640
WIRE 4864 720 4832 720
WIRE 4928 720 4864 720
WIRE 5024 720 5024 640
WIRE 5024 720 4992 720
WIRE 5088 720 5024 720
WIRE 5184 720 5184 640
WIRE 5184 720 5152 720
FLAG 5312 448 LOAD
FLAG 4464 416 0
FLAG 3936 224 0
FLAG 4000 144 101
FLAG 4288 -80 c[1:4]
FLAG 4288 -48 _c[1:4]
FLAG 3936 512 0
FLAG 4000 432 103
FLAG 3936 368 0
FLAG 4000 288 102
FLAG 3936 656 0
FLAG 4000 576 104
FLAG 4096 -48 [101:104]
FLAG 4640 208 0
FLAG 4592 224 c[4]
FLAG 4800 208 0
FLAG 4752 224 c[3]
FLAG 4960 208 0
FLAG 4912 224 c[2]
FLAG 5120 208 0
FLAG 5072 224 c[1]
FLAG 5088 592 0
FLAG 5136 576 _c[1]
FLAG 4928 592 0
FLAG 4976 576 _c[2]
FLAG 4768 592 0
FLAG 4816 576 _c[3]
FLAG 4608 592 0
FLAG 4656 576 _c[4]
FLAG 3936 0 0
FLAG 5248 576 0
FLAG 5344 576 0
FLAG 5216 224 x
SYMBOL res 5328 448 R0
SYMATTR InstName RL
SYMATTR Value 100
SYMBOL voltage 4352 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 17 100 Left 2
SYMATTR InstName Vcc
SYMATTR Value {Vcc}
SYMBOL voltage 3936 128 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -16 121 Left 2
SYMATTR InstName V1
SYMATTR Value pulse 1 -1 0 {T/2} {T/2} 0 {T}
SYMBOL voltage 3936 272 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -21 123 Left 2
SYMATTR InstName V2
SYMATTR Value pulse 1 -1 {T/4} {T/2} {T/2} 0 {T}
SYMBOL Digital\\diffschmitt 4144 -128 R0
WINDOW 3 -3 121 Left 2
WINDOW 123 -3 143 Left 2
SYMATTR Value vt=0 vh=0
SYMATTR Value2 tau=1u tripdt=1u
SYMATTR InstName A[1:4]
SYMBOL sw 4672 160 M270
SYMATTR InstName S1
SYMBOL diode 4640 96 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMBOL sw 4832 160 M270
SYMATTR InstName S2
SYMBOL diode 4800 96 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D2
SYMBOL sw 4992 160 M270
SYMATTR InstName S3
SYMBOL diode 4960 96 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D3
SYMBOL sw 5152 160 M270
SYMATTR InstName S4
SYMBOL diode 5120 96 M270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D4
SYMBOL sw 5056 640 M90
SYMATTR InstName S5
SYMBOL diode 5088 704 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D5
SYMBOL sw 4896 640 M90
SYMATTR InstName S6
SYMBOL diode 4928 704 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D6
SYMBOL sw 4736 640 M90
SYMATTR InstName S7
SYMBOL diode 4768 704 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D7
SYMBOL sw 4576 640 M90
SYMATTR InstName S8
SYMBOL diode 4608 704 M90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D8
SYMBOL cap 4688 352 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMATTR Value2 Rser={R/3}
SYMATTR InstName C4
SYMATTR Value {C/3}
SYMATTR SpiceLine2 ic={Vcc*3/4}
SYMBOL voltage 3936 -96 R0
WINDOW 0 9 2 Left 2
SYMATTR InstName Vs
SYMATTR Value sin 0 0.9 50
SYMBOL voltage 3936 560 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -26 134 Left 2
SYMATTR InstName V4
SYMATTR Value pulse 1 -1 {T*3/4} {T/2} {T/2} 0 {T}
SYMBOL voltage 3936 416 R0
WINDOW 0 29 34 Left 2
WINDOW 3 -21 130 Left 2
SYMATTR InstName V3
SYMATTR Value pulse 1 -1 {T/2} {T/2} {T/2} 0 {T}
SYMBOL ind 5232 288 R0
SYMATTR InstName L1
SYMATTR Value 0.5m
SYMBOL cap 5232 480 R0
SYMATTR InstName C6
SYMATTR Value 2.2u
SYMBOL cap 4848 352 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMATTR Value2 Rser={R/2}
SYMATTR InstName C1
SYMATTR Value {C/2}
SYMATTR SpiceLine2 ic={Vcc/2}
SYMBOL cap 5008 352 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMATTR Value2 Rser={R}
SYMATTR InstName C5
SYMATTR Value {C}
SYMATTR SpiceLine2 ic={Vcc/4}
SYMBOL cap 4416 192 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMATTR Value2 Rser={R}
SYMATTR InstName C2
SYMATTR Value {C}
SYMATTR SpiceLine2 ic={Vcc/2}
SYMBOL cap 4416 496 R0
WINDOW 39 24 78 Left 2
WINDOW 123 24 100 Left 2
WINDOW 40 22 122 Left 2
SYMATTR SpiceLine Rpar=1meg
SYMATTR Value2 Rser={R}
SYMATTR InstName C3
SYMATTR Value {C}
SYMATTR SpiceLine2 ic={Vcc/2}
TEXT 4472 -40 Left 2 !.tran 80m
TEXT 4472 -160 Left 2 !.parma T=1/f f=5000 C=1m R=10m Vcc=100
TEXT 4472 8 Left 2 !.save v(load) v(x)
TEXT 4472 -112 Left 2 !.model sw sw ron=0.1 roff=0.1g vt=0.5 vh=-0.5\n.model d d ron=0.1 roff=0.1g vfwd=0.4 vrev=1k epsilon=0.3 revepsilon=10
Source Link
a concerned citizen
  • 21.8k
  • 1
  • 23
  • 40

TLDR: it's a case of a misplaced value:

SYMATTR InstName C6
SYMATTR Value 1000µ
SYMATTR SpiceLine Rser=0.01 Cpar=100meg

You used the GUI for entering the parasitics and you used Rpar for all the other capacitors except C6, where you used Cpar, resuling in a 100 MF (Mega, not milli) capacitor. That, alone, will make your schematic work but...

...there are a few things to note:

  • You must have re-arranged your schematic after simulating it and before posting it because it complains about "not finding IRF830" -- you forgot to change the prefixes for all transistors, from MN to X. However, that was not needed, since you could have used one of the already existent VDMOS from the database, saving time in the process. But, if you insist...
  • Then, for a 20 ms period, you're using a 10 ns rise/fall time, which is exaggerated -- use 10 μs and it will be more than enough.
  • You used VCCS with a value of 1 and 12 Ω loads which were supposed to provide nicely both a 12 V gate voltage and a 12 Ω resistance, for a 1 V input (nicely done) but, you used a 10 V pulse command, resulting in 120 V gate drive. Not all, though.
  • And then you apply two lables on the same net: LOAD and S4. it's not harmful to the engine, since it considers the last placed label but, it can be to the user, who can be potentially confused.

Unfortunately, I don't know much about the flying capacitor topology so I can't say how well you've modelled the control pulses but, looking now for some material, I found a few links, among which this one, on YouTube. However, after following those settings, I am not getting the desired output:

not what's needed

It looks like there's a capacitor discharge problem but, if I increase their values, nothing changes except the time contant -- eventually the response looks like this, only time-stretched/shrinked. There must be something more which I don't know. If you think it will help you, here is how the schematic was transformed:

Version 4
SHEET 1 5228 3772
WIRE 3424 -352 3248 -352
WIRE 3248 -288 3248 -352
WIRE 3424 -288 3424 -352
WIRE 3200 -272 3120 -272
WIRE 4816 -256 3792 -256
WIRE 3792 -240 3792 -256
WIRE 3792 -240 3600 -240
WIRE 3200 -224 3184 -224
WIRE 4816 -224 4816 -256
WIRE 3184 -208 3184 -224
WIRE 4768 -144 4608 -144
WIRE 3248 -96 3248 -208
WIRE 3424 -96 3424 -208
WIRE 3424 -96 3248 -96
WIRE 4608 -96 4000 -96
WIRE 4816 -96 4816 -128
WIRE 4816 -96 4608 -96
WIRE 4816 -64 4816 -96
WIRE 3792 16 3792 -240
WIRE 4768 16 4608 16
WIRE 4608 64 4208 64
WIRE 4816 64 4816 32
WIRE 4816 64 4608 64
WIRE 4816 80 4816 64
WIRE 4768 160 4624 160
WIRE 4624 208 4416 208
WIRE 4816 208 4816 176
WIRE 4816 208 4624 208
WIRE 4816 240 4816 208
WIRE 3600 320 3600 -240
WIRE 4768 320 4640 320
WIRE 4416 336 4416 208
WIRE 3792 352 3792 80
WIRE 3888 352 3792 352
WIRE 4208 368 4208 64
WIRE 4816 368 4816 336
WIRE 4816 368 4640 368
WIRE 5152 368 4816 368
WIRE 3888 384 3888 352
WIRE 4816 400 4816 368
WIRE 4000 416 4000 -96
WIRE 4816 416 4816 400
WIRE 4768 480 4640 480
WIRE 5152 480 5152 368
WIRE 4416 512 4416 400
WIRE 4640 512 4416 512
WIRE 4816 512 4816 496
WIRE 4816 512 4640 512
WIRE 4816 544 4816 512
WIRE 3792 576 3792 352
WIRE 4768 624 4640 624
WIRE 4208 656 4208 432
WIRE 4656 656 4208 656
WIRE 4816 656 4816 640
WIRE 4816 656 4656 656
WIRE 4816 688 4816 656
WIRE 5152 704 5152 560
WIRE 4768 768 4624 768
WIRE 4000 816 4000 480
WIRE 4672 816 4000 816
WIRE 4816 816 4816 784
WIRE 4816 816 4672 816
WIRE 4816 864 4816 816
WIRE 4768 944 4640 944
WIRE 3600 992 3600 400
WIRE 3792 992 3792 640
WIRE 3792 992 3600 992
WIRE 3792 1008 3792 992
WIRE 4672 1008 3792 1008
WIRE 4816 1008 4816 960
WIRE 4816 1008 4672 1008
FLAG 5120 288 LOAD
FLAG 5152 704 0
FLAG 3888 384 0
FLAG 4608 -96 21
FLAG 4608 64 22
FLAG 4624 208 23
FLAG 4640 368 24
FLAG 4640 512 25
FLAG 4656 656 26
FLAG 4672 816 27
FLAG 4672 1008 28
FLAG 3184 -208 0
FLAG 3424 -352 [11:18]
FLAG 3424 -96 [21:28]
FLAG 4608 -144 11
FLAG 4608 16 12
FLAG 4624 160 13
FLAG 4640 320 14
FLAG 4640 480 15
FLAG 4640 624 16
FLAG 4624 768 17
FLAG 4640 944 18
FLAG 3024 112 0
FLAG 3024 256 0
FLAG 3024 400 0
FLAG 3024 544 0
FLAG 3120 -272 1,1,3,3,5,5,7,7
FLAG 3024 32 1
FLAG 3024 176 3
FLAG 3024 320 5
FLAG 3024 464 7
SYMBOL res 5136 464 R0
SYMATTR InstName RL
SYMATTR Value 100
SYMBOL voltage 3600 304 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 100 rser=10m
SYMBOL g 3248 -304 R0
SYMATTR InstName G[1:8]
SYMATTR Value 1
SYMBOL res 3408 -304 R0
SYMATTR InstName R[1:8]
SYMATTR Value 12
SYMBOL nmos 4768 -224 R0
SYMATTR InstName M1
SYMATTR Value x
SYMBOL nmos 4768 -64 R0
SYMATTR InstName M2
SYMATTR Value x
SYMBOL nmos 4768 80 R0
SYMATTR InstName M3
SYMATTR Value x
SYMBOL nmos 4768 240 R0
SYMATTR InstName M4
SYMATTR Value x
SYMBOL nmos 4768 400 R0
SYMATTR InstName M5
SYMATTR Value x
SYMBOL nmos 4768 544 R0
SYMATTR InstName M6
SYMATTR Value x
SYMBOL nmos 4768 688 R0
SYMATTR InstName M7
SYMATTR Value x
SYMBOL nmos 4768 864 R0
SYMATTR InstName M8
SYMATTR Value x
SYMBOL cap 3776 576 R0
SYMATTR InstName C3
SYMATTR Value {C/2} rser={R*2}
SYMATTR SpiceLine Rpar=1meg
SYMBOL voltage 3024 16 R0
SYMATTR InstName V12
SYMATTR Value pulse 0 1 {T/10} 1u 1u {T*0.3} {T}
SYMBOL voltage 3024 160 R0
SYMATTR InstName V34
SYMATTR Value pulse 0 1 {T/5} 1u 1u {T*0.1} {T}
SYMBOL voltage 3024 304 R0
SYMATTR InstName V56
SYMATTR Value pulse 0 1 {T*7/10} 1u 1u {T*0.1} {T}
SYMBOL voltage 3024 448 R0
SYMATTR InstName V78
SYMATTR Value pulse 0 1 {T*3/5} 1u 1u {T*0.3} {T}
SYMBOL cap 3776 16 R0
SYMATTR InstName C2
SYMATTR Value {C/2} rser={R*2}
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 3984 416 R0
SYMATTR InstName C1
SYMATTR Value {C/3} rser={R*3}
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 4192 368 R0
SYMATTR InstName C4
SYMATTR Value {C/2} rser={R*2}
SYMATTR SpiceLine Rpar=1meg
SYMBOL cap 4400 336 R0
SYMATTR InstName C5
SYMATTR Value {C} rser={R}
SYMATTR SpiceLine Rpar=1meg
TEXT 4224 -304 Left 2 !.tran 1
TEXT 4904 -72 Left 2 !.model x ako:psmn057200b
TEXT 3720 -320 Left 2 !.parma T=1/f f=50 C=1m R=10m
TEXT 4456 -296 Left 2 !.save i(rl)