rhitee05 said:
I think you should be fine using a copper section as a shunt, with an appropriate amplifier circuit. You'd need to be careful with the op-amp design since it's a noisy environment. You'd also probably need to make it possible to calibrate the shunt. I don't think it'd be very accurate with the shunt tolerance, tolerance on the amp gains, offsets, etc, but calibration isn't a big deal for a one-off custom design. You could potentially even integrate the shunt into the circuit board copper layer.
I have some experience using board trace as a current sensing resistor (shunt). This was for DC-DC converters in the early days of sub 5V CPUs when there were no off-the-shelf solutions. The main issue I had is that the resistivity of the copper varies all over the place. The circuit board manufacturers virtually never etch more than 1/2 or 1oz oz copper, because it takes more time, creates more waste, undercutting, etc. So when you order a board with 2 or 3oz copper, they etch the traces at 1/2 oz thickness, then plate them up to spec. But apparantly (never did get a satisfactory answer) the plated copper isn't all that pure, and it doesn't take much contamination to significantly raise the resistivity. I went to the trouble of sectioning some of the problem boards, and the copper thickness was at spec, and looked right under a microscope, but I had no way to test the purity. In the worst case, the trace resistance was almost double the calculated value. This was from well respected board suppliers too....not cut rate places. In no case did I ever have a board where the resistor came out below, or even at calculated value...do not rely on published values for copper trace resistivity...it will always be a little or a lot higher.
Though I never got clear on the root-cause, I learned how to live with the boards I could get made. My trick was to place a low resistance trim pot in parallel with all or part of the shunt, and use the pot wiper as an adjustable tap. The voltage across the pot mirrors the shunt voltage, but the pot handles minimal power, as it has only millivolts across it. A 10 or 100 ohm pot is not an input impedance problem for most current sensing amplifiers, and being orders of magnitude higher resistance, doesn't materially change the net shunt value. Of course the shunt trace then has to be a bit higher than optimal resistance, but we are talking milliohms and not too hard to live with. I would typically scale the resistor trace to exact desired resistance per book resistivity for copper, and let the process problems provide the extra to make the trim pot work. This was for production. Soldering braid across parts of the shunt trace is workable for one-offs or prototypes. The trim-pot would probably be handy for an experimenter though, as you could easily adjust it for different setups.
To minimize inductance and inductive coupling, the shunt trace should be serpentine. I found it was better to make a long U, then serpentine both legs of the U in parallel. This minimizes the field at the corners, and the two connections end up right next to each other, and you can fit it into L or other shaped spaces and still have low inductance. It takes up the same board area either way. Worst is to have one long straight, trace, or god forbid a big loop. if you have two layers, you can overlay the two legs of the U, but you'll need to solder in several through wires where they join rather than counting on plated holes or vias to handle the current. I never did this, because I wasn't hurting for board area, and it isn't the best from a heat dissipation standpoint. Speaking of...If you can place the current sense trace over a big ground or power plane, that will not only offer some shielding, but help spread the heat as well. And of course you want to run some small sensing traces as kelvin taps, and keep them clear of any solder connections.
So, there are some issues using board trace as a shunt, but many advantages: It is free if you have the board space anyway. Shunt resistors can be hard to source....high prices, long lead times, and usually dependent on one source. Shunt resistors have heavy leads that may cause solder joint reliability problems. If your shunt resistor doesn't have kelvin taps, then those iffy solder joints can contribute errors. Even if you don't do the pot trick, it is easier to lower the resistance of a trace than to source a different shunt resistor.