SSZT156 june   2021

 

  1.   1
  2.   2
    1.     3
    2.     Markers and Their Types
    3.     Placing Markers and Viewing Results
    4.     Conclusion
    5.     Read more in this series

(This is a guest technical article from Cadence® Design Systems.)

Part 1 of this series discussed optimizing your simulation profile in PSpice® for TI. After creating a schematic and a simulation profile, you are ready to simulate your circuit design and view the results.

The results must be accurate, of course. However, the effectiveness of a simulation is only half as good as the flexibility and ease of viewing the results. In that context, you can explore “markers” – objects that you place on points in your circuits to mark them so that you can view the corresponding waveforms at those points. In this article, we will walk through how to take advantage of markers in your simulation.

Markers have two advantages: flexibility and a reduction in data file size. You can add markers at any time before or after running a simulation, making it a flexible way to view results. To reduce the data file size, you can set up PSpice for TI to save results only for marked wires and pins. By default, PSpice for TI stores all net voltages and device currents for each step, such as time or frequency points. To reduce data size, you must select the At Markers Only option in the Data Collection Settings tab of the Simulation Settings dialog box before you run the simulation. (For more information on the settings simulations, see Part 1 of this series.)

To place markers, choose the marker type you want by selecting PSpice – Markers, as shown in Figure 1. Then, click the point where you want to place the marker.

Markers and Their Types

The PSpice – Markers menu shown in Figure 1 has options for various marker types. Use one or more types of markers based on the results you want to see.

GUID-69CCD15F-CFE0-40DE-9AD8-309488A43F73-low.png Figure 1 PSpice – Markers Options

You can also use the buttons from the toolbar on top-right of the application, as shown in Figure 2.

GUID-BEC98132-9BB7-4C27-A4E5-F06F791EB740-low.png Figure 2 Toolbar Buttons for Markers

Table 1 lists the expected results and their corresponding marker types. Advanced markers are active only for AC sweep/noise analysis, as you will see in the next section.

Table 1 Waveform Results and Corresponding Marker Types
Waveform/result expected Marker type
Analog voltage Voltage Level
Digital value (high or low) Voltage Level
Voltage differential between any two nodes Voltage Differential
Current Current Into Pin
Power Power Dissipation
Under the Advanced menu:
Decibel (20log10)

dB Magnitude of Voltage

dB Magnitude of Current

Phase

Phase of Voltage

Phase of Current

Group delay

Group Delay of Voltage

Group Delay of Current

Real part

Real Part of Voltage

Real Part of Current

Imaginary part

Imaginary Part of Voltage

Imaginary Part of Current

A future installment of this series will cover template markers available within the Markers menu (the Plot Window Templates option).

Placing Markers and Viewing Results

When you run a simulation for the first time without any markers defined, PSpice for TI displays a blank screen without any waveforms. If you want to see the results, you either add markers or traces. This article discusses only markers, but a future installment of this series will cover traces.

As mentioned earlier, you can add markers before or after running a simulation. In this example, you will add a marker after running a simulation, but the steps for adding markers before running a simulation are identical.

To simulate a design and then add a voltage marker, follow these steps:

  1. Choose PSpice – Run to run the simulation. PSpice opens after the simulation is complete, but you will not see any waveforms because you have not yet added any markers.
  2. Choose PSpice – Markers – Voltage Level. The Voltage-level probe sticks to the cursor, as shown in Figure 3.
  3. Click at the point where you want to see the result, which in this example is the OUT node shown in Figure 4.
GUID-77F4DBA5-A91B-47D0-9F73-4CF0AED699EE-low.png Figure 3 Voltage-level Probe
GUID-C1BD4C39-0D3E-4CBB-84CE-E775D61AE29C-low.jpg Figure 4 Marker Placed on the OUT Node

PSpice for TI displays the simulation result you are interested in, as shown in Figure 5.

GUID-925D042C-3807-4CA2-9F06-F420978E0104-low.png Figure 5 Simulation Results for the Marker Placed on the OUT Node

You can then add any other marker according to your needs. For example, if you wanted to see the output voltage level at a node in decibels, you could add the dB Magnitude of Voltage advanced marker at that node.

To add a dB Magnitude of Voltage advanced marker, follow these steps:

  1. Because you are adding an advanced marker, confirm that you are running the simulation for AC Sweep/Noise Analysis type.
  2. Choose PSpice – Marker – Advanced – dB Magnitude of Voltage. Figure 6 shows the Advanced submenu options.
  3. Click at the point you want to see the result. Figure 7 shows a dB Magnitude of Voltage marker (abbreviated as VDB) placed at the OUT node.
GUID-0AA9585D-6535-4F31-9D91-F74D2E43C6D9-low.jpg Figure 6 Advanced Submenu Options
GUID-BF86BA23-2FF4-48D8-B4DE-A389EEEA4367-low.jpg Figure 7 VDB at the OUT Node

PSpice now shows the output voltage level in decibels at the OUT node, as shown in Figure 8.

GUID-2D132473-FF5D-49AA-A4DE-373C427F319B-low.jpg Figure 8 Voltage Level in Decibels at the OUT Node

Conclusion

Now that you know how to select the markers you need, you can use them in your schematics and take advantage of their flexibility. To get started, download PSpice for TI today.