Circuit Maker Tutorial
Circuit Maker Tutorial
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.
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.
Tutorials
2
Tutorial 1: Drawing a Schematic
This tutorial covers the following topics:
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.
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 try the same editing procedure on the transistor and resistors.
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.
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.
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:
1k 1k
+
10V
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.
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.
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.
11.8/12.2V Q1
J1 2N2222A J2
Input Output
1 1 100
60 Hz 2 2
R1
680
+
C1
100uF
D1
1N4736
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.
RF
100.0k
Vcc
+12v
A
Vin RI
10k U1
+ UA741
10kHz
-100m/100mV RL
25k
-12V
Vee
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.
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:
Input 10k RI
Feedback 100k RF
Load 25k RL
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.
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).
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 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.
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.
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.
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