The ESR of your capacitance on Vout may still be too high. Read the datasheet on the LM2940. They are quite specific about the ESR.liam.zbasic wrote:So last night I discarded the regulator and started with a new LM2940T and put together a circuit board with a very large heat-sink, a 1000uF capacitor for VIN, then a 1000uF for VOUT, and another 10nF filter on the power rail of the breadboard.
http://www.national.com/ds/LM/LM2940.pdfThe output capacitor is critical to maintaining regulator stability,
and must meet the required conditions for both ESR
(Equivalent Series Resistance) and minimum amount of capacitance.
MINIMUM CAPACITANCE:
The minimum output capacitance required to maintain stability
is 22 μF (this value may be increased without limit). Larger
values of output capacitance will give improved transient response.
ESR LIMITS:
The ESR of the output capacitor will cause loop instability if it
is too high or too low. The acceptable range of ESR plotted
versus load current is shown in the graph below. It is essential
that the output capacitor meet these requirements, or
oscillations can result.
At low currents, the ESR needs to be very close to 0.5 ohms, and no more than 1 ohm. At higher currents you can get up to 5 ohms. I'd bet you are drawing less than 200mA and therefore you need no more than 1 ohm. It is hard to determine the ESR of most general purpose electrolytics. It is often not specified in the data sheets. Some of them DO have sufficiently low ESR, though.
-Tony