Hello,
I'm coming back to you regarding the LMP91000 chip. I can communicate with it but I can't adjust it correctly. I've read and reread the LMP91000 datasheet several times but I don't know if it's my level of electronics or my level of English that's lacking.
I have a VOC sensor (ES1-AG2000). Its data sheet mentions that it's an Amperometric, 3-electrode sensor. I've connected it correctly. According to the data sheet, PPM values are converted on average in 25nA increments. Zero Current is +/- 100nA. The recommended load resistor is 100 Ohm, which is exactly what the LMP91000 offers.
On the other hand, it says Bias Voltage = 0mV. And I may have a problem understanding the definition of "Bias".
So in theory, when I connect the sensor to the LMP91000 and there's no pollution in the air, I should have a value of 100nA. With a 14kOhm TIA_GAIN resistor, I should read a value at VOUT of around 1.4mV (V = I * R). Knowing that my load cell has a capacitance of 2000ppm, the maximum would be 50100nA or 701.4 mV with the same load resistor.
My configuration should therefore be :
TIACN
TIA_GAIN = 100 14kΩ
RLOAD = 11 100Ω
REFCN
REF_SOURCE = 0 Internal (I have a VREF of 2.5V too, but I don't see any difference by changing this parameter) Otherwise VDD = 3.3V
INT_Z = 00 20% / I would have said 11 for bypass, but obviously it's only for sensors with 2 pins.
BIAS_SIGN = 1 Positive (VWE -VRE)>0V (I imagine)
BIAS = 0000 0% (default) because the sensor indicates a BIAS of 0mV
MODECN
FET_SHORT = 1 Enable (I would have said it should be enabled, as it's stated in 7.4 "The zero bias between the WE and RE electrodes is kept by
enabling the internal FET feature".
OP_MODE = 000 Deep Sleep (default) or 011 3-lead amperometric cell
Here again, Deep Sleep could be used, but it doesn't amplify the current... or 3-lead amperometric in standard configuration, which also supports the amplifier.
I've tried lots of variants, but no real success! With the following parameters :
LMP91000_TIA_GAIN_350K | LMP91000_RLOAD_100OHM,
LMP91000_REF_SOURCE_INT | LMP91000_INT_Z_20PCT
| LMP91000_BIAS_SIGN_POS | LMP91000_BIAS_0PCT,
LMP91000_FET_SHORT_DISABLED | LMP91000_OP_MODE_AMPEROMETRIC
I'm reading 1.88mV, which is good, but only because no reaction occurs when I expose the sensor to VOCs. However, if I change the TIA_GAIN, the value changes. At 7K I read a value of 13.13mV, but again no change!
If I switch to LMP91000_OP_MODE_DEEP_SLEEP (0x00), I read around 580mV. On the other hand, changing the TIA_GAIN doesn't seem to change any parameters. In this setup, I can still see a reaction from the sensor, I've seen it go up to 800mV with the right saturation. But what's the relationship between mV and PPM? The reading seems to oscillate up and down quite a bit.
LMP91000_TIA_GAIN_14K | LMP91000_RLOAD_100OHM,
LMP91000_REF_SOURCE_EXT | LMP91000_INT_Z_50PCT
| LMP91000_BIAS_SIGN_POS | LMP91000_BIAS_20PCT,
LMP91000_FET_SHORT_ENABLED | LMP91000_OP_MODE_AMPEROMETRIC
In this configuration I'm at 3200 mV! However, I don't feel that the sensor is reacting.
If someone can help me to understand because I'm lost with all this.
Thanks in advance,
Cédric