Author Topic: Measuring Sense Resistor On Current Source  (Read 2814 times)

0 Members and 1 Guest are viewing this topic.

Offline Instro_SparkTopic starter

  • Contributor
  • Posts: 13
  • Country: au
  • Love the Smell Of Solder In The Morning
Measuring Sense Resistor On Current Source
« on: March 16, 2014, 07:54:28 am »
Hey dudes was hoping someone can point me in the right direction i've attached a PDF with my schematic.

As the title says i'm trying to measure the volt drop across a sense resistor (R10 in schematic) which produces a 2.048VD when its drawing 4mA and 10.24 when at 20mA

So how would i go actually measuring this VD then scaling this to range which can be feed to a microcontroller.

Any ideas to improve this circuit is always welcome im learning just a bit more day by day so cool.
 

Offline Strada916

  • Frequent Contributor
  • **
  • Posts: 252
  • Country: au
Re: Measuring Sense Resistor On Current Source
« Reply #1 on: March 16, 2014, 09:06:27 am »
Voltage divider. Simply put a 1M pot across the 512R resistor and use the wiper as input to the mirco. Adjust pot until you get 5V or 4.096 at 20mA. The 1M pot will effect the total 512R resistor by about 0.3R ohms law 1/((1/512R)+(1/1M)) = 511.7R
The Bone, the Off-White, the Ivory or the Beige?
 

Offline Instro_SparkTopic starter

  • Contributor
  • Posts: 13
  • Country: au
  • Love the Smell Of Solder In The Morning
Re: Measuring Sense Resistor On Current Source
« Reply #2 on: March 16, 2014, 09:39:34 am »
cheers for the response mate sounds easy enough since i have a spare opamp is there a way to use this to measure r sense resistor
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: Measuring Sense Resistor On Current Source
« Reply #3 on: March 16, 2014, 09:48:37 am »
You could use the voltage divider (as said above) and feed that signal into your spare opamp configured as a buffer.
This will convert the high impedance voltage divider signal into something within spec of your MCU's ADC input impedance (usually they expect 10k or less for full resolution).
« Last Edit: March 16, 2014, 09:55:57 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Instro_SparkTopic starter

  • Contributor
  • Posts: 13
  • Country: au
  • Love the Smell Of Solder In The Morning
Re: Measuring Sense Resistor On Current Source
« Reply #4 on: March 16, 2014, 10:09:47 am »
Awesome thanks for your input fellas all the best
 

Offline Instro_SparkTopic starter

  • Contributor
  • Posts: 13
  • Country: au
  • Love the Smell Of Solder In The Morning
Re: Measuring Sense Resistor On Current Source
« Reply #5 on: March 16, 2014, 01:08:27 pm »
actually another question would i be able to get away with not using the second op amp from the left thats config as a voltage follower its going from a low impedance output into a high impedance input or am i way of the mark
 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: Measuring Sense Resistor On Current Source
« Reply #6 on: March 16, 2014, 11:43:30 pm »
yep, it's not doing anything

You already have a low impedance source from the opamp before it, so it isn't doing anything.
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline Instro_SparkTopic starter

  • Contributor
  • Posts: 13
  • Country: au
  • Love the Smell Of Solder In The Morning
Re: Measuring Sense Resistor On Current Source
« Reply #7 on: March 17, 2014, 06:28:58 am »
awesome haha sorry another question when setting up gain for your op amp are you better of using higher value resister at the moment im using 10k and 2.5k but i could also use 40k and 10k to get the same gain im guessing that with lower values there would be more current to flow but does using higher value resisters  introduce any noise issues
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf