Author Topic: Turning LM25085 into an electronic load  (Read 4989 times)

0 Members and 1 Guest are viewing this topic.

Offline king.osloTopic starter

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: no
Turning LM25085 into an electronic load
« on: July 30, 2012, 08:09:59 pm »
Hello there,

I am still working on my first power supply. I decided to make a switcher with the capability to source and sink current.

Please see the attached schematic. Current will be sunk and sourced through the header called "Binding post". The relays will direct the current the way I want it.

Whilst sinking current I reckon I have to input an alternative signal for FB-pin and the differential amplifier: VFB needs to fall when input voltage rise. Second, the output of the differential amplifier will become negative whilst sinking current, so I need to rectify this as well.

So my questions:

First, what about the RT and VIN pin? I reckon VRT needs to fall when VIN rises? Otherwise the One-shot-module will not function properly? But what about the VINpin?

Second, any additional constructive criticism is welcome.

Thank you for your time.

Kind regards,
Marius
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6689
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Turning LM25085 into an electronic load
« Reply #1 on: July 30, 2012, 09:39:39 pm »
You cannot readily sink current with a switching converter; unless you have somewhere to store the energy in.
 

Offline king.osloTopic starter

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: no
Re: Turning LM25085 into an electronic load
« Reply #2 on: July 30, 2012, 09:57:59 pm »
Current is stored in the coil before it is passed to GND. Did I miss something?

Thanks.M
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6689
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Turning LM25085 into an electronic load
« Reply #3 on: July 30, 2012, 10:21:06 pm »
Current is stored in the coil before it is passed to GND. Did I miss something?

Thanks.M

How are you dissipating the load power? It has to go somewhere, as heat usually.
 

Offline king.osloTopic starter

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: no
Re: Turning LM25085 into an electronic load
« Reply #4 on: July 30, 2012, 10:34:45 pm »
It is sunk:

Binding post -> Rsense -> caps -> inductor -> PMOS -> GND.

How does that sound?M
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6689
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Turning LM25085 into an electronic load
« Reply #5 on: July 30, 2012, 10:44:39 pm »
It is sunk:

Binding post -> Rsense -> caps -> inductor -> PMOS -> GND.

How does that sound?M

So, where does all the heat go? Into PMOS? Otherwise, it is just a dead short.
 

Offline king.osloTopic starter

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: no
Re: Turning LM25085 into an electronic load
« Reply #6 on: July 30, 2012, 10:59:15 pm »
The pmos will switch at 300khz. When it is on, current stored in the inductor will go to gnd. When it is off, the inductor will charge up.M
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6689
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Turning LM25085 into an electronic load
« Reply #7 on: July 30, 2012, 11:09:54 pm »
The pmos will switch at 300khz. When it is on, current stored in the inductor will go to gnd. When it is off, the inductor will charge up.M

You aren't dumping the heat anywhere. Current will flow through the inductor, but then it turns off. Inductors don't like sudden current interruptions (=HV/breakdown), so you need a return path. This return loop must be where heat is dissipated; either that, or on the input through some resistors or similar.

My suggestion: Forget about using the switching regulator to make a current sink. It won't work reliably as the regulator is compensated and designed for a specific feedback configuration. Once you start overdriving the feedback with an op-amp you introduce additional phase shifts which shouldn't be there and they'll cause a whole lot of trouble for you.

I would just add a powerful MOSFET array, and a typical current sink control (you could share the high-side measurement.)
 

Offline king.osloTopic starter

  • Frequent Contributor
  • **
  • Posts: 432
  • Country: no
Re: Turning LM25085 into an electronic load
« Reply #8 on: July 30, 2012, 11:24:59 pm »
Thanks for your suggestion :) I will keep it in mind. So for the sake of learning, when the MOSFET switches off, the magnetic field of the coil collapses, and current flows through the diode, and all is sweet? Or not?

What exactly is the problem with this? Are you saying high voltage will appear at the inductor/PMOS node which will destroy the MOSFET?

Could high speed opamps cure problem with phase shifts?

Thanks.M
« Last Edit: July 30, 2012, 11:31:05 pm by king.oslo »
 

Offline tom66

  • Super Contributor
  • ***
  • Posts: 6689
  • Country: gb
  • Electronics Hobbyist & FPGA/Embedded Systems EE
Re: Turning LM25085 into an electronic load
« Reply #9 on: July 31, 2012, 06:32:58 am »
Thanks for your suggestion :) I will keep it in mind. So for the sake of learning, when the MOSFET switches off, the magnetic field of the coil collapses, and current flows through the diode, and all is sweet? Or not?

In a typical (non-synchronous buck converter):
 - high side switch turned on
 - current flows through high side switch (MOSFET)
 - current flows through inductor
 - current flows through output capacitor (charging it)
 - high side switch turned off
 - current flows through inductor
 - current flows through output capacitor (discharging it)
 - current flows through buck diode

What exactly is the problem with this? Are you saying high voltage will appear at the inductor/PMOS node which will destroy the MOSFET?

No, it probably won't destroy the MOSFET, but it won't work as an electronic load. It will be a dead short to your device under test.

Could high speed opamps cure problem with phase shifts?

Possibly, but I would think high speed op amps could introduce even more problems (noise sensitivity and higher frequency oscillations being some.) The chip is compensated (stabilised) for a few particular configurations - operating it outside of this range can lead to anything happening.
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1054
  • Country: fi
Re: Turning LM25085 into an electronic load
« Reply #10 on: July 31, 2012, 06:42:13 am »
If you push current into the output of a synchronous step-down regulator, it causes regulator input voltage to rise. It turns into a step-up regulator, working from output to input. Unless there is an overvoltage lockout, you'll just destroy the regulator due to overvoltage.

Regards,
Janne
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf