Charge Amplifier - Spice vs. App Note - Page 1
Forum section: electronics / projects

author: geo_leeman
author_rank: Regular Contributor
timestamp: April 22, 2019, 03:10:27 am
content: Hey folks - I'm messing with a charge amplifier design and found a great app note by TI:https://www.ti.com/lit/an/sloa033a/sloa033a.pdfWithin it has some simple formula for the lower/upper rolloff points for the gain. (See attached). I made up a quick spreadsheet and modeled the circuit in LTSpice (granted, with a different opamp, but with high GBP and FET input) and my numbers don't quite agree. The lower point is close, but the higher side is way way off. I've tried with several different setups and always get this result. Am I missing something fundamental, am I mental, or a combination?

author: moffy
author_rank: Super Contributor
timestamp: April 22, 2019, 03:44:23 am
content: Your input high pass filter (C2 & R2) has a 3db pt of about 36Hz. Your low pass filter/integrator(C1 & R1) has a 3db pt of about 14mHz. So what you are seeing is correct.Also the ratio of C2/C1 sets the gain in the flat region for these values.

author: sdouble
author_rank: Frequent Contributor
timestamp: April 22, 2019, 04:48:21 am
content: remove your serie resistance and add a cap to ground to mimic your sensor cap.your feedback cap is huge meaning that the sensitivity of your apparatus will be rather low.

author: geo_leeman
author_rank: Regular Contributor
timestamp: April 23, 2019, 03:46:53 am
content: I've added a cap to ground and used a current source instead so now it should be *exactly* like the schematic in the app note, but I'm not getting anything that makes much more sense. The series resistor is in the schematic as Ri. See Attached.

author: SiliconWizard
author_rank: Super Contributor
timestamp: April 23, 2019, 03:30:55 pm
content: I think a correct way to model the charge source would be to use an arbitrary behavioral current source instead, and set the function to the derivative of a voltage source modeling the charge Q(t). The current is obviously the derivative of the charge. The derivative of a function such as: A*sin(2*pi*F*t+phi) is: 2*pi*A*F*cos(2*pi*F*t+phi). You instantly see that it's not going to be just a scaled version of the original, but its amplitude grows as the frequency grows. An AC analysis with a basic current source will thus not give you the same result!Attached is an LTSpice schematic of what I mean. It looks like it gives a frequency response pretty close to what's in the app note. (With your values: Flow ~ 0.145 Hz, Fhigh ~ 361 Hz.)Edit: added a picture for quick preview.

author: geo_leeman
author_rank: Regular Contributor
timestamp: April 24, 2019, 03:28:20 am
content: That makes sense and I can get the proper output then - the only thing not in alignment now is that the gain should be 40dB and we're seeing around 155dB. Looking at the input to the op-amp we see it's at about 40dB in the 1-100Hz region. So I'm guessing we're still not quite capturing the charge source right?

author: SiliconWizard
author_rank: Super Contributor
timestamp: April 24, 2019, 02:21:00 pm
content: The gain given in the app note is 1/Cf, which in this case equates to: 20*log(1/22e-9) ~ 153 dB, which is what we get here in simulation.Just consider it's not a voltage gain per se, it's the gain between the input charge and the output voltage.

author: geo_leeman
author_rank: Regular Contributor
timestamp: April 24, 2019, 07:05:35 pm
content: Quote from: SiliconWizard on April 24, 2019, 02:21:00 pmAh, I see. Helpful PDF breadcrumb for myself and others as well:https://www.hamamatsu.com/resources/pdf/ssd/charge_amp_kacc9001e.pdf

author: sdouble
author_rank: Frequent Contributor
timestamp: April 24, 2019, 08:38:28 pm
content: your Cc is far too high.i should be in the (tens to hundreds of) pF range

author: geo_leeman
author_rank: Regular Contributor
timestamp: April 24, 2019, 11:10:54 pm
content: Quote from: sdouble on April 24, 2019, 08:38:28 pmActually assuming Cc to be zero, the other cap is the sensor/transducer capacitance.

author: sdouble
author_rank: Frequent Contributor
timestamp: May 05, 2019, 09:21:41 pm
content: Quote from: geo_leeman on April 24, 2019, 11:10:54 pmyep, my bad.Are you sure that it is of 20 uF ? That seems rather high.

author: geo_leeman
author_rank: Regular Contributor
timestamp: May 22, 2019, 01:49:02 am
content: In this case it is, just was working with some "nice" values for simulation. Real sensor is a plate about 10" in diameter.

author: sdouble
author_rank: Frequent Contributor
timestamp: May 22, 2019, 08:10:27 am
content: a plate is not capacitive.are there 2 parallel plates ?

author: Zero999
author_rank: Super Contributor
timestamp: May 22, 2019, 08:50:35 am
content: Quote from: geo_leeman on April 22, 2019, 03:10:27 amFor future reference, use LTSpice's UniversalOpamp model and set the gain, roll-off, input impedances to the same as the real op-amp you intend to use. It's not perfect, but better than using a random op-amp model, substantially different to the op-amp you're going to use.