Author Topic: Kelvin sensing for current measurement  (Read 7400 times)

0 Members and 1 Guest are viewing this topic.

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Kelvin sensing for current measurement
« on: March 31, 2018, 02:55:10 am »
I'd like to measure a current of up to about 30A through a sense resistor. I understand that Kelvin sensing is the preferred method for this as it eliminates the voltage drop across the conductors in the high current path. What I don't understand is why 4 terminal resistors are developed specifically for that purpose. In essence, a 2 terminal SMD resistor where the voltage sense pads come straight off the main pads seems to do exactly that, as evidenced by the picture in the operating principle for Kelvin sensing from Wikipedia.
That would mean I can get away with using a 2-terminal resistor and get the same advantages as a 4-terminal one provided I connect them properly. This is important because I just can't find a 4-terminal SMD resistor of about 5mOhm (I think I don't want to go much lower for reasonably accurate measurements) with the right power rating. Am I missing something?
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: Kelvin sensing for current measurement
« Reply #1 on: March 31, 2018, 02:59:48 am »
The 4 terminal devices are generally for repeatable precision by defining the exact location of the sense.

I use regular two terminal devices all the time and run sense traces to the inside of the device.

Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 
The following users thanked this post: anvoice

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #2 on: March 31, 2018, 03:06:31 am »
Not sure why 4 discrete terminals would be more repeatable than what is essentially 4 terminals using traces from pads?
What this means though is that there is functionally no difference if done right if I understand correctly?
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: Kelvin sensing for current measurement
« Reply #3 on: March 31, 2018, 03:10:27 am »
I cannot think of a functional improvement other than guiding the designer toward a proper Kelvin connection.

Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #4 on: March 31, 2018, 03:11:51 am »
You can't find a 4 terminal resistor in stock, or you can even find a part number for one? Most serious resistors makers offer 4 terminal parts, both surface mount and through hole mount. Not every distributor stocks them, so you might need to look around. Since 30A through 5 milliohms means 4.5W of dissipation in the resistor, a suitable resistor is rather large, and usually of through hole design. These days people usually use a lower value resistor for 30A, keep the dissipation down, and use an SMD part.

If you use a 2 terminal SMD resistor you'll probably need something a bit lower value than 5 milliohms, because of the heat. If you follow the layout guidelines you can find in http://www.analog.com/en/analog-dialogue/articles/optimize-high-current-sensing-accuracy.html you can get pretty good results. However, the complete isolation of a 4 terminal resistor normally has the edge, especially in keeping the temperature coefficient under control.

Trying to use a very low value 2 terminal through hole resistor for current sensing gives really poor results, as you just can't keep copper out of the sensed path. The 0.4%/C temperature coefficient of even a small amount of copper can really mess with the accuracy.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #5 on: March 31, 2018, 03:14:10 am »
The 4 terminal devices are generally for repeatable precision by defining the exact location of the sense.

I use regular two terminal devices all the time and run sense traces to the inside of the device.
Don't use that layout. It gives a horrible temperature coefficient, because you haven't isolated the copper in the sense path from the copper in the load path. Use the kind of layout you'll find in http://www.analog.com/en/analog-dialogue/articles/optimize-high-current-sensing-accuracy.html
 
The following users thanked this post: TiN, Eka

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: Kelvin sensing for current measurement
« Reply #6 on: March 31, 2018, 03:42:35 am »
Don't use that layout. It gives a horrible temperature coefficient, because you haven't isolated the copper in the sense path from the copper in the load path. Use the kind of layout you'll find in http://www.analog.com/en/analog-dialogue/articles/optimize-high-current-sensing-accuracy.html

Excellent app note for precision layouts.....
Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 
The following users thanked this post: TiN

Offline ejeffrey

  • Super Contributor
  • ***
  • Posts: 3713
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #7 on: March 31, 2018, 03:59:52 am »
There are at least 2 ways you can do this:

1) Use a standard SMD footprint for your device, and run two traces to each pad.  This seems to be what anovice is suggesting.  This is simple and has no assembly problems even on small resistors, but has the problem that the solder joint is included in the resistance.  There is also a voltage gradient across the pad as the current moves towards the current trace, so the value you get depends exactly on how the sense lead comes in.  This is fine for basic use, but is really inferior to any true 4 terminal connection.

2) Use two completely separate pads, and solder the resistor terminal to both of them.  This is much better because you get the solder joint (mostly) out of the equation, but still has the same problem that there is a voltage drop across the terminal, and you are sensing the voltage at a single point.  If the terminal has a significant fraction of the total resistance, your effective resistance depends on where the sense lead is connected.  Take a look at that analog devices link that coppice posted -- the exact design of the pads make a pretty big difference.  If the datasheet doesn't specify a 4 terminal layout (which cheap 2 terminal resistors don't normally do), then you can do your best, but you can't guarantee you get the best results. 

In addition, the terminal material may not be the same as the resistive element, and therefore may not have the same temperature coefficient or aging performance as the main resistive element.

It all comes down to what level of accuracy and repeatability you need.  A 4-terminal device lets the manufacturer control exactly where the sense leads are connected and make sure that it meets the datasheet performance when used that way. 
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #8 on: March 31, 2018, 04:18:52 am »
You can't find a 4 terminal resistor in stock, or you can even find a part number for one?
I can't find a 5mOhm, 4 terminal SMD resistor rated for at least 4.5W. I found one of the through-hole variety though. I'd like reasonable measurement accuracy so I didn't want to go much lower than 5mOhms, but that will depend on what I can find of course.

If you use a 2 terminal SMD resistor you'll probably need something a bit lower value than 5 milliohms, because of the heat. If you follow the layout guidelines you can find in http://www.analog.com/en/analog-dialogue/articles/optimize-high-current-sensing-accuracy.html you can get pretty good results. However, the complete isolation of a 4 terminal resistor normally has the edge, especially in keeping the temperature coefficient under control.
Thanks for the link, very useful. Problem with using a 4-terminal is that I will then either need to go through-hole, or settle for using a smaller resistance value 4-terminal device. Will my measurements with a true 4-terminal 1mOhm resistor really be better than with a 2-terminal 5mOhm one, properly arranged?

There are at least 2 ways you can do this:

1) Use a standard SMD footprint for your device, and run two traces to each pad.  This seems to be what anovice is suggesting.  This is simple and has no assembly problems even on small resistors, but has the problem that the solder joint is included in the resistance.  There is also a voltage gradient across the pad as the current moves towards the current trace, so the value you get depends exactly on how the sense lead comes in.  This is fine for basic use, but is really inferior to any true 4 terminal connection.

2) Use two completely separate pads, and solder the resistor terminal to both of them.  This is much better because you get the solder joint (mostly) out of the equation, but still has the same problem that there is a voltage drop across the terminal, and you are sensing the voltage at a single point.  If the terminal has a significant fraction of the total resistance, your effective resistance depends on where the sense lead is connected.  Take a look at that analog devices link that coppice posted -- the exact design of the pads make a pretty big difference.  If the datasheet doesn't specify a 4 terminal layout (which cheap 2 terminal resistors don't normally do), then you can do your best, but you can't guarantee you get the best results. 

In addition, the terminal material may not be the same as the resistive element, and therefore may not have the same temperature coefficient or aging performance as the main resistive element.

It all comes down to what level of accuracy and repeatability you need.  A 4-terminal device lets the manufacturer control exactly where the sense leads are connected and make sure that it meets the datasheet performance when used that way. 
Won't pretend that I have all of that grasped just yet (I'm working on it), but seems like very valid points. So the recommendation is to go with a 4-terminal through-hole, as that is the only 4-terminal resistor I can find meeting the power dissipation requirement? I'd like good accuracy for data logging and possibly torque control.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: Kelvin sensing for current measurement
« Reply #9 on: March 31, 2018, 04:35:04 am »
For 30A, consider a lower value and larger package.

Short and misplld from my mobile......

Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline ejeffrey

  • Super Contributor
  • ***
  • Posts: 3713
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #10 on: March 31, 2018, 04:52:14 am »
. So the recommendation is to go with a 4-terminal through-hole, as that is the only 4-terminal resistor I can find meeting the power dissipation requirement? I'd like good accuracy for data logging and possibly torque control.

It just depends on what accuracy you need/want.  Is 5% good enough?  1%?  0.1%?  I tried to do a rough estimate.  For a 5 mohm shunt in a 5W package, 2 terminal devices should easily be good for 1% with good layout.  If you were using a 500 micro-ohm resistor in a 1 W package, that would be more difficult to reach 1%, but 5% might be fine.
 
The following users thanked this post: anvoice

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #11 on: March 31, 2018, 07:24:08 am »
It just depends on what accuracy you need/want.  Is 5% good enough?  1%?  0.1%?  I tried to do a rough estimate.  For a 5 mohm shunt in a 5W package, 2 terminal devices should easily be good for 1% with good layout.  If you were using a 500 micro-ohm resistor in a 1 W package, that would be more difficult to reach 1%, but 5% might be fine.

I feel that 1% should be a reasonable starting point. The resistors are pretty massive (I'm looking at this: https://www.mouser.com/ProductDetail/66-SLN5TTED5L00D), but I should be able to fit them on if I try hard enough. The other choice would be 1mOhm in a 1W, true 4 terminal package (https://www.mouser.com/ProductDetail/71-WSKW06121L000FEA). My intuition says the 5 mOhms will be more accurate despite possible advantages of the 4 terminal resistor, for what that's worth. I'll start designing around the 5mOhm ones for now.
Thanks for your guidance.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #12 on: March 31, 2018, 11:54:30 am »
I feel that 1% should be a reasonable starting point. The resistors are pretty massive (I'm looking at this: https://www.mouser.com/ProductDetail/66-SLN5TTED5L00D), but I should be able to fit them on if I try hard enough. The other choice would be 1mOhm in a 1W, true 4 terminal package (https://www.mouser.com/ProductDetail/71-WSKW06121L000FEA). My intuition says the 5 mOhms will be more accurate despite possible advantages of the 4 terminal resistor, for what that's worth. I'll start designing around the 5mOhm ones for now.
Thanks for your guidance.
Intuition? So you're not trying to actually engineer something.

What are you trying to measure? Mains power or something with a wider bandwidth? For mains power, most solutions designed to accept a signal from a shunt are designed to accept a much smaller signal than you will get from 5 milliohms at 30A. People don't want to have to get rid of 4.5W from a small spot, as it requires so much space for adequate cooling. Cooling isn't just about avoiding excessive temperatures. Its also about accuracy, because of the temperature coefficient of the shunt. "I should be able to fit them on if I try hard enough" makes it sound like you are only allowing space for the shunt, and not thinking through the surrounding space needed to keep the shunt nice and cool. Most 0.1% accuracy wide dynamic range measurement solutions, like those in mains energy metering devices, are designed for the sort of signal you will get from a 0.5milliohm shunt at 30A, and can sustain their 0.1% performance over a 1000:1 current range. In most uses the key parameter is the CMRR of the differential input to the electronics. If that's high enough, you can work with a really small signal from the shunt.
 

Offline David Hess

  • Super Contributor
  • ***
  • Posts: 16607
  • Country: us
  • DavidH
Re: Kelvin sensing for current measurement
« Reply #13 on: March 31, 2018, 05:47:49 pm »
Even if geometry was not a problem, the temperature coefficient of resistance of the copper, solder joint, and part termination would spoil the accuracy compared to a 4-wire resistor.  In less critical applications, I try to run the Kelvin connections directly opposite to the high current connections instead of at 90 degrees.
« Last Edit: April 01, 2018, 02:58:36 am by David Hess »
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #14 on: March 31, 2018, 09:41:25 pm »
Intuition? So you're not trying to actually engineer something.

What are you trying to measure? Mains power or something with a wider bandwidth? For mains power, most solutions designed to accept a signal from a shunt are designed to accept a much smaller signal than you will get from 5 milliohms at 30A. People don't want to have to get rid of 4.5W from a small spot, as it requires so much space for adequate cooling. Cooling isn't just about avoiding excessive temperatures. Its also about accuracy, because of the temperature coefficient of the shunt. "I should be able to fit them on if I try hard enough" makes it sound like you are only allowing space for the shunt, and not thinking through the surrounding space needed to keep the shunt nice and cool. Most 0.1% accuracy wide dynamic range measurement solutions, like those in mains energy metering devices, are designed for the sort of signal you will get from a 0.5milliohm shunt at 30A, and can sustain their 0.1% performance over a 1000:1 current range. In most uses the key parameter is the CMRR of the differential input to the electronics. If that's high enough, you can work with a really small signal from the shunt.

Let me clarify: I'm frantically reading about all the aspects of the design I'm making, but because my education is pretty far from electronics, it's taking a while. Hence I have to occasionally rely on intuition as a placeholder for knowledge I plan to attain. I really do try.

This design is for a brushless DC motor controller, to be run at 12V. I don't know how that will compare to measuring mains, but I wanted a safety margin as far as accuracy goes. I'm gladly taking advice, including critical advice.

Heat will be produced by the motor as well as the MOSFETs driving it. I don't know exactly how much yet because I don't know the motor's internal losses, but it may well rival the 4.5W of the shunt resistors. I don't think I want active cooling as that will complicate the system and increase noise, rather I plan to have an adequate aluminum enclosure to drive the heat off.

Even if geometry was not a problem, the temperature coefficient of resistance of the copper, solder joint, and part termination would spoil the accuracy compared to a 4-wire resistor.  In less critical applications, try to run the Kelvin connections directly opposite to the high current connections instead of at 90 degrees.

I have nothing against 4-terminal resistors, the only reason I was considering the 2-pads is because they're easier to find in the right power dissipation rating with a higher resistance. From what I'm reading though, it may be difficult to tell exactly whether 2-terminal 5mOhms in a 5W package will be better than a 4-terminal 1 mOhm in a 1W package without testing it. Unless of course one could quantify the temperature coefficient of resistance of the copper, solder joint, and part termination easily.
 

Offline rx8pilot

  • Super Contributor
  • ***
  • Posts: 3634
  • Country: us
  • If you want more money, be more valuable.
Re: Kelvin sensing for current measurement
« Reply #15 on: March 31, 2018, 09:58:59 pm »
This design is for a brushless DC motor controller, to be run at 12V. I don't know how that will compare to measuring mains, but I wanted a safety margin as far as accuracy goes. I'm gladly taking advice, including critical advice.

Precision should not be too serious for that application. A typical center tap layout with a 2 terminal resistor should be adequate. While the layout example I posted earlier will not pass in any metrology application - it is rather typical for motor controls, SMPS, etc. where ultimate accuracy is not required.



Factory400 - the worlds smallest factory. https://www.youtube.com/c/Factory400
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #16 on: March 31, 2018, 10:12:55 pm »
Precision should not be too serious for that application. A typical center tap layout with a 2 terminal resistor should be adequate. While the layout example I posted earlier will not pass in any metrology application - it is rather typical for motor controls, SMPS, etc. where ultimate accuracy is not required.

What would you classify as acceptable for motor control? 1% or higher? There are 3 use cases for measuring current that I see, 1) overcurrent protection, where a crude measurement will do, 2) data logging, where 1% seems acceptable, and 3) torque control, which may or may not be important at all depending on motor application.
 

