DIYbanter

DIYbanter (https://www.diybanter.com/)
-   Electronic Schematics (https://www.diybanter.com/electronic-schematics/)
-   -   Improvements help please (https://www.diybanter.com/electronic-schematics/312150-improvements-help-please.html)

Robert Baer[_3_] October 23rd 10 08:58 AM

Improvements help please
 
1 Attachment(s)
See attached PDF.
Basically, current thru the DUT is set by adjusting a series resistor
to get one volt.
The average reading of voltage is fairly decent, but the actual
voltage across the DUT is not so nice (to be polite); the 200V ripple in
the 2800V supply shows across the DUT (10Meg resistor used for analysis).
Believe it or not, using the capacitor values shown for C1 and C2
appear to be optimum for that average reading..
It would be nice to get the opamp + FET chain to work for a constant
current instead.
Useful comments please?


John Larkin October 23rd 10 07:27 PM

Improvements help please
 
On Sat, 23 Oct 2010 00:58:17 -0700, Robert Baer
wrote:

See attached PDF.
Basically, current thru the DUT is set by adjusting a series resistor
to get one volt.
The average reading of voltage is fairly decent, but the actual
voltage across the DUT is not so nice (to be polite); the 200V ripple in
the 2800V supply shows across the DUT (10Meg resistor used for analysis).
Believe it or not, using the capacitor values shown for C1 and C2
appear to be optimum for that average reading..
It would be nice to get the opamp + FET chain to work for a constant
current instead.
Useful comments please?


The current regulator loop dynamics changes radically as you change
the shunt resistors. With 50K and 4.7 uF, the corner frequency is
under 1 Hz, so any ripple in the DUT current is hugely attenuated
before it gets to the error amp.

It would be better to use a single shunt and adjust the voltage
reference, so you can better tune loop dynamics and reduce ripple.
You'll need a pretty fast loop (and maybe a little feed-forward hum
nulling) to supress that power supply ripple.

Can't you filter the supply better, too?

Some caps across your 100M resistors might help.

Spicing is in order!


John




Robert Baer[_3_] October 24th 10 04:10 AM

Improvements help please
 
1 Attachment(s)
John Larkin wrote:
On Sat, 23 Oct 2010 00:58:17 -0700, Robert Baer
wrote:

See attached PDF.
Basically, current thru the DUT is set by adjusting a series resistor
to get one volt.
The average reading of voltage is fairly decent, but the actual
voltage across the DUT is not so nice (to be polite); the 200V ripple in
the 2800V supply shows across the DUT (10Meg resistor used for analysis).
Believe it or not, using the capacitor values shown for C1 and C2
appear to be optimum for that average reading..
It would be nice to get the opamp + FET chain to work for a constant
current instead.
Useful comments please?


The current regulator loop dynamics changes radically as you change
the shunt resistors. With 50K and 4.7 uF, the corner frequency is
under 1 Hz, so any ripple in the DUT current is hugely attenuated
before it gets to the error amp.

It would be better to use a single shunt and adjust the voltage
reference, so you can better tune loop dynamics and reduce ripple.
You'll need a pretty fast loop (and maybe a little feed-forward hum
nulling) to supress that power supply ripple.

Can't you filter the supply better, too?

Some caps across your 100M resistors might help.

Spicing is in order!


John



I tried removing the 4.7uF cap as it seemed "obvious", and not only
did the ripple current get worse, there were more power line harmonics.
I tried a 4700pF cap across one of the 100Meg resistors ("bottom"
one), to no avail so i quit that nonsense.
I tried a 4700pF cap across the supply and that reduced the ripple
some - not a lot. Large value 3KV caps are not exactly common, small or
inexpensive. Looks i would need a cap in the region of 1uF..

I came up with a better way of driving the FETs; all i need is a
500KC oscillator with RMS output near input voltage - say oscillates
from 1V to 5V in.
See attached PDF.



Robert Baer[_3_] October 24th 10 04:15 AM

Improvements help please
 
Robert Baer wrote:
John Larkin wrote:
On Sat, 23 Oct 2010 00:58:17 -0700, Robert Baer
wrote:

See attached PDF.
Basically, current thru the DUT is set by adjusting a series
resistor to get one volt.
The average reading of voltage is fairly decent, but the actual
voltage across the DUT is not so nice (to be polite); the 200V ripple
in the 2800V supply shows across the DUT (10Meg resistor used for
analysis).
Believe it or not, using the capacitor values shown for C1 and C2
appear to be optimum for that average reading..
It would be nice to get the opamp + FET chain to work for a
constant current instead.
Useful comments please?


The current regulator loop dynamics changes radically as you change
the shunt resistors. With 50K and 4.7 uF, the corner frequency is
under 1 Hz, so any ripple in the DUT current is hugely attenuated
before it gets to the error amp.
It would be better to use a single shunt and adjust the voltage
reference, so you can better tune loop dynamics and reduce ripple.
You'll need a pretty fast loop (and maybe a little feed-forward hum
nulling) to supress that power supply ripple.

Can't you filter the supply better, too?

Some caps across your 100M resistors might help.

Spicing is in order!


John



I tried removing the 4.7uF cap as it seemed "obvious", and not only
did the ripple current get worse, there were more power line harmonics.
I tried a 4700pF cap across one of the 100Meg resistors ("bottom"
one), to no avail so i quit that nonsense.
I tried a 4700pF cap across the supply and that reduced the ripple
some - not a lot. Large value 3KV caps are not exactly common, small or
inexpensive. Looks i would need a cap in the region of 1uF..

I came up with a better way of driving the FETs; all i need is a 500KC
oscillator with RMS output near input voltage - say oscillates from 1V
to 5V in.
See attached PDF.

OOPS! See a big goofus (me); the top 2 drivers are shorted - should
go from the source too the gate..
Perhaps with a better gate drive, removing C2 would be a benefit.

John Larkin October 24th 10 06:19 PM

Improvements help please
 
On Sat, 23 Oct 2010 20:15:53 -0700, Robert Baer
wrote:

Robert Baer wrote:
John Larkin wrote:
On Sat, 23 Oct 2010 00:58:17 -0700, Robert Baer
wrote:

See attached PDF.
Basically, current thru the DUT is set by adjusting a series
resistor to get one volt.
The average reading of voltage is fairly decent, but the actual
voltage across the DUT is not so nice (to be polite); the 200V ripple
in the 2800V supply shows across the DUT (10Meg resistor used for
analysis).
Believe it or not, using the capacitor values shown for C1 and C2
appear to be optimum for that average reading..
It would be nice to get the opamp + FET chain to work for a
constant current instead.
Useful comments please?

The current regulator loop dynamics changes radically as you change
the shunt resistors. With 50K and 4.7 uF, the corner frequency is
under 1 Hz, so any ripple in the DUT current is hugely attenuated
before it gets to the error amp.
It would be better to use a single shunt and adjust the voltage
reference, so you can better tune loop dynamics and reduce ripple.
You'll need a pretty fast loop (and maybe a little feed-forward hum
nulling) to supress that power supply ripple.

Can't you filter the supply better, too?

Some caps across your 100M resistors might help.

Spicing is in order!


John



I tried removing the 4.7uF cap as it seemed "obvious", and not only
did the ripple current get worse, there were more power line harmonics.
I tried a 4700pF cap across one of the 100Meg resistors ("bottom"
one), to no avail so i quit that nonsense.
I tried a 4700pF cap across the supply and that reduced the ripple
some - not a lot. Large value 3KV caps are not exactly common, small or
inexpensive. Looks i would need a cap in the region of 1uF..

I came up with a better way of driving the FETs; all i need is a 500KC
oscillator with RMS output near input voltage - say oscillates from 1V
to 5V in.
See attached PDF.

OOPS! See a big goofus (me); the top 2 drivers are shorted - should
go from the source too the gate..
Perhaps with a better gate drive, removing C2 would be a benefit.


This circuit is sufficiently complex, the solution space is so huge,
that you are unlikely to stumble onto a good design by fiddling.

John


Robert Baer[_3_] October 24th 10 10:29 PM

Improvements help please
 
John Larkin wrote:
On Sat, 23 Oct 2010 20:15:53 -0700, Robert Baer
wrote:

Robert Baer wrote:
John Larkin wrote:
On Sat, 23 Oct 2010 00:58:17 -0700, Robert Baer
wrote:

See attached PDF.
Basically, current thru the DUT is set by adjusting a series
resistor to get one volt.
The average reading of voltage is fairly decent, but the actual
voltage across the DUT is not so nice (to be polite); the 200V ripple
in the 2800V supply shows across the DUT (10Meg resistor used for
analysis).
Believe it or not, using the capacitor values shown for C1 and C2
appear to be optimum for that average reading..
It would be nice to get the opamp + FET chain to work for a
constant current instead.
Useful comments please?
The current regulator loop dynamics changes radically as you change
the shunt resistors. With 50K and 4.7 uF, the corner frequency is
under 1 Hz, so any ripple in the DUT current is hugely attenuated
before it gets to the error amp.
It would be better to use a single shunt and adjust the voltage
reference, so you can better tune loop dynamics and reduce ripple.
You'll need a pretty fast loop (and maybe a little feed-forward hum
nulling) to supress that power supply ripple.

Can't you filter the supply better, too?

Some caps across your 100M resistors might help.

Spicing is in order!


John



I tried removing the 4.7uF cap as it seemed "obvious", and not only
did the ripple current get worse, there were more power line harmonics.
I tried a 4700pF cap across one of the 100Meg resistors ("bottom"
one), to no avail so i quit that nonsense.
I tried a 4700pF cap across the supply and that reduced the ripple
some - not a lot. Large value 3KV caps are not exactly common, small or
inexpensive. Looks i would need a cap in the region of 1uF..

I came up with a better way of driving the FETs; all i need is a 500KC
oscillator with RMS output near input voltage - say oscillates from 1V
to 5V in.
See attached PDF.

OOPS! See a big goofus (me); the top 2 drivers are shorted - should
go from the source too the gate..
Perhaps with a better gate drive, removing C2 would be a benefit.


This circuit is sufficiently complex, the solution space is so huge,
that you are unlikely to stumble onto a good design by fiddling.

John

OK, here is a step towards SPICE modeling the beast..without current
sense / feedback; just a fixed but adjustable drive level.
Spice takes forever; i do not have days to wait; it steps in the tens
of nanoseconds region and i want to see the voltage on the top FET drain
to look at the ripple there (10mSec time frame).
Without the FETs, it converges in less than a second.
What can i do to make it faster?

