Author Topic: current sensing with 2 parallel resistors  (Read 13653 times)

0 Members and 1 Guest are viewing this topic.

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
current sensing with 2 parallel resistors
« on: August 19, 2010, 11:52:31 am »
Right, I'm doing this design (now becoming well known as i keep asking questions about it  ;D) that is passing 20-25 amps and I'm thinking of using two parallel resistors for the current sensing to reduce strain, however I can only sense the voltage on one resistor, is there a risk due to me using 4.5 milli ohm resistors that track resistances and solder resistance will alter the 2 nearly symetrical paths and give me false readings due to one passing slightly more current than the other.

Attached is the section concerned of my PCB R00 and R01 are the sensing resistors, each coming from a relay IC3 is the current sensing chip.

Have I just opened a can of worms ? what if I took the line from the current sense chips to both resistors maybe through a say 1K resistor each ? so as to sum/average the two readings and not put 10A down a 0.64mm trace ?
 

Offline scrat

  • Frequent Contributor
  • **
  • Posts: 608
  • Country: it
Re: current sensing with 2 parallel resistors
« Reply #1 on: August 19, 2010, 03:29:37 pm »
Have I just opened a can of worms ? what if I took the line from the current sense chips to both resistors maybe through a say 1K resistor each ? so as to sum/average the two readings and not put 10A down a 0.64mm trace ?

I can't understand the sentence "and not put 10A down a 0.64mm trace". Where do 10A pass on a 0.64mm trace, in your layout?

However, summing the two differential signals could work.
One machine can do the work of fifty ordinary men. No machine can do the work of one extraordinary man. - Elbert Hubbard
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #2 on: August 19, 2010, 04:14:52 pm »
if I were silly enough to run the 0.64mm trace past R00 and onto R01 I would be be linking the two together, but then a significant amount of current would try and go down it too messing up the measurement as the trace would become part of the main current path, if you look I have made sure the tracks to the sensing chip are not in the main current path.

you think "summing" the two voltages with resistors in series would work ?
 

Offline jahonen

  • Super Contributor
  • ***
  • Posts: 1055
  • Country: fi
Re: current sensing with 2 parallel resistors
« Reply #3 on: August 19, 2010, 05:37:23 pm »
I would just put the sense resistors as close as possible each other and take the sense lines in between of resistors. Sense lines need not to be so thick, you can easily make them much thinner, if that makes it easier.

Regards,
Janne
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #4 on: August 19, 2010, 06:31:35 pm »
that's a good idea, I'll have to do some pushing and shoving and make room to bring them together, I think I placed each one between relay pins, if they are in the middle they need more free room as they will clash with the relay pins

using the resistor adder does not work anyhow at least not in simulation
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #5 on: August 19, 2010, 06:38:01 pm »
There, that might work
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 14188
  • Country: gb
    • Mike's Electric Stuff
Re: current sensing with 2 parallel resistors
« Reply #6 on: August 19, 2010, 09:43:29 pm »
If you want to do it properly you can get four-terminal current-sensing resistors, to eliminate errors due to trace resstance etc.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #7 on: August 19, 2010, 09:49:06 pm »
yea but I think the 1/2 terminal left will be too small to take 10-15 amps shoved through it I think providing i stay away from main current carrying track it will do, I can software calibrate
 

Offline CafeLogic

  • Regular Contributor
  • *
  • Posts: 117
    • Cafe Logic
Re: current sensing with 2 parallel resistors
« Reply #8 on: August 21, 2010, 09:42:47 pm »
You can't sense only one resistor if they are in parallel. If you have a 2 ohm resistor in parallel with a 3 ohm resistor, you could probe the voltage drop across either and it would look like a 1.2 ohm resistor (assuming ideal traces). Putting them in series defeats your original purpose of using two since each of them will dissipate the exact same power as if it were the only one in the circuit. Using two in parallel will cause each to only dissipate 1/4 of the heat because you get half the voltage drop and twice the dissipation area. The down side is you only get half the sense voltage, making it that much harder to get an accurate reading.
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #9 on: August 21, 2010, 09:46:46 pm »
yes my query was if there is significant track between the 2 then there will be an error in the reading over one only, I have solved this by bringing the two very close together so this is negligeable
 

Offline CafeLogic

  • Regular Contributor
  • *
  • Posts: 117
    • Cafe Logic
Re: current sensing with 2 parallel resistors
« Reply #10 on: August 21, 2010, 10:44:56 pm »
OH, I see now. I think the resistor tolerance would easily dominate any trace error unless you were really sloppy. If your app calls for 5% tolerance you can skip the resistors and just use the trace itself. I like this handy calculator for those sorts of things: http://circuitcalculator.com/wordpress/2006/01/24/trace-resistance-calculator/
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #11 on: August 22, 2010, 06:45:43 am »
I've been down that train of thought already, 1% is desirable and owing to carrying 20-25 amps a PCB resistor would be too large, as I'm working with 1-3 mR the board tracks could possibly cause a small difference
 

Offline veryevil

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: current sensing with 2 parallel resistors
« Reply #12 on: August 22, 2010, 09:05:48 am »
If your looking to measure 20-30Amps why not use one of these http://www.allegromicro.com/en/Products/Categories/Sensors/currentsensor.asp (I recommend the 713) as it uses the Hall-Effect to measure the current and give out a linear voltage of 500mv + ~150mv/Amp

It also has an incredibly small resistance as it is works via a conducting path not a resistor and it comes in a simple sop8 package.

 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #13 on: August 22, 2010, 09:16:42 am »
hm haven't really got the room, how do they work anyhow ?
 

Offline veryevil

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: current sensing with 2 parallel resistors
« Reply #14 on: August 22, 2010, 10:20:17 am »
Basically, wire it up like this:




Then you get out:



Check the datasheet for more info

http://www.allegromicro.com/en/Products/Part_Numbers/0713/0713.pdf
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #15 on: August 22, 2010, 10:31:26 am »
so it is an 8 pin part and whats that round symbol ?
 

Offline veryevil

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: current sensing with 2 parallel resistors
« Reply #16 on: August 22, 2010, 10:38:14 am »
Its the input DC Current.

Its an 8 Pin SOIC (not SOP as I said earlier) part which is tiny!

You pass the current path you want to measure into pins 1 and 2 (joined together with a large pad on PCB board) and then it comes out of pins 3 and 4 (which are also joined together). The only external component needed is a small cap between pins 5 and 6.

Other than that it just needs 5v and GND. The output then feeds into an ADC pin or some other system.

There is a 20Amp version and a 30Amp version with the only difference being the mv/A increase on each.

For more info see http://www.allegromicro.com/en/Products/Design/current_sensors/ look most of the way down to the bit about the ASC712 (the AC current monitor chip equivalent)

Also see this page about the ACS71x parts http://www.allegromicro.com/en/Products/Design/managing-external-magnetic-field-interference/
 

Offline veryevil

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: current sensing with 2 parallel resistors
« Reply #17 on: August 22, 2010, 10:40:22 am »
Even more info available on the FAQ page for the chips

http://www.allegromicro.com/en/Products/Part_Numbers/0712/0712-13_faq.asp
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #18 on: August 22, 2010, 10:41:45 am »
hm thats interesting, I'll probably look into those later then, with the space saved for the resistors I'll have room for any other conditioning circuitry, I'm looking at 20-25 amps although one day may take the project to 50 amps but that's not now so no need to worry
 

Offline veryevil

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: current sensing with 2 parallel resistors
« Reply #19 on: August 22, 2010, 10:42:38 am »
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #20 on: August 22, 2010, 10:45:02 am »
ah hang on do these things only go up to 85C ? I need 125C or thats what I'm aiming for, once the current design is put to the test I'll know the actual working temp of the unit
 

Offline veryevil

  • Supporter
  • ****
  • Posts: 221
  • Country: gb
Re: current sensing with 2 parallel resistors
« Reply #21 on: August 22, 2010, 10:51:42 am »
The chips themselves should get very hot at all with only having a 1.2mOhm internal resistance for the current path.

Using the max of 30Amps across 1.2mOhms with P = I2R give 900x0.0012 = 1.08Watts

Taking the thermal characteristics of the package (Junction-to-Ambient Thermal Resistance) of 23oC/Watt it will only get ~23oC above ambient

However if there are lots of other high temps about and its enclosed then there may be a problem
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #22 on: August 22, 2010, 11:26:28 am »
err yea I'm planning this to work in an ambient of 40C (maybe 50 due to being under a bonnet of a car) with a possible 30 C temperature rise in the case, of course the sensing circuitry is all part of this heat generation but still I'm also looking for very durable and basically indestructible so prefer to base it all on 125c parts, if this fails it can blow all of the cars electrics while far from help
 

Offline RayJones

  • Frequent Contributor
  • **
  • Posts: 490
    • Personal Website
Re: current sensing with 2 parallel resistors
« Reply #23 on: August 22, 2010, 08:01:14 pm »
Sounds like your project is a regulator for controlling the alternators output from vintage cars - I'd imagine the regulators of old are hard to come by.

Temperature, bonnet, high current give it all away  ;)
 

Offline SimonTopic starter

  • Global Moderator
  • *****
  • Posts: 18202
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: current sensing with 2 parallel resistors
« Reply #24 on: August 22, 2010, 08:38:35 pm »
hehe you gotta find a way to control all that power under those temps - good luck ;D, my solution was the result of a number of atempts although I'm yet to try this final one.

no the regs are easily available they are made in india, they usually break down quickly and are mechanical, considering what they do mechanically it is amazing (unfortunately they're not made like they used to be), basically a couple of specialized relays and the supporting framework provide more functions than meets the eye and i was surprised at how much effort went into replacing each function in software / hardware, it has been done before in fact many times projects were often published in magazines and you can get replacement regs for the later cars of the 70's, considering it's a relay the regulation is not too bad.

My aim is to make a more efficient unit with better stability and possibly extend functions of it. (some one has been working on it for years and never got there  >:()

Sad thing is the indian regs are now not much more than I can make the thing for in the first place my friend now tells me, this idea all started a year ago when they were three times the price they are now. so it might end up being more academic than practical but for the couple of cars my mate runs, it will be nice to see it work at least, in any case much testing will be required in all weathers and temps before i dare stake anything on it being fit for purpose
« Last Edit: August 22, 2010, 08:41:38 pm by Simon »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf