Like any fixed high value and another one low(or zero)So do you want the output to go between 0V and 12-24V also?
Like any fixed high value and another one low(or zero)So do you want the output to go between 0V and 12-24V also?
yes i have requested delay for both the transitions because it's like a safety check to ensure that supply is recieved and sensors are working fine an acknowledgement to the dashboard.Is the delay circuit still powered solely by the input voltage or is there a separate power supply available?
Do you want a delay on both the high and low transition?
I see where ATTINY prices reach 28 cents in K quantities.Thanks for the suggestion.actually already worked with microcontroller...
now trying to do without microcontroller only with comparator as a cost reductive product.

Yes crutschow almost i could get the functionality as per requirements...Here's the LM339/393 circuit modified with a TL431 reference configured as a series regulator to provide constant 5V power to the circuit.
The LTspice simulation shows the output going low at an ECO voltage of 2.68V and high at 2.33V with each transition delayed about 1 second, for both 12V and 24V power.
Is that what you wanted?
View attachment 159410
I could moderately understand....but will be fine if you could come up with brief explanationHere's the LM339/393 circuit modified with a TL431 reference configured as a series regulator to provide constant 5V power to the circuit.
The LTspice simulation shows the output going low at an ECO voltage of 2.68V and high at 2.33V with each transition delayed about 1 second, for both 12V and 24V power.
Is that what you wanted?
View attachment 159410
Not so much.I needed a startup delay alone....once switching on the sensor there should delay irrespective high or low sensing.
after that there shouldn't be any delay in output in giving after the comparator senses the high and low...
hope im clear...
Here ecu we can take it as 12/24v and another input signal to b compared is voltage of either diesel or water.Not so much.
So when exactly do you want the delay?
Startup of what?
My last doubt is that if in case due to short circuit or any failure if the other input signal (say V_ECU) couldn't be obtained,what will be the output ?Here's the LM339/393 circuit modified with a TL431 reference configured as a series regulator to provide constant 5V power to the circuit.
The LTspice simulation shows the output going low at an ECO voltage of 2.68V and high at 2.33V with each transition delayed about 1 second, for both 12V and 24V power.
Is that what you wanted?
View attachment 159410
So you want the delay only upon the application of power?Here once the sensor is getting supply once vehicle is on(or 12/24v) a delay startup delay is needed
I use LTspice because it's a good and free program.other than ltspice which is better,..I could use Proteus and pspice (Orcad or candence)?
What i feel is that the 12/24V is to be obtained from the supply. so that will be obtained only when ignition is on in the vehicle, that 12/24v is the reference which is made as 5V clamped, other input to be compared is from pins inserted inside.So you want the delay only upon the application of power?
That will increase the circuit complexity.
A micro for this purpose, as danadak suggested, likely is the simpler and cheaper way to go.
I use LTspice because it's a good and free program.
The other Spice programs you mentioned likely have a wider range of built-in part models, so would be better from that point-of-view.
Can i have this file???Here's the LM339/393 circuit modified with a TL431 reference configured as a series regulator to provide constant 5V power to the circuit.
The LTspice simulation shows the output going low at an ECO voltage of 2.68V and high at 2.33V with each transition delayed about 1 second, for both 12V and 24V power.
Is that what you wanted?
View attachment 159410
Here you go.Can i have this file???
Here the components comparator and voltage regulator are missing in my library while trying to open.Here you go.
I'm facing few errors on output of the second comparator while trying with LM2901YDT comparatorHere's the LM339/393 circuit modified with a TL431 reference configured as a series regulator to provide constant 5V power to the circuit.
The LTspice simulation shows the output going low at an ECO voltage of 2.68V and high at 2.33V with each transition delayed about 1 second, for both 12V and 24V power.
Is that what you wanted?
View attachment 159410
Here's the LM339/393 circuit modified with a TL431 reference configured as a series regulator to provide constant 5V power to the circuit.
The LTspice simulation shows the output going low at an ECO voltage of 2.68V and high at 2.33V with each transition delayed about 1 second, for both 12V and 24V power.
Is that what you wanted?
i have attached the screenshot below...can u check and say...what's wrong in circuit?
i tried for low at Vin>4.2 and Vin <3.9 high
View attachment 159410
Thank you...Can you just check and say me why i couldn't get the desired output?In my collection there is a transistor MMBT3904
There are four different models of the TL431 (including the transistor level).
Now I added the model and symbol of the element LM2901
See
https://forum.allaboutcircuits.com/...nents-models-of-ltspice-free-download.133690/