LTSpice and discrete regulator PSRR

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi all,

I performed a search on the forum but I found no clear thread to teach a newbie like me how to simulate PSRR of a discrete voltage regulator in LTSpice.

Can someone be so kind to post some simple steps in order to simulate and plot PSRR of a discrete voltage regulator in LTSpice (or, at least, provide a link...)??

Many thanks

Dan
 
Yes! I read it and oh, thank you very much for that Mooly!!!!! I got the first information on simulating with LTSpice.

But, once I have the ripple on Vin and Vout what should I plot?

I suppose something like 20*log(Vout / Vin) on the y axis and frequency on the x axis. Right?
 
Administrator
Joined 2007
Paid Member
I see what you mean... yes 20log and so on, but how do manufacturers derive a figure I wonder. Would they apply a regular symmetrical ripple (such as a sine) at a specific frequency and work out a value from that. I suppose you could work out a figure taking peak values... I honestly don't know.

I think to compare figures of a diy build to say a 78xx then you need to have the same ripple conditions. There must be some industry standard I would have thought.
 
Administrator
Joined 2007
Paid Member
From an LM317 data sheet so it seems from this that they must apply a known fixed (sine ???) type ripple.
 

Attachments

  • LM317.PNG
    LM317.PNG
    64.8 KB · Views: 280
Administrator
Joined 2007
Paid Member
Just a guess but you you might be able to stop that by adding something seemingly irrelevant such as a 10meg across some part of the circuit. I've occasionally encountered something similar.

If that doesn't work then post the .asc file and we'll take a look.
 
Member
Joined 2011
Paid Member
I made a few quick changes to the schematic and it simulated just fine on a Windows7 PC
  1. Interchange M2's source and drain
  2. Interchange J2's source and drain
  3. Interchange J1's source and drain
  4. Connect infinity ohm resistor to U1's trim pin
  5. Replace Maxim opamp model with UniversalOpamp2 because the Maxim's Symbol was not included in the .zip file
Some of my simulated output is attached.
 

Attachments

  • output_crud.png
    output_crud.png
    16 KB · Views: 81
  • change4.png
    change4.png
    12.4 KB · Views: 241
  • change3.png
    change3.png
    11.8 KB · Views: 276
  • change2.png
    change2.png
    5.8 KB · Views: 239
  • change1.png
    change1.png
    11.8 KB · Views: 246
Hi guys,

Thank you very, very, much for your help!

I will try a prototype this week!

BTW I will try an AD797 jewelry-opamp. Does it work single supply?
I also find an Intersil ultra low noise reference I would like to try: http://www.intersil.com/content/dam/Intersil/documents/isl2/isl21090.pdf

I am also thinking about using a BJT as shunt element for better regulation.

Dan
 
Last edited:
Administrator
Joined 2007
Paid Member
The AD797 will work on single rail for something like this but it seems a waste tbh.

I say this every time with regs... its one thing having an ideal low noise voltage source... quite another keeping that way at its destination.

You need to back up the simulations with a real build under real world conditions too.
 
The most difficult part for a DIYer is performing a current set of tests on prototypes. In my next life, or if the devil wants to buy my soul, I will buy an AP x52x audio analyzer.

Currently I am looking for a decent condition system one. But I it is difficult to source good condition one, actually.

Now I need to plan a test set using an Agilent DSO2004A scope and a Tek DM4040 multimeter lol.

Back to the reg, in order to keep this as low noise as possible at the destination, I am planning to build it on the same board that has DAC section in order to have no wire from the supply to the target device.

I have a Naim CDX, good stuff, and I bought also its external XPS supply. It improved the performances a lot but, if you open it, you would be surprized to find that it contains a cascade of quite cheap regulators. So my guess is that low noise layout goes far than the components and topology used lol.

Dan
 
Administrator
Joined 2007
Paid Member
Testing isn't always easy but you should do basic tests, even if its just using a wideband scope. There are different aspects to reg design, low noise just being one of them. How the reg behaves under transient load conditions is important too.
 
Simulating an ultimate version of the regulator before the prototyping I experienced a ringing if the load is a square wave.

I am wondering if this behavior is acceptable or troubleshooting is required...
 

Attachments

  • Screen Shot 2014-10-01 at 13.29.48.png
    Screen Shot 2014-10-01 at 13.29.48.png
    112 KB · Views: 128
Installing a 50pF capacitor to the compensation/decoupling pin of the AD797, as suggested by the DS, further improves the performances.

About the current from the supply, it is pulling 116mA. 70mA are "wasted" in the shunt element, 4mA biasing the CCS, 8mA in the feedback divider, 4mA in the LT1006 (it will be reduced in the prototype), 3mA for the capacity multiplier the other for opa supply. :cool:
 

Attachments

  • Screen Shot 2014-10-01 at 15.17.15.png
    Screen Shot 2014-10-01 at 15.17.15.png
    132.2 KB · Views: 122
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.