Offline Jwillis

  • Super Contributor
  • ***
  • Posts: 1710
  • Country: ca
Re: Kelvin sensing for current measurement
« Reply #17 on: March 31, 2018, 10:14:25 pm »
This might help to understand the difference.http://www.rcdcomponents.com/rcd/press/R-31%20Two-Terminal%20vs.%20Four-Terminal%20Resistors.pdf . And may help in your choices.
 
The following users thanked this post: anvoice

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #18 on: March 31, 2018, 10:30:38 pm »
This might help to understand the difference.http://www.rcdcomponents.com/rcd/press/R-31%20Two-Terminal%20vs.%20Four-Terminal%20Resistors.pdf . And may help in your choices.
Thank you, that is exactly what I'm looking for.
One thing I don't understand: I can certainly see how spacing is important for a through-hole resistor, but what about SMD? There the spacings would be equivalent to the spacing between PCB pads, is that not the case? Also, how does the 4-lead greatly minimize the thermal instability? The document briefly mentions that at the end but offers no explanation.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #19 on: April 01, 2018, 09:00:36 pm »
It does tell you. It's the horrible temperature coefficient of the  leads. Something you avoid with an SMD part. I don't know exactly what the leads are made from, but most resistors use some kind of copper alloy. They want the leads to be

stiffer than pure copper, but the copper content will ensure the temperature coefficient is pretty bad.
 
The following users thanked this post: anvoice

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #20 on: April 01, 2018, 09:43:41 pm »
Ok, so the 4-terminal devices are made of a special allow that allows their temperature coefficient to be controlled better. That does make sense.

I still don't understand why one can't make the same design with the same type of alloy using a 2-terminal resistor soldered onto 4 pads, but I do notice that the 4-terminal resistor from Vishay does have an extremely low temperature coefficient (20 ppm), lower than any 2-terminal part I can find.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #21 on: April 01, 2018, 10:59:42 pm »
Ok, so the 4-terminal devices are made of a special allow that allows their temperature coefficient to be controlled better. That does make sense.

I still don't understand why one can't make the same design with the same type of alloy using a 2-terminal resistor soldered onto 4 pads, but I do notice that the 4-terminal resistor from Vishay does have an extremely low temperature coefficient (20 ppm), lower than any 2-terminal part I can find.
No. A 4-terminal resistor gets the copper of the load path out of the sensing path, so it's temperature coefficient doesn't affect measurements.
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #22 on: April 01, 2018, 11:55:38 pm »
No. A 4-terminal resistor gets the copper of the load path out of the sensing path, so it's temperature coefficient doesn't affect measurements.

My understanding is that since the 4-terminal resistor is a monolithic device, it will still get hot where the sense connection is. Thus introducing some temperature coefficient at least. Perhaps it just doesn't get as hot, which is why its apparent temperature coefficient is lower.
 

Offline ogden

  • Super Contributor
  • ***
  • Posts: 3731
  • Country: lv
Re: Kelvin sensing for current measurement
« Reply #23 on: April 02, 2018, 12:46:00 am »
My understanding is that since the 4-terminal resistor is a monolithic device, it will still get hot where the sense connection is. Thus introducing some temperature coefficient at least. Perhaps it just doesn't get as hot, which is why its apparent temperature coefficient is lower.

High current supposedly shall not be running through sense path. For high impedance input of ADC or opamp it does not matter - sense path resistance changes by < 0.1 Ohms or not.
 
The following users thanked this post: anvoice

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #24 on: April 02, 2018, 12:33:29 pm »
No. A 4-terminal resistor gets the copper of the load path out of the sensing path, so it's temperature coefficient doesn't affect measurements.

My understanding is that since the 4-terminal resistor is a monolithic device, it will still get hot where the sense connection is. Thus introducing some temperature coefficient at least. Perhaps it just doesn't get as hot, which is why its apparent temperature coefficient is lower.
It seems you fail to understand what a 4 terminal shunt is all about.

With the sense points of a 4 terminal shunt being right on the resistive element, they are not sensitive to the temperature dependent voltage drops along the copper based leads carrying the load current. Those leads have just as bad a temperature coefficient as a 2 terminal shunt, but it doesn't affect the sensed voltage drop across the resistive element. That is the reason 4 terminal devices are manufactured.
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #25 on: April 02, 2018, 08:33:52 pm »
No. A 4-terminal resistor gets the copper of the load path out of the sensing path, so it's temperature coefficient doesn't affect measurements.

My understanding is that since the 4-terminal resistor is a monolithic device, it will still get hot where the sense connection is. Thus introducing some temperature coefficient at least. Perhaps it just doesn't get as hot, which is why its apparent temperature coefficient is lower.
It seems you fail to understand what a 4 terminal shunt is all about.

With the sense points of a 4 terminal shunt being right on the resistive element, they are not sensitive to the temperature dependent voltage drops along the copper based leads carrying the load current. Those leads have just as bad a temperature coefficient as a 2 terminal shunt, but it doesn't affect the sensed voltage drop across the resistive element. That is the reason 4 terminal devices are manufactured.
Yes, perhaps I do. That's the reason I'm asking questions in the newbie section.

Thank you for clarifying.
 

Offline Eka

  • Regular Contributor
  • *
  • Posts: 160
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #26 on: April 03, 2018, 01:35:51 am »
At 30 Amps, that's a 0.15V drop across the resistor, and 9 Watts dissipated. Not many surface mount shunt resistors go above 5W. I'd go to 0.0025 Ohm or less.

There are high side current shunt amplifiers that have 0.1% accuracy amplification stages that are designed to use the really small shunt resistor values to lower energy loss and still provide enough accuracy. Pay attention to the maximum mV the input stages can accept. The one I plan on using only accepts up to 83mV shunt resistor voltage. Using a 0.001 Ohm shunt resistor with it, I get a usable 30 Amps monitoring capacity. I'm putting an input filter and protection circuit between the shunt and current shunt monitoring chip. I loose some accuracy and range of measurement, but I'm still better than 1% accuracy before calibration. It also means I can accidentally short my monitored rail without worrying about blowing the input stage of the amplifier.
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #27 on: April 03, 2018, 03:33:56 am »
At 30 Amps, that's a 0.15V drop across the resistor, and 9 Watts dissipated. Not many surface mount shunt resistors go above 5W. I'd go to 0.0025 Ohm or less.

There are high side current shunt amplifiers that have 0.1% accuracy amplification stages that are designed to use the really small shunt resistor values to lower energy loss and still provide enough accuracy. Pay attention to the maximum mV the input stages can accept. The one I plan on using only accepts up to 83mV shunt resistor voltage. Using a 0.001 Ohm shunt resistor with it, I get a usable 30 Amps monitoring capacity. I'm putting an input filter and protection circuit between the shunt and current shunt monitoring chip. I loose some accuracy and range of measurement, but I'm still better than 1% accuracy before calibration. It also means I can accidentally short my monitored rail without worrying about blowing the input stage of the amplifier.

Could you clarify how you got that number? The formula I'm using is just I2R, which gives 4.5W of power dissipated, not 9. I agree that I won't find an SMD device for 9W easily.

I have low-side amplifiers in my setup (DRV8323SRTAR), those have a max 40V/V gain but I'm still figuring out the equations for the resistor value.

One of the issues is that I'm still trying to get the motor supplier to give me the stall current of the motors. If he doesn't, I might have to wait until they arrive to measure it myself, so at the moment the 30A is an approximation. If I size the electronics to just barely accommodate 30A and it turns out to be 35, I'd not be in good shape.
« Last Edit: April 03, 2018, 03:41:24 am by anvoice »
 

Offline BravoV

  • Super Contributor
  • ***
  • Posts: 7547
  • Country: 00
  • +++ ATH1
Re: Kelvin sensing for current measurement
« Reply #28 on: April 03, 2018, 04:38:29 am »
I've had similar problem, its just not possible for that kind of current with tiny small resistor, think of the heat dissipation generated. One of the reason I did buy few low ohm precision resistor like these below, as it has big chunk of metal body to dissipate the heat away and to maintain good accuracy of the resistance. Bought used as I can't afford new one.

An example below, rated 20 Watt on free air, or 50 Watt with big heatsink  ::), say at 20 Watt at 0.01 Ohm, that is max at 200 Amp without affecting the rated resistor accuracy significantly with tempco of 50 ppm/K and resistance accuracy at 0.1%.

The smaller rod is the Kelvin sense terminal. Shot with a TO-220 sized chip to give an idea how big it is.

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #29 on: April 03, 2018, 04:55:12 am »

That's an impressive piece of hardware.

I don't have the luxury of using something that massive for my current sense resistors (space constraints, and I need 3) so I'll probably go with SMD. The 20ppm TCR from Vishay look promising, but I'm limited to 1mOhm resistance if I want to measure 30A or so (they dissipate 1W tops).

Another concern is the maximum conduction of the PCB trace, which I'll be reading about shortly. Even if I minimize all track lengths, that's a lot of current to put through the board.
 

Offline Eka

  • Regular Contributor
  • *
  • Posts: 160
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #30 on: April 03, 2018, 06:38:42 am »
At 30 Amps, that's a 0.15V drop across the resistor, and 9 Watts dissipated. Not many surface mount shunt resistors go above 5W. I'd go to 0.0025 Ohm or less.

There are high side current shunt amplifiers that have 0.1% accuracy amplification stages that are designed to use the really small shunt resistor values to lower energy loss and still provide enough accuracy. Pay attention to the maximum mV the input stages can accept. The one I plan on using only accepts up to 83mV shunt resistor voltage. Using a 0.001 Ohm shunt resistor with it, I get a usable 30 Amps monitoring capacity. I'm putting an input filter and protection circuit between the shunt and current shunt monitoring chip. I loose some accuracy and range of measurement, but I'm still better than 1% accuracy before calibration. It also means I can accidentally short my monitored rail without worrying about blowing the input stage of the amplifier.

Could you clarify how you got that number? The formula I'm using is just I2R, which gives 4.5W of power dissipated, not 9. I agree that I won't find an SMD device for 9W easily.

I have low-side amplifiers in my setup (DRV8323SRTAR), those have a max 40V/V gain but I'm still figuring out the equations for the resistor value.

One of the issues is that I'm still trying to get the motor supplier to give me the stall current of the motors. If he doesn't, I might have to wait until they arrive to measure it myself, so at the moment the 30A is an approximation. If I size the electronics to just barely accommodate 30A and it turns out to be 35, I'd not be in good shape.
Oops, looks like an error in the spreadsheet I wrote in the middle of the night a few weeks ago. Kinda interesting that I had worst case Watts calculated correctly, and nominal Watts wrong. After fixing the inputs, I also get 4.5 Watts now. Still, there should be more than a half Watt of headroom. That resistor will be heating up a lot, and that will effect accuracy.

Now, for over current for a motor, high accuracy isn't as much of a need. A few % off is OK. Is a 4 terminal resistor even needed? Yeah, if you go with a 2 terminal do the traces for the kelvin sensing like the AMD app note suggests to retain as much accuracy as possible, but do you need sub 1% accuracy, or even sub 2%? I see +/-5% talked about for some control resistors in the spec sheet. Also most motor control circuits are usually cost sensitive, not high accuracy sensitive. If they need accuracy, they use some form of feedback loop.

BTW: A 0.005 Ohm 5W 0.1% 4 terminal surface mount shunt resistor is available at DigiKey. Vishay Foil Resistors part number Y14740R00500B0W. Also looks like you can get a 1% 4 terminal surface mount shunt resistor for a fraction of the cost.

On kelvin sensing for 2 terminal resistors. Not all 2 terminal sense resistors are packaged so the terminals are under the resistor element like the one the AMD app note used. Some have them flanking the resistor to each side, see Stackpole Electronics Inc. part number CSSH2728FT5L00. From reading between the lines, they would be best to have the sense wires to come out the inside sides of the pads. That would allow for no vias in the kelvin sense lines.
 

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #31 on: April 03, 2018, 06:55:09 am »
Still, there should be more than a half Watt of headroom. That resistor will be heating up a lot, and that will effect accuracy.

Now, for over current for a motor, high accuracy isn't as much of a need. A few % off is OK. Is a 4 terminal resistor even needed? Yeah, if you go with a 2 terminal do the traces for the kelvin sensing like the AMD app note suggests to retain as much accuracy as possible, but do you need sub 1% accuracy, or even sub 2%? I see +/-5% talked about for some control resistors in the spec sheet. Also most motor control circuits are usually cost sensitive, not high accuracy sensitive. If they need accuracy, they use some form of feedback loop.

BTW: A 0.005 Ohm 5W 0.1% 4 terminal surface mount shunt resistor is available at DigiKey. Vishay Foil Resistors part number Y14740R00500B0W. Also looks like you can get a 1% 4 terminal surface mount shunt resistor for a fraction of the cost.

On kelvin sensing for 2 terminal resistors. Not all 2 terminal sense resistors are packaged so the terminals are under the resistor element like the one the AMD app note used. Some have them flanking the resistor to each side, see Stackpole Electronics Inc. part number CSSH2728FT5L00. From reading between the lines, they would be best to have the sense wires to come out the inside sides of the pads. That would allow for no vias in the kelvin sense lines.

My understanding was that the package dissipation spec does include some headroom. e.g. if you're picking 1mOhm with 30A current, dissipating about .9W, the 1W would be up to specs for that. Don't see the point of saying "1W" if it really can't handle that without accuracy deteriorating significantly.

I'd like to do both reasonably accurate torque control and data logging if possible. That's why I think around 1% is a more reasonable number than 5%. Right now I'm designing around Mouser part 71-WSKW06121L000FEA, which has a remarkably good TCR and is cheap. Assuming my current doesn't actually go above 30A, it seems like it'll do a good job.

The cost on that Digi-Key one is kind of prohibitive for 3 resistors per board... Plus they have 4 total that can ship, while I need at least 15 (again, wouldn't be cheap).
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Kelvin sensing for current measurement
« Reply #32 on: April 03, 2018, 07:01:24 am »
My understanding was that the package dissipation spec does include some headroom. e.g. if you're picking 1mOhm with 30A current, dissipating about .9W, the 1W would be up to specs for that. Don't see the point of saying "1W" if it really can't handle that without accuracy deteriorating significantly.
Resistor ratings are quite complex, because the resistor doesn't exist in isolation. If they rate the resistor as 1W, it usually means that it should be able to dissipate 1W out in the open air. Constrict the air around it, and it will be able to dissipate less. Also, check the temperature that the resistor is expected to reach when dissipating 1W. Some spec have the resistor running really hot at the rated power dissipation.
 
The following users thanked this post: anvoice

Offline anvoiceTopic starter

  • Regular Contributor
  • *
  • Posts: 248
  • Country: us
Re: Kelvin sensing for current measurement
« Reply #33 on: April 03, 2018, 07:12:00 am »
Resistor ratings are quite complex, because the resistor doesn't exist in isolation. If they rate the resistor as 1W, it usually means that it should be able to dissipate 1W out in the open air. Constrict the air around it, and it will be able to dissipate less. Also, check the temperature that the resistor is expected to reach when dissipating 1W. Some spec have the resistor running really hot at the rated power dissipation.

Makes sense. I can't model my heat dissipation easily since the resistors will be in an (aluminum) enclosure and near other potentially hot components, such as the motor and MOSFETs, so it may be good to have some headroom there. The only issue here is that other resistors I found for a similar price have a much higher TCR, so even if they're larger and run at +30C (unlikely since other components will heat the air around them), their TCR which is over 3 times higher would still make this a wash with the 1W variant running at +100C, if not worse.
« Last Edit: April 03, 2018, 07:13:36 am by anvoice »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf