Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
17 views

Circuit Maker Tutorial

Uploaded by

volatility75s
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Circuit Maker Tutorial

Uploaded by

volatility75s
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Task OverView

Using CircuitMaker involves six basic procedures:


1) placing devices (such as resistors, transistors, power supplies, and grounds) in the
workspace;
2) repositioning devices;
3) editing devices with precise values and parameters;
4) deleting devices (if necessary);
5) wiring devices together;
6) simulating and testing the circuit.

Using The Toolbar


You can perform most CircuitMaker tasks using the buttons on the Toolbar, which is
conveniently located at the top of the workspace.
The table on the following page briefly describes each button and tool on the Toolbar.
Generally, a Tool lets you apply a specific action, whereas a Button performs a
general function. For more details about the drawing and editing tools, see Chapter 4:
Drawing and Editing Schematics. For more information about the simulation tools,
see Chapters 5: Digital Logic Simulation and Chapter 6: Analog/Mixed Signal
Simulation.

Tool or Button Lets You

Arrow Tool Select, move and edit devices, wires and text. Also used to
place wires (when Arrow/Wire option is checked).
Wire Tool Place wires to connect devices in the circuit (+Shift to place
bus wires).
Text Tool Add text to the circuit.
Delete Tool Delete devices, wires and text (+Shift to snip wires).
Zoom Tool Magnify and reduce the circuit (+Shift to reduce).
Rotate 90° Rotate one or more selected devices.
Mirror Mirror one or more selected devices.

Digital/Analog Toggle between Digital or Analog simulation mode (AND Gate


= Digital, Transistor = Analog).
Reset Initialize analog and digital simulations.
Step Single-step digital simulations (Setup in Digital Options).
Run/Stop Run and stop simulations.
Probe Tool Observe/plot data at any point(s) in the circuit (context-
sensitive).
Trace Interactively see the logic state of all nodes in Digital
simulation mode.
Waveforms Show digital waveforms (in Digital simulation mode).

Parts Display and select devices from the graphical parts browser.
Search Search for devices in the library by name/number.
Macro Create a new macro or expand a selected macro.
Help Tool Display information on devices and wires.
TraxMaker Automatically create a PCB netlist and launch TraxMaker.

1
Using the Mouse
As in other Windows applications, CircuitMaker uses the mouse for clicking,
selecting and dragging. When moving the mouse, a corresponding selection tool (or
cursor) movement occurs on the screen.
The familiar “pointer” Arrow Tool is used for standard Windows operations, such as
choosing from menus and dialog boxes.
You can return to the standard Arrow Tool at any time by selecting the tool from the
Toolbar, or right-clicking on the schematic background and selecting Arrow.

Right-Click Pop-Up Menus


You can right-click (click with the right mouse button) in different areas of the
CircuitMaker workspace to open various pop-up menus (see Figure 2.3 in the user
manual). The items listed in the pop-up menu vary depending on where you right-
click. The following locations and circumstances will each access a different pop-up
menu:
• Schematic background
• Device
• Wire
• Text object created with the Text Tool.
• Group of selected items (pop-up menu depends on types of items that you
select)
• Waveform label
• Anywhere else in Waveform window
Basic CircuitMaker file Management
This section explains the basic CircuitMaker file management procedures.
1. Starting, Saving and Closing CKT File
The features you will use most often are New, Save, and Save As.

1 Choose File > New to start a new file.


2 Choose File > Save if you’ve already established a filename.
Or
Choose File > Save As to give the file a filename. This is the way to
copy a .CKT file.
3 Choose File > Close > Yes to save and exit a .CKT file without exiting
CircuitMaker.
OR
Choose File > Exit > Yes to exit CircuitMaker and save your work.
NB. Use Save As if you are saving file for the first time.

Opening and Re-Opening a .CKT File


1 Choose File > Open.
2 Select the file with .CKT extension that you want to open, then choose Open.
You can open any of the last 4 .CKT files you’ve had open.
1 Choose File > Reopen.
2 Select the file you want to reopen from the list.

Tutorials

2
Tutorial 1: Drawing a Schematic
This tutorial covers the following topics:

• Using the Device Selection dialog box


• Selecting a transistor
• Selecting resistors
• Selecting a +V and ground device
• Changing resistor and transistor label values
• Wiring the circuit

Using the Device Selection Dialog Box


Drawing a schematic is as easy as pointing and clicking with the mouse. Let’s walk
through a simple example by constructing the circuit shown in Figure 3.1 in the user
manual.

1 Begin by starting the CircuitMaker program and, if necessary, clearing the


workspace by choosing File > New or clicking the New button on the Toolbar.
2 Choose Devices > Browse or click the Parts button on the Toolbar to display
the Device Selection dialog box, pictured in Figure 3.2 in the user manual.
Note: Throughout this tutorial, the location of a device in the library is
indicated by its major and minor class and its default HotKey (if applicable)
using this format:

[major device class/minor device class] (default HotKey)


For example, a battery is found at [Analog/Power] (b). You can also find
devices through hotkeys in the Devices > HotKeys1 and HotKeys2 menus. By
simply pressing a HotKey (for example, the letter “b”) you can quickly select
and insert a device into the workspace.

Selecting Components eg Transistor


Begin the circuit by selecting the 2N2222A transistor [Active
Components/BJTs].

1 Select Active Components in the Major Device Class list, BJTs in the
Minor Device Class list, and NPN Trans:C in the Device Symbol list.
Select the 2N2222A transistor in the Model/Subcircuit list.
2 Click Place to select this device from the library.
You can also click the Search button on the Toolbar, type 2n2222a,
and click Find to quickly find the part.
3 Position the transistor at about mid-screen and then click the left
mouse button once.

Notice that the transistor is placed on the workspace and no longer


follows the mouse (see picture at left).

The next procedure involves placing two resistors.

1 Choose Options > Auto Repeat (make sure the feature has a check mark next
to it) or press Ctrl+R.

3
2 Select a Resistor [Passive Components/Resistors] (r) by pressing the letter r on
the keyboard. Notice that the resistor is oriented horizontally.
3 Press the r key again (or click the Right mouse button) to rotate the device 90°.
4 Drag the resistor above and to the left of the transistor and click the Left
mouse button once.

This will be resistor RB. Don’t worry about the value yet. Since you enabled the
Repeat On feature, another resistor will appear with the same orientation as the
previous one.
5 Place the next resistor directly above the transistor. This will be resistor RC.
6 Another resistor appears. Press any key on the keyboard (except R or M) to
delete it.
7 Choose Options > Auto Repeat and uncheck the Auto Repeat feature or press
Ctrl+R.

Now you’ll place a voltage source and change its settings.

1 Select a +V [Analog/Power] (1) by pressing the 1 (number one) key. Place it


above resistor RC.
2 Select a Ground [Analog/Power] (0) by pressing the 0 (zero) key. Place it
below the transistor.
3 Double-click the +V device using the Left mouse button to open the Edit
Device Data dialog box, pictured in Figure 3.3 in the user manual.
4 Change the Label-Value field to read +15V.
5 Click once on the Visible check box next to the Label-Value field to change
the black check mark to a grayed-out check mark. This causes +15V to replace
the +V on the schematic.
6 Enter Vcc in the Designation field and click once in the Visible check box
next to it so that there is a black check mark in it. Click OK.

Now try the same editing procedure on the transistor and resistors.

1 Double-click resistor RB.


2 Change the Label-Value field to read 220k, enter RB in the Designation field,
make it visible and click OK.
3 Double-click resistor RC.
4 Change the Label-Value field to read 870k, enter RC in the Designation field,
make it visible then click OK.
5 Double-click the transistor to display the Model Selection dialog box.
Since you have already selected the model that you want to display
(2N2222A), just click on the Netlist button to open the Edit Device Data
dialog box.

6 Enter Q1 in the Designation field and make it visible. Click OK, and then
click Exit to return to the schematic.
7 If necessary, drag the devices and labels around with the mouse to place them
in convenient locations.

Now it’s time to hook up these devices into a working circuit by wiring them together.

4
1 Select the Wire Tool from the Toolbar (or use the Arrow Tool if the
Arrow/Wire option is enabled).
2 Place the cursor on the emitter pin (the pin with the arrow) of the transistor.
When the cursor gets close to the pin, a small rectangle appears.
3 Click and hold the left mouse button, then drag the wire to the pin of the
Ground symbol.
4 Release the mouse button to make the connection.
If Options > Show Pin Dots is enabled, a small dot will be placed at each
connection point to verify the connection (see circuit example on the
following page).
5 Place the cursor on the bottom pin of RC, and then click and hold the mouse
button to start a new wire.
6 Drag the end of the wire to the collector pin of the transistor and release the
mouse button.
7 Connect a wire from the top pin of RC to Vcc.
8 Connect another wire from the bottom pin of RB to the base of the transistor.
9 Finally, connect a wire from the top pin of RB to the middle of the wire which
connects Vcc to RC.

You can move device and wire positions by dragging them with the mouse.

Tutorial 2: Simulating a Digital Circuit


The best way to see how the digital simulation works is to load an example circuit and
try some commands.

1 Click the Open button in the Toolbar.


2 Select the SIM.CKT file from the list of available circuits.
The SIM.CKT circuit contains several mini-circuits and is useful for
demonstrating CircuitMaker’s digital simulation features.
3 Click the Run Tool on the Toolbar to start simulation.
You know that simulation is running when you see a Hex Display showing a
count sequence.
4 Select the Probe Tool from the Toolbar and touch its tip to the wire just to the
left of the label “Probe Wire to the Left”.

5 Move the tip of the Probe Tool to the Logic Switch labeled “Toggle Switch”
and click near its center. The Logic Display connected to the output of this
mini-circuit should then start to toggle on and off rapidly.
6 Click the Waveforms Tool button on the Toolbar to open the digital
Waveforms window. Each node in the circuit that has a SCOPE attached is
charted in this window.
7 Select Simulation > Scope Probe.
A new waveform called Probe displays in the Waveforms window. Watch
what happens to this waveform as you move the Probe Tool around the circuit.

8 Click the Trace button in the Toolbar to see the state of every wire in the
circuit as the state changes.
9 Click the Stop button in the Toolbar to stop simulation.

Tutorial 3: Analog Analysis

5
The best way to get acquainted with CircuitMaker’s analog simulation is to build a
few simple circuits, set up the analyses, and run the simulations. This tutorial
covers:

• Simple circuit analysis


• Simulating a simple AC circuit
• More circuit simulation
• Setting up the analyses
• Running the simulation
• Mixed-mode simulation

Simple Circuit Analysis

1k 1k

+
10V

Let’s begin with a simple DC circuit:

1 Click the New button on the Toolbar.


This opens an untitled circuit window.
2 Click the Digital/Analog Simulation mode toggle button.
You know CircuitMaker is in Analog mode when the transistor icon, not the
AND gate icon, is visible on the Toolbar (see pictures at left). If the AND gate
icon is displayed (Digital mode), click the button to switch.
3 Draw the circuit , using the following devices:

• 1 Battery [Analog/Power] (b)


• 1 Ground [Analog/Power] (0 (zero))

• 2 Resistors [Passive Components/Resistors] (r)


Note: Every analog circuit must have a Ground and every node in the circuit must
have a DC path to ground.
4 Use the Wire Tool to wire the circuit together (or the Arrow Tool when the
Arrow/Wire option is enabled).
5 Choose Simulation > Analyses Setup then click the Analog Options button to
display the dialog box shown in Figure 3.5 in the user manual.
6 From the Analysis data saved in RAW file group box, select the third option,
Node Voltage, Supply Current, Device Current and Power then click OK to
exit Analog Options.

This option lets you to take current and power measurements with the Probe Tool.
7 Click the Run Analyses button to start the simulation.

6
OR
Click Exit and click the Run Tool on the Toolbar.
An interactive SPICE simulation window appears during the SPICE data
collection process showing the progress of the simulation. When the SPICE
data collection process is completed, the Multimeter Window appears.
8 Click the wire connected to the + terminal of the battery with the tip of the
Probe Tool. Notice that the letter V appears on the Probe Tool when you move
it over a wire.

The DC voltage at that node (+10V) appears in the Multimeter Window.


9 Click the wire connected between the two resistors.
The DC voltage at that node (+5V) appears in the Multimeter Window. SPICE
data is not collected for the Ground node in the circuit; it is always at zero
volts.
10 Click the + pin of the battery or one of the resistor pins. Notice that an “I”
displays on the Probe Tool when it is over a device pin.
The current through that device (5mA) appears in the Multimeter Window.

11 Click directly on one of the resistors. Notice that a “P” displays on the Probe
Tool when over a device.
The power dissipated by that resistor (25mW) appears in the Value Window.
12 Click the Stop button on the Toolbar to stop the simulation and return to
editing mode.

Creating a Simple RC Circuit


Now let’s replace one of the resistors with a capacitor to create a simple RC circuit
where you can see the charging of the capacitor. Transient Analysis begins its
simulation in a stable DC condition where the capacitors are already charged. Since
you want to see the capacitor charging from time zero, you must set the initial
condition of the capacitor to 0V.

0V 10v
.IC .IC

200 200

+ 1uF
10V 1uF

1 Using the Delete Tool on the Toolbar, delete the second resistor (the one
connected to ground) and the wire leading to it.
2 Replace the resistor with a Capacitor [Passive Components/Capacitors] (c).
3 Select an .IC device [Analog/SPICE Controls] (I) and connect it to the wire
between the resistor and capacitor.
This will set an initial condition of 0V on the capacitor for the analysis. Your
circuit should now look like the one pictured in Figure 3.6 in the user manual.

4 Run the simulation again by clicking the Run button on the Toolbar.

7
This time the Transient Analysis window (similar to an oscilloscope) appears.
5 Click the Transient Analysis window to select it, and then click with the tip of
the Probe Tool between the resistor and capacitor.
Notice a diagonal line across the scope. This is actually the beginning of the
charge curve for the capacitor. Your view of the curve is limited by start and
stop times of the Transient Analysis that were selected by default. You now
have the option of changing the Transient Analysis settings to increase the size
of the time segment that you can view with the scope, or you can reduce the
component values so the capacitor will charge quicker. For this example, you
will change the component values.

6 Stop the simulation by clicking the Stop button.


7 Double-click the Resistor to display the Edit Device Data dialog box.
8 Change the Label-Value from 1k to 100, and then click OK.
9 Double-click the Capacitor, change the Label-Value from 1uF to .001uF, and
then click OK. Compare your schematic with Figure 3.7 in the user manual.
10 Run the simulation again.
This time you will see the charge curve of the capacitor.

Simulating a Simple AC Circuit


Now let’s create a simple AC circuit using a Signal Generator and Resistors:

11.8/12.2V Q1
J1 2N2222A J2
Input Output
1 1 100
60 Hz 2 2

R1
680
+

C1
100uF
D1
1N4736

1 Click the New button on the Toolbar.


2 Draw the circuit as shown in Figure 3.8 in the user manual, using the
following devices:
• 1 Signal Gen [Analog/Instruments] (g)
• 1 Ground [Analog/Power] (0 (zero))
• 2 Resistors [Passive Components/Resistors] (r)
3 Use the Wire Tool to wire the circuit together (or the Arrow Tool when the
Arrow/Wire option is enabled).
4 Make sure you are in Analog simulation mode (the transistor icon is showing
on the simulation mode button), then run the simulation.

5 Click the Transient Analysis window to select it, then click the wire connected
to the output of the Signal Generator.
The sine wave appears on the scope.

8
6 Hold down the Shift key and click the wire connected between the two
resistors.
A second waveform appears on the scope.
7 Stop the simulation.

Tutorial 4: More Circuit Simulation


The next example demonstrates how to use all of the analyses and how to take simple
measurements using the cursors in the analysis windows. Let’s create a basic 10X
amplifier circuit using a µA741 Op Amp in this configuration:

RF
100.0k

Vcc
+12v
A
Vin RI
10k U1
+ UA741

10kHz
-100m/100mV RL
25k
-12V
Vee

voltage gain = -RF/RI

1 Choose File > New.


2 Make sure that Analog simulation mode is selected.
3 Draw the circuit as shown in Figure 3.9 in the user manual using the following
devices:

• 1 Signal Gen [Analog/Instruments] (g) for Vin on the schematic


• 2 +V devices [Analog/Power] (1) for Vcc and Vee
• 2 Grounds [Analog/Power] (0 (zero))
• 3 Resistors [Passive Components/Resistors] (r) for RI, RF and RL
• 1 Op-Amp5 [Linear ICs/OPAMPs] for U1

4 Select the Rotate 90 button on the Toolbar, which lets you rotate devices in
90° increments.
5 Using the Rotate 90 button, rotate RL and the -12V supply.
6 Use the Wire Tool to wire the circuit together.
7 Use the Arrow Tool to drag the devices, wires and labels to make the circuit
look clean.
8 Select the Arrow Tool and double-click the Op Amp.
9 Select UA741 from the list of available subcircuits (located near the bottom of
the list; see Figure 3.10 in the user manual) and click the Select button.

10 Click the Netlist button.


11 Set the Designation field to U1, set it to be visible, and then click OK.
12 Double-click the top +V device.
13 Set the Label-Value field to +12V and visible; set the Designation field to Vcc
and visible; set the Device field to NOT visible then click OK.
14 Double-click the bottom +V device.

9
15 Set the Label-Value field to -12V and visible; set the Designation field to Vee
and visible; set the Device field to NOT visible then click OK.

16 Click and drag the labels so they are positioned as shown on the schematic in
Figure 3.9 in the user manual.
17 Double-click each resistor to change both its Label-Value and its Designation
and make them visible. Set them up as follows:

Resistor Label-Value Designation

Input 10k RI
Feedback 100k RF
Load 25k RL

18 Double-click the Signal Generator.


19 Set Peak Amplitude to 0.1V and the frequency to 10kHz.
20 Click the Wave button in the Signal Generator.
21 Enable the Source check box for AC Analysis; set Magnitude to -0.1V and
Phase to 0, and then click OK.
You can now use the Signal Generator as a reference for the AC analysis.
22 Click the Netlist button.
23 Set Designation to Vin, Visible, and then click OK.

Note: The Label-Value field contains -1/1V which represents the minimum and
maximum programmed voltage swings before you double-clicked on the Signal
Generator.

 Setting Up the Analysis


Now that you have created the circuit, you will set up the analyses. When you run
the simulation, the results are based on the conditions you set up.

1 Select Simulation > Analyses Setup.


2 Uncheck the Always Set Defaults for Transient and Operating Point Analyses
option so it is cleared.
By unchecking this option, you can access the Transient and Multimeter
(Operating Point) Analysis setups. When checked, defaults are used for the
simulation.
3 Click the Transient/Fourier button.
4 Click the Set Defaults button for default Transient Analysis setups and click
OK.

This provides simulation for 5 cycles of the input signal with 200 data points. For
best reliability, Max Step should be the same size as Step Time. More data points
require longer simulation time.
5 Click the Multimeter button.
6 Select the DC (Operating Point) option in the Display group box and click
OK. This sets the initial display mode of the Value Window to DC.
Note: You must enable Transient Analysis in order to obtain DC AVG or AC
RMS values. Multimeter must be enabled in order to use the Multimeter
Window.

10
7 Click the DC... button.
8 Select the Enabled and Enable Secondary options in the DC Analysis Setup
dialog box. When you are finished entering the following settings into the
appropriate fields, choose OK.

Primary Secondary
Source Name Vin Vcc
Start -1.5V 10V
Stop -.7V 14V
Step 0.01V 1V

