ThreeSheds Posted August 2, 2008 Share Posted August 2, 2008 I have a lambda sensor of the Zirconia type taking up space on the bench and I was wondering if it's possible to make a rich/lean indicator (two LEDs perhaps) using it. I have no real knowledge of electronics, but can solder to a vero-board and have recently put together a Megajolt kit and installation. Normally I like to 'have a go' before asking and so after a couple of hours on the web I have come up with a circuit which I think may work - however the calculation of the various values and the choices of components are beyond me, so could anyone answer the following questions please: 1. Would it work? 2. What would be the suggested values for R1, R2, R3, R4 and VR1 3. What are suitable common types/codes for TR1 and A BTW - I have never heard of op-amp's before today - they sure look like useful little blighters! p.s. I just about understand the circuit other than why it has R3 and R4 - but all similar circuits I have seen appear to have them so I put them in Cheers, Roger Quote Link to comment Share on other sites More sharing options...
simonr Posted August 2, 2008 Share Posted August 2, 2008 Your circuit would undoubtedly work with appropriate resistor values - although a single indication of rich/lean isn't going to be all that helpful when tuning. You need something to tell you when the output is in the middle. Perhaps you had intended to build three? I would be more inclined to buy comparators than op-amps as they are more or less pre-packaged as the circuit you want. The LM339 is a reasonable choice. They give a logic high if one output is at a higher voltage than the other and low if not. Use a preset potentiometer connected between your power rails (or better still a voltage regulator) with the wiper connected to one comparator input and the lambda sensor to the other. The LM339 has 4 comparators on board which you could set up to give you LED's for rich, lean and OK. The output will drive LED's directly through a 330R resistor. Alternatively just use a digital volt meter and adjust the engine for 0.5v reading. Is your sensor a 3 or 4 wire type with a built in heater? If not, you will need to heat it up for it to work reasonably. Just poking it up the exhaust pipe is unlikely to get it hot enough! To partially answer your actual question: R1 & VR1 form a voltage divider and deliver a variable voltage to the - input of the amp. This is a voltage reference which the amplifier uses as it's zero point. It amplifies any difference from that voltage. R2,3 & 4 set the gain of the amp (the 'Volume'). The output of an amp is actually a current which is proportional to the input. R3 & R4 turn that current into a measurable voltage. R4 is to insulate the amplifier from whatever you connect to it. Otherwise, the resistance of what you connect to the output will affect the gain. Si Quote Link to comment Share on other sites More sharing options...
ThreeSheds Posted August 2, 2008 Author Share Posted August 2, 2008 Simon, Many thanks for the detailed and informative answer - there's a load more to think about now - I never thought it would be easy though! Please bear in mind I have no experience of electronics and all of what follows is from what I have read on the internet this morning Oh and I have no experience of lambdas either, is it really possible to manually tune the mixture so that it is balanced between it's two extreme outputs? Your circuit would undoubtedly work with appropriate resistor values - although a single indication of rich/lean isn't going to be all that helpful when tuning. You need something to tell you when the output is in the middle. Perhaps you had intended to build three? No... Only one: The lambda sensor that I have is a 'narrow band' Zirconia device which are (apparently) extremely difficult to 'balance'. Apparently (again) ECUs normally just repeatedly apply the logic: If it's rich - lean it off, if it's lean - richen it. (I guess it is implied that "if it's balanced, look again and it won't be" ) So I thought I can have the output from the circuit controlling a two way relay so that either one of two LEDs would light up and I could manually follow the same logic as above until it's flicking close enough. I would be more inclined to buy comparators than op-amps as they are more or less pre-packaged as the circuit you want. The LM339 is a reasonable choice. They give a logic high if one output is at a higher voltage than the other and low if not. Use a preset potentiometer connected between your power rails (or better still a voltage regulator) with the wiper connected to one comparator input and the lambda sensor to the other.The LM339 has 4 comparators on board which you could set up to give you LED's for rich, lean and OK. The output will drive LED's directly through a 330R resistor. Right - I am with that. (BTW, aren't these things cheap! ) So I would preset the pot (note the use of jargon already ) to give the switchover voltage required (.5v as you said) and the output of that comparator would go on/off as the lambda voltage transited the reference voltage. And also if I then set up another comparator in the LM339 wired to the lambda and the pot-wiper, but the other way round to the first, then the output of that one would be the inverse of the first and I have what I wanted - with no need of a relay or assembling all of those other bits - GREAT Oh - one bit I don't get is "drive LED's directly through a 330R resistor." do you mean this: Comp-Out---/\/\/\---(LED)---gnd R1 330ohm EDIT: Sorted this now - I found a really useful little LED Resistor calculator and explanation. Alternatively just use a digital volt meter and adjust the engine for 0.5v reading. That was my first thought - but then why keep it simple when I can complicate things and learn something along the way !) Is your sensor a 3 or 4 wire type with a built in heater? If not, you will need to heat it up for it to work reasonably. Just poking it up the exhaust pipe is unlikely to get it hot enough!It's a four wire and if I build the circuit then I will mount it in the correct area - near the header - and have the LEDs where they can be seen as a bit of bling. Initially though, I was intending just wiring the lambda to my Fluke and sticking it up me pipe... I was wondering if (even with the heater) it would work there, but it wouldn't cost anything to try.To partially answer your actual question:R1 & VR1 form a voltage divider and deliver a variable voltage to the - input of the amp. This is a voltage reference which the amplifier uses as it's zero point. It amplifies any difference from that voltage. R2,3 & 4 set the gain of the amp (the 'Volume'). The output of an amp is actually a current which is proportional to the input. R3 & R4 turn that current into a measurable voltage. R4 is to insulate the amplifier from whatever you connect to it. Otherwise, the resistance of what you connect to the output will affect the gain. Si Brilliant! Thanks for that. Simple when you know eh? I think (since rain has stopped any other sort of play) I will shoot over to Maplins now and get the bits. Ill let you know how I get on. Rog Quote Link to comment Share on other sites More sharing options...
A Twig Posted August 2, 2008 Share Posted August 2, 2008 Yep, I'd agree with all the above, although using an op-amp ladder is quite a bulky way of doing it? From the component Si has suggested, to get your "bling" LED rack you'll need to have essentially that circuit you've drawn four times? Personally I'm a big fan of PICs (programmable ICs) and you can easily and fairly cheaply buy a beginner set with an analogue input on the PIC. You then write a program (in the appropriate code if you can, if not most offer a simple flow-chart option). That will do all your comparing for the lights in one IC? I'm not sure if you're planing to drive anything else from your 12V output. Even if you are, you'd then only need one op-amp/comparator to provide enough current. Most pics can handle driving LEDs straight from the output pins. The best thing with a PIC is if you decide to add to it, you just take it out, re-program it, and put it back in. Depending on the spec of the PIC you will be able to get more accurate readings as well. Quote Link to comment Share on other sites More sharing options...
ThreeSheds Posted August 2, 2008 Author Share Posted August 2, 2008 Yep, I'd agree with all the above, although using an op-amp ladder is quite a bulky way of doing it? From the component Si has suggested, to get your "bling" LED rack you'll need to have essentially that circuit you've drawn four times?Personally I'm a big fan of PICs <cut&shut> Hmm - something else to consider! This PIC stuff sounds interesting - can you suggest a decent introductory site? If not then I am sure that Wiki will have something Well I made my interpretation of Simon's suggestion and it doesn't work It should have lit up green with 0v on the yellow wire and turn to red at about 0.5v, but it stays off nomatter what I put on the yellow wire. Unfortunately I am suffering from too much brain fade to investigate at the moment - I will try to work it out tomorrow. It's been a big day... Rog Quote Link to comment Share on other sites More sharing options...
FridgeFreezer Posted August 2, 2008 Share Posted August 2, 2008 I'd use an LM3914 which will give you a 10-LED bar graph, use two preset pots to set it to 0-1v range and you're away. As you can see (this was the prototype) there's not a hell of a lot to it: Quote Link to comment Share on other sites More sharing options...
ThreeSheds Posted August 3, 2008 Author Share Posted August 3, 2008 Thanks for that. Do you have a pic of it finished? I had a look on the internet for a LM3914 and it does exactly what I (we?) need, apparently without much else - think I'll have a go at one of these next since my current design doesn't work. Today was a nice day, so I was working outside. It may be a while before I try again since it's not exactly a critical path job... Roger Quote Link to comment Share on other sites More sharing options...
Gassed'58 Posted February 20, 2009 Share Posted February 20, 2009 Thanks for that. Do you have a pic of it finished? I had a look on the internet for a LM3914 and it does exactly what I (we?) need, apparently without much else - think I'll have a go at one of these next since my current design doesn't work. Today was a nice day, so I was working outside. It may be a while before I try again since it's not exactly a critical path job... Roger Hello ThreeSheds, did you manage to get anywhere with this idea ? I have recently come across this thread and am interested in doing something like this for myself. Cheers. Quote Link to comment Share on other sites More sharing options...
RedLineMike Posted February 20, 2009 Share Posted February 20, 2009 Have a box of these at work "Mixture Display Kit For Fuel Injected Cars Refer: Silicon Chip November 1995 This very simple kit will allow you to monitor the fuel mixtures being run by your car. This type of sensor is also known as an E.G.O. (exhaust, gas, oxygen) monitor. You can use it as a tuning tool, to help in vehicle modification or simply to see the behaviour of the engine control module. Indication is via 10 LEDs to show mixtures rich, lean and normal. The circuit connects to the EGO sensor mounted in the exhaust manifold and the cars battery. PCB, LEDs and components supplied. " if anyone would be interested? Quote Link to comment Share on other sites More sharing options...
paintman Posted February 20, 2009 Share Posted February 20, 2009 Probably a silly question.......but why are the red leds connected to the bit labelled yellow and the yellow leds to the bit labelled red? Quote Link to comment Share on other sites More sharing options...
ThreeSheds Posted February 21, 2009 Author Share Posted February 21, 2009 Hello ThreeSheds, did you manage to get anywhere with this idea ? I have recently come across this thread and am interested in doing something like this for myself. Cheers. No - I am afraid that my circuit failed (unless you count going CRACK! and letting the smoke out something of a success ) so I went back onto critical path jobs. I still have the lambda sensors though and still plan to return to it... In fact - THIS: ... "Mixture Display Kit For Fuel Injected Cars ... could revive my interest if the price is right? BTW - I was wondering why are the lights apparently the wrong way round - but I have just noticed it's a self-assembly kit (which is great - even cheaper!) so maybe it's the builder's preference. i.e. I might think red indicates rich - don't know why but it just seems it should be that way, whereas a tuner may think that lean should be red to indicate the danger inherent in that? Roger Quote Link to comment Share on other sites More sharing options...
Gassed'58 Posted February 21, 2009 Share Posted February 21, 2009 ThreeSheds, sorry to hear it went pop ! Sootysport, also interested in the controller, what sort of money are you talking ? Quote Link to comment Share on other sites More sharing options...
RedLineMike Posted February 21, 2009 Share Posted February 21, 2009 will see what i can do for you's price wise on monday when im back at work will let you know Mike Quote Link to comment Share on other sites More sharing options...
FridgeFreezer Posted February 22, 2009 Share Posted February 22, 2009 Just to give an idea, the circuit above is identical to the one I posted but obviously with a custom PCB. The parts cost is roughly: LM3914 Bar-graph chip = £2 10x LED's = 50p Capacitors = £1 Trimmer pot = 10p Stripboard = £2 for a big bit (I probably used 10p's worth) Or being swanky you can have a 10-LED bargraph like this: But they cost about £4 depending on the colours. Quote Link to comment Share on other sites More sharing options...
ThreeSheds Posted February 23, 2009 Author Share Posted February 23, 2009 Just to give an idea, the circuit above is identical to the one I posted but obviously with a custom PCB.Very true - I was just thinking that (after my previous effort) it would be a lazy way out if they are cheap enough... Quote Link to comment Share on other sites More sharing options...
integerspin Posted February 23, 2009 Share Posted February 23, 2009 PCBs are fairly simple to make. I am carp at electonics but can knock up a pcb. Quote Link to comment Share on other sites More sharing options...
Highway_Star Posted February 25, 2009 Share Posted February 25, 2009 http://www.jaycarelectronics.co.uk/product...mp;SUBCATID=347 http://www.jaycarelectronics.co.uk/product...mp;SUBCATID=347 http://www.jaycarelectronics.co.uk/product...mp;SUBCATID=347 Quote Link to comment Share on other sites More sharing options...
RedLineMike Posted February 25, 2009 Share Posted February 25, 2009 Have spoken to my boss this morning & he said: £10 posted first class for the kits to make your own AFR Display Mike Quote Link to comment Share on other sites More sharing options...
Gassed'58 Posted February 25, 2009 Share Posted February 25, 2009 HI Mike, I'll gladly have one please. You have a message. Cheers. Quote Link to comment Share on other sites More sharing options...
ThreeSheds Posted February 25, 2009 Author Share Posted February 25, 2009 Have spoken to my boss this morning & he said:£10 posted first class for the kits to make your own AFR Display Mike Thanks for that, but I think I'll have a go with FF's suggestion - when I get a round tuit I have just found another bit of welding to do (only about six feet) so again jobs like this get put back... Quote Link to comment Share on other sites More sharing options...
FridgeFreezer Posted February 25, 2009 Share Posted February 25, 2009 Not being picky but how does a kit that's £4.95 from the posted link work out as £10 posted first class? Also the second posted link (KC5300) is a total lemon, unless you have a wideband O2 kit fitted it can't tell you the mixture any more accurately than the version with the coloured LED's (very rich/rich/lean/very lean is about the best you can deduce from any normal O2 sensor). Quote Link to comment Share on other sites More sharing options...
RedLineMike Posted February 25, 2009 Share Posted February 25, 2009 i just posted what i was told Quote Link to comment Share on other sites More sharing options...
missingsid Posted February 28, 2009 Share Posted February 28, 2009 Not being picky but how does a kit that's £4.95 from the posted link work out as £10 posted first class? Also the second posted link (KC5300) is a total lemon, unless you have a wideband O2 kit fitted it can't tell you the mixture any more accurately than the version with the coloured LED's (very rich/rich/lean/very lean is about the best you can deduce from any normal O2 sensor). Maybe you should continue to look!! The minimum postage from that link is £5 Guess what you cannot buy it from them anyway as ther min order is £10. Quote Link to comment Share on other sites More sharing options...
integerspin Posted February 28, 2009 Share Posted February 28, 2009 If you are after a circuit look up air fuel meter diy efi. There was a circuit posted in 1995. I found the 1995 emails but I can't find it. I built it and tried it on a bike, it worked pretty well. Quote Link to comment Share on other sites More sharing options...
Gassed'58 Posted February 28, 2009 Share Posted February 28, 2009 Hi Intergenspin, thanks for the heads up, will have a look. I have a kit coming from sooty already as it will save me faffing around getting the components together, incredibly busy at the moment, but I'll probably give this one a go out of curiosity on my other wagon , I like variety. Good to have recommendations. Cheers. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.