I am new in this forum. I searched deeply in it but did not find similar project like mine.
I will highly appreaciate your advise on following matter:
I would like to measure the oxygen content in percentage in exhaust gases of my pellet boiled by using simple and cheap LSM-11 narowband Bosch lamda sensor. Then to show it on display. Further development is to includ PID algoritm and control the burner fan speed (air quantity) in order to keep the oxygen content in flue gas constant. This will optimize the burning process and increase efficency.
I know, there are ready devices using wideband lambda sensor that give linear output 0-5v for oxygen 0-21%. But they cost about 200 EUR. However I am looking for cheap solution.
LSM-11 is intended for O2 control in boilers. It has simple heating circuit and voltage output in range of about 1v.
The curve is extended in the lean side. This is the part that boilers use for lambda control. Not like in petrol engines the pellet boilers neads about 5.3% O2 in the flue gas for optimal fuel burning. I want to use only the lean side of curve -10 mV to 40 mV :
The output voltage commes from the 2 wires of the sensor and vary from -10mV to 40mV in the range in which I would like to measure the oxygen content in %. So it need amplification and shifting so the all analog signal is positive in order to be readed by Arduino analog input.
I purchased one LM358 ready board with 2 stage voltage amplifier to play with it. I still wait for it to arrive. It is just a base on which I can chage the diagran as I want.
May you suggest a proper diagram for amplifiacion of this signal for importing in Arduino uno by analog input with resonable resolution - 0.1 mV should be enaugh? Should it be differential amlifier? How to shift the negative voltage so all output to be pozitive?
How to limit the amplifier input only to 40 mV??? Or to limit the output insread? I do not need to read teh part from 40mV to 1 volt input.
The curve is non linear but that I will corrected by program ways. So , even if amplification is not enaugh linear I can correct it in the program at the calibration stage.
I suppose the input impedance should be enaugh high to not influence the output of the sensor.
Nice project. Where did your lean side curve come from? It shows the sensor voltage going negative at about 11% oxygen, which doesn't seem to correspond to the Bosch datasheet. Where does the negative voltage come from in automotive environment with a single-sided supply?
S.
Hi johnerrington ,
Thanks for your suggestion. I will try it.
I will use Ardoino UNO.
Hi srturner,
The LSM11 diagram that I posted is comming from "VIESMANN Service instructions VITOLIGNO 300-P" pellet boiler which utilizes lambda control of the burnig process. See link with 2 pages PDF file - curve is on the second page :
I do not know what is the diagram of input electronix to which it is connected. It might be the shifting to minus mV is comming for the external to the sensor items in the connection digram.
It does not matter. If all signal is positive that is more easy to connect to UNO.
Having all positive voltage output will simplify the design a little. The project looks doable using the circuit posted by johnerrington. But I can't imagine how you're going to calibrate it.
S.
I don't think you will find the LM358 to be stable enough to reliably measure those low voltages. I would you suggest you use something like this ADC Converter
In addition to being very stable, The delta - sigma is very good at noise rejection and will definitely provide a better measurement than the Arduino analog input.
gendov:
The output voltage commes from the 2 wires of the sensor and vary from -10mV to 40mV in the range in which I would like to measure the oxygen content in %. So it need amplification and shifting so the all analog signal is positive in order to be readed by Arduino analog input.
Don't waste your time tinkering with amplifiers.
Use an INA226 power monitor module. They cost less than 2$ at your favourite chinese store.
They are primary designed to monitor shunts in the range +-80mV.
They even can read the mV differential off-rail by up to 36V.
Isn't that perfect for your usage?
Just unsolder the shunt and read the "mV" directly over the I2C interface.
With the Arduino INA library from Zhanshin you get directly a stable and precise mV reading:
INA.getShuntMicroVolts(0);
RIN67630:
Don't waste your time tinkering with amplifiers.
Use an INA226 power monitor module. They cost less than 2$ at your favourite chinese store.
They are primary designed to monitor shunts in the range +-80mV.
They even can read the mV differential off-rail by up to 36V.
Isn't that perfect for your usage?
Just unsolder the shunt and read the "mV" directly over the I2C interface.
With the Arduino INA library from Zhanshin you get directly a stable and precise mV reading:
INA.getShuntMicroVolts(0);
Enjoy!
Thanks for the suggestion. It always look better to use ready module than to start from scratch.
I was looking to use MAX6675 module for K thermocouples mV measurement. But it has internal room temperature compensation that will distort measurement. INA226 will do the job. I ordered one.
I may use MAX6675 for measuring the temperature of flue gas of the boiler. It should not drop less than 120 deg.C to avoid condensation. Do you know better module for K type temperature measurement?
srturner:
Having all positive voltage output will simplify the design a little. The project looks doable using the circuit posted by johnerrington. But I can't imagine how you're going to calibrate it.
S.
Let first establish some measurement circuit.
21% is easy - just open air. For 0% is necessary to blow the sensor with nitrogen. We had such calibration bottles with pure nitrogen on tanker ships. They are used for calibration O2 memeters that crew wear when going to closed spaces. However in the middle range between 0 and 21% should relay on the manufacturer curve.
gendov:
I may use MAX6675 for measuring the temperature of flue gas of the boiler. It should not drop less than 120 deg.C to avoid condensation. Do you know better module for K type temperature measurement?
johnerrington:
A resistive divider, pot & multimeter to apply voltages?
Sorry, my wording was unclear. I meant calibrating the sensor output itself (not the amplification stage). I suppose the OP is planning to take the datasheet on faith. This is a bit troubling because the two different graphs correlating output with %O2 varied WRT output voltage.
S.
RIN67630:
Don't waste your time tinkering with amplifiers.
Use an INA226 power monitor module. They cost less than 2$ at your favourite chinese store.
They are primary designed to monitor shunts in the range +-80mV.
They even can read the mV differential off-rail by up to 36V.
Isn't that perfect for your usage?
Just unsolder the shunt and read the "mV" directly over the I2C interface.
With the Arduino INA library from Zhanshin you get directly a stable and precise mV reading:
INA.getShuntMicroVolts(0);
Enjoy!
Well, datasheet say that input voltage can be up to 36V but that is in voltage measuring mode. I will use it in current measuring mode for range up to 50mV by removing the shunt resistor as you suggested. However the full range of my sensor is 1V . I want it measure only first 50mV of this 1 V. Will the input sustain 1v in current measuring mode?
You need to have a look at the nerst equation which relates to zirconia probes .
The output is temperature dependant and proportional to the log of the partial pressures of oxygen across the probe. ( one side usually being 21%). A lot of automotive sensors use an internal heater , which you could drive to a constant resistance . Often with automotive sensors you get an offset voltage caused be heat not being constant across the sensor ( heated up the centre)
A further point is as flue gas temperature is low , there may be little saving due to running optimally ( there are tables for this)
This for natural gas but it will do :
There is a danger of carbon monoxide production here as the relationship between excess air and complete combustion may well vary .. you might not legally /wisely be able to do this ??
Temperature sensor will be in 10 cm pocket to the middle of the funnel where temperature is highest. So, it will be not exposed to corrosion. Both types of temperature sensors will fit.
Regarding measuring of mV I reviewed also ADS1115 board . It looks to me suitable in differential mode for my purpose. There is also ready arduino function for it.
gendov:
Well, datasheet say that input voltage can be up to 36V but that is in voltage measuring mode. I will use it in current measuring mode for range up to 50mV by removing the shunt resistor as you suggested. However the full range of my sensor is 1V . I want it measure only first 50mV of this 1 V. Will the input sustain 1v in current measuring mode?
According to the data sheet the mV inputs will tolerate even 26V. But after 80mV the ADC is saturated.
You are also free to build a voltage divisor upfront.