Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Switching regulator switch pin type #2135

Closed
chschlue opened this issue Sep 7, 2019 · 2 comments
Closed

Switching regulator switch pin type #2135

chschlue opened this issue Sep 7, 2019 · 2 comments
Labels
Librarian Subject need attention of an experienced librarian Question Author wishes to ask something

Comments

@chschlue
Copy link
Contributor

chschlue commented Sep 7, 2019

Partially related to issue #1711

What's the preferred electrical type for switch pins of switching regulators such as https://www.analog.com/media/en/technical-documentation/data-sheets/ADP1614.pdf?

Existing symbols use nearly everything: power output, output, open collector, passive, I think I've even seen input.
Most of these seem technically correct (especially power output and open collector), except not really.

@chschlue chschlue added Question Author wishes to ask something Librarian Subject need attention of an experienced librarian labels Sep 7, 2019
@evanshultz
Copy link
Collaborator

I have discussed this in several PRs and also started an issue with these (non-digital) pins at #381.

This isn't part of KLC so I will merge if it makes sense, but usually ask for Passive.

Why? The ERC engine in KiCad is meant to check for 'digital' or 'logic' pins and these don't apply. But this pin isn't connected to the net which actually supplies power. Buck circuits have an inductor after the switch pin, boost has a diode, and a flyback has a transformer and then a diode. There are other circuit types that IC regulators can perform (Cuk, inverter, etc.) but all that pop into my head also match.

Therefore, if the switch pin is Power Output it can supply other Power Input pins without complaints in KiCad. And that can't be correct because it would indicate a part is missing in the schematic. So Power Output seems like definitely the wrong type.

They can safely be connected to a variety of things in odd or unique circuits, such as possibly being used for synchonization or a switching detector. But in those cases, I imagine a passive part being connected to the IC's switch pin so the pin type doesn't matter too much.

Output wouldn't be so bad, but since KiCad's ERC engine doesn't really capture the function of this pin type Passive seems like the most safe choice to me.

Also see KiCad/kicad-website#342, where Rene listed a hierarchy of pin types. This should migrate to KLC but seems to have been missed.

@poeschlr
Copy link
Collaborator

poeschlr commented Sep 8, 2019

My issue on the website simply never got codified as i had (and still have) other klc pull requests open. I try to avoid working on too many things in parallel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Librarian Subject need attention of an experienced librarian Question Author wishes to ask something
Projects
None yet
Development

No branches or pull requests

3 participants