What colour are the LEDs? I presumed white, which I've modelled as 4.5 silicon diodes in series, note the N=4.5 next to the LEDs.
Good job to find how this circuit really works.
I was using PSpice, generally long time ago. In 90s our access control system was communicating with PC using 20mA current loops (1200m, 4800 bps). Designing their circuits my idea was:
- for 0..5mA all current was going through resistor,
- for 5..10mA all current over 5mA shell go through transoptor LED,
- for 10..20mA all current over 10mA shell go through red LED indicating that loop transmits some communication.
I have measured V=f(I) characteristics of transoptor LED and red LED. If remember well to model them (in interesting region) I used voltage sources inside models. So my remember tells me that I don't have good LED models to be used in this circuit and also my PSpice version refused to work when I moved from Windows-XP to 64 bit Windows 7. Practically I don't have Spice at hand as I didn't needed it since 10+ years. And an year ago I spend one day trying how Spice in KiCad works.
Those time (90s) I was reading this PSpice documentation carefully. I don't remember of having possibility to use something like N=4.5, but it can be I just missed it. I don't remember any texts (except references and values) used at PSpice schematic. When (20 years ago) I tried once LTSpice I was surprised that I have to use texts at schematic to specify this or those.
Going to the beginning of this thread:
- does it work (in simulation) with R3 = R4 = 1 ?
- does it work with R3 = R4 = 0 ? - Chat GPT was asked to find equations for such circuit, what in my opinion is very far from a trivial task.