element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Test & Tools
  • Technologies
  • More
Test & Tools
Forum Simple Electronic DC Load Conditional Oscillations
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 30 replies
  • Answers 18 answers
  • Subscribers 358 subscribers
  • Views 5646 views
  • Users 0 members are here
  • electronic_dc_load
Related

Simple Electronic DC Load Conditional Oscillations

jw0752
jw0752 over 7 years ago

I have recently completed a build of a simple DC electronic load with the specifications of 1 mA to 2000 ma and up to 55 Volts as long as total power is kept below 60 Watts. I will be blogging about this build in the coming days.

 

During the prototyping phase of the project I had no problems with oscillations but moving the design to a circuit board always has the potential to change things. In this case I find that the unit works properly if I bring up the load from a low current to the desired level or if I bring the voltage applied to the load from a low level up to the desired voltage. If however I have the load set for any value over 250 mA and then apply a voltage above 6 volts I will get an oscillation that is undesirable. Once the unit is powered and free of oscillation I am able to move the voltage to any level and the load to any level without any recurrence of the oscillation. It seems that it is just the initial impact of full voltage into a previously set load that is greater than 250 mA that triggers the oscillation.

 

Now it is very possible that the design that I have used, which has a general traditional layout with my own modifications frankensteined into it, is bad. Since I am not an engineer I can do things like this but if I fail then I need the engineers to help me clean up my mess. Here is a schematic of the project and any insights on how I can make the unit oscillation proof will be welcome.

 

image

Since this is just a tool for my own shop I can live with the oscillation anomaly as the power or the load can just routinely be brought together gently but aesthetically it would be nice if it didn't have to be babied.

 

Thanks John

  • Sign in to reply
  • Cancel

Top Replies

  • hlipka
    hlipka over 7 years ago in reply to jw0752 +8 verified
    Things to notice: the LT1006 is not a rail-to-rail opamp. With 5V suppy its output goes up to between 4.0 and 4.4V (best case), depending on the load, which is not enough to ensure the IRF234 is fully…
  • hlipka
    hlipka over 7 years ago in reply to jw0752 +7 suggested
    Using a R2R-Opamp only solves part of the problem. When looking at the data sheet for the IRF234, especially at the diagram 'drain current vs. gate voltage', you see that even at 5V gate voltage only 1A…
  • hlipka
    hlipka over 7 years ago +6 suggested
    I cannot see the image (and directly using its URL says 'no permission'). One change that happens between a breadboard and a PCB is that on a breadboard usually the parasitic capacities are higher. This…
Parents
  • jw0752
    0 jw0752 over 7 years ago

    I will try to repost the image of the schematic here:

     

    image

     

    I originally tried to paste it into the text and it looks really good on my end but apparently it didn't work for everyone. Thanks for the heads up hlipka

     

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hlipka
    0 hlipka over 7 years ago in reply to jw0752

    Things to notice:

    • the LT1006 is not a rail-to-rail opamp. With 5V suppy its output goes up to between 4.0 and 4.4V (best case), depending on the load, which is not enough to ensure the IRF234 is fully open (its threshold voltage is 4.0V worst case). You should increase the supply voltage
    • C4 is probably too big, and to be effective as a filter it would need a resistor between its + pin and the sense resistor anyway. Remove it, or reduce its value (low nF)
    • the FET gate resistor is probably too big, this reduces the slew rate of the gate and slows down response
    • what is the purpose of R6? Having it in this place means that any changes in the ground current of the opamp will change the ground reference voltage - and this happens when the FET is turned on or off. Remove it (actually I would guess that this is causing the oscillations)
    • you might need an additional, larger, decoupling cap for the LT1006 because it eneds to drive the FET gate which can involve larger currents

    The LT1006 seems to be a quite slow opamp (its data sheet does not even state a GBW figure, but the output slew rate is quite low), so it should not oscillate. The usual remedy for oscillations is a small capacitor (below several tens of pF) beween the opamp output and the negative input (or a R-C-combination of about 1k+1nF).

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to hlipka

    Hi Hendrik,

    Thank you for taking the time to give me some guidance. You have zeroed in on all the patches that I had to make to compensate for the non-R to R Op amps. I used R6 to move the ground of U2 relative to U1 so that I could bring the output to zero. I initially used the junction drop of a schottky diode but the temperature sensitivity of the diode made  the load setting drift. The Cap C4 was a way to stabalize a more serious oscillation problem. Based on your advice I am going to go back and redo using R to R Op Amps and I will up the supply to the Op Amps. The only reason I used the LT1006 was that I had some and all my R to R Op Amps are SMD and I was too lazy to use them. I originally used 5 volts as this was the voltage required by the electronic ammeter. Ultimately I had to provide an isolated supply for that anyway so there is no need to stay at 5 volts. I have also noted your other suggestions and will incorporate them in the revised circuit. I hope the re do is as much fun as the original build was.

    John

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Reply
  • jw0752
    0 jw0752 over 7 years ago in reply to hlipka

    Hi Hendrik,

    Thank you for taking the time to give me some guidance. You have zeroed in on all the patches that I had to make to compensate for the non-R to R Op amps. I used R6 to move the ground of U2 relative to U1 so that I could bring the output to zero. I initially used the junction drop of a schottky diode but the temperature sensitivity of the diode made  the load setting drift. The Cap C4 was a way to stabalize a more serious oscillation problem. Based on your advice I am going to go back and redo using R to R Op Amps and I will up the supply to the Op Amps. The only reason I used the LT1006 was that I had some and all my R to R Op Amps are SMD and I was too lazy to use them. I originally used 5 volts as this was the voltage required by the electronic ammeter. Ultimately I had to provide an isolated supply for that anyway so there is no need to stay at 5 volts. I have also noted your other suggestions and will incorporate them in the revised circuit. I hope the re do is as much fun as the original build was.

    John

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
Children
  • hlipka
    0 hlipka over 7 years ago in reply to jw0752

    Using a R2R-Opamp only solves part of the problem. When looking at the data sheet for the IRF234, especially at the diagram 'drain current vs. gate voltage', you see that even at 5V gate voltage only 1A of drain current is guaranteed. Getting more means you are lucky with the actual FET.

    Adding R6 also does not help in getting a higher gate voltage for the FET, it actually reduces the gate-to-source voltage a little bit.

    Regarding the now-worse oscillations: probably your R2R-opamp has a higher bandwidth, so it tends to oscillate easier due to the capacitive load the gate of the FET poses. Reducing R4 a little bit (the usual value here is about 10-20 ohm), and adding some (RC) feedback between output and negative input of U2 should help.

    When you want to know more, there is a quite extensive posting a EEVBlog outlining the simulation process to check whether the load is stable or not: https://www.eevblog.com/forum/projects/dynamic-electronic-load-project/ . Also, jc2048 did a series of posts about electronic load stability.

    • Cancel
    • Vote Up +7 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to hlipka

    Hi Hendrik,

     

    I will start a new blog about my build of the unit but before I left this one I wanted to thank you again for your insight and input. I have made most of the changes that you suggested. Here is the up to date schematic.

     

    image

     

    I have gone to using a ISL 28218 Op Amp with which I have had good luck in the past. The power supply is now 12 volts. R4 is 100 Ohms but I have experimented with moving it down to 10 ohms but this didn't help with a serious oscillation. I have also removed the op amp buffer between the reference control and the driver op amp. I tried a great number of things to get the design to stop oscillating. I looked at sample schematics and applied their suggestions. Whenever a test proved promising I would push the value until I could see whether it would solve the full range 1 mA to 2000 mA. This project was difficult as I was no longer working on a bread board but the solder proto board. I even brought 3 header pins up so that tests could be run without working directly on the board. In the end the only thing that worked was a capacitor C5 between the output of the OP Amp and Ground. I started at a fairly high value and then dropped the value until I got to the point where 5 mV oscillations were beginning to show when the unit was at 2000 mA. I then went one cap size larger 2.2 uF and now I can move the load from 1 mA to 2000 mA at 2 to 30 volts without any oscillation or instability. The unit will actually track the lower amperage setting down to tenths of volts input. The problem with oscillations when higher voltage is applied to existing load setting about 250 mA has disappeared. I suspect that the 2.2 uF cap is probably a ugly fix but it acts like a shock absorber and prevent the oscillation from starting. The design is now simple and should work for my rather simple needs.

     

    If you get a chance check out my Blog on the actual build.

     

    Thanks John

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jadew
    0 jadew over 7 years ago in reply to jw0752

    John,

     

    If you add a resistor in series with the capacitor you will get the snubber network that I suggested. Its point is to load down the op amp's output at the oscillation frequency (you'll have to experiment to get the correct values), while allowing it to behave almost normally at lower slopes.

     

     

    Razvan

    • Cancel
    • Vote Up +5 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to jadew

    Hi Razvan,

     

    I will followup and do some more experiments just as soon as I recover from the 6 hours of experimenting I did last night. I am sure you are correct. While I saw the oscillation on the scope I never took a read on the frequency. I have written the main blog on this project in case you want to check it out.

     

    A Simple DC Electronic load for the experimenter's Shop.

     

    John

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • hlipka
    0 hlipka over 7 years ago in reply to jw0752

    You should remove C5. Opamps do not like capacitive loads, and the capacity posed by the gate of the FET (which easily can be 1nF - for the IRF234 its 600pF) is already quite much. Having this capacitor there increases the phase shift (since it delays the response of the FET to the opamp signal), which can lead to oscillation. As suggested by Raznvan, you can try to to add a series resistor to it (while reducing it significantly), but its best to skip it. To dampen oscillations, add a (small - 200pF or so) capacitor from the Opamp output to its negative input.

    The ISL28128 is a nice one, but its faster than the LT1006 you had originally. This is good since it makes the DC load react faster to load changes, but it also increases the tendency to oscillate.

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to hlipka

    Thank you for your help with this. I will followup with some more experiments to see if I can settle the operation using your suggestions.

    John

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jc2048
    0 jc2048 over 7 years ago in reply to hlipka

    For a large input step, the output of the op amp quickly current-limits (short circuit protection), so John is slewing the output up and down on that limit as it charges and discharges the capacitor.

     

    As it's a 2.2u 25V tant, it has an ESR of 5 or 6 ohms, so for small signals it's behaving like a very crude, badly-tuned snubber.

     

    It's not very nice from a design point of view but, curiously, it does sort of give him what he wants in that it damps down the instability enough that it doesn't oscillate. It really clobbers the response to larger signals though.

     

    I had a play with it in the simulator (which is how I know the above). The simulation doesn't actually show oscillation without the tant, but that's the difference between a model and a build for you - the phase margin in the simulation is only just over 20 degrees, so it's certainly very marginal. I didn't get very far with trying to tune snubber values [I'd need more time with the Bode plots to understand what was happening], but your resistor/cap suggestion works nicely straight off. The instabilty is at the top end - peakiness on the gain just before the response tails off. That's down to the MOSFET capacitance, so the gate resistor also plays a part and needs to be taken into account along with the cap/resistor [if your aim were to tune it for best performance rather than just slugging it].

     

    If anyone else wants me to [from the comments I don't think you and Razvan need any help], I could go through that in more detail (with pictures!). Would be a big chunk of material here in the comments, though.

    • Cancel
    • Vote Up +6 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to jc2048

    Hi Jon,

     

    Thank you for taking the time to simulate the circuit. I had a feeling that my fix was not very elegant. I will find the time in the near future to open the unit back up and start to apply some of the things I have learned from you guys. I left my test points on the board so it will be fairly easy to add and remove trial components to the board.

     

    John

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fmilburn
    0 fmilburn over 7 years ago in reply to jw0752

    Hi John,

    I have been working through a TI training series on opamps.  There is a section on stability that is quite good and the first video gives a very good introduction that I found worth the few minutes it takes to watch it: https://training.ti.com/ti-precision-labs-op-amps-stability-1?cu=14685

     

    Frank

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • jw0752
    0 jw0752 over 7 years ago in reply to fmilburn

    Thanks Frank,

    I will check it out as I have a lot to learn in this area.

    John

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube