Hello all Gents!
I need yours help and advises.
In my circuit I have to drive two LED's (green and red) or a single Bi-color Led (green/red). I have an input signal which is variable from 0 to 5 volts. The green have to be on when the voltage is below 0 and 3.2 V, and red must be on above 3.2 V.
I've made my circuit from two different circuits - one is from a circuit which traces the input signal, and second is from a circuit to drive two led's.
My question is - Is this circuit will work properly? I've tested it in NI Multisim only, because I'm still not familiar with LTSpice. I'm still learning it from a few days.
Except that, I would like to make this circuit adjustable. I need to chance this margin of 3.2 V up and down.
Thanks in advance for your help and advises!
Milkoni
A 2V zener diode is very rare and is a poor voltage regulator. The voltage of the very low voltage zener diode and the base-emitter voltage of transistor Q2 both decrease when the temperature increases which ruins their accuracy.
Q1 needs a resistor from base to emitter to cancel its own leakage current and leakage current from Q2 or it will never turn off.
An accurate comparator or opamp should be used to replace the zener diode and Q2.
A 2V zener diode is very rare and is a poor voltage regulator. The voltage of the very low voltage zener diode and the base-emitter voltage of transistor Q2 both decrease when the temperature increases which ruins their accuracy.
Q1 needs a resistor from base to emitter to cancel its own leakage current and leakage current from Q2 or it will never turn off.
An accurate comparator or opamp should be used to replace the zener diode and Q2.
Here is how I would do it with many fewer parts, and very good precision:
First plot shows the Red and Green LED currents vs a sweep of the Voltage being monitored with the pot set to 10KΩ (mid-scale). The changeover from Red to Green is quite abrupt. If you want it more gradual, write back.
Second plot shows how the trip point moves as the pot is adjusted from zeroΩ to 20KΩ in steps of 5KΩ.
Here is how I would do it with many fewer parts, and very good precision:
First plot shows the Red and Green LED currents vs a sweep of the Voltage being monitored with the pot set to 10KΩ (mid-scale). The changeover from Red to Green is quite abrupt. If you want it more gradual, write back.
Second plot shows how the trip point moves as the pot is adjusted from zeroΩ to 20KΩ in steps of 5KΩ.
Yes, I understood why - because of TL431. It's needs approximately 2.5v. It's impossible the voltage divider to produce 2.5v, when the ref. voltage is below 2.5 v.
Mike, I have a question to you.
It's necessary to add a 1Meg resistor to prevent some noise or disturbance to input signal from the MAP sensor?
Because this signal goes from MAP sensor to ECU.
No problem to resolve Mike. Just asking is there necessary some prevention of causing the car run rough or changing engine operation.
Yes, this circuit will permanently connected to the out signal of MAP.
Since, according to the Delphi reference in post #16, the output impedance of the MAP sensor is <50Ω, and the input impedance to the two-LED TL431 circuit is >73K, then no additional isolation is necessary. If it was, adding resistance in parallel with the input to the two-LED TL431 circuit would only make things worse.
If there is going to be a problem with your installation, it will be caused by the common-mode noise that is intrinsic in the vehicle between where the MAP sensor is connected to "Ground" (the engine), and where your add-on two-LED TL431 circuit is connected to "Ground" (likely the car body in the passenger compartment). It is really bad practice to use a "local" car body ground when interfacing with engine sensors... To do it right, your two-LED TL431 circuit should connect to the car's ground at only one place, the same place as where the MAP sensor is grounded...
Here is how I would do it with many fewer parts, and very good precision:
First plot shows the Red and Green LED currents vs a sweep of the Voltage being monitored with the pot set to 10KΩ (mid-scale). The changeover from Red to Green is quite abrupt. If you want it more gradual, write back.
Second plot shows how the trip point moves as the pot is adjusted from zeroΩ to 20KΩ in steps of 5KΩ.