Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
"Flaw" in UniversalOpamps
¿ªÔÆÌåÓýI can't remember when the UniversalOpamps first came into being, but there's a good chance there's been a bug in them from the start.Although I realised there was a problem long ago when I modified my copy of the old combined library file of UniversalOpamp2 to fix it, I had since forgotten about it. I failed to flag it up. However, when dealing with a query on another channel, I came across a significant shortfall in expected performance when using the latest stand-alone UniversalOpamp models. I was attempting to emulate the TI OPA2211 opamp with one. The datasheet for the OPA2211 states that the differential input resistance is typically 20k¦¸, and the common mode input impedance is 2M¦¸. Usually, the CM impedance makes little difference to the performance of most circuits because it is typically very high, so I was surprised when putting Rin=20k that the amplifier lost about 5dB of expected closed loop gain when the source impedance was significant, by comparison. I set up an impedance testjig for the UniversalOpamp3a that measured the input impedance in both modes. TL;DR: neither the differential or common mode input impedance was 20k¦¸! The differential input resistance was 40k¦¸, while the common mode input resistance was 10k¦¸. WRONG ANSWERS! I've uploaded the test schematic: UniversalOpamp_bug1.zip The reason this happens is obvious when you look at the .subckt for UniversalOpamp3a:? .subckt level3a 1 2 3 4 5Resistors R3-R6 implement the supposed input resistance. Essentially, both opamp inputs have resistors of 2*Rin connected to both supply rails, and by implication (with ideal voltage sources) - to ground. Therefore each input has a resistance of Rin to ground. But - and this is a big but: Rincm = (2*Rin//2*Rin)//(2*Rin//2*Rin) = 10k¦¸ Rindm = (2*Rin//2*Rin)+(2*Rin//2*Rin) = 40k¦¸ Since the default for the Rin parameter is 500k¦¸, the issues this typically causes are small compared to other parameters with typical feedback network impedances. But with the Rin parameter set to match the desire differential input impedance commonly found on datasheets of (bipolar) low noise opamps, things can go awry with those same feedback components. This should be fixed. For practical components, the common mode I/P impedance is always higher than the differential I/P impedance. So, I'd say this was a bug. -- Regards, Tony |
to navigate to use esc to dismiss