I would like to get some industry experts / design engineers opinion about potential methods to improve the proposed shunt resistor current sensing method below. The intention is to improve this circuit from op-amp stability point of view while using best practices to apply a correct filtering method.
- When Q8 MOSFET is ON, the source (V_CS) voltage is attenuated by half. This method is used to improve SNR at low current levels.
- I am using 220 nF "lag capacitor" between op-amp inputs to improve/slow down the step voltage when current is flowing through the shunt resistor. There is no filtering applied after an op-amp.
- The closed loop gain = 10. The reference voltage is 1/2 of VDD = 1.65V using a simple voltage divider (R17||R18). The maximum voltage across the capacitor is up to 300 mV. However, with "GAIN_CTRL" enabled that voltage will be 150 mV.
- In the initial design OPA358 was used that has relatively fast slew rate (55 V/µs) and an GBW = 80 MHz.
- The narrowest pulse during which current flows through R_CS is around 580 ns. The sample is acquired in the middle with sampling time of 125 ns.
Requested additional information:
Low side current sense resistor is placed on a separate power board. [L1 - RED, L2 - ORANGE]
The differential CSR signal goes through a gold plated 2 mm connector that connects to the op-amp circuit input shown below. Note, there is a ground pour on L2 (not shown in this image). [L1 - RED, L4 - GREEN]. Copper pour in GREEN is +3V3.
QUESTIONS
- Are there better solutions to filter out noise in this particular op-amp configuration as opposed to placing 220 nF (C22) cap between op-amp inputs? There is some additional information that I found about this method:
This capacitor is called a “lag capacitor.” The technique can be applied to amplifiers that have poor step response (excessive ringing) or circuits that are exposed to harsh EMI environments. Lag capacitors should be used with caution.
- What is the minimum GBW of the op-amp that would satisfy this application? Provided that A_cl = 10 and the current ripple is (66.6 kHz * 2) = 133 kHz, op-amp with 2 - 3 MHz should be sufficient, correct? I do understand that a certain overhead is required when considering G * BW product, but OPA358 with 80 MHz seems like an overkill for this now.
- Would reducing resistor values by maintaining the same ratio, improve the op-amp functionality (responsiveness, noise, stability)? I am aware that it comes at a cost in terms of higher current consumption.
- I am considering to replace OPA358 with OPA607 instead. It comes with lower GBW of 50 MHz and lower slew rate of 24V/us (still sufficient), but with lower offset and better noise figures. However, I am not sure about the stability. If instead, someone knows an alternative device that could satisfy/improve this application I would really appreciate it. I shall add that the cost is of certain importance too.
UPDATE
I captured the output of the OPA358 and this is what I am presented with. Too much parasitic inductance potentially? This is not even the worst case scenario, but you can clearly see that if the pulse was even shorter, a big undershoot of this pulse would make it into the sampling window leading to a wrong inductor current measurement. There is a bit of jitter present in the image due to duty ratio adjustment. The sampling window is denoted by START and FINISH markers.