When you are designing electronic circuitry for printed circuit boards, creating symbols in your CAD system is part of the job. For the most part, you will be pulling symbols from different libraries but every now and then you are going to have to build one yourself. Creating symbols in Altium Designer is a straightforward operation - you can build a symbol manually or use an advanced symbol generator to do the heavy lifting of symbol creation for you.
But what about creating components that have multiple symbols in them? They are called gates or slots in the industry and in an Altium library, they are called multi-part components. If you haven’t had to build one of these before don’t worry, that’s what we are going to talk about here; how to create a multi-part component. It’s a little more complicated than building a single symbol component, but you will end up with a good understanding of it.
Why Use a Multiple Part Component in the First Place?
Altium Designer uses symbols to represent electrical components on the schematic. These components are made up of symbols with component information added to them such as which footprint to use. This information is what makes a symbol become a component in Altium Designer. To create a symbol manually you will draw the shape of the symbol and add pin information to it. Altium Designer also has a symbol generator which will do much of this work for you.
Multi-part symbols are the same symbols in Altium Designer, the difference is that this is more than one symbol in a component. If you haven’t used them before, multi-part components are a very useful resource to use when creating a schematic. For instance, you can use a multi-part component to define a resistor pack, a connector, or a gated device. This is to place specific resistors, connector pins, or gates next to their associated circuitry.
As long as your particular company rules allow for this kind of schematic flow to be used, you may find it very helpful in making a cleaner looking schematic. We will use a gated component as an example for building the multi-part component. This same part that you see below, a 74LS04, was also used as an example for the symbol generator. Here we will see what it looks like when broken into its separate gates.
The 74LS04 that we are going to create depicted as a multi-part component
Creating an Altium Library Multiple Parts Component
The first thing that we will do is create a new component in our schematic library by clicking on the “Add” button. Because I already had the 74LS04 built as a single symbol component, I am giving this new symbol the name of 74LS04-1. You will also want to fill out the properties for this new symbol with the Designator as “U?”, the Comment as “74LS04”, and the Description as “74LS04” as you can see below.
The properties setup for our new component
Now you will want to create the symbol using the same process that you would use for creating any symbol manually. Remember that you are creating an individual gate and not the entire 74LS04 component. When complete, the symbol should look like the image below.
The individual gate of the 74LS04
When you create the symbol make sure that you designate the left pin as an input, the right pin as an output, and use the pin names of “A1” and “Y1” just as you see above. The dot on pin 2 is another option available that we used for that pin. You can use a line to draw the triangular shape of the gate itself.
Now that the symbol has been created, you can see it listed in the schematic library on the left side of the image below. At this point, it is still a single symbol component and here is where we will add the gates or multi-parts to it. Go to the Tools pulldown menu and select “New Part.” Now you will see a little arrow next to the component in the list, and when you click on that arrow the list will display the new part as you see on the right side of the image below.
Adding parts to our component
This component has six gates in it and you currently have two (A & B). Add four more new parts to this component to get the full amount of six gates. We will actually need a seventh gate, but we’ll cover that later.
The next step is to draw the symbols in each of those 5 new parts. You could go through the entire process that you first went through when drawing the initial symbol, but there is an easier way to do this. Simply click on “Part A” to activate it, and then select everything in the symbol editing window. Make sure that all of the lines and pins have been selected, and then use the right mouse button to select copy. Now go to each of the new parts in this component and paste the symbol image into them.
You’ve probably noticed that the copied pin designators and names are incorrect. There are two ways to correct this, the first is to correct each pin individually in each part. You can do this by first selecting “Part B” to activate it, and then selecting the left pin in the symbol editor window. Right-click the mouse and select “Properties” and change the pin designator and name values as shown in the image below.
Editing a symbol pin
Since you are working in the second part, or part “B”, you can see from the logical diagram of the 74LS04 at the top that the input pin of this gate should be pin “3” and named “A2”. These are the changes that you can see were made in the image above. To continue these changes, you would select the right pin and change its designator to pin “4” and its name to “Y2.” Instead of doing all pins individually, there is another way to make pin changes which is faster.
In the properties panel for the component, select the “Pins” tab and you will see a list of all the pins for all six parts. Select one of those pins and then click on the edit button on the bottom of the panel. This will open up the “Component Pin Editor” as you can see in the image below. With all the data being displayed in one editor it can be a little confusing, but take your time and you can make all the changes you need.
The Component Pin Editor in Altium Designer
In the list of pins on the left side of the Component Pin Editor in the image above, note that the column is titled “Owner.” This refers to the actual part in the component and is very useful in helping you to know which part is which. You can sort by each column by clicking on the column header and clicking on the individual cells to activate that cell for value changes. If you change a value in a column that the editor is sorting by, that row will reposition itself accordingly.
Now we need to add the final part that I mentioned earlier. This component has two pins for power and ground which must also be represented on the schematic. To do this we will create another part in this component even though it isn’t an actual gate. Add another part and draw a new symbol and assign the correct values for its pins according to the image below.
Creating the power symbol for our component
Finishing the Multiple Part Component
With that, you have successfully created a multi-part component. Pat yourself on the back, this is an important achievement. There are still a couple of more things to do in order to finish this component though. You will want to assign a footprint to it plus all of the other information that you normally would include such as data links or simulation models. Once you’ve done all of that your component should look similar to the image below.
Note the display of the parts in the small pulldown menu in the properties panel. To access this pulldown menu, make sure to unlock it first by clicking on the small lock image directly to the right of it.
The final finished multi-part component
Creating multi-gated parts for schematics can be complex, but fortunately, Altium Designer has been created as one of the best design systems available in order to make this task intuitive and user-friendly. There are also many other complex aspects of PCB design that Altium Designer’s PCB design software has simplified for you as well.
If you would like to find out more about how to create the next level of schematics with multi-part symbols, talk to an expert at Altium.
About the AuthorVisit Website More Content by Altium Designer