Author Topic: "DIY Constant Current Dummy Load" [EEVblog #102]  (Read 20159 times)

0 Members and 1 Guest are viewing this topic.

Offline onemilimeterTopic starter

  • Frequent Contributor
  • **
  • Posts: 314
"DIY Constant Current Dummy Load" [EEVblog #102]
« on: September 16, 2010, 01:54:10 pm »
Hi...

I've two DC generators, namely Generator-1 and Generator-2.
When the Generator-1 supplies 1.5A, the output current waveforms (see attached figure, measured using Tektronix TCP312 current probe with AC coupling) shows peak-to-peak current ripples of 40mA.
When the Generator-2 supplies 37mA, the output current waveforms (see attached figure, measured using Tektronix TCP312 current probe with AC coupling) shows peak-to-peak current ripples of 8mA.
The frequency of the current ripples is about 200Hz

Kindly refer to the circuit as shown in the following link:
EEVblog #102 – DIY Constant Current Dummy Load

Will the current ripples be eliminated or reduced if the positive output terminal of the generator is connected to the "constant current dummy load" presented in the EEVblog #102 (see attached figure on setup).
Well, the circuit may need little modification. For example, the "1R" need to be replaced with a proper value to optimise the current measurement range.

Kindly advise.

Thanks
« Last Edit: September 17, 2010, 07:06:20 pm by onemilimeter »
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #1 on: September 16, 2010, 04:22:33 pm »
why do you need to reduce the ripple so much, is it causing you problems ?

You could use another LC cell to further filter the ripple. I'm not sure a constant current source (which is what your asking for) will be much help as that too will have it's own ripple. All ripple is generated by the fact that the regulator needs some time to readjust to new conditions and that it will over and undershoot slightly and then correct itself which is what the ripple is
 

Offline Time

  • Frequent Contributor
  • **
  • Posts: 725
  • Country: us
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #2 on: September 16, 2010, 04:36:30 pm »
Even if it does solve your problem, I think that would be a very inefficient way to drive your motor.
-Time
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #3 on: September 16, 2010, 05:01:27 pm »
If I understant it right, you want to do an active power filter, something that "absorbes" the spurious (ripple).
Usually it is done by controlling the voltage, since the quality of your supply is measured in terms of voltage precision, not current precision (this last indeed depends on how your load varies). You could also put a simple L-C filter, since power is not so high.

However, typical active power filters are made by controlling a switching converter which input is the line to "clean" and which output is connected to a capacitor. A controller forces the bus-capacitor voltage to be constant by imposing to the "filter" a proper input current.

                                  ______
___------o-------------|        |
___        |                   |LOAD |
bus------|-----o-------|_____|
cap       _|____|_
           |           |____
           | active  |     ---
           |  filter   |     ---  cap (tank)
           |_______|-----     

One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline onemilimeterTopic starter

  • Frequent Contributor
  • **
  • Posts: 314
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #4 on: September 16, 2010, 07:04:09 pm »
Even if it does solve your problem, I think that would be a very inefficient way to drive your motor.

Thanks. I'm aware that it's not an efficient way to drive the motor. I need a constant load torque for some tests. The current ripples in the armature and field current of the generator may result in unwanted torque ripples.
 

Offline onemilimeterTopic starter

  • Frequent Contributor
  • **
  • Posts: 314
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #5 on: September 16, 2010, 07:08:12 pm »
why do you need to reduce the ripple so much, is it causing you problems ?

You could use another LC cell to further filter the ripple. I'm not sure a constant current source (which is what your asking for) will be much help as that too will have it's own ripple. All ripple is generated by the fact that the regulator needs some time to readjust to new conditions and that it will over and undershoot slightly and then correct itself which is what the ripple is

I suspect the current ripples introduce some error in my experimental measurement. If the bandwidth of the "constant current source" control circuit is high, it should be able to reduce the current ripples. Please correct me if I' wrong.
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1055
  • Country: fi
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #6 on: September 16, 2010, 07:29:25 pm »
Have you tried measuring the current noise level when the constant current load is turned off, to see how clean your current measurement setup is? Or in other words, if the ripple you see is just a measurement artifact.

It is also possible that the current source has low level oscillation. In that case, frequency compensation should be added. This will require some experimenting. For example, add a resistor between negative input and sense resistor (something like 1-10k), and then capacitor (something like 10 nF) from opamp output to negative opamp input.

Regards,
Janne
 

Offline onemilimeterTopic starter

  • Frequent Contributor
  • **
  • Posts: 314
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #7 on: September 16, 2010, 08:06:31 pm »
Have you tried measuring the current noise level when the constant current load is turned off, to see how clean your current measurement setup is? Or in other words, if the ripple you see is just a measurement artifact.

It is also possible that the current source has low level oscillation. In that case, frequency compensation should be added. This will require some experimenting. For example, add a resistor between negative input and sense resistor (something like 1-10k), and then capacitor (something like 10 nF) from opamp output to negative opamp input.

Regards,
Janne

Hi Janne

I've not built the "constant current source" yet. The measured current waveforms shown in the first post of this thread were captured using Tektronix TCP312 current probe without the "constant current source". If "constant current source" may help to reduce or eliminate the current ripples then I will build one.

Thanks.
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #8 on: September 16, 2010, 11:55:35 pm »
Have you tried measuring the current noise level when the constant current load is turned off, to see how clean your current measurement setup is? Or in other words, if the ripple you see is just a measurement artifact.

It is also possible that the current source has low level oscillation. In that case, frequency compensation should be added. This will require some experimenting. For example, add a resistor between negative input and sense resistor (something like 1-10k), and then capacitor (something like 10 nF) from opamp output to negative opamp input.

Regards,
Janne

Hi Janne

I've not built the "constant current source" yet. The measured current waveforms shown in the first post of this thread were captured using Tektronix TCP312 current probe without the "constant current source". If "constant current source" may help to reduce or eliminate the current ripples then I will build one.

Thanks.

Sorry for my previous post, I didn't read too carefully your question. However, the thing you want to do can be called an active power filter.
You're right, if the bandwidth of your current regulator is much higher than the disturbance oscillation frequency, then it wil work.
Current sensing has to be done on the current going to motor (I'd put it from armature return and gnd), while the transistor controlled by the opamp has to be in parallel with the motor, then shunting to gnd all non-DC current.
The only problem I see is the fact that the "dummy load" can't source current, so you have to set generator's DC current output to be higher than the needed motor load current, and then make the "dummy load" draw a little DC current plus all the ripple (so subtracting to Igen an always positive current Idummy). This leads to the fact that Ref has to be carefully set, and that an amount of continuous power has to be dissipated by the MOSFET.

                      --> Igen
   generator o---------------o-----------------------
                                        |   |  Idummy               |  |  Imotor
          | \                       __|   \/                          |  \/
Ref o--|+ \______o_____||   |                               |
       __|- /          |        ||<-|                             (M)
      |   | /           |            _|_                              |
      |                  |            ///                               | 
      |                  |                                              |
       ------||-----o------/\/\/----------------------o
                C                    R                                 |
                                                                       <
                                                                        >  Rsense
                                                                       <
                                                                        >
                                                                        |
                                                                      _|_
                                                                      ///
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #9 on: September 17, 2010, 06:33:59 am »
is that ScratCAD ?

onemillimeter: is it possible that your over thinking this ? The ripple is more or less repetitive and predictable, if you take the voltage as the mean/average of the ripple then you will be ok, a motor will not react instantly to such a small change in voltage and will in fact smooth it out acting as a physical/mechanical low pass filter

If you want to supply a constant current to the motor then that's another matter, perhaps you should explain your project further
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #10 on: September 17, 2010, 08:35:54 am »
I saw this way of drawing in a post of someone at this blog, and have fun using this "CAD". I can't call it ScratCAD!  ;D
Perhaps I like this "technique" because it makes me remember the days when I started programming in Pascal, and made some graphical things in char mode...

About the schematic, "the night brought an advice" (as we say in Italy): to make the controller work you surely have to invert polarity of the opamp, since it has to increase MOS current when voltage on Rsense rises. So Rsense has to be connected to + input, while Ref has to go on the inverting one. There is a possibility to try estimating the bandwitdth of your control, but it depends heavily on real MOSFET transconductance, so I think the effort is not that worth.
Another thought I had this morning is that in the case you disconnect the motor you would probably have the MOSFET shorted to gnd or nearly, which means it could go into overcurrent. This can be prevented by limiting gate voltage in some way (below you just have to tune the potentiometer to set max current to the needed value).

                                          o +Vcc
                                          |
                                          |                         
opamp                                  \
output              diode             /
o-/\/\/\-----o---|>|---------> \ pot.
                 |                        /
                 |                        \
                 |                        |
                 |                        |
                 |                      _|_
                 |                      ///
                 |
                 |___________\  to MOS gate
                                    /

One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline DJPhil

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: 00
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #11 on: September 17, 2010, 10:17:28 am »
If ScratCAD is open source, I have a suggestion.
Consider using a code block for schematics. It uses a fixed width font, so it's easier to copy and paste fixed length segments.

Code: [Select]
+-------+-------+-------+-------+-------+-------+-------+-------+
|One    |Two    | Three | Four  | Five  | Six   | Seven | Eight |
+-------+-------+-------+-------+-------+-------+-------+-------+

Just an off base idea to add to the pile. :)

Edit: Server errors are bad this . . morning?
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1055
  • Country: fi
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #12 on: September 17, 2010, 01:37:12 pm »
Hi Janne

I've not built the "constant current source" yet. The measured current waveforms shown in the first post of this thread were captured using Tektronix TCP312 current probe without the "constant current source". If "constant current source" may help to reduce or eliminate the current ripples then I will build one.

Thanks.

You are using the other motor as mechanical constant torque load? Yes, it might work then, if voltage generated is DC (no polarity change).

Regards,
Janne
 

Offline onemilimeterTopic starter

  • Frequent Contributor
  • **
  • Posts: 314
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #13 on: September 17, 2010, 07:13:37 pm »
Current sensing has to be done on the current going to motor (I'd put it from armature return and gnd), while the transistor controlled by the opamp has to be in parallel with the motor, then shunting to gnd all non-DC current.

Hi scrat

Thanks for your advices.

I guess many of you have not seen my application correctly yet. I'm very sorry for my poor explanation.

I've three electrical machines. The first one (the one with red color as shown in the experimental setup diagram) is used as prime mover (i.e. as a motor). The other twos are used as generators and labelled as Generator-1 and Generator-2, respectively. For each test, only one generator (the one with blue color, which can be either Generator-1 or Generator-2) is coupled to the prime mover. Now, let's say Generator-1 is coupled to the prime mover. The armature terminals of the Generator-1 are connected to a resistor (the one with black color) as show in attached figure in this post. The current waveform captured using Tektronix TCP312 current probe is given the first post of this thread. Clearly, the armature current has ripples.

Now, I wish to construct a "constant current load" to replace the resistor. I wonder if the "constant current load", if the regulation bandwidth is high enough, can eliminate or reduce the current ripples.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #14 on: September 17, 2010, 09:18:42 pm »
so your trying to put a constant load on your generator ? why ? yes a generator will have unstable output but really you need to look at the generator's control circuitry and make that smooth before fixing the output
 

Offline onemilimeterTopic starter

  • Frequent Contributor
  • **
  • Posts: 314
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #15 on: September 17, 2010, 10:15:16 pm »
so your trying to put a constant load on your generator ? why ? yes a generator will have unstable output but really you need to look at the generator's control circuitry and make that smooth before fixing the output

Thanks. I use the generator as a load for the motor (prime mover). I wish to study the torque characteristics of the motor. If the armature current of the generator has ripples the generator may induce torque ripples which in turn may affect the the torque produced by the motor. However, recalling the Newton's "action and reaction" law, I'm not sure the way I think is correct or not. Please comment.
 

Offline DJPhil

  • Frequent Contributor
  • **
  • Posts: 511
  • Country: 00
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #16 on: September 17, 2010, 11:22:41 pm »
I think I might have some insight, but this is mostly guesswork, fair warning.

I've deleted a few paragraphs already but I think I understand now. If you're getting armature ripple with just a resistor then it's likely caused by the non-ideal nature of the generator. I don't think there's anything you can do electrically to smooth the generator's load behavior. The best solution I can think of for a smooth, steady motor load would be mechanical. There's a heap of purely mechanical ideas based on friction, gearing, and inertia. These are much more direct and linear loads than a generator, as they'll go straight from motion to heat or mechanical resistance. Imagine the equivalent of a vehicle torque converter from an automatic transmission with one side on the motor and the other side under heavy friction or stopped altogether (grounded emitter? hehe). Calling all mechanical engineers, we've got a live one for you!

If you must use the generator for a load I think you're stuck with the ripple, but I had a useless idea/brain vacation about that as well. I wonder what would happen if you took an LM317 and wired up a variable supply with suitable protected pass transistors for high current operation and powered it with the generator. The regulator and pass transistor set will look like a current source. Then, error amplify the ripple and use it to modulate the vol . . . ok, yeah. That's useless, but I'm going to think more about it anyway.  8)

I hope that helps some, kinda goofy today. :)
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #17 on: September 18, 2010, 07:07:32 am »
oh dear,

Look your electrical ripple is not going to make the load have "mechanical ripple" because your generator will not react that fast, the whole mechanical side will act as a low pass filter and the actual mechanical load will be quite smooth, your worrying over a non existent problem.

it is also likely that the ripple is a produce of the generators electrical properties and therefore that is the result you get with a constant mechanical load
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #18 on: September 20, 2010, 03:51:17 pm »
Yes, since your load is only made by a resistor, ripple is only caused by motor non-idealities and/or measurement noise.
The only way to be sure to apply a very stable torque only if you measure it (torque meters are quite expensive, unfortunately) and put its signal into a feedback loop.
I partially agree with Simon, Generator-2 ripple is quite fast and, depending on your motor's inertia, could be negligible, while Generator-1 has a component at about 100Hz, which could easily end in some oscillation on speed.

However, current regulator could be helpful in substitution to the resistor, and will make load easily variable. Don't know if you need it.
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #19 on: September 20, 2010, 04:01:46 pm »
If ScratCAD is open source, I have a suggestion.
Consider using a code block for schematics. It uses a fixed width font, so it's easier to copy and paste fixed length segments.

Code: [Select]
+-------+-------+-------+-------+-------+-------+-------+-------+
|One    |Two    | Three | Four  | Five  | Six   | Seven | Eight |
+-------+-------+-------+-------+-------+-------+-------+-------+

Just an off base idea to add to the pile. :)

Edit: Server errors are bad this . . morning?

Good idea, I never considered that... But perhaps SomeOneCAD (as I said, it isn't an invention of mine  :( ) won't have a very wide usage.
Is there any simple program to make schematics, with the possibility of making a symbol taken from an image or something like that?
I mean something completely different from Orcad, WEWB, ... a program where you can make a schematic, add schetches and writings, and export an image (so anyone can open it), very quickly. And where if you need a symbol, you get an image and create it in 5 seconds. If there isn't, we could make one! If the saving format will be very simple to understand, there could even be a "command line" mode, to add components.

Sorry for the off-topic, but a thread only for this would have been really ridiculous.
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #20 on: September 20, 2010, 04:57:26 pm »
express pcb is very sinmple and easy to use and create custom parts for, as for adding sketches that's down to your image editing skills, expresspcb can also save schematics as any number of image formats
 

Offline george graves

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #21 on: September 21, 2010, 12:51:26 am »
Has anyone built this per Dave's blog?

I was actually looking to make something like this, but I was going to use a series of automotive 12v incandescent bulbs, driven off a mosfet by a 555 controlled by a pot.  I was just going to throw come large caps on the input and output to smooth the pwm ripple.  Is there something wrong with that idea?

Anyways, I though I would give Dave's plan design a try first.  I was surprised that I did indeed have most of the parts on hand.  That 50k 10 turn pot is *expensive* ($15-30) so I went with a trimmer instead.  Not as elegant - but I might follow his advice and add a coarse/fine adjustment.

The only question I had is this.  The resistor(s) isn't there to dissipate the energy?  That's weird to me, that - well that and the I'm not use to seeing anything between the "source" pin and ground.  I'm use to seeing the "load" on the drain pin.  What's up with that?  Is there an easy explanation?

Offline Zad

  • Super Contributor
  • ***
  • Posts: 1013
  • Country: gb
    • Digital Wizardry, Analogue Alchemy, Software Sorcery
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #22 on: September 21, 2010, 01:46:03 am »
If you are driving it directly from a 555 without a feedback loop, then the big problem you are going to find is that 12v car lamps (and for that matter any incandescent lamp) are far from linear. For example, you could set the sink to 100mA. Initially the filament would be cold and the load current would rise quickly, but then the filament would gradually heat up, the resistance rises, and the current drops off again. It would be possible that this might make the load oscillate.

I wouldn't worry about it being specifically a 50k 10 turn pot, 5k, 10k, 20k, 3 turn, 5 turn, 20 turn would all do a similar job. Separate coarse/fine is a perfectly good solution too.

Offline george graves

  • Super Contributor
  • ***
  • Posts: 1257
  • Country: us
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #23 on: September 21, 2010, 02:46:29 am »
Ahhhh.  I see said the blind man.  Hadn't planned on them being so non-linear.  Thanks for the tip.

Offline Simon

  • Global Moderator
  • *****
  • Posts: 18065
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: "DIY Constant Current Dummy Load" [EEVblog #102]
« Reply #24 on: September 21, 2010, 06:49:03 am »


The only question I had is this.  The resistor(s) isn't there to dissipate the energy?  That's weird to me, that - well that and the I'm not use to seeing anything between the "source" pin and ground.  I'm use to seeing the "load" on the drain pin.  What's up with that?  Is there an easy explanation?

the mosfet is controlled by the voltage across the source and gate, the 1 ohm resistors will never see more than 1 V if I remember rightly ? so the gate will always see 1V less than is coming in as the source is held 1V up from GND, i suppose this also helps stability because if the current drifts to increase the voltage on them increases and so the voltage on the gate decreases. There is of course plenty of head room to so supply the gate enough voltage,
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf