On 2015-04-29 4:30 AM, Robert Loos wrote:
> Am 27.04.2015 um 22:56 schrieb Joerg:
>
>> No, but the opamp is the problem.
> ...
>> You've used an expensive micropower opamp in there. Those are no good to
>> drive any serious loads directly and this is a serious load. For
>> example, if you replace it with the OP07 (I tried it because it happened
>> to be in the LTSPice library) nothing oscillates anymore. But even then
>> you have to simulate and measure the phase margin so your circuit won't
>> be too marginal.
> hm. With the OP07 it does not oscillate but it also does not work since
> the OP07 has no rail to rail input. If I add a negative supply, it
> oscillates again, only at a higher frequency.
> Ferrite bead at the gate won't help either.
>
> There is a video on the LT-site:
>
http://www.linear.com/solutions/4449
> that shows how to measure the phase margin. I tried this with the
> original circuit, with the feedback C reduced to 200pF and it stays well
> above 50 degrees. But the transient simulation oscillates.
>
.AC is a small signal analysis method and does not work well for power
stuff, it has to be measured.
The OP07 was just one example and if I go above 120ohms it no longer
oscillates even with negative supply. For this kind of application you
need an opamp with a more powerful output or have a complementary pair
follower. I only used the OP07 because it was in the LTSpice directory.
Bottomline this is never going to work well with the LT2078 unless you
make it very slow. Why do you want a micropower opamp in there?
[LtSpice netlist]
> I've added a negative supply that I set to 0 for the LT2078.
> Something very interesting happens if you raise it. Up to 9.99V the
> curve stays nearly the same. But at 10V it looks completely different!
> Can this be real? A problem in LTspice?
Not likely. Opamps and other models are at least to some extent
behavioral models and there can be parameters under which they fall off
the cliff. It shouldn't with this opamp though because I believe it can
go to +/-18V.
> What I find also curious is that the oscillation is nearly independent
> of the feedback C. You cannot stop is even with arbitrary big C. Not
> even the frequency changes.
Strange. If I use, for example, 120ohms it is stable until about 0.02uF.
At 0.01uF it oscillates. Kind of what I'd expect. Here it is with 0.1uF:
Version 4
SHEET 1 2184 788
WIRE 1712 -320 912 -320
WIRE 1712 -208 1712 -320
WIRE 480 -160 480 -224
WIRE 912 -96 912 -320
WIRE 288 -32 240 -32
WIRE 336 -32 288 -32
WIRE 480 -16 480 -80
WIRE 480 -16 400 -16
WIRE 512 -16 480 -16
WIRE 544 -16 512 -16
WIRE 640 -16 624 -16
WIRE 704 -16 640 -16
WIRE 800 -16 704 -16
WIRE 864 -16 800 -16
WIRE -128 0 -432 0
WIRE 64 0 -48 0
WIRE 144 0 64 0
WIRE 288 0 144 0
WIRE 336 0 288 0
WIRE 144 32 144 0
WIRE 368 48 368 16
WIRE 640 48 640 -16
WIRE 704 64 704 -16
WIRE 1712 64 1712 -128
WIRE 368 144 368 128
WIRE 640 160 640 128
WIRE 704 160 704 128
WIRE 144 192 144 96
WIRE 240 224 240 -32
WIRE 336 224 240 224
WIRE 480 224 480 -16
WIRE 480 224 400 224
WIRE 240 288 240 224
WIRE 64 320 64 0
WIRE -720 336 -720 288
WIRE -432 336 -432 0
WIRE 240 416 240 368
WIRE 816 416 240 416
WIRE 912 416 912 0
WIRE 912 416 816 416
WIRE -720 448 -720 416
WIRE 912 448 912 416
WIRE -432 736 -432 416
WIRE -176 736 -176 576
WIRE -176 736 -432 736
WIRE 64 736 64 400
WIRE 64 736 -176 736
WIRE 912 736 912 528
WIRE 912 736 64 736
WIRE 1712 736 1712 144
WIRE 1712 736 912 736
WIRE 912 768 912 736
FLAG 912 768 0
FLAG -720 448 0
FLAG -720 288 P
FLAG 704 160 0
FLAG 512 -16 QU1
FLAG 144 192 0
FLAG 368 -48 P
FLAG 640 160 0
FLAG 288 -32 InM
FLAG 288 0 InP
FLAG 800 -16 Gate
FLAG 480 -224 0
FLAG 816 416 Sense
FLAG 368 144 0
SYMBOL nmos 864 -96 R0
SYMATTR InstName M1
SYMATTR Value Si4466DY
SYMBOL res 896 432 R0
SYMATTR InstName R1
SYMATTR Value 3R4
SYMATTR SpiceLine tol=5 pwr=3
SYMBOL voltage 1712 48 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value PULSE(12 13 0 10u 10u 10m 20m)
SYMBOL voltage -720 320 R0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL voltage -176 480 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V4
SYMATTR Value SINE(2.5 2.5 10)
SYMBOL voltage -432 320 R0
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V5
SYMATTR Value PULSE(0.01 2.5 0 1n 1n {Tperiod/2} {Tperiod})
SYMBOL res 640 -32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value 120
SYMBOL cap 688 64 R0
SYMATTR InstName C1
SYMATTR Value 1f
SYMBOL res -32 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 8k2
SYMBOL res 48 304 R0
SYMATTR InstName R2
SYMATTR Value 2k2
SYMBOL res 224 272 R0
SYMATTR InstName R3
SYMATTR Value 1k
SYMBOL cap 400 208 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 0.1µ
SYMBOL cap 128 32 R0
SYMATTR InstName C6
SYMATTR Value 4n7
SYMBOL res 624 32 R0
SYMATTR InstName R5
SYMATTR Value 1t
SYMBOL res 464 -176 R0
SYMATTR InstName R11
SYMATTR Value 1t
SYMBOL ind 1696 -224 R0
SYMATTR InstName L1
SYMATTR Value 10µ
SYMBOL Opamps\\OP07 368 -80 R0
SYMATTR InstName U1
SYMBOL voltage 368 144 R180
WINDOW 0 24 96 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V3
SYMATTR Value 6
TEXT -752 648 Left 2 !.tran .3
TEXT 1016 488 Left 2 ;R-Sense
TEXT 936 536 Left 2 ;3W
TEXT -744 -104 Left 2 !.param Tperiod=.1
> Also the inductance I added in the load path to simulate line inductance
> does not significantly change it. What is the timing factor in this
> circuit? A different opamp changes it. But how? Such a simple circuit
> but this babe drives me crazy.
>
The inductance is 10uH, very small. The opamp can change it because they
differ in drive capability. That makes a huge difference when driving
capacitive or other hard loads. Small signal analysis doesn't help that
much with it. For example, the slew rate matters, big time. This is why
at university I never really bought the small signal theory they taught
us. Full confession: It resulted in me skipping class and just writing
in the exam what they wanted to hear.
>> It's even more extreme here. A few years ago was the first time in our
>> life that we ordered take-out pizza. Normally we always bake our own,
>> outdoors over a wood fire.
> *smack*
>
Wood-fire baked pizza tastes beyond compare. We've never looked back,
haven't baked one in the oven since years because it simply isn't as good.