Advertisement

Blog

Why I Prefer to Create My Own PCB Symbols

In the aftermath of the Yom Kippur War of 1973, university studies in Israel were suspended, since most of the staff and students had been called up. During the hiatus, I found a job at a company called Elbit Computers, a subsidiary of Control Data Corp., a supercomputer giant at that time.

I worked in the drafting department, mainly checking that a schematic matched its associated PCB trace for trace. Even with CAD systems, I still do this today. At any rate, Control Data standards were that every IC was portrayed as at least two parts, with the first always being just the power supplies to the device. Power supplies and decoupling are vital for a circuit, but their representation on a schematic always gets in the way of the other signals, so I prefer to place them away from the rest of the schematic by perpetuating this technique.

When I produced my own schematics after that, it was by hand. I would use a logic template where I could, but anything more complex was left to my own imagination. It was difficult to replicate my own symbols, because they had been created freehand. If I wanted someone to redraw the schematic neatly, that person would have to transcribe what I had drawn — often with mistakes.

Manual methods evolved into CAD, and I started laying out boards using a scripting language based in Autocad. A symbol involved using the graphics features and creating a table where the connections would be made. These connections would later be used to create the netlist. The collection of graphics would be combined into an entity known as an Autocad block. It was much easier to create the block as a script, because this facilitated the maintenance and copying of the symbol.

In the end, I could create such a script in my head. The package I was using (Autorouter II from the Great Softwestern Company) came with some basic symbols that were limited in number, so I was pretty much obliged to create a symbol for each part I used. During that period, I also began to appreciate the information communicated by the IC manufacturer by using symbols and pin names within the symbol. This information added to the understanding and debugging of the circuit. Because I could, I started trying to approximate the circuit representation from the data sheets. This has influenced me ever since.

As CAD improved, I moved to PCAD over several iterations — DOS-based PCAD, then Accel (renamed PCAD), then Windows-based PCAD (back to its original name), and finally to Altium. Each version always boasted many symbols, which were either very simplistic or not to my taste. Also, I have a tendency to select parts that are not quite mainstream, and even though I consider my work to be trailing edge, I often select components that are new to the market. More often than not, the symbol is not in the library provided. Since I inevitably have to create a symbol, every time I evaluate a package, I look to see whether the symbol can be translated and how easy it will be to recreate.

At Control Data, the schematic drawing had letters along one dimension of the sheet and numbers along the other, so it was possible to localize a zone of the sheet using its matrix coordinates. (The same technique was used to locate roads, towns, and other entities on maps — remember the days before GPS?) When a net was split on a sheet, an arrow would point to the other side of the net, and a matching arrow would point back. When the net went off the sheet, the sheet number and matrix co-ordinates were written next to the off-sheet symbol. Similar approaches were used widely throughout the industry. I remember Intel used an off-sheet convention on its SBC (Multibus) schematics. Unfortunately, this no longer seems to be practiced, and I know of no current CAD system that provides this option.

I recently purchased a development board that uses a 100-pin microcontroller (MCU). The symbol was just a square with 25 pins to a side. The schematic consisted of 15 mini-sheets. Probably two thirds of the pins were named as nets that may or may not have connected to one or more nets of the same name on other sheets. How do you try figure out whether a pin goes to a connector or a LED on the same sheet, different sheets, or both? I don't believe this lack of information is unique to the manufacturer I was using.

Now, if you are working within the CAD package, maybe you could argue that it has tools to highlight the net in total, so that you can easily locate and work with it. But when you print the document, you don't have access to the CAD tool and are therefore SOL (sadly out of luck). Another problem, as we shall see in an example in a moment, is that CAD systems evolve, mutate, and even disappear over time. Even if your CAD system is called the same name as an earlier incarnation, it may not work with the electronic files in the same way. PCAD — as it evolved through different owners and from DOS to Windows — provides a prime example. In such a case, a paper copy is your only backup.

Over the years, I have designed my system to avoid disjointed nets on a single sheet and to have as few intersheet connections as possible. For a large IC, I partition it into several parts, and I try to be as intuitive as possible. Where the schematic spreads to several sheets, it is possible to place a block near the associated components. For example, one of the Cypress PSoC4 range is presented in a 48-pin package. I partitioned this as illustrated in Figure 1.

Figure 1

Three individual symbols that comprise a single IC. They can be placed anywhere in the schematic to reduce on-sheet net breaksand intersheet connections.(Click here for a larger image.)

Three individual symbols that comprise a single IC. They can be placed anywhere in the schematic to reduce on-sheet net breaks
and intersheet connections.
(Click here for a larger image.)

When creating symbols, I have found different CAD packages to be quirky and sometimes surprisingly inflexible on things like text orientation and style. I always prefer my text sans serif , but it is not always possible to set up a default font. Take a look at the symbols in Figure 1. Even though everything is default, there is a mix of sans serif and avec serif fonts, along with different text sizes. And try to persuade the vertical text to be horizontal. This is from Altium as it currently stands. Funnily enough, the older PCAD could do this, but it couldn't tell if a font had already been loaded, so it would load a new font for every symbol, bulking up the file size. Sigh.

One of the problems associated with using your own symbols comes up when the software goes through an upgrade. When PCAD was discontinued and subsequently wouldn't run happily on Windows 7, my company moved to Altium, which had taken over PCAD. Promised compatibility is not always as smooth as you would hope. Figure 2 shows a monostable flip flop as it was in PCAD, while Figure 3 is the translation as seen in Altium.

Figure 2

This symbol originally looked quite good in PCAD.

This symbol originally looked quite good in PCAD.

Figure 3

This translated/imported version of the previous symbol will require substantial adjustment to use it in Altium Designer.

This translated/imported version of the previous symbol will require substantial adjustment to use it in Altium Designer.

I know I am old school, but I prefer it when my work looks good, and I feel it adds to the understanding of the circuit. How do you approach your symbols? Does your company have standards with which the symbols must comply?

This article was originally published on EBN's sister publication EE Times .

6 comments on “Why I Prefer to Create My Own PCB Symbols

  1. t.alex
    June 6, 2014

    I all the companies that I have been dealing with, they adopt their own style of symboling indeed. Each will follow certain conventions to avoid serious mistakes.

  2. _hm
    June 7, 2014

    @Alex: Yes, I agree. I do same thing. But some of techniques described here are too backward and perhaps futile expense of time.

  3. _hm
    June 7, 2014

    You may have your own way of working. As long as you produce required output is ok.

    But warn you, do force other juniors to follow your methods. They will be detrimental to their growth.

  4. t.alex
    June 14, 2014

    _hm,

    certain things such as symboling it is better to enforce company wide practice to avoid misunderstanding.

     

  5. _hm
    June 14, 2014

    @t_Alex: Company wide is a good practice. But this is a ones personal fixation (two decades old) and I do not think good for compnay too.

  6. t.alex
    June 17, 2014

    _hm, yep you are right. Company wide practice should be properly discussed and agreed upon by all members.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.