Schematic preferences

Hi,

Of course, this is *highly* subjective -- but, I'd enjoy hearing folks' "conventions" used when preparing schematics (that *others* will consume -- how you scribble for your own purposes isn't important as it depends a lot on what *you* want out of the drawing).

I try to follow some general rules -- but also feel free to bend them as needed. Most have evolved over the years from different employers, standards, experience, etc.

E.g., I *tend* to prefer landscape orientation -- though I drew a B size "portrait" this morning in lieu of a C size landscape.

I try to include a block diagram of any "sizable" design early in the document. I try to draft the individual pages so that they roughly correspond with the blocks in that diagram.

I prefer spreading things over one sheet instead of trying to cram everything onto one sheet -- unless the design is small enough to do so without making that sheet cluttered. I.e., it is easier to trace a signal on a single sheet than to have to flip to another sheet; but, if there is a ratsnest of signals on that one sheet, then tracing the signal can be perilous.

Smallest page size to realistically support the design subject to the remainder of these criteria. E.g., sure, you can fit everything on an E-size drawing, but reproducing that drawing (either full size or in "published" documentation) and *using* that drawing become a real PITA!

[I vacillate between preferring B or C size drawings. C is nice in that it reduces to A nicely (i.e., with the same aspect ratio) OTOH, B is nice because reducing to A leaves room along the binding edge -- which must be located "above" the drawing! -- for three hole punch *or* more professional binding. And, B size can always be reproduced full size with "fold outs". (frown) B size (reduced or otherwise) is currently en vogue -- perhaps a consequence of my aging eyes? :> ]

Aside from "general power", all signals that span pages *must* come to the edge of the page. I don't like hunting for signals in the middle of a page even if there is a grid reference to help me locate it. It's just easier to conceptualize: "OK, this is used elsewhere" or "This comes from someplace else" so I know when something I am interested in involves other sheets.

One signal, one name. One *instance* of that name per sheet! Signals spanning pages are named at the edge of the page.

For designs of "suitable complexity" (in terms of sheets/signals), I tag off page references with locations of the other "end(s)" of the signal. If its a small design -- or, if the schematic is broken down intuitively -- I assume the "other ends" will be self explanatory.

"Left to right, top to bottom"

Eschew buses -- except on "block diagrams". Show individual signals. Avoid unnecessary "bends" in signals. *Most* signals parallel to page edges (some tools prevent you from doing otherwise).

Symbols oriented horizontally and suggestive of the direction of signal flow (i.e., a gate in a feedback path can point to the left). "Rocket ships crash (and burn)" :>

Exploit symmetry and repetition. Step and repeat is your friend.

As with *anything*, color has no significance!

Avoid 4-way streets -- unless their use significantly cleans up the appearance. "Dots" (big ones!) on all connections (mandated by the relaxed 4WS rule).

Descriptive symbols (e.g., a diode bridge looks like a diamond) and informative symbols (e.g., IEEE unless the device *really* is a "black box" -- I don't consider *memory* to be a black box!) DeMorgan equivalents as appropriate. (I won't get into the rules I use for building symbols as they get pretty involved)

Reference designator before device name/value. Either both to one side (left/right/top/bottom) or one on each side (left/right, top/bottom).

Unless a connector(s) inherently *merits* location on a separate sheet (e.g., a PCI connector whose "pins" feed many other sheets), locate the connector with the signals that tie to it (i.e., no sheets full of connectors).

Don't tie the schematic to a physical implementation. I.e., the symbol for a connector shouldn't physically look like the connector just as the symbol for a transistor doesn't look like the transistor itself! If you need to clarify the appearance or pin layout of a component, do so in text or other documentation outside of the "schematic" itself.

Decoupling caps specifically required by individual components located proximal to the component symbols themselves. Other "general" bypass caps grouped on a single sheet. Power and ground connections not explicitly shown on components tabulated on that same sheet, if possible.

Only *terse* notes re: layout/manufacture/test on the actual drawings; anything more verbose goes on a "notes" sheet.

On analog portions of the design, test voltage annotations and 'scope traces, where *essential*. Remember, everything you put on the drawing has to be *maintained*! If you make a change, are you prepared to capture another 'scope trace? :>

Document history on the cover page *only*. One firm I worked for used to summarize *all* revisions of a schematic *on* the schematic. I.e., lots of little "windows" showing portions of the schematic as they existed previously. I think this is a poor man's way of

*not* using "proper" document retrieval systems (i.e., if I need Rev C of a design, then I should fetch the Rev C documents!)

I suspect there are many more that I just take for granted and have failed to mention, here. :< *Somewhere* I have a document formalizing all of these things. Though I suspect it is in a format particular to a DTP program that I no longer have on-line! :-/

Reply to
D Yuniskis
Loading thread data ...

I was trained at Tektronix for drafting electronics, so my preferences come from there.

Let me state the following rules used at Tek:

(1) Unless clearly justifiable for other reasons, electron flow from bottom of page upwards to the top. All parts oriented so that this is obvious. (No BJT spun around to make electron flow go otherwise, unless I can _justify_ clearly why it reads better.)

(2) Signals flow from left to right across the page.

I think of these two rules, easily. The electrons flow like a waterfall upwards (or positive charges flow down, your choice) in order to "permit" signals to flow across, from left to right. The signals ride across the sheet on the flow.

(3) Don't bus power around unless there is some physical characteristic that must be emphasized by doing so. If the emitter of a PNP BJT is tied to +5, I don't bus the emitter over to some heavy black line tied to power. I just stub it right there to the named +5 rail. It does NOT help readability to have lots of black lines running all over the place, almost as though they are signal lines. In fact, it distracts from understanding. You don't need to know any of the other connections to that named +5 rail to know what is happening at the BJT. All you need to know is that it is at that rail's potential. The wire just adds "noise" to the page and makes you go trace around looking to see that it actually _is_ a rail and not something else.

That's enough for now, I suppose.

Jon

Reply to
Jon Kirwan

We do everything B size, landscaps, an we have a couple of B size laser printers.

Our first sheet is a block diagram and table of contents.

ftp://jjlarkin.lmi.net/22SS346A.pdf

We avoid high density in favor of clarity. The schematic I'm checking now is 34 sheets.

I'd expect that rule to make things quite a bit uglier.

Right. No busses.

We use big (75 mils in PADS) dots. There's nothing wrong with a 4-way connection if the dots are obvious.

R12 4.7K

I hate the "4k7" notation.

OK

OK

The trick is to get the layout person to actually place them that way!

Other

We are lately making all pins visible... no hidden power/ground pins.

If it's useful, put it there.

We document no changes on the schematic. We maintain separate change files.

We do have a NEXT folder on a server, with a sub-folder for each board. That contains text files like "B_to_C.txt" where anyone in the company can add notes, requests, suggestions of things to consider for the next rev.

John

Reply to
John Larkin

PNP emitters up, NPN emitters down!

John

Reply to
John Larkin

--- If one knows what's happening at that junction, that's fine, but it's happened more than once that a drafting droid saw two lines crossing and figured they should be connected.

Resolving that ambiguity by breaking that "intersection" into two tees disappears the problem.

JF

Reply to
John Fields

I really want the same thing out of the schematic as do my "customers". In a year I won't remember what I did, so it's got to be readable (source code is the same deal - in spades).

Yes, Landscape always seems to work out better. I just use 11x17 and stick it in a notebook sideways, with a fold. I'd do longer (I really print with a 1" offset so it comes out 11"x18") but haven't found I need more space that direction (without running out of vertical space first). OTOH, the other engineer likes C-size prints. I find they're a PITA on the bench (or pretty much anywhere). I end up printing his on 11x17 and squinting. ;-)

I try, though the drawing tools suck. I'd much prefer a hierarchical design, killing both birds, but the software isn't up to it.

I can usually keep off-sheet connectors to a minimum, placing an entire "channel" or such one sheet - maybe two. There is usually a logical break somewhere. It often costs a bit of paper, though.

Sooner or later the design is going to overflow a sheet. Not only is "E-size" a PITA, but so is "C-Size", IMO. Larger pages have more signals running around, too. Long wires are hard to follow.

Get glasses. ;-) Bifocal reading glasses (two strengths, both for close work) work for me.

I agree, though I'd rather have signals connected on a page by name (as long as it's *clear*) than connectors broken apart and scattered all over the schematic. Sometimes it's not clear what the best solution is.

Good idea, when it's possible without making the sheet look like a rat's nest. It usually is, though there are exceptions.

*ALWAYS* include off-sheet references.

Left to right (bidirectionals go either way unless there is tristate output on the net - then it gets more complicated). Top and bottom are for power only.

Wrong! Busses wherever they make sense. *NEVER* connect bussed signals off page. Off-page connectors on busses are shown as busses

*only*. They get fanned out to nets on the page, as close to the part as possible. Do you really draw 64 individual wires with 64 off-page connectors for each wire in a 64-bit data bus? Ick!

Agreed.

Hierarchy is your friend. Schematic entry tools aren't. ;-)

Be careful with step and repeat. It's *really* easy to forget to change all instances of facilities that differ between copies. DRC and browsing the netlist can help here.

Significance, no, but importance, yes. IOW, the netlister shouldn't care about color but the human reading it does. It *must* be consistent.

I don't have problems with 4-way streets. Dots are plain enough to see.

IEEE symbols suck. Rockets and bullets, everything else is a box; clocks and active levels marked appropriately

Yes, and signal names must match the symbol's polarity.

I put the RefID on top of the value with the value inside the component if it fits.

That depends. Sometimes a connector sheet can be used to show the layout of the connectors. This is very handy when there are a lot of the same kinds of connectors. Again, the idea is to convey as much information as possible about the board.

Diagree. It's very handy to have our XLR connectors look like XLR connectors, in the proper orientation. Information. Interboard connectors and headers also are drawn physically (in order, odds on one side and evens on the other). BNCs are drawn big-circle little circle/dot (dots=male, circles=female).

If possible. Large components get their own power/ground/decoupling (sometimes clocks or references) sheets. Small components (gates, op-amps, etc.) get power on the pages they appear. I'd change that if I were king, but the software sucks.

We put ECO notes on the sheets in red before the ECO and in blue for one revision after, in addition to the "Notes:" block on page-1. We also put a note on each subcircuit explaining what it is: +--------------------+ +-------------------------------+ | 4-pole Butterworth | - or - | Load Switching Bus | | H.P. F0=1kHz G=6dB | +---+---+---+---+---+---+---+---+ +--------------------+ | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | +---+---+---+---+---+---+---+---+ |8nF|4nF|2nF|1nF|800|400|200|100| +---+---+---+---+---+---+---+---+

No pictures. They take way too much space. Voltages, yes. Keping any documentation up to date is a problem. Notes are no different than comments in code.

Disagree, sorta. We put the revisions on the first page of the schematic and keep two or three (whatever fits). It's there as a reminder only and certainly doesn't supercede the ECO system. We also add notes to the schematic (in red) to incorporate if we ever hit the board again. Again, those are reminders only and don't supercede the problem reports and such.

Here's one. ;-) We have schematics that are essentially twelve itsy pages of schematics crammed onto one C-sized page. *Very* bad, though when I gagged during the interview it made big points with the engineering manager. ;-)

Reply to
krw

Ah, but Tek doesn't do that -- IIRC (and maybe I don't), they often drew balanced circuits symmetrically, like so;

formatting link

The side-by-side approach is more common outside of oscilloscopes, but does lead to messier drawings because you're showing everything twice:

formatting link
That, and the sheer number of passives indicated, is why this simple balanced amplifier is 1133 pixels wide.

Tim

--
Deep Friar: a very philosophical monk.
Website: http://webpages.charter.net/dawill/tmoranwms
Reply to
Tim Williams

I have one of those, actually.

formatting link
A bit dryer than conversation here, but gets the jist across. Motivation being I wrote my own cheapass's component library, so I might as well add something about its use.

Tim

-- Deep Friar: a very philosophical monk. Website:

formatting link

Reply to
Tim Williams

That comes from +V on top, -V on the bottom.

Op-amp: (-) on top of (+). D-FF: 'D' above 'Ck' (preset above D, Clear below Ck). Q above /Q

Reply to
krw

When was the last time you saw a drafting droid? ;-)

It takes valuable "routing" space. Signals should have as few bends as possible across the page. This gets important if all sheet inputs are on the left and outputs on the right.

Reply to
krw

You might find that your printer supports so-called Super-B-sized paper at

13"x19"... it's a worthwhile step up from 11"x17", IMO.

One thing that hasn't been mentioned is the size of the stock library symbols suppled with the schematic capture program: Even though most people end up drawing their own symbols anyway, the size of the supplied symbols tends to set a precedent for the relative scale of various symbols. In my experience, ORCAD goes for relatively larger symbols -- an ORCAD D-sized sheet sheet often prints out without too much squinting necessary at 13"x19", whereas in many other schematic capture programs it'd be pretty much unusable.

Do you use the European convention of drawing resistors as rectangular boxes then? Or you mean just on bigger items like ICs?

Although you have to be careful that people don't mirror the symbol on you. :-) (With multi-pin connectors, sometimes the hook-ups are a lot cleaner if you go ahead and mirror the symbol, so it's a subjective call if you should make a rule that symbols drawn to resemble the physical part should never be mirrored or not.)

I put a small gap in the outer circle so that it doesn't appear as though you're shorting the inner conductor to the shield.

I usually give power rails and ground different colors (e.g., +5V in red, ground in green). This was prompted by early versions of Pulsonix that made it *way* too easy to accidentally end up with an isolated sub-net (e.g., a net between an IC pin and a resistor) that was connected-by-name to ground or a power rail (long story, but suffice to say that in more recent versions it's now almost impossible to do this accidentally), so it provided some immediate visible feedback if you were shooting yourself in the foot in such a manner. I liked the effect, though, and hence have kept doing it, adding now, e.g., purple to indicate 50ohm traces. (These are all just net attributes so it's easy to change colors or display everything in all black again if someone prefers.)

Do you use PADS for layout? If so, do you use a 3rd party tool such as Prescience to pass design constriants between ORCAD and PADS?

---Joel

Reply to
Joel Koltner

Let me add net-naming conventions to the discussion:

All voltages (nothing else) get a '+' or '-' prefix.

Negative active digital signals start with '/' or end in "_n" (leading "/netname" gets converted to "netname_n" in an FPGA)

Differential pairs get a '+' or '-' suffix (so they collate properly).

I like BiCapitalization for words, and Under_Scores to note hierarchy. e.g. ChanA_OutputGain. This also allows netlists to be collated properly.

Hmm, dinnertime.

Reply to
krw

It supports 24" x 1-roll. It's an HP DesignJet. ;-)

13" doesn't fit in a notebook.

Orcrap's symbols are *huge*. I draw my own.

No, resistors are squiggles. Just the bigger items. When I first started in IBM, everything was a box. A resistor looked exactly like a capacitor, like an AND gate, and a DFF. Schematics had to be drawn on chain printers. Didn't like it much. ;-)

Whether or not it's mirrored depends on which side of the connector you're looking at. ;-) Point taken.

Works for me. It still looks like what it is (perhaps without the tangs).

I just put global connectors on the pins, or as close as possible. A global power pin might connect a dozen pins on a processor.

I don't do layout. The layout guy uses Allegro. The other hardware engineer uses Layout, when he does layout (only legacy products anymore).

Reply to
krw

Yes. Maintain the flow direction uniformly. Some exceptions, but it's a good rule.

Jon

Reply to
Jon Kirwan

I prefer xSignalName, but I don't have any gripes about / or _n -- it's more important that whatever standard someone chooses, that everyone else who then works on the schematic adopts the same standard.

Reply to
Joel Koltner

I like diff-amps with the components side by side, mirrored left and right. +V at the top, -V at the bottom.

Reply to
krw

Just by way of example, here's a poorly laid out circuit:

formatting link

In my opinion. Find the +rail and ground lines and trace them around the schematic. What's the point in the busing everywhere? How much do those 'wires' interfere with following function?

Now, if you are point-to-point wiring stuff you might lay out things and then run the heavy wire around like that, soldering to it along the way, I suppose. Maybe. But if you are trying to follow the operation with understanding there are better ways to draw it.

It's not the worst example around. But it addresses some of the points. Emitters from different PNP's pointing differently. Emitters from NPN and PNP pointing the same way. Bus wires trapsing around all over the place almost looking as though they might carry signal. Etc.

Jon

Reply to
Jon Kirwan

The way I do it:

I draw on size B and reduce to a size A so that an 8.5x11 printer can print it.

Unless there is a darn good reason, all op-amps have their out puts to the right. The "darn good reason" may be that it is in the feedback path.

The power supplies are always named as a voltage not just Vcc

All parts have the power pins shown. The + is usually on the top. The exception is references and regulators where it is on the left.

Signal names are always somewhat meaningful and never something like "SCATCB" as I have actually seen.

In general the connections to a sub block are shown with the inputs on the left and output on the right. Exceptions are made for feedback signals.

I never crossed lines as a connection point. If two lines connect to another line, they are offset.

PNP transistors are drawn with the emitter up.

Bypass capacitors are shown on the sheet with the parts they are near

The triangle ground symbol means the circuit ground of the PCB. The three line symbol means the connection to the chassis. The one like this: !

----------- / / / /

means planet earth

Mounting holes are shown if they have electrical meaning.

Notes go in the lower left corner of the sheet.

The reference of a part encodes the page it is on. R307 is on page 3

Reply to
MooseFET

All my engineers (excepting me!) CAD their own schematics. I still draw with pencil on vellum and let The Brat enter them for me. But I check them very, very hard.

John

Reply to
John Larkin

Yikes! Production would lynch us. After the layout is done, we resequence the reference designators in physical and numeric order and back-annotate the schematic.

John

Reply to
John Larkin

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.