A Oxygen Sensor Display Unit
Calculations:
To complete the circuit I need to know what resistor to use,here are all the calculations:
R2=R4:
Vs-Vd2-Vled/Iled
=12-0.7-11.8/0.0095
=9.5/0.0095
=1000= 1K ohms
R3:
Vs-Vd2-Vd4-Vled/Iled
=12-0.7-0.7-1.8/0.0095
=8.8/0.0095
=926≈ 1K ohms
R5:
Vs-Vd2-Vd1/IeRm
=12-0.7-9.1/0.0056
=2.2/0.0056
=392≈ 390R
R8:
Ir6
=9.1-0.63/R6
=8.47/10000
=0.85mA
0.63-0.23/0.00085
=0.4/0.00085
=470R
R7:
=0.23/0.00085
=270R
So:
R2=R3=R4=1K R5=390R R6=10K(already known) R7=240R R8=470R
Here are all the components I need to make the circuit going:
3x 4001 diodes (Peak reverse voltage 50v,Pd 3w,average rectified forward current @75C 1A)
3x 5mm LEDs(Green,Red,Yellow)
1x Zener diode
2x 829 Capacitors
3x 1K resistors;1x 390R resistors;1x 10K resistor;1x 470R resistor;1x 270R resistor
1x LM324an OP-AMP(max supply voltage 32v,operating temp range 0C-70C) which the diagram is shown below:
How the circuit works:
The Green LED starts working when a voltage supply to the circuit just like 12V from the battery when the ignition is turned on in a car. When the car is running, if the engine is firing in a good fuel/power/air ratio, the oxygen sensor gets a good reading to tell ECU the feedback, the yellow LED is working at this time. If the car is running either too rich, too lean or other status, the signal changes and increases the voltage over 1V, red LED starts working so ECU knows engine is not running properly.
The oxygen sensor will produce a voltage output from 0V-1V and supplies to the circuit, the three regions are Lean(Green LED) from 0-0.23V, Normal(Yellow LED) from 0.23-0.63V and Rich(Red LED) from 0.63-0.99V
For the two input terminal of each OP-AMP, all of the inverting input side receives the voltage signal from the power supply which has already been divided into those three regions to match the OP-AMP of each LED, once the the non-inverting input side receive a voltage from the signal input, one of the LED will lights up when the voltage meets its voltage region.
How do I test if the circuit is working?
First connect 12v to red wire which is the power supply to the circuit and negative to black wire which is the ground of the circuit, then connect signal to the green wire which is the sensor input.
- Make the signal input to 0V or a little bit more say 0.08V, the green LED should lights up, this voltage indicates the oxygen sensor detected engine is running lean
- Adjust the signal slowing to around 0.23V and onwards the green LED should go off and yellow LED lights up, this voltage indicates the oxygen sensor detected the engine is running normal
- At last keep turing up the signal input to above 0.63V and keep it within 1V, the yellow LED should go off and red LED lights up, this voltage indicates the oxygen sensor detected engine is running rich.
This picture shown below is what I have designed the circuit on Lochmaster
After I wired all the components on the board to test the circuit, it did not work straight away.
I found out 3 problems after I started trouble shooting:
· I did not ground terminal 11
· I did not ground the Zener diode and Capacitor 2
· I put all the LEDs both legs on the same line which had the current flowing through legs not LED.
The first 2 problems were because I did not check the circuit probably and when I went through the circuit again I realized they are not connected.
I should also had the LEDs legs on different line so current can go through LED from positive to negative for the last problem.
This video shown below is when I was testing the actual Oxygen Sensor Display Unit I made :
This video shown below is when I was testing the actual Oxygen Sensor Display Unit I made :
What should I improve and what did I learn?
If I am going to build one of these circuit again in the future, first thing I should improve is to remember more about how every component works, second thing I should improve is to remember rechecking the circuit more careful, because this time the circuit did not work at the first time because 2 parts were not grounded,but next time it could be something else even worse and would probably destroy components or circuit.