Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ideal diode improvements #22

Open
michael-betz opened this issue Jan 20, 2021 · 3 comments
Open

ideal diode improvements #22

michael-betz opened this issue Jan 20, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@michael-betz
Copy link
Collaborator

Simulating the ideal diode circuit around Q2 I stumbled across a bit of an issue.

When the input voltage is negative and the ideal diode should be blocking, there is a leakage path through Q1B, R107 and Q1A, shown with red arrow:

2021-01-20_14-52

This is because emitter - base breakdown voltage of Q1A is only -5V and it sees the full input voltage there when the ideal diode should be blocking.
Leakage current is only limited by R107, so about 17 mA at -24V input (5 mA @ -12V).

... that's maybe a bit too much reverse current through the Q1A base to feel comfortable.

An easy fix would be to put a small (40 V, 0.1 A or so) diode as shown in green.

@gkasprow
Copy link
Collaborator

Well, I added R107 to not break the Q1 in such a case.
The diode will break the circuit and Q2 won't switch on completely because the Q1 would need Q2 dropout to be higher than the diode dropout. The easiest fix would be the Schottky diode placed between Q1B and GND so the Q1B base doesn't see any current during reverse connection.
It happened once that I connected 12V in the reversed way and did not observe any excessive current. Maybe at -24V, this circuit won't work.

@michael-betz
Copy link
Collaborator Author

The easiest fix would be the Schottky diode placed between Q1B and GND so the Q1B base doesn't see any current during reverse connection.

Could you make a quick sketch of this?

@michael-betz
Copy link
Collaborator Author

Ahh, thanks Greg, I see now how adding the green diode was a bad idea. It adds 0.2 V forward voltage drop to the ideal diode circuit, which is not what we want.

Here's another idea to keep the reverse current away from the Q1A base:

2021-01-21_10-11

I've added DX (Schottky, 40 V, .2A) and DY (12 V Zener, only needed for output voltages > 12 V)

To reduce the magnitude of the reverse current I tried increasing R107. But this seems to introduce some unwanted hysteresis in the circuit. looks like there is some kind of matching required between R104, R107 and R108.

I came up with the values in the screenshot which seem to work okay for +- 30 V input voltage:

  • .5 mA leakage at -24 V input voltage
  • 30 mV forward voltage drop at 1 A
  • no reverse current into Q1A base

@michalgaska michalgaska added the enhancement New feature or request label Oct 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants