EEVblog Electronics Community Forum

Electronics => Projects, Designs, and Technical Stuff => Topic started by: i509VCB on December 05, 2024, 10:54:52 pm

Title: Picking an op amp for uA to A current sensing circuit and reverse protection
Post by: i509VCB on December 05, 2024, 10:54:52 pm
A few questions for my current sensing circuit. The main reason for this to exist is sampling current draw from a microcontroller and the surrounding circuits. The high sample rate requirement is for looking at current draw as the microcontroller wakes up and goes to sleep. There is also an ARM CMSIS-DAP debugger and JTAG scan support and a very crappy logic analyzer but these are irrelevant to the discussion here.

Some specifications:

First the ADC. I am likely to use the RP2040 which has an enob of 8.6. However its not guaranteed to be the final part in the case that I would like USB HS (some STM32). If I do end up keeping the RP2040 then I might end up using an external ADC or something like an MSPM0G310 for a "smart" ADC to get to 10 bits.

First question picking an op amp? I have looked at some instrumentation amplifiers but find a lot of these are expensive and have some less than ideal bandwidth. At the same time because I am lazy I would like a part which has a high common mode voltage above 5V. I am tempted to add a gain of 10 as well to make the ADC go a bit further but I would need an instrumentation amp then. A 2nd stage programmable gain is probably another option.

If I can't find a suitable part with a high enough common mode voltage, then what options are available for increasing this while not messing up the current measurements?

A question relating to reverse protection: using a diode is probably a bad idea due to the voltage drop. Some sort of mosfet on the input and output of the sensing I think would stop backwards current flow (which I already need for the power source and to isolate output when using the calibration resistors.