1. Example Circuit
Use this example to investigate the design of a four-bit binary counter with a 555 timer IC generating the digital clock signal (Figure 1).
Figure 1. Example Circuit
For this exercise, apply a constant voltage source and a DC current source to the base. By performing a DC analysis simulation, for which you sweep the current source to the base, you can see the relationship of plotted against. Observe this relationship with Multisim simulation.
2. Step 1: Open Multisim
Begin by drawing your schematic in the Multisim environment.
- Select Start»All Programs»National Instruments»Circuit Design Suite 11.0»Multisim 11.0 to open Multisim.
- Multisim opens showcasing the default capture and simulation environment.
Figure 2. Multisim Environment
There are two fundamental tasks in the design of a circuit: the placement of components and the wiring of these components to create a complete design.
- To select a component, go to Place»Component …
- The Select a Component dialog appears (also known as the Component Browser).
Figure 3. Select a Component Dialog
The component browser organizes the database components into three logical levels. The Master Database contains all shipping components in a read-only format. The Corporate Database is where to save custom components to be shared with colleagues (via a network collection and so on). Finally, the User Database is where custom components are saved that can be used only by the specific designer.
- The components (or parts) are organized into Groups and Families to intuitively and logically group common parts together and make searching easier and more effective.
- The component selection box shows the Component name, Symbol, the functional description, Model, and Footprint all in a single pop-up.
3. Step 2: Place Components
To invoke simulation, you need a power source and a ground somewhere in your circuit to correctly reference voltages and currents in your circuit simulation.
- To place a Ground, go to the Sources group and highlight the POWER_SOURCES family.
- Highlight the GROUND component (as shown in Figure 4).
- Click OK.
- The component selection window temporarily closes and the ground symbol is "ghosted" to the mouse pointer.
- Move the mouse to the appropriate place on the schematic and left-click once to place the component.
- Now place two more GROUND components on the schematic.
Figure 4. Placing a Ground Symbol
To place a VCC power supply:
- Go to the Sources group again and highlight the POWER_SOURCES family (if not already highlighted from the previous selection).
- Select the component called VCC.
- Place the VCC source on the schematic.
- Without a power and ground, your simulation cannot run.
- If you need multiple components, you can repeat the placement steps as shown or place one component and use copy <Ctrl-C> and paste <Ctrl-V> to place additional components as needed.
- By default, the component selection box keeps returning as a pop-up until you have completed placing your components. Close the window to return to the schematic entry window (Close button). You can change this in the global preferences dialog box.
Now place the remaining circuit components using the techniques discussed in the previous steps.
- Select Place»Component.
- To place the 555_VIRTUAL component, select the Mixed group and MIXED_VIRTUAL family. Highlight the 555_VIRTUAL component, click OK and place.
- Select Place»Component.
- Place the four-bit binary counter 7493N found by selecting the TTL group and the 74STD family. Type in 7493N in the component.
Now place the resistors and capacitor in the design.
- Select the Basic group and the Resistor family.
- In the Component field, type 10 k to select a 10 kΩ resistor.
- You can rotate a part before placement by using the <Ctrl-R> shortcut on the keyboard when the component is ghosted to the mouse. Once rotated, place the component.
- Place a 100 kΩ resistor.
- Now select the Capacitor family and in the component field, type in 100 n to select a 100 nF capacitor. Place the component in your schematic.
At this point, your schematic should look something like Figure 5:
Figure 5. Components Placed
4. Step 3: Wire Components
Multisim is a modeless wiring environment. This means that Multisim determines the functionality of the mouse tool by the position of the mouse. You do not have to return to the menu to choose between placement, wiring, and editing tools.
- To begin wiring, move the mouse close to a pin of a component.
- The mouse appears as a crosshair rather than the default Windows mouse.
- Place an initial wire junction by clicking on the pin/terminal of the component (see Figure 6 for an example).
Figure 6. Wiring the Circuit
- Complete the wire by moving the mouse to another terminal or just double-click to anchor the termination point of the wire to a floating location somewhere in the schematic window.
- Continue with wiring the rest of the circuit as shown in Figure 7. Do not worry about the labeled numbers on the wires, which can be referred to as nets.
Figure 7. Wire the Components as Seen Above
5. Step 4: Place Measurement Instruments
You are now ready to run an interactive Multisim simulation; however, you need a way to visualize the data. Multisim provides simulation-driven instruments such as oscilloscopes, wattmeters, and more to help you visualize the simulated measurements.
Find instruments on the right menu bar -- they are indicated by the following icons.
Figure 8. Instrument Toolbar
- Select the four-channel oscilloscope instrument from the menu (fifth icon from the left) and place it onto the schematic as you would any other Multisim component.
- Wire the Channel A, Channel B, Channel C, and Channel D terminals of the oscilloscope to pins 12, 9, 8, and 11 of the 7493N four-bit counter (as shown in Figure 9).
- Change the color of the input channel net (connected to channel A) by right-clicking on the wire.
- Select the Color Segment option.
- Select a shade of Orange and click on the OK button.
- Repeat steps 30-32 to change the color of the segments for the different channels of the oscilloscope. This is important because this determines the color of the signal displayed on the instrument.
- Also place a Ground at this point to the oscilloscope and provide a trigger by connecting the Trigger pin (labeled T) to the clock signal from the 555_VIRTUAL timer.
When you are done, the circuit looks like this:
Figure 9. Oscilloscope Connected to the Four-Bit Counter
6. Step 5: Run a Simulation
It is simple to begin running and visualizing an interactive simulation in Multisim.
- Press the green run button on the simulation toolbar as seen in Figure 10.
- Double-click on the oscilloscope on the schematic. You can now visualize the simulation measurements in the oscilloscope interface (Figure 11). Click on the Reverse button of the oscilloscope to change the background color from black to white.
- You can now stop the simulation by pressing the red stop button in the simulation toolbar (Figure 10).
Figure 10. Simulation Toolbar
Figure 11. Visualizing Simulation in the Oscilloscope
You have just successfully built, simulated, and analyzed a digital circuit using Multisim.
7. Design Challenge
Now that you have explored how a four-bit digital counter works, are you able to design an eight-bit decimal counter with two seven-segment displays using a 555 timer IC to generate the clock signal?