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
Blog Programmable Electronic Load - Current Sense Circuit
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Test & Tools to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 16 May 2020 10:29 AM Date Created
  • Views 5706 views
  • Likes 9 likes
  • Comments 32 comments
  • shunt circuit
  • programmable electronic load
  • electronic load
  • programmable
Related
Recommended

Programmable Electronic Load - Current Sense Circuit

Jan Cumps
Jan Cumps
16 May 2020

Detailed review of the current shunt circuit of the Programmable Electronic Load.

image

The circuit and measurements are discussed here.

 

Circuit

 

The current measurement circuit reads the voltage over a 50 mΩ shunt resistor that's in series with the load circuit.

 

image

That voltage (always negative, because the resistor is "below" the circuit's analog ground) is amplified by a non-inverting OpAmp circuit, with gain 7.8.

 

Test Setup

 

A DMM measures the voltage of the shunt and the output of the OpAmp. Both relative to that analog ground.

image

The measurement is automated.

At every iteration, the shunt voltage and the output of the OpAmp are logged.

A relay switches the DMM probe between the two measurement points.

image

Automated flow detail: switch DMM probe, then take a sample.

 

I've also added a gain calculation.

imageimage

Gain is calculated as the ratio between output and input. Then logged.

 

Measurement Results

 

All data is written to the attached spreadsheet.

The extract below shows 101 measurements.

The DAC that controls the eLoad is set to 0.

A first measurement of current (I take that from the PSU), shunt and OpAmp output voltage are written.

Then, the DAC is 100 times increased, each time with 100. ANd the measurements are repeated.

The attached version (9.xlsx) has more measurements (All eLoad ADCs, and some more stats from the PSU).

 

image

101 samples. PSU = 5 V, DAC initial = 0, steps 100, step 100

 

 

Here's a graph of the output vs input. The line represents the gain.

image

And a graph of the OpAmps gain, with as axis the shunt voltage.

image

Attachments:
eload_dp832a_shunt_circuit_characterisation_9.xlsxeload_dp832a_shunt_circuit_characterisation_9.xlsx
eload_dp832a_shunt_circuit_characterisation_18.zip
eload_dp832a_shunt_circuit_characterisation_19.zip
eload_dp832a_dmm6500_current_2 - workingcopy.zip
  • Sign in to reply

Top Comments

  • Andrew J
    Andrew J over 5 years ago +3
    Interesting. Is this using your compensation approach for the DAC? I presume that the current is being logged by Labview from the Rigol PSU rather than being measured? I think you can do a lot with this…
  • jc2048
    jc2048 over 5 years ago +3
    This is your gain curve but with the vertical axis scaled so we can see what it's doing in more detail. With the exception of a few very odd measurements [settling time? noise?] it has a clearly defined…
  • Jan Cumps
    Jan Cumps over 5 years ago +3
    I've placed the resistor R32 back: As you can see, the board has gone through heavy storms by now. Input: (chart Y axis in µV) Output: (chart Y axis in mV) For those who get stress when seeing a bouncy…
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to Jan Cumps

    DMM vs ADC measurements for 3 V source:

    image

    DMM vs ADC for 10 V source:

    image

     

    DMM measured current for 3 - 10 V. This one, I like.

    image

     

     

    edit: spreadsheet attached as eload_dp832a_dmm6500_current_2 - workingcopy.zip

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

    The results are in.

    Here's a diagram showing current measured by DMM and ADC, for 3V -> 10V

    image

     

    I'll break this down in some readable charts.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Andrew J
    Andrew J over 5 years ago in reply to Jan Cumps
    Still faster than changing values > 7000 times then write down a measurement at each step.

    I sympathise!  I'm going to get a logging bench meter for that reason after realising what a drudge manual measurements would be.  And I'm going to spend some time with Labview as well - your testing approach is brilliant.

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

    I've just started a test cycle to compare the current that ADC1 picks up, with the current reported by my DMM.

    image

     

    This will serve two purposes:

    • try to assess the relation between the actual current and the value reported by ADC1 (what this particular post is bout).
    • relationship between DAC1 output and the actual current (more a subject for Programmable Electronic Load - Analyse the Summing Node Zero Point).

     

    image

     

    Voltage will be 3,4, ... 10 V (8 points)

    DAC1 set 200, 201, 202 ... 1100. (901 points)

    It 'll take several hours, because I put setting pauses between changing a value and measuring the results. It's not a speed test, more a steady state test.

    Still faster than changing values > 7000 times then write down a measurement at each step. And less error prone. And I can prepare food image....

     

    I'll post the results after the measurements and upload the collected data to the main post above.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Andrew J
    Andrew J over 5 years ago in reply to Jan Cumps
    You can't predict the future

    Lol - agreed, but you can climb on the backs of others and start from a more informed place image

    • Cancel
    • Vote Up +2 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 © 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