Wasn't sure if this belonged in Power Electronics, Sensor Design, or here. Please move if I put this in the wrong forum.
I'm puzzling over how to measure my load resistance in this part of my circuit:

in the above schematic is a SMPS that produces up to -10V or so while in operation. Control lines and most of the rest of the circuitry is omitted. When the the SMPS is not in operation, I need to be able to take a reading on the load and determine its resistance for power calculation.
I'm leaning towards a LM1117 (low dropout LM117) or similar IC setup as a constant current source of around 50mA. I might be better off with a pnp/diode current source, not sure what the prevailing wisdom is on this.
(I've also looked at the LT3092 as a current source but I don't like the price tag of that chip. Not that the price of individual chips really matters for this design as I'll likely only ever make a few.)
Basically, I want to inject a few mA on the side of the coil opposite ground when the SMPS is not running. Then, I'll take an ADC measurement on the voltage to get the resistance of the coil. This would be a short duration event, on the order of a few hundred microseconds. My ADC has a gain amplifier and also does differential measurements. While I'm hoping to avoid differential, using some gain shouldn't be a lot of trouble and should get me the accuracy I need. Hoping for 0.05ohm precision but .1ohm is probably just fine.
I have a budget of 5V and 100mA for the current source. I'm looking at source and not sink as the coil will have a load of several amps in operation and isolating it from ground probably isn't practical. I want to be able to turn off the test current when not in use. What sort of circuit/IC should I be looking at for this?
As for the ADC, it will tolerate exposure to voltages from -0.5V to 5.5V. If I understand this correctly, the 0.7V drop of a signal diode will prevent me from measuring the low voltage produced by my current source and load. How can I protect my microcontroller and still take an accurate reading?
I'm puzzling over how to measure my load resistance in this part of my circuit:

in the above schematic is a SMPS that produces up to -10V or so while in operation. Control lines and most of the rest of the circuitry is omitted. When the the SMPS is not in operation, I need to be able to take a reading on the load and determine its resistance for power calculation.
I'm leaning towards a LM1117 (low dropout LM117) or similar IC setup as a constant current source of around 50mA. I might be better off with a pnp/diode current source, not sure what the prevailing wisdom is on this.
(I've also looked at the LT3092 as a current source but I don't like the price tag of that chip. Not that the price of individual chips really matters for this design as I'll likely only ever make a few.)
Basically, I want to inject a few mA on the side of the coil opposite ground when the SMPS is not running. Then, I'll take an ADC measurement on the voltage to get the resistance of the coil. This would be a short duration event, on the order of a few hundred microseconds. My ADC has a gain amplifier and also does differential measurements. While I'm hoping to avoid differential, using some gain shouldn't be a lot of trouble and should get me the accuracy I need. Hoping for 0.05ohm precision but .1ohm is probably just fine.
I have a budget of 5V and 100mA for the current source. I'm looking at source and not sink as the coil will have a load of several amps in operation and isolating it from ground probably isn't practical. I want to be able to turn off the test current when not in use. What sort of circuit/IC should I be looking at for this?
As for the ADC, it will tolerate exposure to voltages from -0.5V to 5.5V. If I understand this correctly, the 0.7V drop of a signal diode will prevent me from measuring the low voltage produced by my current source and load. How can I protect my microcontroller and still take an accurate reading?