This setup lets you sweep the voltage of Vin over the specified range at each of 5
different Vcc levels.
9 Click the AC... button.
10 Select the Enabled option in the AC Analysis Setup dialog box and enter the
following settings into the appropriate fields:
Start Frequency 1 Hz
Stop Frequency 1MegHz
Test Points 10
Sweep Decade
This setup lets you plot the frequency response of the circuit. Click OK
to save the settings. Click Exit to return to the circuit.

11 Select File > Save As and save the circuit as MYAMP.CKT (analyses setups
are saved with the circuit).

 Running the Simulation (tutorial)


When you run the simulation, an interactive XSpice window appears showing the
progress of the simulation. By placing Run-Time Test Points in your circuit
beforehand, you can monitor the results as XSpice collects the data (for more
information about Test Points, see Chapter 6: Analog/Mixed-Signal Simulation).
If you don’t place any Run-Time Test Points, you will see only a bar graph
showing the progress of the simulation. The amount of time it takes to finish is
based on the analyses you have enabled, the amount of data you're collecting, the
complexity of the circuit, and the speed of your computer.

1 Select the Probe Tool on the Toolbar.


2 Using the left mouse button, click the wire connected to the output of the Op-
Amp with the tip of the Probe Tool.
CircuitMaker places a Run-Time Test Point on that node and displays a dialog
box.
3 Enable the AC, DC and TRAN check boxes, change the Max. Scale of the DC
graph to 15, and then click OK.
4 Click the Run button on the Toolbar to start the simulation.

The interactive XSpice simulation window displays showing the waveforms as


the data is collected. When the data collection process has completed,
CircuitMaker displays the analyses windows.

11
5 Select View > Fit Circuit to Window (or press F4) to make the entire circuit
visible.
6 Click the Multimeter window to select it (it’s in the upper left hand corner of
the screen and should say DC in the title bar).
7 Click on any wire in the circuit (except a wire connected to ground) with the
tip of the Probe Tool. Notice that the letter V displays on the Probe Tool when
it’s over a wire.

The DC voltage at that node will be displayed in the Value window.


8 Click the pin of the +12V power supply.
The DC current through that supply appears in the Value window. Notice that
the letter I appears on the Probe Tool when it’s over a pin.
You can also measure current and power on other devices, but only if you
have enabled corresponding Test Points (see the information about Test Points
later in this tutorial).
Note: SPICE sees the current flowing into the positive terminal of a power
supply, Multimeter or Signal Generator as positive current.

9 Double-click the Multimeter window, change the setting to AC RMS then


click OK.
Now when you click the wires in the circuit the AC voltage or current appears.
10 Click in the Transient Analysis window to select it, and then click the wire
connected to the output of the Signal Generator with the tip of the Probe Tool.
A green waveform appears in the Transient Analysis window, similar to what
would be seen on an oscilloscope.
11 Hold down the Shift key and click on the wire connected to the output of the
Op Amp.

A second (yellow) waveform appears in the Transient Analysis window. A


quick comparison of the two waveforms confirms that the amplitude at the
output of the amplifier is much greater than the amplitude at the input.
12 Click the c cursor at the far right of the Transient Analysis window and drag it
to the top peak of the output waveform (the yellow one).
13 Click the d cursor and drag it to the top peak of the input waveform (the green
one).

The actual peak voltages appear at the top of the graph as Yc and Yd. As you
can see from the Yc and Yd values, the peak voltage at the output of the
amplifier is 10 times the peak voltage at the input of the amplifier. The
difference between the two Y cursors is shown as c-d.
14 Click the b cursor at the top of the Transient Analysis graph and drag it to the
top peak of the first cycle of the output waveform.
15 Click the a cursor and drag it to the top peak of the second cycle of the output
waveform.

The period (period = 1/frequency) of the signal is shown as the difference


between the two X cursors a-b. The frequency also appears directly.
16 Draw a selection rectangle around a portion of the waveforms in the Transient
Analysis window that is of interest to you. Do this by clicking the mouse once
and holding the mouse while you draw a box.

