I need to design a circuit that could measure 50 cables simultaneously and determine if all lines are within their resistance limit Rth.
Each good line measures about 0.7 ohm , so Rth could be 1 ohm or even 2 ohms. I can use a high-pin-count CPLD and a microcontroller to check each line at a time for continuity (and discontinuity with other lines). My problem is that Rth is so small and excessive current could flow (for 5V or 3.3V supply, my CPLD can't go to lower supply voltage).
1) First I considered of resistance measurement (Voltage dividers and ADCs) circuit and some digital switch ICs, but Ron resistance of these devices is about 70-80 ohm for 8-16 line IC capability or 4.5 ohm for 4 lines switch ICs which are more expensive. Also, Ron is the max value and it's not a fixed value, so there is a problem because Rth is so small (1 to 2 ohm) and it is within the flactuation of Ron. ADC should be of high resolution because Rth is so small. Furthermore using a lot of high resolution ADCs and no switch IC is much expensive.
The fact is that I don't need to accurately measure the R of a line, I just need to know if it is below Rth or over it. I mean, 10 ohm and 10Mohm does not make any difference to me. Also inductance of the cable (about 1 meter long) is unknown and constantly changing. So, using AC testing voltage and RLC series circuit with R being the cable's resistance is not practical, because there is L at the cable, too. I need to bend the cable while measuring.
2) Later I thought of a negative feedback opamp circuit (x 50 circuits) and a MUX, but Imax = Vtotal / Rtotal(min) = ( 5 - (-5) ) / ( 1+1 ) = 5 A is too much, and there is an undefined logic condition (0.8V to 3.3V) opamps output to MUX input.
For Rcable=0.7 ohm => Vout = 5V because OpAmp's V+ = 5V
For Rcable=1 ohm => Vout = 5V
For Rcable=1.5ohm => Vout = 3.3V (3.3 V should be accepted for Vin High for 5V supply MUX)
For Rcable >1.5ohm => Vout < 3.3V (Vin = Low) But Low = 0 to 0.8V , so 0.8V to 3.2V is undefined condition
3) Finally I changed my mind and decided using a comparator (x 50 circuits) instead of opamps, solving the logic undefined condition.
but Imax=5 A still exists.
Also, if R1 is small (10 or 100 ohm) Rth resolution is good but Imax is big (5V / 101ohm = 50mA , x2 per comparator => 100mA, x50 comparators => 5A).
If R1 is big (1K) then Imax is low (total 250mA) but resolution for Rth is just at the limit. LM339 has max 5mV Input offset voltage, so if Rcable = 1 ohm and Vio=5mV then I should use Rth=2ohm. And if I consider that good Rcable= 2ohm or below , then Rth should be 3ohm. Either case I need 2 sets of resistors 1% and I could not know if Rcable= 1ohm or 3ohm(max) when the comparator outputs low. But it's the most capable circuit I can think about.
Can anyone help ?
Each good line measures about 0.7 ohm , so Rth could be 1 ohm or even 2 ohms. I can use a high-pin-count CPLD and a microcontroller to check each line at a time for continuity (and discontinuity with other lines). My problem is that Rth is so small and excessive current could flow (for 5V or 3.3V supply, my CPLD can't go to lower supply voltage).
1) First I considered of resistance measurement (Voltage dividers and ADCs) circuit and some digital switch ICs, but Ron resistance of these devices is about 70-80 ohm for 8-16 line IC capability or 4.5 ohm for 4 lines switch ICs which are more expensive. Also, Ron is the max value and it's not a fixed value, so there is a problem because Rth is so small (1 to 2 ohm) and it is within the flactuation of Ron. ADC should be of high resolution because Rth is so small. Furthermore using a lot of high resolution ADCs and no switch IC is much expensive.
The fact is that I don't need to accurately measure the R of a line, I just need to know if it is below Rth or over it. I mean, 10 ohm and 10Mohm does not make any difference to me. Also inductance of the cable (about 1 meter long) is unknown and constantly changing. So, using AC testing voltage and RLC series circuit with R being the cable's resistance is not practical, because there is L at the cable, too. I need to bend the cable while measuring.
2) Later I thought of a negative feedback opamp circuit (x 50 circuits) and a MUX, but Imax = Vtotal / Rtotal(min) = ( 5 - (-5) ) / ( 1+1 ) = 5 A is too much, and there is an undefined logic condition (0.8V to 3.3V) opamps output to MUX input.
For Rcable=0.7 ohm => Vout = 5V because OpAmp's V+ = 5V
For Rcable=1 ohm => Vout = 5V
For Rcable=1.5ohm => Vout = 3.3V (3.3 V should be accepted for Vin High for 5V supply MUX)
For Rcable >1.5ohm => Vout < 3.3V (Vin = Low) But Low = 0 to 0.8V , so 0.8V to 3.2V is undefined condition
3) Finally I changed my mind and decided using a comparator (x 50 circuits) instead of opamps, solving the logic undefined condition.
but Imax=5 A still exists.
Also, if R1 is small (10 or 100 ohm) Rth resolution is good but Imax is big (5V / 101ohm = 50mA , x2 per comparator => 100mA, x50 comparators => 5A).
If R1 is big (1K) then Imax is low (total 250mA) but resolution for Rth is just at the limit. LM339 has max 5mV Input offset voltage, so if Rcable = 1 ohm and Vio=5mV then I should use Rth=2ohm. And if I consider that good Rcable= 2ohm or below , then Rth should be 3ohm. Either case I need 2 sets of resistors 1% and I could not know if Rcable= 1ohm or 3ohm(max) when the comparator outputs low. But it's the most capable circuit I can think about.
Can anyone help ?
Attachments
-
20.4 KB Views: 10
-
15.5 KB Views: 9
-
15.5 KB Views: 10
Last edited: