but the advice here seems to be to be strengthening the drive to the transistors.
the strenghtening of the drive does not add gain !
what i proposed is a current mode driver.
Forget the spice simulation and all the mathematics crap , let's reason this through logically for a second and see what happens.
Let's first take a look at the used pass element : the mosfets.
Here is the problem with mosfets : the control ciruit perceives the gate of the mosfet as a capacitor.
So , to control the mosfet you either need to send charge into the gate or pull it out.
Charging in your system is fast. if that MJE transistor goes into full conduction you are CHARGING the capacitor quickly. ( the Source of the mosfet is at 50 volts, the gate is being pulled towards ground so you are CHARGING the gate capacitor )
So the mosfet will go into conduction very quickly.
The effect is the mosfet goes into conduction very quickly so the output voltage goes up.
Now, the change in the output voltage is fed back to the opamp using the 18k and 2k resistor.
but the 2k resistor has a capacitor across it.
The opamp senses that point in order to compare it with the setpoint (what you want)
Since you have a capacitor there , the actual change in the output is slowed down ( that capacitor has to charge or discarge )
So the 'error signal' ( the feedback behaves as an error signal. The opamp has 2 signals to deal with : What you want and what iti really is. Teh delta between them is the error ) is delayed because of the capacitor across the 2k resistor.
So, by now the mosfets are in conduction (this happened fast as you can charge the gates fast) , output is rising and it will take time for the opamp to register this due to the delay caused by the charging of the capacitor across the 2K resistor.
So finally the opamp is catching on and decides 'whoa, we're getting waaay to much voltage here at the output. and slams on the brakes. the opamp will start turning off the MJE transistor. Now , for the mosfets to stop conductiong the gate needs to discharge ... how ? the only pathway is formed by the 10k resistors between gate and source... so this takes time.
the mosfet can turn on fast because the MJE basically can pull the gates to ground and put 50 volts into it ( ok limited by the zener to 15 , but there is virtually no current limit apart from your 1 kiloohm )
So it takes a while for the output voltage to 'sink back down'. Worse, the feedback incurs an additional delay due to the capacitor across the 2K
so the opamp sees an error signal that is penalised by 2 delays : the slow turning off of the mosfets, and the slow registration of the real output voltage due to the cap across the 2K resistor.
so the opamp sits there really hard turning off the MJE but nothing happens !
your output voltage now goes below your setpoint, the mosfets are not conducting but the capacitor across the 2K is still discharging... so now your output is below 50 volts.
Now we get to the point where the setpoint is equal to the voltage across the 2K. the opamp is happy.. but, in reality the output is too low , the opamp just doesn't know it yet. the capacitor keeps discharging and the opamp reacts turning on the mosfets...
since it takes a while for the voltage across the 2k to rise again there is a moment where the opamp goes 'the output is too low, i turned on the mosfets but nothing is happening , i'll open em up a bit more....
so the delay incurred by the charging and discharging of the capacitor across the 2k resistor basically creates a delayed error signal. No matter what the opamp tries, the feedback is coming in too slow and it can't regulate well.
It is perpetually caught in a state of 'overshoot' and 'undershoot'.
So it essentially oscillates !
and that is what you are seeing.
The feedback should be instantaneous. so : no capacitor across the 2K !
now, there is still the proble of the mosfets turning off slowly...
that is where my current source helps.
(it i actually a current sink towards 50 vots rail... this is going to sound confusing ... bear with me )
So , here is how this trick works. : The current source supplies ALWAYS 60 milliampere (with my given values)
To turn the mosfets on the MJE transistor draws the 60 milliampere to ground and draws the gate charging current as well ( the gate charging current from the pmosses comes from 50 volts , into the source, across the gate capacitor , out of the gate and into the MJE transistor ) So to turn on the transistors we are drawing current OUT of the gate. this current charges the gate.
To turn off the mosfets i turn off the MJE. the current source still wants to provide 60milliampere but it cant go through the MJE to ground. so it goes into the gate of the mosfets , DISCHARGING the gate voltage.
it sounds cnfusing. let's look at the voltage signs.
the Source of the mos is at +50 volts. to turn on i brange the gate LOWER than 50 volts, at 35 volt ( limited by the zener diode , you don't want to fry the gate oxide in the mos )
so the gate is NEGATIVE in respect to the 50 volts.
the current source now pumps current into the gate bringing the gate MORE POSITIVE so the gate goes back towards the 50 volt. it does this very quickly as we are feedin it 60milliampere.
assume the gate was charged with 15 volt ( 50 volts on source, 35 volts on gate ). to discharge across 10k you divide 15 volts by 10k and you end up with a discharge current of 1.5 milliampere...
As the gate voltage goes down , at 5 volts ( 50 volts source, 45 volts gate ) you still have the 10k... now only 0.5 milliampere is flowing.. it discharges slower !.
but at 5 volts gate voltage that mos is still conducting ! so your output voltage is still completely out of whack
The current source solves this R-C discharge curve. no matter what the gate voltage , it will send 60 milliampere in that gate !
Once the gate has reached 1.2 volts the current source becomes non functioning ( the transistor cant conduct anymore ) but that is ok. with 1.2 volts teh mosfet is off ! (50 volt on source, 48.8 volt on gate ) mosfets need about 3 volt before they start doing anything ...
You can throw all that stuff into equations and simulate the snot out of it. People like to throw out numbers with fancy names like 'phase margin' or 'loop response'
The phase marging is bad , or the loop response is bad.
OK smartass, i can tell you that already : the damn thing is oscillating ! you just proved it was oscillating.. but i knew that already... tell me how to fix it now
and answering you need more phase marging is NOT an answer. tell me what component to add,remove or change value... blank stare...
they know what number is off , but they can't thell you WHAT makes it be wrong
Simulators and mathematics are not a substitute for understanding how a system works. (before this ends up in another meth flamewar , yes you need the mathematics to work out the numbers. but if you dont know what the numbers are for ... they are useless )
There is one thing you need to remember , and this is a universal truth : the circuit doesn't lie ! An assembled electronic circuit will under any circumstances do what it does. That may not be what you want it to do or think it should do. But you are irrelevant ! the circuit does what the circuit does. yelling at the components and showing them a bunch of diagrams and equatons doesn't help. Electrons are illiterate, stupid, boneheaded and flow into the path of least resistance (pun intended). you can't blame them nor hold them accountable. Their attitude towards mathematics and simulations, and anything else for that matter, is 'f-you'. I see a charge there , which is opposite of mine, i'm going there !