Electronic – Purpose of this oscillator (74HCT14-based) on RS-232 to RS-485 converter

converterrs232rs485

I am reverse engineering an RS-232 to RS-485 converter to understand how it works. I have attached the schematic that I reverse-engineered from the PCB (apologies for the hand-drawn schematic). I've checked it several times and quite certain that it is correct. The part that confuses me is the oscillator circled in red.

I recognize it as an oscillator based based around C2 & R8, and on my scope I can see it running at about 10kHz. I also see that the five parallel inverters on it's output are acting as some sort of buffer. However, what the heck is it there for?

This converter will work completely powered by RS-232 port, even if just the RX, TX, and ground lines (pins 2, 3, & 5 of the DE9) are connected. It does NOT require the +5~12V line to be connected to an external power supply.

The only theory that I have is that the oscillator is acting as some sort of charge pump to reduce the source impedances of Vcc & -Vcc (which otherwise would be limited by the source impedances of the DE9 pins, plus 4.7k for -Vcc via RN1d), but that's just a guess and I don't really see how/why that would work in practice.

So, any pointers on why that oscillator is there and how it achieves whatever it does would be appreciated!

Edit: thanks for the replies. I've done a bit more digging into RS-232. The idle state of the lines is negative, so connecting the converter will provide the negative rail, and as pointed out, the inverter circuit generates the positive rail from it. What through me off was the +5~12V supply pin on the board; It got me thinking that the positive rail was the one that was initially supplied, which of course is not correct.

[Schematic of the RS232 to RS485 converter. The section circled in red is what I am asking about.

Best Answer

Two members claim opposite things, one in a comment and one in an answer. User jms has got it right. The oscillator generates +Vcc if -Vcc happens to be available as a signal in the connected RS232 port. The diodes connect possibly available -Vcc to the oscillator IC. The oscillator charges CT3 from -Vcc and the charge is pushed to maintain +Vcc. That pumping is really needed, if -Vcc happens to be the only available voltage via the RS232 port.

If the port happens to output (through a diode) +Vcc, it's used directly and the voltage minus Vcc is not absolutely needed, altough it helps the stability of the +Vcc voltage.

The design assumes that at least one of voltages -Vcc and +Vcc is available from the RS232 port. RS485 circuit needs only the positive one.