To begin a new design project, start Capture and, from the session window’s
File menu, choose
New → Project. At the
New Project dialog box (
Figure 9-3
), enter a name for the project. Select the
PC Board Wizard radio button. You can also make PCB designs if you select the
Analog or Mixed A/D button, which sets up PSpice simulation templates for the project. Since we are not performing PSpice simulations in this example,
PC Board Wizard is used. Select the desired location for your project, then click
OK.
If you are using the demo edition, you will be shown an information box that says,
The Demo Edition does not support saving to a library with more than 15 parts…. Click
OK each time it asks (you will need to click once for each library that you added to the project).
PLACING PARTS
Before placing any parts onto the schematic page, make sure that the place grid is enabled. If parts are placed off grid, you will not be able to connect wires to the part’s pins. Use the Search tools just described to locate and place parts on the schematic page.
Table 9-2
lists the parts used in this project and the libraries in which they are located.
Table 9-2 Capture Library Parts List
Reference | Capture part | Capture library |
---|
J1 | CON6 | C:…CAPTURELIBRARYCONNECTOR.OLB |
C1, C2 | CAP POL | C:…CAPTURELIBRARYDISCRETE.OLB |
C3, C4 | CAP NP | C:…CAPTURELIBRARYDISCRETE.OLB |
U1 | LM741 | C:…CAPTURELIBRARYOPAMP.OLB |
R1–R3 | R | C:…CAPTURELIBRARYDISCRETE.OLB |
To place parts click the
Place Part tool button,
; select
Part from the
Place menu; or hit the
P key on your keyboard. In the
Place Part dialog box (see
Figure 9-6
), select the
OPAMP library or the
EVAL library (if using the demo version), and scroll down until you find the LM741 or the uA741 op amp, respectively. Either one will work; it is just a matter of which one you prefer.
You can place one of each, compare them, then delete the one you do not like. If a library is not shown in the
Libraries: box, you can add it to the list, as explained next. Once you find and select the part, click
OK.
If a library is not displayed in the
Libraries: window, you need to add it to the list.
To add a library to the
Libraries: list in the
Place Part dialog box, click the
Add Library… button on the
Place Part dialog box (
Figure 9-6
). Use the
Browse File dialog box to locate the desired
OLB library. For building schematics and PCB layouts, you can use parts from either the main
Capture library folder or the
PSpice subfolder. If you are performing PSpice simulations, select parts only from the
PSpice folder.
From the
DISCRETE library, place two polarized capacitors (
CAP POL), two nonpolarized capacitors (
CAP NP), and three resistors (
R). From the
CONNECTOR library, place a six-pin connector (
CON6), and from the
OPAMP library, place
LM741.
MAKING POWER AND GROUND CONNECTIONS
There are three ways of adding power connections to active parts, depending on the part’s type of power supply pins. A part’s power supply pin can be a power-type pin and nonvisible, a power-type pin and visible, or a nonpower-type pin (such as a passive or input pin), which is always visible. The term
visible specifically refers to whether the pin is visible to the Wire tool. However, in the general case, a nonvisible pin is also invisible from the user’s perspective. Digital parts typically have nonvisible power pins, while analog parts, particularly op amps, commonly use either visible power pins or one of the nonpower-type pins (which are always visible).
If a part’s power supply pin is a power pin and is not visible, you cannot connect a wire (a net) to it directly. A nonvisible power pin is a net and it is global. You connect a part’s power pin to a power symbol by giving the pin and the power symbol the same name. To make the connection, you need to place a power symbol, which is also global, somewhere on the schematic. Power symbols are always visible and are wired to either an off-board connector or a PSpice power supply. To make the names the same, you can change the name of the power symbol, the power pin, or both. An example of how to do this is given next.
If a power supply pin is a power pin and it is visible, you can either take advantage of the power pin’s global properties using power symbols or make direct connections to it with wires. If you use the pin’s global nature, the pin name and the power symbol name must be the same, as described already. If you make a direct connection to the power pin with a wire, you need not consider the naming convention. If you have a multipart package (e.g., a quad op amp with shared power pins), all the parts within the package that are placed on a schematic must have their power supply pins connected in the same way. So either all must be global or all must have wires connected to them.
If a part’s power supply pin is a not a power pin (see LT1028 in the
LIN_TECH library, for example), you must use a wire to connect the pin to some other object, such as a power symbol or an off-board connector. If you place more than one part from a multipart package that has nonpower-type power pins, connections need to be made to only one of the part’s power supply pins (although you can make connections to all of them if you want). See
Chapter 7
for more information on pin types.
The LM741 op amp used in this example has visible power supply pins, so we could use their global properties by using power supply symbols to make connections to the off-board connector, but we will add the power supply symbols to the amplifier to make it evident from the schematic what power the amplifier
uses. Whether you used the LM741 from the
OPAMP library or the uA741 from the
EVAL library, both power supply pins are visible power pins. The difference in their appearances is that the uA741 has zero-length power pins and the LM741 has line-length power pins. A zero-length pin is still “visible” to the Wire tool but not to the user.
To place power symbols, click the
Place Power tool button and select one of the power supply symbols (
VCC in this example) from the
Place Power dialog box, as shown in
Figure 9-7
. Click
OK and place the symbol onto the schematic.
The names of the power pins on the op amp and the names of the power symbols must be the same. You can change the name of the symbol or the pin or both. Some parts have no visible labels for their power pins.
To check a pin’s name and type, select the pin (if it is visible), right click, and select properties at the pop-up menu to get a
Property Editor dialog box for the pin (see
Figure 9-8
).
To change the name or type of a nonvisible power pin, select the part on the schematic, right click, and select
Edit Part from the pop-up menu. You will be given a Capture
Part Editor window (see
Figure 9-9
). Double click the pin whose name you want to change to bring up the
Pin Properties dialog box as shown in
Figure 9-9
. Enter the new name in the Name: text box and click
OK. Repeat the process for the other power supply pin.
Close the Part Editing window. Click
Update Current when Capture asks Would you like to update only the part instance being currently edited, or all part instances in the design? In this case, since there is only one LM741, it does not matter if you click
Update Current or
Update All. But if you had several LM741s and you did not want all of them to have their power pin names changed, you would click
Update Current.
Note: When you change a part on the schematic, the link between the design cache and the part library is broken. See the section at the end of the chapter for details on managing the design cache.
Instead of changing the name of the power pin on the part, you can change the name of the power supply symbol.
To change the name of the power supply symbol, double click the symbol’s name on the schematic. The
Display Properties dialog box will pop up, as shown in
Figure 9-10
. The op amp’s positive power supply pin name is V+, so enter V+ in the Value: text box then click OK. Place another power supply symbol and change its name to V− using the same
procedure. Copy, place, and connect the V+ and V− power symbols as shown in
Figure 9-5
.
Next, add a ground symbol.
To place a ground symbol, click the
Place Ground tool button, and select one of the ground symbols from the
Place Ground dialog box. Click
OK and place the symbol onto the schematic. Place and connect ground symbols as shown in
Figure 9-5
.
Note: For designs that will be simulated with PSpice, you must use a GND symbol named 0 for the circuit to simulate correctly. You can use any of the symbols as long as they have the name 0. For PCB designs that will not be simulated, you can use any of the GND symbols and name them whatever you want. A separate net will be instantiated for each distinct GND name. See Examples 2 and 3 for techniques on how to establish multiple GND systems.