Author Topic: CC dummy load circuit - will this actually work?  (Read 4715 times)

0 Members and 1 Guest are viewing this topic.

Offline ice595Topic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: ca
CC dummy load circuit - will this actually work?
« on: February 04, 2016, 07:39:42 pm »
so I have this circuit idea of making a PWM constant current source/dummy load.
It consists of a PWM generator, current sense resistor, low-pass filter and a feedback/control circuit.
Will this quick and dirty circuit actually work or will it just oscillate?
I have a feeling that it will oscillate because of the ripple from the low-pass filter crossing the voltage reference.

here is the block diagram and schematic.



 

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14197
  • Country: de
Re: CC dummy load circuit - will this actually work?
« Reply #1 on: February 04, 2016, 09:00:25 pm »
The circuit will likely oscillate. The LPF in the feedback is a poor idea - also having 2 OPs in the "Loop" will most of the time make the OPs act cooperators.

What is a  PWM constant current source/dummy load supposed to do ?
 

Offline ice595Topic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: ca
Re: CC dummy load circuit - will this actually work?
« Reply #2 on: February 04, 2016, 09:42:21 pm »
The circuit will likely oscillate. The LPF in the feedback is a poor idea - also having 2 OPs in the "Loop" will most of the time make the OPs act cooperators.

What is a  PWM constant current source/dummy load supposed to do ?

I was think of driving a high power LED COB with this.
 

Offline macboy

  • Super Contributor
  • ***
  • Posts: 2254
  • Country: ca
Re: CC dummy load circuit - will this actually work?
« Reply #3 on: February 05, 2016, 12:16:24 am »
The circuit will likely oscillate. The LPF in the feedback is a poor idea - also having 2 OPs in the "Loop" will most of the time make the OPs act cooperators.

What is a  PWM constant current source/dummy load supposed to do ?

I was think of driving a high power LED COB with this.
You don't "drive" anything with a dummy load. What exactly do you want: A CC source for an LED driver, or a CC dummy load.
 

Offline ice595Topic starter

  • Regular Contributor
  • *
  • Posts: 98
  • Country: ca
Re: CC dummy load circuit - will this actually work?
« Reply #4 on: February 05, 2016, 12:36:48 am »
You don't "drive" anything with a dummy load. What exactly do you want: A CC source for an LED driver, or a CC dummy load.

replace the DMM in the schematic with a LED COB? or just put it in series with it? and maybe replace the 12v battery in the schematic with something with a higher voltage
 

Offline uncle_bob

  • Supporter
  • ****
  • Posts: 2441
  • Country: us
Re: CC dummy load circuit - will this actually work?
« Reply #5 on: February 05, 2016, 12:44:25 am »
Hi

What you seem to be trying to do is a switching regulator that is set up to deliver a specific current rather than a specific voltage. If you try to do it with straight DC PWM (as you have shown) you will quickly exceed the max current into your load. The fact that very soon after that you go to zero does not count in this case ....

Bottom line - you need an inductor in there somewhere.

Bob
 

Offline AlxDroidDev

  • Frequent Contributor
  • **
  • Posts: 471
  • Country: br
    • Arduino Web Brasil
Re: CC dummy load circuit - will this actually work?
« Reply #6 on: February 05, 2016, 01:05:40 am »
I have something similar working, using a potentiometer, a FET and a single OpAmp (plus a few bits). See the attached picture.

Where it says 13.5V, can be enything over 8V, since I am not using a rail-to-rail opAmp. If you go for a rail-to-rail opAmp, you can have 5V for the opamp as well.

I also added the multisim14 file of the pictured circuit, if that interests you.

BTW, my circuit is not originally mine. I got to with with help from guys in EEVBlog, in this topic: https://www.eevblog.com/forum/beginners/can-i-drive-a-n-fet-directly-from-a-dac/msg847625/#msg847625

and also from a circuit I found at http://jasper.sikken.nl/electronicload/index.html
« Last Edit: February 05, 2016, 01:10:00 am by AlxDroidDev »
"The nice thing about standards is that you have so many to choose from." (Andrew S. Tanenbaum)
 

Offline exe

  • Supporter
  • ****
  • Posts: 2562
  • Country: nl
  • self-educated hobbyist
Re: CC dummy load circuit - will this actually work?
« Reply #7 on: February 05, 2016, 01:31:55 pm »
I'm no expert, but I would do low-pass filtering on PWM (as Dave did in his PSU for current limiting) and use trivial MOSFET curent sink like this: http://electronics.stackexchange.com/a/97668/87044 . It worked for me for non-capacitive loads even without "compensating" capacitor. It is also supposed to be stable because of... It's a common drain or something, I don't remember :). It just works most of the time :)

Concerning LP-filter in your circuit. I heard that it's a bad idea to slow-down your inputs. Rather, slow-down your controller. I think the rationale behind is that if the controller is too fast it may oscillate, even if inputs are "slow" (my experience both with simulators and lame bread-board circuits). But I'm no expert.

PS May be some materials from this thread can be useful (op amp stability issues): https://www.eevblog.com/forum/beginners/op-amps-stabilizing-unity-gain-and-other-questions/
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: CC dummy load circuit - will this actually work?
« Reply #8 on: February 06, 2016, 02:12:35 pm »
Concerning LP-filter in your circuit. I heard that it's a bad idea to slow-down your inputs.
This is true. I made the "mistake" of adding an amplifier between the shunt and the opamp doing the current loop with the ref.  Slowing down the sensor and adding phase delay.
I had to significantly slow down the "system". As in, bodge an lpf at the fet gate. Horribly lowering the overall bandwidth to sub khz range.

 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf