element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Documents Programmable Electronic Load - Power Stage
  • 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
Engagement
  • Author Author: Jan Cumps
  • Date Created: 20 Dec 2017 7:20 PM Date Created
  • Last Updated Last Updated: 11 Oct 2020 8:07 AM
  • Views 6947 views
  • Likes 7 likes
  • Comments 68 comments
Related
Recommended

Programmable Electronic Load - Power Stage

This blog documents focuses on the power stage of the electronic load that Robert Peter Oakes, jc2048 and Jan Cumps are designing.

 

image

In this post we're laying out a PCB for the power stage - as much as possible with surface mount components. The FET is close to the one Robert Peter Oakes uses in the original design.

 

The BOM

 

ComponentHeader 2Header 3Header 4
P18 pin header, 2.54mm
P2 abinding post, redhirschmann 931714101hirschmann 931714101 -  SOCKET, 4MM, BLACK, PK5 , MLS
P2 bbinding post, blackhirschmann 931714100hirschmann 931714100 -  SOCKET, 4MM, BLACK, PK5 , MLS
P3 abinding post, blacktenma 2301tenma 2301 - Binding Post, 36 A, 500 V, Nickel Plated Contacts, Panel Mount, Black
P3 bbinding post, redtenma 2302tenma 2302 - Binding Post, 36 A, 500 V, Nickel Plated Contacts, Panel Mount, Red
TH1NTC Thermistor, 10KVishay NTCS0805E3103JLTVishay NTCS0805E3103JLT -  THERMISTOR, 10K, 5%, SMD, NTC
Q1N-Channel MosfetInfineon IRF3205SPBFInfineon IRF3205SPBF -  MOSFET Transistor, N Channel, 110 A, 55 V, 8 mohm, 10 V, 4 V
D1, D2DiodeDIODES SBR2A40P1-7DIODES SBR2A40P1-7 -  Standard Recovery Diode, PowerdiRegistered, 40 V, 2 A, Single, 500 mV, 50 A
R1100R1206 any brand
R20R05Vishay WSHP2818R0500FEBVishay WSHP2818R0500FEB -  SMD Current Sense Resistor, 0.05 ohm, 10 W, 2818 [7146 Metric], ± 1%, WSHP2818 Series
Cooler HeatsinkStartech.com FAN370PRO - Socket 7/370 CPU Cooler Heatsink and Fan

 

 

 

NTC

 

For a detailed description on the temperature protection mechanism, check Programmable Electronic Load - Temperature Protection.

 

The voltage sent to the ADC is very dependent on the NTC. I've selected a Vishay NTCS0805E3103JLTVishay NTCS0805E3103JLT -  THERMISTOR, 10K, 5%, SMD, NTC.

I'll program the key values. The behaviour is non-linear and it's easier to make a lookup table if the firmware has to be able to deal with different components.

This will require access to flash to permanently store tha values, and a SCPI function to alter the table if another component is used.

For the first version I'm going to be selfish and just program for the device that I've ordered.

image

 

PCB

 

Exposed copper

 

For good thermal relief, and to get the NTC as good termally coupled to the FET as possible,

I placed a copper pour (here on the front, I'll do the same on the back and stitch them for thermal transport with vias)

Then i drew a pour on the front mask. The area of pour will expose copper. That means that the NTC has physical contact with the copper that the FET is soldered on.

In the fine-tuning I will place that NTC closer to the FET so that I can put a tad of heat paste in between. Or I could put a tad of paste between the NTC and exposed copper ...

image

 

Attention when placing the binding posts. For the power input, RED is 1 and BLACK is 2.

For the sense input, BLACK is 1 and RED is 2.

This is the result of me labeling pin 7 and 8 of the connectors between the driver board and FET board wrong, on both boards image.

The documentation and KiCAD zips are now updated with corrected schematics.

 

I used these 2 Contextual Electronics videos to refresh how to expose copper layers and place VIA arrays:
You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Here's the top side of the completed design. I've drawn the FET in green to give perspective.

image

In red you see the copper layer, orange is where the solder mask is removed and copper exposed.

Pink are the drill holes. They are 0.9652 mm, in an array of 9 * 8, spaced 2 mm apart.

image

 

On the bottom, the copper pad (green) has the size of my heat sink + some. The removed mask (blue) has the exact size of the sink's bottom profile.

The pink lines are the mounting slots for the heat sink (see below).

image

 

Slots

 

My heat sink has brackets for mounting. I've cut out slots to allow the brackets to through the PCB and fix them on the top side.

 

image

 

I've put some exposed non-connected copper pour around the slots for strength.

The slot is drawn on the Edge.Cuts layer. I hope that the PCB fab interprets that as slots to be milled out ...

image

 

I've attached the KiCAD project, component libs and Gerbers in a single zip. Also the VIA lib that's used here as a separate file (because I share that one across projects).

Attachments:
vias.pretty.zip
eload_offboard_20171227.zip
  • mosfet
  • metrology
  • ntc
  • msp432
  • scpi
  • laboratory
  • instrument
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 8 years ago in reply to Jan Cumps +4
    That looks great! Looks like Kicad is quite usable, you're getting good results. I've yet to try it.
  • Jan Cumps
    Jan Cumps over 8 years ago +3
    PCBs have arrived from Seeed. The heatsink fits perfect on the pad. The slots for the mounting bracket turned out OK.
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago in reply to Jan Cumps +3
    They look great
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago

    These may be viable candidates Precision Op Amps | Products | Operational Amplifiers | TI.com

     

    there all between 20 and 100nA input bias and should have the voltage range, I did not go lower in nA as there getting more expensive... much more expensive. Of course were using a standard package layout so ones from ST, Linear etc could also work.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago

    So a bit of re hashing my thoughts in case I got it wrong somewhere

     

    • The Op Amps are running with +12V and -5V
    • The Analog 0V is the MOSFET Source and the Current Sense + (There all the same or should be), this means that Input to R7 should always be Zero no matter the current flowing through the sense resistor.
    • With a U3C design gain of -7.8 (Its - only because the - input goes negative as the current increases) , and assuming the op-amp can go close to rails, it should respond to an input of (12V/7.8) = 1.53V to (-5/7.8) = -0.64V so lets just say -500mV to 1500mV
    • The original design expected there to be a Vref of 2.048V and therefor the input was set for 0-1.95V = 0-5A, into a 50mOhm sense resistor = 250mV with a U3C gain of 7.8 gave out of U3C 0 to -1.95V. of course this can be adjusted as needed by changing the SP and or the Sense resistor for different ranges. this counters through the summing resistors the set point. This then after inverting can be read with the ADC again assuming a vref of 2.048V means we dont hit an over range under normal use.
    • If the input to the + integrator is positive (The - is tied to analogue 0) then its output will ramp up allowing the MOSFET to turn on more (Assuming something else is not stopping it), note the integrator does not drive on the MOSFET, it simply does not drive it off so much, the integrator is only able to turn off the MOSFET.
    • As the MOSFET turns on, the sense goes more negative causing the summing node to go negative until it goes below 0V, at this point the integrator should switch direction and start ramping down. Once equilibrium is found, the integrator will probably hunt very slightly as it is running with open loop gain in a static condition.

     

    The conditions mentioned could be caused by simply the input BIAS currents , I did some digging and found a similar design from Agilent (More complex) and it was using AD706 opamps that have only 200nA input bias current, 4-5 times less basically

    http://www.analog.com/media/en/technical-documentation/data-sheets/AD706.pdf

     

    The pull up was also 15V2, through a 9.1V zener, then off to the fet gate via the 4.7K resistor so pretty much the same as we have. only we have 12V and 6V zener......

     

    So we could drop the summing junction resistors to as low as 10 - 20K if needed, this will shrink the effect of the input bias currents by a factor of 10

     

    I still need to re-build this circuit to test for myself but these are my thoughts based on brushed cobwebs and re working the design

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago in reply to Jan Cumps

    U3C input values indicate there is a negative current flowing ( U3C + is higher than - )

     

    I looks like U3C is working correctly based on a gain of 7.8 and the inputs you show, its output is correct within the error of the DMM

    Based on the values you show,

     

    there is 820nA flowing from U3A+ through R4 (-67mV + 17mV)/100,000 ?

    and 170nA through R2

    Total current flowing out of U3C+ being 1uA give or take.... ok 990nA

     

    U3C- would have to be 17mV/18000 = 944nA

     

    looking at the data sheet

    image

    That falls just on the typical input bias current of -0.8uA..... Dam it image

     

    Also U3A is an integrator so its output will never be still, so there should be a very slight oscillation as it maintains the status quo, aka its gain is that of the open loop in static conditions so it cant just be sitting at 3,304

     

    Its gain immediately after a step change on its input will be about 0.3 (Yes less than 1) but then rapidly head toward open loop gain if the expected current is not met

     

    If the DAC is set to zero and your getting 443mA then you should have 866mV across the 2ohm sense resistor ??, did you change the parameters part way through as you show 22mV which would equate to 11mA

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago in reply to jc2048

    My only reasoning for not wanting to lower the 100K resistors it to maintain protection of the OP Amp etc if for some reason the shunt (Current Sense ) goes open or fet goes short, I had this happen on my manual version and it fried every thing except the VREF, an expensive Vishay 4 terminal shunt is now open circuit image and I had to replace the op-amp and the mosfet too.

     

    The idea behind the 100K was to limit the current, even with say 60V load supply to under the MAX current of the protection diodes in the OPAMP. now with the back to back diodes etc, perhaps it is now overkill and we can lower the value ?

     

    So it was a careless mistake on my part by overloading the FET with dissipating too much power, this then caused it to go short.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 8 years ago in reply to Jan Cumps

    Possibilities I can see for dealing with the bias current

     

    1) Use a more appropriate op-amp - choose a device with a bias current a thousand times less and the problem largely goes away (though it will then unmask other problems as you try to further increase the accuracy)

     

    2) Change both R2 and R4 to 36k. (In parallel they then match the 18k of R6.) You may also want to change C4 (something like 270pF or 330pF might do) to return the time constant of the differentiator back to what it was. [However, Peter wasn't keen on lowering the 100k resistor value, so you might want to talk to him about it first.]

     

    3) Change R6 to 50k (and also adjust R34 to 13k and C8 to 1.8nF to keep the AC gain and the time constant roughly the same)

     

    4) Ask one of the experts here how they would do it (I'm just giving you textbook stuff - I don't have much real experience of any of this - whereas there are people here who do it for real).

     

    5) Use a more appropriate op-amp. (Sorry, I seem to be repeating myself.)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to Jan Cumps

    Measurements with the DAC set to 0.

     

    image

     

     

    DAC set0DAC out0VR2 left0VR4 left-0,065VU3A +0,017VU3A -0,017VU3A out3,304VR7 righ0VR8 right-0,022VU3C +0,078VU3C -0,077VU3C out-0,065V
    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 8 years ago in reply to Jan Cumps

    So, it's working when you close the loop. Yippee!

     

    "I still have to do measurements on the OPAMP 3C and 3A to see what's causing this ..."

     

    Same reason as with the other two op-amps; it's the bias current you haven't yet looked at - the one at the summing point between the two 100k resistors.

     

    The DAC output is 0V. The integrator op-amp is working to make the summing node the same as the other op-amp input. Let's pretend the other input is perfect and doesn't have a bias current and so (at DC) sits at 0V (that isn't actually true, but we can come back to this in a moment). So, if the DAC is 0V and the input pin is 0V, the current in the 100k resistor between them is 0uA. Where, then, does the bias current out of the pin go? It flows through the other 100k resistor. For that to occur, the other end of that resistor would have to be held at -0.1V (if the bias is 1uA) and for that to happen there needs to be an output current flowing to feed back that voltage. So the output won't ever go to 0A (unless your DAC output could go negative, of course) because there always needs to be some voltage fed back to counter the bias current. In practice it won't be quite that bad because the other input to the integrator also has a bias current which partly counters the effect when it flows through the resistor to ground. If you want to stick with this op-amp, you need to deal with the bias current in a similar way to what you did with the other two, however it may be a bit more complicated because of the integrator capacitor.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago

    First experiences.

    The FET reacts on the DAC setting.

    Below is an example - I put my PSU to 3V and a 2 R resistor in series -

    Sending 7090 to the DAC and enabling the input sends 4.014 V to the GATE of the FET.

    The current is 1A.

     

    I don't get the current close to 0 A at the moment. When setting the DAC to 0, I get 0 V out of the DAC, but 3.887 V on the gate of the FET.

    This results in a current of 0.443 A. I can't get the drive lower.

    I still have to do measurements on the OPAMP 3C and 3A to see what's causing this ...

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 8 years ago in reply to Jan Cumps

    The heat sink also placed.

     

    image

     

    I have no excuse to hold off the design of the eLoad at this moment. All critical components are in and mounted.

     

    The first goal now is to get it as good as Robert Peter Oakes' original analog design, with the added programmable control.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago in reply to Jan Cumps

    Very nice

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • 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 © 2026 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