Author Topic: CC/CV Benchtop Power Supply Topology Question  (Read 699 times)

0 Members and 1 Guest are viewing this topic.

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
CC/CV Benchtop Power Supply Topology Question
« on: September 19, 2024, 04:43:30 am »
Hi all,

I'd like to design a benchtop power supply with the following requirements

Output Voltage - 0-30V
Output Current - 0-3A. No overshoot on the constant current.
Noise - Less than 50mVp-p. 20 would be better.
No Fan! That's the main reason I'd like to design it in the first place.
Small footprint - Hammond 1455L801BK - I'll mount the power board on the top panel, so it can use it as a heatsink
Limited on device user interface, due to the small form factor. Mostly USB controlled.
If this sounds pretty close to Dave's original uSupply, its because it very much is. I'm not claiming originality here.

Now I'm thinking of a switching pre-regulator followed by a linear stage. I'm still in early idea stage.
I can handle the control section and the switching regulator just fine, but I've never designed a linear regulator from scratch. I've only used linear ICs.

I was reading up on designing the linear section and most designs are similar to this - 1 pass element (BJT or MOSFET is irrelevant) and 2 control loops - one for voltage and one for current.


However i was watching Dave's final uSupply video his schematic was a lot different. He has the 2 control loops, but also a pass element for each loop.
2376027-1

Now i was wondering, what are the benefits of this approach? I cant find anything similar on any other power supply. 
UPDATE: This question was asked on the topic about the uSupplyhttps://www.eevblog.com/forum/blog/eevblog-1561-usupply-usb-power-supply-part-20/msg5026486/#msg5026486. Dave didn't recall why it's like this.
« Last Edit: September 19, 2024, 05:29:53 am by nike9307 »
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1816
  • Country: au
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #1 on: September 19, 2024, 06:22:03 am »
However i was watching Dave's final uSupply video his schematic was a lot different. He has the 2 control loops, but also a pass element for each loop.
Now i was wondering, what are the benefits of this approach? I cant find anything similar on any other power supply. 
... Dave didn't recall why it's like this.

Maybe it was simpler to develop ?
At lower voltage outputs you can use the current regulator as a thermal load share by splitting the voltage across them ?
That matters more if you do not have the Switching pre-regulator.

Output Voltage - 0-30V
Output Current - 0-3A. No overshoot on the constant current.
Noise - Less than 50mVp-p. 20 would be better.
No Fan! That's the main reason I'd like to design it in the first place.
Small footprint - Hammond 1455L801BK - I'll mount the power board on the top panel, so it can use it as a heatsink
Limited on device user interface, due to the small form factor. Mostly USB controlled.
If this sounds pretty close to Dave's original uSupply, its because it very much is. I'm not claiming originality here.

Now I'm thinking of a switching pre-regulator followed by a linear stage. I'm still in early idea stage.
I can handle the control section and the switching regulator just fine, but I've never designed a linear regulator from scratch. I've only used linear ICs.

I was reading up on designing the linear section and most designs are similar to this - 1 pass element (BJT or MOSFET is irrelevant) and 2 control loops - one for voltage and one for current.
That's broadly standard.

There are controller chips that do most of that, look at
https://www.st.com/en/power-management/voltage-and-current-controllers/products.html
and
https://www.diodes.com/products/power-management/ac-dc-converters/secondary-side-controllers-and-switchers/#
Some parts include the current sense divider down to sub 100mV and those often sense in the ground side. (eg -50mV - 17mOhms for your 3A)

A switching pre-regulator makes a huge difference to your thermal management challenges.

If you want to go to 0V, that can be done with positive current injection, eg by doubling the reference voltage with a opamp and equal resistors, then a resistor the VFB pin,
In that case, a part with an exposed VREF is useful.

MOSFETS are easier to drive than transistors, but their high Cin can prove a challenge for opamps to drive with stability. You will need a scope.
Audio Amp FETs can have lower Cin and better thermal packaging.

« Last Edit: September 19, 2024, 06:50:34 am by PCB.Wiz »
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3247
  • Country: us
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #2 on: September 19, 2024, 07:03:05 am »
The original design started by considering using two linear regulators in series - one for CC and the other for CV - and progressed from there:

EEVblog #221 - Lab Power Supply Design - Part 1
https://youtu.be/CIGjActDeoM

I've seen a similar approach taken with this design:

Build a Small Dual Rail Linear Bench Power Supply. -- TheStuffMade
https://youtu.be/jBtNH1EbU8M
 

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #3 on: September 19, 2024, 10:15:03 am »
Maybe it was simpler to develop ?
At lower voltage outputs you can use the current regulator as a thermal load share by splitting the voltage across them ?
That matters more if you do not have the Switching pre-regulator.

Well that's the thing, the original design does have a switching pre-regulator, its just on a different schematic sheet.
I thought about sharing the thermal load, but only one of the transistors will be dissipating heat at a time, so its not that.

A switching pre-regulator makes a huge difference to your thermal management challenges.
This is why i want one.

MOSFETS are easier to drive than transistors, but their high Cin can prove a challenge for opamps to drive with stability. You will need a scope.
Audio Amp FETs can have lower Cin and better thermal packaging.
I'm aware of the stability issues. I have a scope at work and my boss is cool. He lets me use the work equipment for personal projects.
I'm thinking of using extended SOA N Channel MOSFETs driven by a high current unity gain op-amp with a series resistor on the gate. I've simulated that this driving it like that is simple and causes no issues. \
If you have a recommendation for an audio amp MOSFET I'm happy to hear it
I'd like to use a MOSFET so the voltage drop is minimal. If i can get it stable and low noise at 0.3-0.4V dropout voltage i could probably push the max output current even higher.


 

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #4 on: September 19, 2024, 10:17:26 am »
The original design started by considering using two linear regulators in series - one for CC and the other for CV - and progressed from there:

EEVblog #221 - Lab Power Supply Design - Part 1
https://youtu.be/CIGjActDeoM

I've seen a similar approach taken with this design:

Build a Small Dual Rail Linear Bench Power Supply. -- TheStuffMade
https://youtu.be/jBtNH1EbU8M
Yeah the dual LM317 is a classic when its used that way. When its done with discrete transistors I've not seen it done.
So you think this topology is a legacy of the old design and not a contious choice for the new one?
« Last Edit: September 19, 2024, 10:26:30 am by nike9307 »
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14708
  • Country: de
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #5 on: September 19, 2024, 01:19:50 pm »
Separate power transistors the CC and CV part is an odd solution, likely based on 2 LM317 regulators in series. There is no real benefit to this, bit some issues.

Having a scope to test the desin is a good idea. For the developement a good tool is a simulation package like LTspice.

No fan and the small case kind of requires a SMPS preregulation, which adds a little extra level of complexity. To a large part one could start with the CV/CC regulator part and add the preregulator later in the developement.

No overshoot for the current is a difficult part, as any capacitance at the output does allow for overshoot in the current. One can mainly keep the overshoot small / limit the capacitance at the output. Most regulators need the capacitance for stablity of the control loop.
 

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #6 on: September 19, 2024, 01:49:32 pm »
Separate power transistors the CC and CV part is an odd solution, likely based on 2 LM317 regulators in series. There is no real benefit to this, bit some issues.
I see, so its a waist of time to go down that road. Good to know.

Having a scope to test the desin is a good idea. For the developement a good tool is a simulation package like LTspice.
I tend to be kind of a noob in analog design, so i always simulate heavily.

No fan and the small case kind of requires a SMPS preregulation, which adds a little extra level of complexity. To a large part one could start with the CV/CC regulator part and add the preregulator later in the developement.
That was my plan, as the linear CC/CV is more difficult for me. I've designed a lot of SMPS, so i'll leave that for when i'm happy with the performance of the linear one.

No overshoot for the current is a difficult part, as any capacitance at the output does allow for overshoot in the current. One can mainly keep the overshoot small / limit the capacitance at the output. Most regulators need the capacitance for stablity of the control loop.
You are correct. I'm aiming for minimal capacitance on the output. Less than 100uF if possible. If i use an N channel MOSFET, i should be able to stabilize the loop with less capacitance.
I'm also going to try to design an active circuit that draws current from the output cap, so it doesn't go to the output. Crowbar type circuit, that discharges the output. This is however entirely an optional fun challenges and I'll be happy with the performance of 100uF on the output.
« Last Edit: September 19, 2024, 02:01:39 pm by nike9307 »
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14708
  • Country: de
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #7 on: September 19, 2024, 03:05:24 pm »
100 µF for the output is very feasible. It gets tricky (needs fast regulation) if one aims for less than some 1 µF.

A question for the design is the primary power source. Is this via a classic mains transformer(s) or from a main SMPS with a fixed voltage (e.g. 40 V) ?

The classic form for CV/CC regulation is with a separate supply for the regulator part, so something like 2 transformers. This may make sense also with a preregulator, as the control parts needs a possibly higher voltage anyway.
 

Offline andrewtaylor

  • Contributor
  • Posts: 29
  • Country: de
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #8 on: September 19, 2024, 05:10:30 pm »
Well, the 30V/3A is a 1000x times handled DIY project,
so I`d recommend not to reinvent the wheel.

For the threadopener:
Please take all goodies from this (three episodes) really well discussed design:

https://www.paulvdiyblogs.net/2015/05/tuning-030v-dc-with-03a-psu-diy-kit.html

It is worth the mindful  reading and follow the pro an cons the author discusses there.
 
The following users thanked this post: Victorman222

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #9 on: September 19, 2024, 05:32:43 pm »
100 µF for the output is very feasible. It gets tricky (needs fast regulation) if one aims for less than some 1 µF.
This is my starting goal, if i can get it lower i surely will. The requirements are still floating, as i do it to learn something new. I've found that the best way to learn is to make in into a project.

A question for the design is the primary power source. Is this via a classic mains transformer(s) or from a main SMPS with a fixed voltage (e.g. 40 V) ?

For the first prototype its going to be a fixed 36V brick, that can easily be hidden behind my work bench, along with the other bricks and cables. That way I'll also have higher voltages to drive N channel MOSFETS and i already have the brick.
For a later revision I'm thinking USB C input power, with a buck-boost pre-regulator. Unfortunately buck-boost regulators require manual compensation that depends on the output voltage, so its a problem I'd like to leave for future me.
Most modern switchers have internal compensations that should work well over their entire working range and i'll be able to focus on the linear section.
« Last Edit: September 19, 2024, 05:47:43 pm by nike9307 »
 

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #10 on: September 19, 2024, 05:43:48 pm »
Well, the 30V/3A is a 1000x times handled DIY project,
so I`d recommend not to reinvent the wheel.

For the threadopener:
Please take all goodies from this (three episodes) really well discussed design:

https://www.paulvdiyblogs.net/2015/05/tuning-030v-dc-with-03a-psu-diy-kit.html

It is worth the mindful  reading and follow the pro an cons the author discusses there.

Reinventing the wheel can be quite fun!
I'll check that blog post out. It looks highly detailed and I'm sure i can learn something out of it.
I'll read it in detail tomorrow, but a cursory glance at the 470uF output capacitor kind of leaves me wanting more ... or less in this case  :D
Thank you.

EDIT: Turns out he has a newer version here - https://www.paulvdiyblogs.net/2017/07/my-new-power-supply.html. I'll also check that one out as well.
« Last Edit: September 19, 2024, 05:47:09 pm by nike9307 »
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1816
  • Country: au
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #11 on: September 20, 2024, 02:54:04 am »
I'm aware of the stability issues. I have a scope at work and my boss is cool. He lets me use the work equipment for personal projects.
I'm thinking of using extended SOA N Channel MOSFETs driven by a high current unity gain op-amp with a series resistor on the gate. I've simulated that this driving it like that is simple and causes no issues.
If you have a recommendation for an audio amp MOSFET I'm happy to hear it
I'd like to use a MOSFET so the voltage drop is minimal. If i can get it stable and low noise at 0.3-0.4V dropout voltage i could probably push the max output current even higher.

Another variant topology is to use NMOS with the Drain = GND, so you can better cool the package.
Spice indicates that's a bit fussier than source follower, but it has practical mounting & thermal advantages. You could start with source follower and then change as you get a feel for things ?


Picking a FET these days is more of a challenge. 
The older Audio MOSFETS (Sanken, Toshiba)  are nearing EOL and niche parts, but modern MOSFETS do not come in thermally friendly packages, as they expect switching use, not linear.
Not all of them give SOAR details, and the capacitance curves vary with voltage and vendor.

I guess you start with a package/cooling choice, and work backwards. 
TO3P/TO-247 are still available, and higher voltage parts are low enough RDS and cheap enough to also consider these days, or there are 'big' SMD packages like TOLL etc

eg  A Toshiba TK39N60W5 is 600V, 74mOhms with good SOAR, but Cap values vary widely with bias, in TO-247.

A MOT MOT8125T comes in TOLL-8  85V 220A 2.5mΩ@10V,30A 232W which could be clamp-cooled in a PCB sandwich. 

There are many SSHD coolers on aliexpress that could be useful spreaders.

Or a smaller SMD fets like TO252 (or DFN5x6) 15N10 have lower powers, but also sub nF Ciss, and are very cheap, so you could apply 4-6? of those in a clamp cooling setup.
« Last Edit: September 20, 2024, 03:46:51 am by PCB.Wiz »
 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14708
  • Country: de
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #12 on: September 20, 2024, 07:30:57 am »
With a preregulator / SMPS stage the choice of the power FET is not that critical. The power loss is small and high power would only be for a short time (e.g. 1-10 ms rage) at most. 30 V is also not hat high in power. The choice of exact parts is anyway a later step.

The more fundamental question to decide on is if a single supply voltage or 2 seprate ones are used. The classic solution, found in most lab supplies has an isolated supply for the regulator part. This would need extra effort when starting with a fixed voltage SMPS as the power source.
It is possible to also use just a single source, but this is than a different configuration, like the kit use in the link  https://www.paulvdiyblogs.net/2017/07/my-new-power-supply.html.
AFAIK the Chinese kit is based on an old design that used 741 type OPs. The Kit has an issue with too high a supply to the OPs. Getting 30 V this way can be a bit tricky as the OP-amp needs to operate on the full voltage. The need for the negative supply can also be a bit unconveninet. With a single supply capable OP-amp one could get around the negative supply or use on a single diode drop as a minimal negegative.
The rather high ripple in the CC mode is due to a layout problem. With some care one should also get away with a smaller output capacitor in the type of circuit. Beside the stablity they also want the capacitor to limit the overshoot for the CC to CV transition. There are other ways to speed up this part and thus get away with less capacitance for this purpose too.
 

Offline nike9307Topic starter

  • Newbie
  • Posts: 7
  • Country: bg
Re: CC/CV Benchtop Power Supply Topology Question
« Reply #13 on: September 20, 2024, 11:46:14 am »
I'm thinking of using a TH package transistor that is directly mounted to the top aluminum plate. It has very low thermal resistance, so I'm not concerned about heat.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf