I'm constructing a boost converter, and I need to measure both the input current and the output current. Currents range anywhere from 25A to 200A, depending on the model. My controller is referenced to the negative rail of the converter. I've been focusing on hall effect sensors, but it occurs to me that I could use shunt resistors in the negative leg instead. What are the advantages and disadvantages of each approach?
-
\$\begingroup\$ I was going to answer but I've read your bio and I bet that's a "Q&A style" question. Waiting for your answer here. \$\endgroup\$– Vladimir CraveroJul 28, 2014 at 15:41
-
1\$\begingroup\$ I have some ideas, but I'm less confident in them than I have been on past questions! If you have an answer, please, post it! \$\endgroup\$– Stephen CollingsJul 28, 2014 at 16:03
-
\$\begingroup\$ Well I can add my two cents, I just feel I am way, way less experienced than you. I hope I can help you anyway. \$\endgroup\$– Vladimir CraveroJul 28, 2014 at 16:09
-
1\$\begingroup\$ Could we talk about sensitivity and noise? \$\endgroup\$– George HeroldJul 29, 2014 at 0:25
-
\$\begingroup\$ @GeorgeHerold that's out of my capabilities but I feel that much more might be added to this question, I'm starting a bounty on it. \$\endgroup\$– Vladimir CraveroJul 31, 2014 at 14:19
2 Answers
I am not an expert in the field but I can try to help jotting down some quick ideas.
Hall effect sensor
pros:
- galvanic insulation between the measurement circuit and the circuit to be measured
- they can be placed anywhere on the current path (voltage is not a problem), thus easyness of installation and eventually servicing
- they nearly do not affect the measured current so they are great if this is a concern
cons:
- cost: a high current, precise sensor can cost tens of bucks
- bandwidth: the sensor and the sensed wire are coupled through a transformer, and of course it has its own frequecny response. A piece of copper (aka shunt resistor) is less affected by this problem.
- magnetic fields: an external fixed magnetic field can cause an offset in the measurement that must be somehow taken into account
Shunt resistor
pros:
small and cheap, I bet that with a good pcb manufacturer you can make your shunt resistor on the pcb paying only for the increased size, but keep in mind that the copper resistivity depends on temperature, moreover the pcb outer layers thickness is not precise while inner layers are somewhat better.
You can get cheap SMD shunt resistors down to 1m\$\Omega\$ from ohmite
cons:
- they can dissipate quite an amount of power, and a tradeoff exists between precision and dissipated power. They can get quite hot too.
- they do affect the measured circuit, namely there's a voltage drop across them and that might not be acceptable for very low voltage, high current applications. You can't measure the current consumed by an array of cores that are powered with 1.8V with a shunt that drops some 100mV
That is just what comes to me from the top of my mind, I'd be very happy to integrate/correct this list reflecting any reasonable comment from below.
-
3\$\begingroup\$ I think the word you want is "affect", as in "they do not affect the measured circuit". Great answer! \$\endgroup\$ Jul 28, 2014 at 16:26
-
4\$\begingroup\$ Bandwidth is sometimes an issue for hall effect devices. \$\endgroup\$– Andy akaJul 28, 2014 at 16:44
-
4\$\begingroup\$ Paul J. Ste. Marie chimed in that "You can also get surface-mount 4-terminal shunt resistors from Ohmite, etc, down in the 1-10 milliohm range." [It was proposed as an edit. It's useful information, but not a valid edit. I took a liberty to convert it into a comment.] \$\endgroup\$ Jul 28, 2014 at 19:02
-
3\$\begingroup\$ Making a shunt resistor on the PCB turns out not to be a great idea. First, The tempco of copper stinks. (about 1/temperature, with T in degrees K) And for the outer layer of a pcb the copper thickness is very uncertain. (Inner layers are better.) \$\endgroup\$ Jul 28, 2014 at 20:05
-
3\$\begingroup\$ Also Hall effect devices can be susceptible to external or residual magnetic fields, which can cause offsets in measurement. (That's why there's a degauss button on current probes.) \$\endgroup\$– John DJul 31, 2014 at 15:15
The shunt isnt looking good on your high power job. If its to develop a reasonable voltage to allow some accuracy at the low end of your high current range ,then the worse case heat generated at max current will be bad,now if you use a gold plated opamp then you dont have your cost advantage and the better opamp working at lower input volts is more likely to get stung by the strong RF fields inside your SMPS .So the shunt is more likely to give hassles at prototyping.Now when you do a product range you can stuff more turns of thinner wire through to reduce your range.In other words one size hall device should fit all.there is one thing to watch out for with the hall and thats its tempco ,its small BUT it goes the wrong way which means that current will rise if it gets hot .It doesnt generate significant heat BUT what if your cable is small or its close to other hot components.