Author Topic: Strange Behavior With Dave's Electronic Load  (Read 13918 times)

0 Members and 1 Guest are viewing this topic.

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Strange Behavior With Dave's Electronic Load
« on: August 04, 2013, 11:28:31 pm »
I tried building my own DIY electronic DC load based on Dave's blog. The only thing that is different is that I used a FQP30N06L MOSFET. In the video he says that if you measure the voltage the voltage between the op-amp inverting input and the 1 ohm resistor you'll get the current passing though that resistor (at least that's what I assumed by the way he showed the connection to the panel meter).

For a simple test I trimmed the non-inverting input to 0.180V (which should correspond to 180mA), but I got nothing on the meter between the inverting input and the 1 ohm resistor, so I tried probing other things in the circuit and I saw that every time I tried to probe the inverting input the circuit would start to "work", but I would get a random current like 347mA (I have a multimeter measuring the input current and another measuring the voltage where Dave put his panel meter). I also noticed that every time I added any value of resistor between the inverting input and the shunt resistor I would get 80mA of current.

Any ideas why I'm getting this strange behavior?

PS: I've been trying to fix this for the last 5 hours. I'm exhausted.
« Last Edit: August 04, 2013, 11:32:03 pm by nathanpc »
 

Offline Odysseus

  • Regular Contributor
  • *
  • Posts: 147
  • Country: us
Re: Strange Behavior With Dave's Electronic Load
« Reply #1 on: August 05, 2013, 10:42:39 am »
Sounds like oscillation because the FET is too much of a capacitive load on the opamp. Judging from the datasheets, your FET has only twice the input capacitance of the one used in Dave's video (500pF vs 1nF), but it can make a difference. Add a series resistance, say 1k, between the output of the opamp and the moset gate. Then add another resistor, also 1k, between the inverting input of the opamp and the source of the mosfet. Then add a capacitor, something like 1nF to 10nF from the output of the opamp to it's inverting input.  Also ensure you have some decoupling across the power rails of the opamp and the potentiometer wiper, something like 100nF or 1uF.

That should eliminate any oscillation problems.  I built a similar circuit and this is what I had to resort to in order to keep the circuit stable.
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #2 on: August 05, 2013, 03:42:34 pm »
Even with your tips I still can't get it to work. I decided to get my oscilloscope and probe a bit (after applying your suggestions). Without the 100nF capacitor between the inverting input and the output this is what I get:

Inverting input:


Output:


Non-inverting input:


Now with the 100nF capacitor:

Inverting input:


Output:


Between the MOSFET source and the shunt resistor:



Any ideas?
 

Offline Galaxyrise

  • Frequent Contributor
  • **
  • Posts: 531
  • Country: us
Re: Strange Behavior With Dave's Electronic Load
« Reply #3 on: August 05, 2013, 04:15:30 pm »
1.8V+300mVpp, 60Hz square wave on the non-inverting? You said 0.18, so I'm going to guess the probe is 1x but the scope thought it was x10 at the time, and thus you have 0.18V + 30mVpp.  Is that what you expect to see there, or did you expect DC?  Any waveform there is certainly going to influence the stability of the current. 
I am but an egg
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #4 on: August 05, 2013, 04:24:43 pm »
My scope was set to x10 and I was using a x10 probe. I was expecting DC.
« Last Edit: August 05, 2013, 04:40:00 pm by nathanpc »
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #5 on: August 06, 2013, 01:53:49 am »
I'm using a regulated (simple 7805-based PSU) 5V from a 9V battery to power the op-amp. I'm feeding in 180mV to the non-inverting input coming from a voltage divider pot. I tried your circuit with a better op-amp, a TLV2372 and it still can't stabilize.

One thing that is quite consistent is that when I power the circuit up the MOSFET is completely off, but as soon as I touch the inverting input of the op-amp it starts to "work" (oscillating and drawing a random current) and it stays "working" even after I remove the probe.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Strange Behavior With Dave's Electronic Load
« Reply #6 on: August 06, 2013, 02:05:22 am »
Any chance you could photograph your circuit well (high resolution and good focus) so we can see what's going on?
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Strange Behavior With Dave's Electronic Load
« Reply #7 on: August 06, 2013, 02:39:01 am »
100nF is too high in my opinion. It only took 5nF to stabilize a large number of the other diy approaches.  Same for the 1k to the gate.  47 to 100 ohm is more ideal. And remove the resistor between inverting and output and see wgat happens
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #8 on: August 06, 2013, 01:50:11 pm »
Sadly my desk is being replaced by a bigger one right now, so I can't test anything right now. I'll order the same transistor that Dave used in his video and try with that one (I'm desperate for this thing to work).

I was wondering about one thing today. I'm putting exactly 180mV into the non-inverting input if the op-amp, but shouldn't it be the voltage threshold for the transistor to turn on + the mV for the current? For example, let's say the voltage threshold for the transistor I'm using is 1V, should I put 1V + 180mV to draw 180mA?
 

Offline olsenn

  • Frequent Contributor
  • **
  • Posts: 993
Re: Strange Behavior With Dave's Electronic Load
« Reply #9 on: August 06, 2013, 02:07:00 pm »
One problem that I noticed with my Itech 8511 (same as the B&K Precision 8500-series) DC electronic load is that if you operate in CV or CP mode, and the source at any point in time is incapable of delivering the voltage/power required to meet this requirement, the 8511 goes crazy, and when the source is capable again of sourcing the required voltage/power, the load does NOT reestablish itself. You actually have to switch modes to CC then back, and cycle power before it starts working properly again. Fortunately, I rarely use anything but CC mode, but it is still a major bug
 

Offline Galaxyrise

  • Frequent Contributor
  • **
  • Posts: 531
  • Country: us
Re: Strange Behavior With Dave's Electronic Load
« Reply #10 on: August 06, 2013, 10:00:38 pm »
I was wondering about one thing today. I'm putting exactly 180mV into the non-inverting input if the op-amp, but shouldn't it be the voltage threshold for the transistor to turn on + the mV for the current? For example, let's say the voltage threshold for the transistor I'm using is 1V, should I put 1V + 180mV to draw 180mA?
The Opamp will take care of that for you: It raises its output voltage for as long as the inverting input is lower than the non-inverting input and it hasn't hit its maximum output.
I am but an egg
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #11 on: August 06, 2013, 10:17:06 pm »
I see. Looks like I'll order Dave's transistor tomorrow and try with it.
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #12 on: August 23, 2013, 12:43:20 am »
I'm completely exhausted. I give up. Tried with the MTP3055 and I got 0V on the sense resistor, it only gave some life indication when I adjusted the non-inverting input to 4V getting a reading of 450mA, which stays at that measurement even if I go up to more than 4V. Really, I've been banging my head at the desk for so long on this thing (which seemed so simple and something that everyone was doing without any issues) that I just want to give up on all this.
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Strange Behavior With Dave's Electronic Load
« Reply #13 on: August 23, 2013, 01:25:42 am »
A schematic and a picture would be worth a thousand words.  I haven't built this circuit myself but I think the advice given in this thread should have fixed the problem. 

Specifically, a small resistor (47R to 100R) on the MOSFET's gate, a compensation cap between the op amp's output and inverting input and a cap between the pot's wiper and ground.

It won't hurt to use a little higher voltage than 5V also since the LM324 isn't rail-to-rail.  Also, be sure you have a bypass cap (100nF) on the op amp's power supply.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Strange Behavior With Dave's Electronic Load
« Reply #14 on: August 23, 2013, 01:31:22 am »
Any chance you could photograph your circuit well (high resolution and good focus) so we can see what's going on?

I repeat this.... please..... I promise you this circuit works. It works for everybody else. There must be something you've missed. Can you take a clear picture of it so we can see what you've done? And try to re-capture the schematic as well, from your circuit by following the connections.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #15 on: August 23, 2013, 02:19:00 am »
The schematic is the same as Dave showed in his video plus the bypass caps for the supply pins.

I've tried literally everything that was suggested above and none of them worked. I'm extremely frustrated.
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Strange Behavior With Dave's Electronic Load
« Reply #16 on: August 23, 2013, 02:47:48 am »
What are you using for the source?  Your source should look like a voltage source.  Basically something with a fairly low impedance. 

Use a sacrificial AA battery, for example.  Its negative terminal has to be connected to the load's ground.  The positive terminal will be connected to the MOSFET's drain.  If you're worried about drawing too much current then you can put a current limiting resistor in series with the battery but keep it as small as practical.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Strange Behavior With Dave's Electronic Load
« Reply #17 on: August 23, 2013, 02:50:52 am »
Any chance you could photograph your circuit well (high resolution and good focus) so we can see what's going on?

Can you take a clear picture of it so we can see what you've done?

I've tried literally everything that was suggested above

No you damn well have not.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Strange Behavior With Dave's Electronic Load
« Reply #18 on: August 23, 2013, 03:20:51 am »
I tried the circuit in a simulator and it wouldn't work for me until I used a higher supply voltage.  My simulator doesn't have any MOSFETs with 'logic level' gate thresholds, though. 

I notice on Digikey that they actually have two different MTP3055 parts.  One with a 2V Vgs(th) and another with a 4V Vgs(th).  I hope you bought the 2V part.  That's very important if you are using a 5V supply.

Instead of feeding your 9V battery through a LM7805 just use the 9V directly.  The LM324 can handle something like 36V so it won't hurt it.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Strange Behavior With Dave's Electronic Load
« Reply #19 on: August 23, 2013, 03:30:06 am »
Good catch. It's not MTP3055, it's either MTP3055V or MTP3055VL. You want L - Logic level.
No longer active here - try the IRC channel if you just can't be without me :)
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Strange Behavior With Dave's Electronic Load
« Reply #20 on: August 23, 2013, 04:03:57 am »
Another thing I'm wondering is what the OP is doing with the unused op amps.  I don't know what the LM324s do when you leave unused op amps disconnected but some ICs will do some wacky stuff--like drawing a ton of current. 

Be sure to configure the unused op amps as voltage followers and put the non-inverting input at 1/2 supply voltage via a voltage divider.  Use something like 100k resistors.  (See attached schematic.)
 

Offline M0BSW

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: 00
  • Left this site 2013, they will not delete it ????
Re: Strange Behavior With Dave's Electronic Load
« Reply #21 on: August 23, 2013, 06:16:50 am »
Any chance you could photograph your circuit well (high resolution and good focus) so we can see what's going on?

Can you take a clear picture of it so we can see what you've done?

I've tried literally everything that was suggested above

No you damn well have not.
A picture is what is needed, surely can't  be hard!!!!!!!
no one would or will tell me how to delete this account
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Strange Behavior With Dave's Electronic Load
« Reply #22 on: August 23, 2013, 10:20:50 pm »
Here are some pictures of the circuit: http://imgur.com/a/TuBV7

In the picture with the multimeters the Agilent is reading the voltage in the non-inverting input and the Fluke is measuring the current from the 9V battery positive pin to the MOSFET's drain.

I'm using the MTP3055VL.

The schematic is exactly the same as TerminalJack505 suggested the only thing that is missing are the voltage followers with the unused op-amps (which I'm wiring up right now to test).

Edit: Just wired all the voltage followers and nothing changed.
« Last Edit: August 23, 2013, 10:29:59 pm by nathanpc »
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: Strange Behavior With Dave's Electronic Load
« Reply #23 on: August 23, 2013, 11:09:31 pm »
I didn't see any problems and I can't think of anything else to try.

I might try building the circuit myself.  I don't have the same MOSFET but should have something similar.
 

Offline c4757p

  • Super Contributor
  • ***
  • Posts: 7799
  • Country: us
  • adieu
Re: Strange Behavior With Dave's Electronic Load
« Reply #24 on: August 23, 2013, 11:16:39 pm »
The schematic is exactly the same as TerminalJack505 suggested the only thing that is missing are the voltage followers with the unused op-amps (which I'm wiring up right now to test).

Edit: Just wired all the voltage followers and nothing changed.

That doesn't usually make a difference in practice with LM324. I've seen it used all over with unused inputs left floating.

However... there is something else you could try w.r.t the other units. Have you tried moving your circuit onto one of them? It is possible that amplifier #2 is dead.
No longer active here - try the IRC channel if you just can't be without me :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf