Hello,
I'm currently working on a project for work where we need to take in a
-24VDC (+/-10%) voltage, and a -12/-24VDC (+/-10%) Oscilatting voltage and convert it to +5VDC for use in standard TTL chips. The kicker is that at -24VDC it needs to be converted to +5VCD, and at -12VCD, it needs to be at ground. The circuit I have works sometimes, but it seems to have an odd problem where at times, the transistor I'm using to flip the voltage from negative to positive doesn't alway work. If I put a piece of metal, or my finger onto the input, it will after a few seconds (depending on the capacity/inductance?) allow current to flow. This is my current design (please use fixed width font):
-24VDC D1 / ____|\\|____ |/| | / | / \\R /1 \\ | | \\E Q1|B-----Gnd /C | | / \\R /2 \\ | |-------------------U1 | | --- +5VDC
D1 - 1N4746A R1 - 5KOhm R2 - 10KOhm Q1 - 2N2222 U1 - 7414
-24VDC is going into the -18V Zener Diode. This should seperate the
-12/-24VDC pulses so that -12V is ground. On the output of the doide, I get about -5VCD. It then goes into the transistor so that the -5VDC is flipped to +5VCD (This is where I'm getting my problem at). From there, the +5VCD is going into a 7414 chip to make sure it is at a stable level (buffered) and to help protect the rest of the circuit after that (in case of some weird catastrophic failure).
Does anyone have any ideas or design tips that might be able to help me?
Thanks for any help you can give.
Sincerely,
Derrick Tennant.