Current Sensing circuit issue
Current Sensing circuit issue
(OP)
I have recently designed a servo loop circuit in which current is sensed across a 0.1 ohm resistor and fed back into the input. The difference across the resistor is fed into an opamp with a gain of 10. The output of this opamp with the current artwork is approximately 30% higher than expected (a gain of about 12.6). The previous artwork of the same circuit functioned correctly and the only difference that was noticed is that the trace on the low side of the current sensing resistor is thinner than the other side. The way we found to fix it is to supplement the trace with a jumper, which indeed fixed the issue. The problem is that the calculations don't match. The increased resistance due to the smaller trace should not be enough to affect the output by 30%.
A couple notes: The values of the passives in the circuit were measured out of the circuit and found to be correct. The problem is known to be a common-mode gain of about 0.03, but not sure where this gain is coming from (typically impedance mismatch). The opamp is functioning correctly based upon measurements and calculations.
Any suggestions of things to look into would be appreciated!
A couple notes: The values of the passives in the circuit were measured out of the circuit and found to be correct. The problem is known to be a common-mode gain of about 0.03, but not sure where this gain is coming from (typically impedance mismatch). The opamp is functioning correctly based upon measurements and calculations.
Any suggestions of things to look into would be appreciated!





RE: Current Sensing circuit issue
Sure, if the trace is uniform at the dimension measured. But, if it's an etched trace, there may be very small areas (cracks, flaws) where the trace width is actually much smaller than you think it is.
RE: Current Sensing circuit issue
RE: Current Sensing circuit issue
Dan - Owner

http://www.Hi-TecDesigns.com
RE: Current Sensing circuit issue
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Current Sensing circuit issue
The one 8 mil trace branching off from the sense resistor to the input resistor to the positive side of the opamp is about 50 mOhms. The trace branching off of the other side of the sense resistor is a 20 mil trace. The way we determined that the output is off about 30% is by measuring the voltage across the sensing resistor and calculating what the output should be based on measured values of resistors (out of the circuit). With a trace impedance of 50 mOhms in series with a 0.05% 1K resistor, the trace impedance should not be an issue.
"The ostensible solution would be to use a Kelvin, 4-wire measurement across the resistor, i.e., using non-current carrying sense lines."
Unfortunately, this configuration can not be changed now and also the problem is "fixed." What I am wondering now is exactly what the cause of the problem was and why the jumper fixed it.
RE: Current Sensing circuit issue
When doing switch-mode design with a current-mode controller with a resistor for current sense, care has to be taken in the current sense, and the traces and resistor used for the current sense need to be non-inductive or errors will result. Problems will occur even at switching frequencies of a few tens of kilohertz.
Now, I realize that your doing a motor servo loop of some type and not a switch-mode power supply, but the issues are similar.
RE: Current Sensing circuit issue
With a 1K, then it's more likely to be some sort of inductive issues as suggested by Comcokid, possibly causing some amps to oscillate, which could create all sorts of anomalous effects.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Current Sensing circuit issue
Dan - Owner

http://www.Hi-TecDesigns.com
RE: Current Sensing circuit issue
(">>>" means "much bigger")
Gunnar Englund
www.gke.org
--------------------------------------
100 % recycled posting: Electrons, ideas, finger-tips have been used over and over again...
RE: Current Sensing circuit issue
As far as I understand about this circuit, it is already using "four wire" connection for current sensing. Load current flows through large traces, into the sense resistor (0.1 ohm), and smaller traces bring the "voltage across the resistor" to an OP-amp. The 1 kOhm resistor mentioned is not the sense resistor, it is one of the resistors of the amplifier network. A circuit diagram would indeed have helped.
@Katy, I do think that both of your PCBs had the same etching defects. I cannot think of any other explanation.
RE: Current Sensing circuit issue
I have tried the circuit with a DC current and with a 100Hz sine wave input, since the input signal will not be changing too rapidly. In both cases, it had the same result.
RE: Current Sensing circuit issue
Let us know if my sketch is incorrect.
RE: Current Sensing circuit issue
This would be particularly true if the resistor's solder pad is not correctly laid out. Usual best practice for components connected to large copper areas is to have the solder pad isolated from the main pad physically, and only connected through normal, short traces, sort of like a Maltese cross in a hole in the large copper pad. This retains sufficiently low connection resistance, but provides a high thermal isolation for proper soldering.
TTFN
FAQ731-376: Eng-Tips.com Forum Policies
RE: Current Sensing circuit issue
Keith Cress
kcress - http://www.flaminsystems.com
RE: Current Sensing circuit issue
I am not saying that is the issue here, but it can happen.