12
Notice that when you release the mouse button, the view zooms in on the
portion of the waveform that you selected. To restore the original view, click
the Reset button in the graph window.

17 Click the DC Analysis window to select it, then click on any wire in the
circuit.
A DC analysis waveform displays in the window, similar to what would be
seen on a curve tracer. Use the cursors to get measurements from the
waveforms.
18 Click the AC Analysis window to select it, and then click the wire at the
output of the Op Amp.
An AC analysis waveform displays in the window.
19 Click the Setup button (the left button) in the upper left hand corner of the AC
Analysis window.

20 Select Log scale for the X Grid; select Decibels for the Y Axis, click the Show
Wave Grid check box then click OK.
The waveform now shows the response of the circuit over the specified
frequency. Use the cursors to get measurements from the waveforms.
21 Click the Stop button on the Toolbar to stop the simulation and return to
editing mode.

 Mixed-Mode Simulation Example


The following BCD counter circuit demonstrates how digital SimCode
devices can be used in analog simulation mode.

1 Choose File > New.


2 Make sure that Analog simulation mode is selected.
3 Draw the circuit shown in Figure 3.11 in the user manual using the
following devices:

• Data Sequencer [Analog/Instruments]


• 74LS168A Counter [Digital by Number/741xx]
• +V [Analog/Power] (1)
• Ground [Analog/Power] (0 (zero))
• Logic Switch [Switches/Digital] (s)
• Logic Display [Displays/Digital] (9)
• Hex Display [Displays/Digital] (h).

4 Double-click the +V and enter DVCC; (including the semicolon) in the


Bus Data field to connect this device to the Vcc pin of the 74LS168A.
5 Double-click the Data Sequencer.
6 Click the Pattern button.
7 Select Count Up and click OK.
8 Enter 20 in the Stop Address field, and then click OK.
9 Choose Simulation > Analyses Setup and make sure the Always Set
Defaults check box at the bottom of the dialog box is checked, and
then choose OK.

10 Select the Probe Tool on the Toolbar.

13
11 Using the Left mouse button, click on the wire connected to the output
of the Data Sequencer with the tip of the Probe Tool.
CircuitMaker places a Run-Time Test Point on that node and a dialog
box appears.
12 Enable the TRAN check box and the Combine Plots check box.
13 Set the Max. Scale of the TRAN graph to 20, and then click OK.
14 Hold down the Shift key and click the wire connected to the TC
(terminal count) output of the 74LS168A.

CircuitMaker places a second Run-Time Test Point on that node and a


dialog box appears.
15 Again, enable the TRAN and Combine Plots check boxes.
16 The Max. Scale should already be set to 20. Set the Vert. Offset to 6,
and then click OK.
17 Click the Run button on the Toolbar to start the simulation.
The interactive SPICE window appears, showing waveforms as the
data is being collected. When the SPICE data collection process is
completed, the Transient Analysis window appears.

18 Click the output of the Data Sequencer to view the clock signal in the
Transient Analysis window.
19 Click the Man button in the corner of the Transient Analysis window
to switch to manual scaling mode.
20 Click the Up scale button to change the vertical scale to 10V/Div.
21 Click the green waveform label along the left-hand edge of the
Transient Analysis window to select the waveform.
22 Press the Up Arrow key briefly to change the vertical position of the
waveform, moving the waveform near the top of the graph.

23 While holding down the Shift key, click the Q0 output of the
74LS168A.
A yellow waveform appears near the center of the graph.
24 Click the corresponding yellow label along the left-hand edge of the
Transient Analysis window to select this waveform.
25 Press the Up Arrow key to change the vertical position of the
waveform, moving it near the green waveform.
26 Repeat this procedure for each output of the 74LS168A. The resulting
graph should appear similar to the one shown at the left.

You can run this same circuit in Digital Logic simulation mode. To try it,
stop the simulation, switch to digital and run simulation. In Digital Logic
simulation mode, the displays will be animated to show the correct output.

14

You might also like