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
Dev Tools
  • Products
  • More
Dev Tools
Forum adc buffer with an opamp
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Dev Tools to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 78 subscribers
  • Views 582 views
  • Users 0 members are here
  • opamp
  • adc
Related

adc buffer with an opamp

Former Member
Former Member over 12 years ago

hi im in the process of designing myself a beefy bench psu as part of an arduino project.. i want to monitor the current drawn by the load and optionally take action to stop the smoke from escaping.... i was thinking of using a sense resistor an measuring the voltage drop to calculate the current flow through it, but depending on the draw( im a radio amateur, and some of my radios make the lights dim when i hit ptt)the voltage drop accross the sense resistor could go way out of  the allowable range of the arduino. to overcome that i need to use an opamp in a buffer configuration to clamp the voltage levels the adc will have to contend with.... does any one have any sample circuits  that i can usefor this type of configuration.

 

my psu specs are : 12-13.8v adustable by the arduino( LM317TLM317T or l2000) 30 A using 2n3055 bypass trannies.         7segment led displays+ 20x4 lcd

arduino will monitor  current draw and adjust vout in order to limit the current draw uC will also monitor heat on bypass trannies and adjust fan speed to compensate( using an 80mm  pc fan)

 

any comments?

  • Sign in to reply
  • Cancel
Parents
  • michaelkellett
    michaelkellett over 12 years ago

    Hello John,

     

    Need a bit more spec to help:

     

    Max current you want to measure

    Max current you might see

    Resolution needed

    Current measuring bandwidth

    High side or low side current sensing

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to michaelkellett

    hi, thanks for the reply here is what you needed

    max current - 30A resolution= whatever the arduino( uno) adc can supply

    i dont understand what you mean by band width. what i wanna do is set a max current drain  and then have the arduino cut the output using a mosfet of some shape when current goes above the threshold.   i know this can be done in hardware  with an opamp driving the  mosfet bu i wanna do it in my code soi that i can display the current drawn on the 7-segment  displays

     

    this will be highside sensing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Former Member
    Former Member over 12 years ago in reply to michaelkellett

    hi, thanks for the reply here is what you needed

    max current - 30A resolution= whatever the arduino( uno) adc can supply

    i dont understand what you mean by band width. what i wanna do is set a max current drain  and then have the arduino cut the output using a mosfet of some shape when current goes above the threshold.   i know this can be done in hardware  with an opamp driving the  mosfet bu i wanna do it in my code soi that i can display the current drawn on the 7-segment  displays

     

    this will be highside sensing

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • michaelkellett
    michaelkellett over 12 years ago in reply to Former Member

    Hello John,

     

    The bandwidth is a measure of how fast the circuit is - since you are going to process the signal with software it's all going to be quite slow so a sensor bandwidth of about 10kHz should be plenty. You may need to filter the signal more than that due to noise on the power supply.

    Just sticking  a resistor in series and measuring the drop is not  a good way to go at 30A. Even if your resistor is only 10mR you will dissipate 9W in it. The accuracy will be poor unless you buy/make a proper 4 terminal current shunt.

     

    A decent resistive current shunt will cost you £19.67 from Farnell (1339339) but it's only 1mR so the full scale voltage is rather low at 30mV.

    You can make your own but it's not that simple.

    You would also need a suitable amplifier - there are special chips for this - take a look at INA170 (Farnell 1212420).

     

     

     

    You could use a current sensor like 9135588 at  a more reasonable £9.54 - this is ideal since it can be powered from 5V and connected directly to the Aurduino adc input. You wont have any common mode problems and won't need amplifiers.

     

    So that's my suggestion - forget the series R and use a current sensor.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 12 years ago in reply to michaelkellett

    @John,

     

    if you are still working on this and you didn't like my current sensor suggestion you could take a look at Linear Technology's LTC2945 which is a complete power monitor on a chip with I2C interface.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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