Version 4
SHEET 1 1140 680
WIRE 592 -592 480 -592
WIRE 160 -512 -32 -512
WIRE 160 -496 160 -512
WIRE 160 -496 128 -496
WIRE 192 -496 160 -496
WIRE 320 -496 288 -496
WIRE -96 -480 -176 -480
WIRE -32 -480 -32 -512
WIRE 320 -480 320 -496
WIRE 384 -480 320 -480
WIRE 480 -480 480 -512
WIRE 480 -480 384 -480
WIRE 384 -464 384 -480
WIRE 592 -464 592 -592
WIRE 832 -464 592 -464
WIRE 288 -448 288 -496
WIRE 288 -448 240 -448
WIRE 160 -432 128 -432
WIRE 240 -432 240 -448
WIRE 240 -432 192 -432
WIRE -176 -416 -176 -480
WIRE 160 -416 160 -432
WIRE 288 -416 160 -416
WIRE 384 -400 320 -400
WIRE 480 -384 480 -480
WIRE 544 -384 480 -384
WIRE 160 -368 128 -368
WIRE 192 -368 160 -368
WIRE 288 -368 288 -416
WIRE 320 -368 320 -400
WIRE 320 -368 288 -368
WIRE 480 -368 320 -368
WIRE 592 -368 480 -368
WIRE -96 -352 -96 -400
WIRE -96 -352 -144 -352
WIRE -32 -352 -32 -400
WIRE 160 -352 160 -368
WIRE 160 -352 -32 -352
WIRE 480 -320 480 -368
WIRE -144 -272 -144 -352
WIRE 48 -272 -144 -272
WIRE 832 -272 832 -464
WIRE -176 -256 -176 -336
WIRE 16 -256 -176 -256
WIRE 16 -240 16 -256
WIRE 16 -240 -32 -240
WIRE 176 -240 16 -240
WIRE 176 -224 176 -240
WIRE 176 -224 144 -224
WIRE 208 -224 176 -224
WIRE 336 -224 304 -224
WIRE -96 -208 -176 -208
WIRE -32 -208 -32 -240
WIRE 336 -208 336 -224
WIRE 400 -208 336 -208
WIRE 480 -208 480 -240
WIRE 480 -208 400 -208
WIRE 400 -192 400 -208
WIRE 592 -192 592 -368
WIRE 304 -176 304 -224
WIRE 304 -176 240 -176
WIRE 176 -160 144 -160
WIRE 240 -160 240 -176
WIRE 240 -160 208 -160
WIRE -240 -144 -512 -144
WIRE -176 -144 -176 -208
WIRE 176 -144 176 -160
WIRE 304 -144 176 -144
WIRE 400 -128 336 -128
WIRE 832 -128 832 -192
WIRE 480 -112 480 -208
WIRE 544 -112 480 -112
WIRE 176 -96 144 -96
WIRE 208 -96 176 -96
WIRE 304 -96 304 -144
WIRE 336 -96 336 -128
WIRE 336 -96 304 -96
WIRE 480 -96 336 -96
WIRE 592 -96 480 -96
WIRE -928 -80 -1072 -80
WIRE -640 -80 -928 -80
WIRE -352 -80 -640 -80
WIRE -96 -80 -96 -128
WIRE -96 -80 -144 -80
WIRE -32 -80 -32 -128
WIRE 48 -80 48 -272
WIRE 48 -80 -32 -80
WIRE 176 -80 176 -96
WIRE 176 -80 48 -80
WIRE 480 -48 480 -96
WIRE -352 -32 -352 -80
WIRE -1072 -16 -1072 -80
WIRE -912 -16 -1008 -16
WIRE -640 -16 -640 -80
WIRE -640 -16 -688 -16
WIRE -592 -16 -640 -16
WIRE -144 0 -144 -80
WIRE 48 0 -144 0
WIRE -512 16 -512 -144
WIRE -416 16 -512 16
WIRE -176 16 -176 -64
WIRE 16 16 -176 16
WIRE 832 16 832 -48
WIRE 16 32 16 16
WIRE 16 32 -16 32
WIRE 176 32 16 32
WIRE -912 48 -976 48
WIRE -624 48 -688 48
WIRE -128 48 -144 48
WIRE 176 48 176 32
WIRE 176 48 144 48
WIRE 208 48 176 48
WIRE 336 48 304 48
WIRE -1008 64 -1008 -16
WIRE -1008 64 -1072 64
WIRE -208 64 -208 48
WIRE -208 64 -352 64
WIRE -128 64 -128 48
WIRE -80 64 -128 64
WIRE -16 64 -16 32
WIRE 336 64 336 48
WIRE 400 64 336 64
WIRE 480 64 480 32
WIRE 480 64 400 64
WIRE -1072 80 -1072 64
WIRE 400 80 400 64
WIRE 592 80 592 -96
WIRE -624 96 -624 48
WIRE -592 96 -592 64
WIRE -592 96 -624 96
WIRE -352 96 -352 64
WIRE 304 96 304 48
WIRE 304 96 240 96
WIRE -912 112 -944 112
WIRE -640 112 -688 112
WIRE -592 112 -592 96
WIRE 176 112 144 112
WIRE 240 112 240 96
WIRE 240 112 208 112
WIRE -512 128 -512 16
WIRE -432 128 -512 128
WIRE -208 128 -208 64
WIRE -128 128 -128 64
WIRE 176 128 176 112
WIRE 304 128 176 128
WIRE -432 144 -432 128
WIRE -240 144 -240 -144
WIRE -240 144 -288 144
WIRE 400 144 336 144
WIRE 480 160 480 64
WIRE 544 160 480 160
WIRE -1008 176 -1008 64
WIRE -1008 176 -1040 176
WIRE -928 176 -928 -80
WIRE -912 176 -928 176
WIRE 176 176 144 176
WIRE 208 176 176 176
WIRE 304 176 304 128
WIRE 336 176 336 144
WIRE 336 176 304 176
WIRE 592 176 336 176
WIRE -512 192 -512 128
WIRE -80 192 -80 144
WIRE -16 192 -16 144
WIRE 48 192 48 0
WIRE 48 192 -16 192
WIRE 176 192 176 176
WIRE 176 192 48 192
WIRE -640 208 -640 112
WIRE -592 208 -592 192
WIRE -592 208 -640 208
WIRE -352 240 -352 192
WIRE -432 256 -432 208
WIRE -1040 272 -1040 176
WIRE -976 272 -976 48
WIRE -592 272 -592 208
WIRE -592 272 -976 272
WIRE -944 304 -944 112
WIRE -512 304 -512 272
WIRE -512 304 -944 304
FLAG -352 240 0
FLAG -1072 80 0
FLAG -432 336 0
FLAG -80 192 0
FLAG 832 16 0
SYMBOL npn -416 -32 R0
WINDOW 3 -51 96 Left 0
SYMATTR Value 2N2222
SYMATTR InstName Q1
SYMBOL res -112 112 R90
WINDOW 3 32 56 VTop 0
WINDOW 0 92 62 VBottom 0
SYMATTR Value 1K
SYMATTR InstName R1
SYMBOL voltage -1072 -32 R0
WINDOW 0 13 4 Left 0
WINDOW 3 9 -24 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15V
SYMBOL cap -208 64 R270
WINDOW 3 -6 37 VBottom 0
WINDOW 0 30 2 VTop 0
SYMATTR Value 4.7µ
SYMATTR InstName C1
SYMBOL Misc\\NE555 -800 80 R0
SYMATTR InstName U1
SYMBOL res -608 -32 R0
SYMATTR InstName R8
SYMATTR Value 910
SYMBOL res -608 96 R0
WINDOW 0 38 49 Left 0
WINDOW 3 32 90 Left 0
SYMATTR InstName R9
SYMATTR Value 910
SYMBOL cap -1040 288 R270
WINDOW 0 32 32 VTop 0
WINDOW 3 -12 37 VBottom 0
SYMATTR InstName C6
SYMATTR Value 0.001µ
SYMBOL res -528 176 R0
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL diode -448 144 R0
SYMATTR InstName D1
SYMATTR Value 1N914
SYMBOL voltage -432 240 R0
WINDOW 0 30 17 Left 0
WINDOW 3 46 57 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 8V
SYMBOL ind2 -96 48 R0
WINDOW 3 -42 113 Left 0
SYMATTR InstName L1
SYMATTR Value 500µ
SYMBOL ind2 -32 48 R0
WINDOW 3 35 116 Left 0
SYMATTR InstName L2
SYMATTR Value 500µ
SYMBOL pnp -288 192 R180
WINDOW 0 42 52 Left 0
WINDOW 3 -29 -9 Left 0
SYMATTR InstName Q2
SYMATTR Value 2N2907
SYMBOL ind2 -112 -224 R0
WINDOW 3 -42 113 Left 0
SYMATTR InstName L3
SYMATTR Value 500µ
SYMBOL ind2 -48 -224 R0
WINDOW 3 35 116 Left 0
SYMATTR InstName L4
SYMATTR Value 500µ
SYMBOL ind2 -112 -496 R0
WINDOW 3 -42 113 Left 0
SYMATTR InstName L5
SYMATTR Value 500µ
SYMBOL ind2 -48 -496 R0
WINDOW 3 35 116 Left 0
SYMATTR InstName L6
SYMATTR Value 500µ
SYMBOL res 304 -496 R0
WINDOW 3 25 84 Left 0
SYMATTR InstName R5
SYMATTR Value 10K
SYMBOL diode 112 -496 R0
WINDOW 0 -34 30 Left 0
WINDOW 3 -69 2 Left 0
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL diode 144 -368 R180
WINDOW 0 37 32 Left 0
WINDOW 3 22 4 Left 0
SYMATTR InstName D3
SYMATTR Value 1N4148
SYMBOL diode 208 -432 R180
WINDOW 0 -34 32 Left 0
WINDOW 3 -68 60 Left 0
SYMATTR InstName D4
SYMATTR Value 1N4148
SYMBOL diode 176 -432 R0
WINDOW 0 38 30 Left 0
WINDOW 3 23 63 Left 0
SYMATTR InstName D5
SYMATTR Value 1N4148
SYMBOL cap 368 -464 R0
WINDOW 0 -12 -33 Left 0
WINDOW 3 -32 83 Left 0
SYMATTR InstName C2
SYMATTR Value 0.012µ
SYMBOL res 320 -224 R0
WINDOW 3 25 84 Left 0
SYMATTR InstName R6
SYMATTR Value 10K
SYMBOL diode 128 -224 R0
WINDOW 0 -34 30 Left 0
WINDOW 3 -69 2 Left 0
SYMATTR InstName D6
SYMATTR Value 1N4148
SYMBOL diode 160 -96 R180
WINDOW 0 37 32 Left 0
WINDOW 3 22 4 Left 0
SYMATTR InstName D7
SYMATTR Value 1N4148
SYMBOL diode 224 -160 R180
WINDOW 0 -34 32 Left 0
WINDOW 3 -68 60 Left 0
SYMATTR InstName D8
SYMATTR Value 1N4148
SYMBOL diode 192 -160 R0
WINDOW 0 38 30 Left 0
WINDOW 3 23 63 Left 0
SYMATTR InstName D9
SYMATTR Value 1N4148
SYMBOL cap 384 -192 R0
WINDOW 0 -12 -33 Left 0
WINDOW 3 -32 83 Left 0
SYMATTR InstName C3
SYMATTR Value 0.012µ
SYMBOL res 320 48 R0
WINDOW 3 25 84 Left 0
SYMATTR InstName R3
SYMATTR Value 10K
SYMBOL diode 128 48 R0
WINDOW 0 -34 30 Left 0
WINDOW 3 -69 2 Left 0
SYMATTR InstName D10
SYMATTR Value 1N4148
SYMBOL diode 160 176 R180
WINDOW 0 37 32 Left 0
WINDOW 3 22 4 Left 0
SYMATTR InstName D11
SYMATTR Value 1N4148
SYMBOL diode 224 112 R180
WINDOW 0 -34 32 Left 0
WINDOW 3 -68 60 Left 0
SYMATTR InstName D12
SYMATTR Value 1N4148
SYMBOL diode 192 112 R0
WINDOW 0 38 30 Left 0
WINDOW 3 23 63 Left 0
SYMATTR InstName D13
SYMATTR Value 1N4148
SYMBOL cap 384 80 R0
WINDOW 0 -12 -33 Left 0
WINDOW 3 -32 83 Left 0
SYMATTR InstName C4
SYMATTR Value 0.012µ
SYMBOL nmos 544 80 R0
SYMATTR InstName M1
SYMATTR Value STW11NM80
SYMBOL nmos 544 -192 R0
SYMATTR InstName M2
SYMATTR Value STW11NM80
SYMBOL nmos 544 -464 R0
SYMATTR InstName M3
SYMATTR Value STW11NM80
SYMBOL voltage 832 -144 R0
WINDOW 0 13 4 Left 0
WINDOW 3 9 -24 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value SINE(2500 200 60 0)
SYMBOL res 816 -288 R0
SYMATTR InstName R4
SYMATTR Value 1.3Meg
SYMATTR SpiceLine pwr=10
SYMBOL res -160 -320 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R7
SYMATTR Value 0.6
SYMBOL res -160 -48 R180
WINDOW 0 25 113 Left 0
WINDOW 3 31 82 Left 0
SYMATTR InstName R10
SYMATTR Value 0.6
SYMBOL res 464 -336 R0
SYMATTR InstName R11
SYMATTR Value 100Meg
SYMBOL res 464 -64 R0
SYMATTR InstName R12
SYMATTR Value 100Meg
SYMBOL res 464 -608 R0
SYMATTR InstName R13
SYMATTR Value 100Meg
TEXT -112 256 Left 0 !K1 L1 L2 0.998
TEXT -400 328 Left 0 ;Output level set
TEXT -120 232 Left 0 ;Murata 78601/2C
TEXT -120 -56 Left 0 ;Murata 78601/2C
TEXT -104 -32 Left 0 !K2 L3 L4 0.998
TEXT -136 -328 Left 0 ;Murata 78601/2C
TEXT -120 -304 Left 0 !K3 L5 L6 0.998
TEXT -618 -312 Left 0 !.tran 0 20ms 0

Robert Baer[_3_] October 25th 10 10:21 AM

Improvements help please (Speedups?)
 
I dumped excess stuff for the sort term and set a time as short as
possible but still see step response to settling.
The 555 oscillator is "steady state" around 0.18mSec, so i start my
pulse at 0.2mSec; the output then is stable around 0.45mSec so my pulse
reverts at 0.5mSec; the result settling around 0.9mSec.
It still takes a while to run - simulator runs about 20uSec/second to
generate data.
I would like this to run perhaps 10 times faster so that i can do a
full schematic over a 100mSec or longer period of time - without having
to wait days.
Help?
What i have now:

Version 4
SHEET 1 1140 680
WIRE -240 -144 -512 -144
WIRE -928 -80 -1072 -80
WIRE -640 -80 -928 -80
WIRE -352 -80 -640 -80
WIRE -352 -32 -352 -80
WIRE -1072 -16 -1072 -80
WIRE -912 -16 -1008 -16
WIRE -640 -16 -640 -80
WIRE -640 -16 -688 -16
WIRE -592 -16 -640 -16
WIRE -512 16 -512 -144
WIRE -416 16 -512 16
WIRE 176 32 -16 32
WIRE -912 48 -976 48
WIRE -624 48 -688 48
WIRE -128 48 -144 48
WIRE 176 48 176 32
WIRE 176 48 144 48
WIRE 208 48 176 48
WIRE 336 48 304 48
WIRE -1008 64 -1008 -16
WIRE -1008 64 -1072 64
WIRE -208 64 -208 48
WIRE -208 64 -352 64
WIRE -128 64 -128 48
WIRE -80 64 -128 64
WIRE -16 64 -16 32
WIRE 336 64 336 48
WIRE 400 64 336 64
WIRE -1072 80 -1072 64
WIRE 400 80 400 64
WIRE -624 96 -624 48
WIRE -592 96 -592 64
WIRE -592 96 -624 96
WIRE -352 96 -352 64
WIRE 304 96 304 48
WIRE 304 96 176 96
WIRE -912 112 -944 112
WIRE -640 112 -688 112
WIRE -592 112 -592 96
WIRE 176 112 176 96
WIRE 176 112 144 112
WIRE 256 112 208 112
WIRE -512 128 -512 16
WIRE -432 128 -512 128
WIRE -208 128 -208 64
WIRE -128 128 -128 64
WIRE 256 128 256 112
WIRE 304 128 256 128
WIRE -432 144 -432 128
WIRE -240 144 -240 -144
WIRE -240 144 -288 144
WIRE 400 144 336 144
WIRE -1008 176 -1008 64
WIRE -1008 176 -1040 176
WIRE -928 176 -928 -80
WIRE -912 176 -928 176
WIRE 176 176 144 176
WIRE 208 176 176 176
WIRE 304 176 304 128
WIRE 336 176 336 144
WIRE 336 176 304 176
WIRE 592 176 336 176
WIRE -512 192 -512 128
WIRE -80 192 -80 144
WIRE -16 192 -16 144
WIRE 176 192 176 176
WIRE 176 192 -16 192
WIRE -640 208 -640 112
WIRE -592 208 -592 192
WIRE -592 208 -640 208
WIRE 592 208 592 176
WIRE -352 240 -352 192
WIRE -432 256 -432 208
WIRE -1040 272 -1040 176
WIRE -976 272 -976 48
WIRE -592 272 -592 208
WIRE -592 272 -976 272
WIRE -944 304 -944 112
WIRE -512 304 -512 272
WIRE -512 304 -944 304
FLAG -352 240 0
FLAG -1072 80 0
FLAG -432 336 0
FLAG -80 192 0
FLAG 592 208 0
SYMBOL npn -416 -32 R0
WINDOW 3 -51 96 Left 0
SYMATTR Value 2N2222
SYMATTR InstName Q1
SYMBOL res -112 112 R90
WINDOW 3 32 56 VTop 0
WINDOW 0 92 62 VBottom 0
SYMATTR Value 1K
SYMATTR InstName R1
SYMBOL voltage -1072 -32 R0
WINDOW 0 13 4 Left 0
WINDOW 3 9 -24 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 15V
SYMBOL cap -208 64 R270
WINDOW 3 -6 37 VBottom 0
WINDOW 0 30 2 VTop 0
SYMATTR Value 4.7µ
SYMATTR InstName C1
SYMBOL Misc\\NE555 -800 80 R0
SYMATTR InstName U1
SYMBOL res -608 -32 R0
SYMATTR InstName R8
SYMATTR Value 910
SYMBOL res -608 96 R0
WINDOW 0 38 49 Left 0
WINDOW 3 32 90 Left 0
SYMATTR InstName R9
SYMATTR Value 910
SYMBOL cap -1040 288 R270
WINDOW 0 32 32 VTop 0
WINDOW 3 -12 37 VBottom 0
SYMATTR InstName C6
SYMATTR Value 0.001µ
SYMBOL res -528 176 R0
SYMATTR InstName R2
SYMATTR Value 1K
SYMBOL diode -448 144 R0
SYMATTR InstName D1
SYMATTR Value 1N914
SYMBOL voltage -432 240 R0
WINDOW 0 30 17 Left 0
WINDOW 3 46 57 Left 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value PULSE(8 2 200u 100n 100n 300u)
SYMBOL ind2 -96 48 R0
WINDOW 3 -42 113 Left 0
SYMATTR Value 500µ
SYMATTR InstName L1
SYMBOL ind2 -32 48 R0
WINDOW 3 35 116 Left 0
SYMATTR Value 500µ
SYMATTR InstName L2
SYMBOL pnp -288 192 R180
WINDOW 0 42 52 Left 0
WINDOW 3 -29 -9 Left 0
SYMATTR InstName Q2
SYMATTR Value 2N2907
SYMBOL res 320 48 R0
WINDOW 3 25 84 Left 0
SYMATTR Value 10K
SYMATTR InstName R3
SYMBOL diode 128 48 R0
WINDOW 0 -34 30 Left 0
WINDOW 3 -69 2 Left 0
SYMATTR InstName D10
SYMATTR Value 1N4148
SYMBOL diode 160 176 R180
WINDOW 0 37 32 Left 0
WINDOW 3 22 4 Left 0
SYMATTR InstName D11
SYMATTR Value 1N4148
SYMBOL diode 224 112 R180
WINDOW 0 -34 32 Left 0
WINDOW 3 -68 60 Left 0
SYMATTR InstName D12
SYMATTR Value 1N4148
SYMBOL diode 192 112 R0
WINDOW 0 38 30 Left 0
WINDOW 3 23 63 Left 0
SYMATTR InstName D13
SYMATTR Value 1N4148
SYMBOL cap 384 80 R0
WINDOW 0 -12 -33 Left 0
WINDOW 3 -32 83 Left 0
SYMATTR InstName C4
SYMATTR Value 0.012µ
TEXT -112 256 Left 0 !K1 L1 L2 0.998
TEXT -400 328 Left 0 ;Output level set
TEXT -120 232 Left 0 ;Murata 78601/2C
TEXT -616 -312 Left 0 !.tran 0 1ms 0

Jim Thompson[_3_] October 25th 10 04:10 PM

Improvements help please (Speedups?)
 
Fundamental Thompson Rule... learned the hard way:

"If Spice struggles to find convergence you have a bad design" :-)

On Mon, 25 Oct 2010 02:21:05 -0700, Robert Baer
wrote:

I dumped excess stuff for the sort term and set a time as short as
possible but still see step response to settling.
The 555 oscillator is "steady state" around 0.18mSec, so i start my
pulse at 0.2mSec; the output then is stable around 0.45mSec so my pulse
reverts at 0.5mSec; the result settling around 0.9mSec.
It still takes a while to run - simulator runs about 20uSec/second to
generate data.
I would like this to run perhaps 10 times faster so that i can do a
full schematic over a 100mSec or longer period of time - without having
to wait days.
Help?
What i have now:

Version 4
SHEET 1 1140 680
WIRE -240 -144 -512 -144
WIRE -928 -80 -1072 -80

[snip]
TEXT -112 256 Left 0 !K1 L1 L2 0.998
TEXT -400 328 Left 0 ;Output level set
TEXT -120 232 Left 0 ;Murata 78601/2C
TEXT -616 -312 Left 0 !.tran 0 1ms 0


...Jim Thompson
--
| James E.Thompson, CTO | mens |
| Analog Innovations, Inc. | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| Phoenix, Arizona 85048 Skype: Contacts Only | |
| Voice:(480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I can see November from my house :-)


All times are GMT +1. The time now is 06:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2014 DIYbanter