Chapter 2

DC Bias Point Analysis

Abstract

When you connect a battery or a power supply to a circuit, the circuit voltages and currents effectively settle down to what is known as a DC steady-state condition. This is also known as the operating point or Bias Point of a circuit under steady-state conditions. In PSpice, the Bias Point analysis calculates the node voltages and currents through the devices in the circuit. For example, for a simple common emitter transistor amplifier, the Bias Point analysis will calculate the base, emitter, and collector bias voltages and the base, collector, and emitter quiescent currents.

Keywords

Bias; Circuit; Simulation; Emitter; Voltage; Output file

When you connect a battery or a power supply to a circuit, the circuit voltages and currents effectively settle down to what is known as a DC steady-state condition. This is also known as the operating point or Bias Point of a circuit under steady-state conditions. In PSpice, the Bias Point analysis calculates the node voltages and currents through the devices in the circuit. For example, for a simple common emitter transistor amplifier, the Bias Point analysis will calculate the base, emitter, and collector bias voltages and the base, collector, and emitter quiescent currents.

Bias Point analysis will also take into account any voltage sources applied to the circuit and any initial conditions set on devices or nodes in the circuit. For example, you may want to preset a capacitor to a known voltage or set an initial digital state, a logic “1” or “0” on a digital device.

The calculated Bias Point voltages and currents are also used as a “starting point” for the other circuit analysis calculations. For example, when you run a transient (time) or an AC (frequency) analysis, PSpice automatically runs a Bias Point analysis first. However, the Bias Point analysis can be turned off for special cases in which a DC steady-state solution cannot be found. This is especially useful in the case of an oscillator which relies on the fact that it has no steady-state condition.

With the Bias point enabled, the output file will provide a list of all the analog and digital node voltages, the currents and total power of all voltage sources in the circuit, and a list of small signal parameters for all devices in the circuit. There is an option to suppress the bias information in the PSpice simulation profile.

Note

With a Bias Point simulation, all capacitors are implemented as open circuit and all inductors are implemented as short circuits in order to calculate the DC Bias Point.

The RC circuit in Fig. 2.1 is based upon the resistor circuit in Chapter 1. A capacitor, C1 has been added in parallel with R2. With the circuit drawn, a PSpice simulation profile needs to be set up. The settings are accessed from the top tool bar, PSpice > New Simulation Profile. This is where the different analysis types for DC, AC, transient, and Bias Point are selected. By default, Bias Point is selected.

Fig. 2.1
Fig. 2.1 RC circuit ready for DC Bias Point Analysis.

Fig. 2.2 shows the default PSpice Simulation Profile for a DC Bias Point Analysis. For this example, the default settings are used.

Fig. 2.2
Fig. 2.2 Simulation Settings windows with Bias Point analysis selected.

Note

The latest 17.2 version of the Simulation Settings window shown in Fig. 2.2 for Bias settings now has an HTML look to it but has the same functionality.

To run the simulation, you select PSpice > Run or you can select the play button.Image 3

Note

When you run a simulation, the PSpice Netlist Generation dialog box shown in Fig. 2.3 appears.

Fig. 2.3
Fig. 2.3 PSpice Netlist Generation.

In previous versions when you first run a simulation, the Undo Warning dialog box shown in Fig. 2.4 will appear. This just states that you will not be able to undo or redo any previous actions. Just check the Do not show this box again as shown in Fig. 2.4 and click on Yes.

Fig. 2.4
Fig. 2.4 Undo Warning.

In 17.2 the appearance of the PSpice Simulation Profile Settings has changed to an HTML look.

2.1 Netlist Generation

The circuit diagram drawn in Capture is represented as a netlist of all the components and their respective connections to other components. This netlist is automatically generated when you run the simulation and can be seen in the Outputs folder in the Project Manager, see Fig. 2.5.

Fig. 2.5
Fig. 2.5 The Schematic1.net netlist file has been generated in the Outputs folder.

Note

By default the circuit diagram is called SCHEMATIC1 and so the generated netlist is called schematic1.net as seen in Fig. 2.5. To rename the schematic, select the SCHEMATIC1 name, right mouse click, and select Rename as shown in Fig. 2.6, entering RC as the new schematic name.

Fig. 2.6
Fig. 2.6 Renaming SCHEMATIC1 to RC.

When you run the simulation an rc.net netlist will appear in the outputs folder. Fig. 2.7 shows the original schematic1.net and the newly generated rc.net. Note that Capture is not case sensitive. Any schematics named in upper case will generate lower case named netlist files (Fig. 2.7).

Fig. 2.7
Fig. 2.7 Renamed RC schematic and generated rc.net netlist.

To open the netlist file, double click on the name and the netlist will appear as shown in Fig. 2.8.

Fig. 2.8
Fig. 2.8 resistors.net netlist.

The netlist in Fig. 2.8 shows that resistor R1 is connected between nodes, IN and OUT, has a value of 10 ohms, and a zero temperature coefficient (TC). The voltage source, V1, is connected between IN and 0 V and has a value of 10 V. The R_ indicates that this is a flat netlist compared to a hierarchical netlist. Resistor properties and hierarchical circuits will be discussed in more detail in a later chapter. For now, the netlist defines the net connections between R1, R2, and V1 and any defined net names.

When you run a PSpice simulation, PSpice is launched and the PSpice environment window appears. However, there is no graphical output for a DC Bias Point analysis as no waveform data is calculated and hence no traces are available to be plotted. Instead you can look in the Output File to see the calculation results or view on the schematic, the bias voltages, currents, and instantaneous power for the circuit components. From the top toolbar in Capture or PSpice, select View > Output File and scroll to the bottom of the file (see Fig. 2.9). Because the nets have been named, you can easily see the calculated output voltages and currents. Remember, during a DC Bias Point analysis, capacitors are open circuit, hence the RC circuit is behaving as a simple potential divider with R1 and R2 dividing the 10 V DC voltage down to 5 V on the “out” net.

Fig. 2.9
Fig. 2.9 Bias Point analysis Output file.

Note

Capture is not case sensitive when naming nets.

A new feature (in release 16.3) as seen in Fig. 2.9 is the use of colors in the output file to highlight the different syntax such as text, component values, comments, expressions, and keywords. The default colors can be changed by selecting, Options > Preferences > Text Editor as shown in Fig. 2.10.

Fig. 2.10
Fig. 2.10 Text Editor default colors and fonts.

The Output File also highlights any errors and warnings that may have occurred and is useful to determine where the errors occur. See the exercises at the end of the chapter for an example.

As mentioned previously, the output file provides a report on the analog and digital node voltages and device currents together with a list of small signal parameters for the devices in the circuit. There is the option to suppress the bias information reported in the output file. Under the Options tab in the PSpice Simulation profile (Simulation Settings), select Output file in the Category: box as shown in Fig. 2.11 and uncheck the (NOBIAS) option. There is also the option to list all the devices (LIST) in the circuit, summarizing their connecting nodes, values, models, and other parameters. Fig. 2.11 shows the other available options available for the output file. The Reset button resets all the options back to their default settings.

Fig. 2.11
Fig. 2.11 Output file options.

Fig. 2.12 shows the PSpice Simulation Settings window with previous software versions. The new 17.2 layout makes it easier to navigate and access all available options.

Fig. 2.12
Fig. 2.12 Output file options with previous software releases.

2.2 Displaying Bias Points

After a simulation is run, the bias voltage, current, and power values can be displayed on the schematic. In Capture, select PSpice > Bias Points > Enable or select the bias display icons which have changed in appearance in release 16.3. See Figs. 2.13 and 2.14.

Fig. 2.13
Fig. 2.13 Bias display icons pre-16.3.
Fig. 2.14
Fig. 2.14 Bias Display icons in 16.3.

Fig. 2.15 shows the displayed bias voltages, currents, and instantaneous power for the resistor RC circuit.

Fig. 2.15
Fig. 2.15 Displayed bias point voltages, currents, and power.

The number of significant digits displayed for bias points can be changed by selecting, PSpice > Bias Points > Preferences as shown in Fig. 2.16. Up to 10 Precision digits can now be displayed.

Fig. 2.16
Fig. 2.16 Changing the bias point display preferences.

Individual bias values can be turned on and off for voltage, current, or power. For example, if you select a wire net, the voltage icon will be activated Image 7 which will enable you to toggle the value for bias voltage on or off for a selected wire.

If you select a component pin, the current icon will be activated Image 9 which will enable you to toggle the value for bias current on or off for a selected part.

If you select a component, the instantaneous icon will be activated Image 11 which will enable you to toggle the value for bias power on or off for a selected part.

Tip

You may need to press F5 in order to refresh the display after you turn bias display on and off.

2.3 Save Bias Point

You can save and reuse the Bias Point data from a simulation which is useful if you have to run a number of simulations on a large circuit which has a long simulation run time. This is assuming that the circuit netlist, i.e., the connectivity of the components has not changed. Remember that other analyses use the calculated results from a Bias Point analysis so when you resimulate the circuit, assuming that the netlist has not changed, the initial Bias Point calculations can be saved and reused thus reducing the simulation run time. Saving the Bias Point is also useful when a simulation fails to converge to a solution.

In the Simulation Profile Settings, select Bias Point analysis and then select Save Bias Point. As you can see in Fig. 2.17, the data from the Bias Point analysis is saved in a file called saved_bias_point.txt. You select the Browse… button to select or create the folder in which to save the file.

Fig. 2.17
Fig. 2.17 Bias Point settings.

The Bias Point saved data contains node voltages and digital states for all the devices in the circuit, the total power and current supplied by any voltage sources, and a list of model parameters for the devices in the circuit.

Note

When saving Bias Point data, it is a good idea to add a .txt extension to the Bias Point data filename so you can readily open the file in a text editor such as Wordpad or Notepad.

2.4 Load Bias Point

Saved Bias Point analysis data is loaded by selecting the Load Bias Point option in the simulation profile. Fig. 2.18 shows a previously saved Bias Point data file being selected. Bias Point information can also be saved and used for a DC Sweep and a Transient analysis.

Fig. 2.18
Fig. 2.18 Loading saved Bias Point data.

2.5 Exercises

Exercise 1

1. The circuit in Fig. 2.19 is based upon the resistor circuit in Chapter 1. Add a 1n capacitor, from the analog library, in parallel with R2.

Fig. 2.19
Fig. 2.19 RC circuit.

2. Delete the 0 V volt symbol and resimulate. A warning message will appear (Fig. 2.20) asking you to check the Session Log which is normally open at the bottom of the screen in Capture.

Fig. 2.20
Fig. 2.20 Warning message.

You may have to expand the window upwards to see the complete message. If the session log is not visible, it can be found from the top tool bar, Window > Session and should contain the following message.

WARNING [NET0129] Your design does not contain a Ground (0) net.

Your reported net number shown will be different to the earlier one. The PSpice window will then open and display the output file which will report that a number of numbered nodes are floating (see Fig. 2.21).

Fig. 2.21
Fig. 2.21 Output file reporting floating node errors.

3. In the RC circuit, reconnect the ground symbol and resimulate. There should be no errors.

Note

PSpice automatically numbers nodes to wires in your circuit unless you assign a net name to them. In the previous output file, every node is floating because node 0 has not been assigned. In PSpice as with other Spice simulation software tools, there must be a 0 V node in the circuit otherwise nodes will be reported as floating in the output file.

In the capsym library there are other ground symbols as shown in Fig. 2.22. For PSpice simulations, make sure that you select the ground symbol with the 0 showing. The other symbols can be placed in the circuit to show the difference between ground connections as long as there is a 0 V node in the circuit.

Fig. 2.22
Fig. 2.22 Ground symbols.

4. Create a bias point simulation profile based upon the initial bias point.

PSpice > New Simulation Profile or click on the icon Image 16 and enter bias for the simulation Name, see Fig. 2.23 and click on Create.

Fig. 2.23
Fig. 2.23 Creating a bias point simulation profile.

5. The dialog box in Fig. 2.24 will appear telling you that a simulation profile of the same name already exists. New projects include a default Bias Point simulation profile called Bias.

Fig. 2.24
Fig. 2.24 A simulation profile with the same name already exists.

Click on OK and Capture will automatically present you with a new name of bias1 (Fig. 2.25). Click on Create.

Fig. 2.25
Fig. 2.25 The simulation profile name is automatically incremented to bias1.

6. The simulation settings window will appear. Fig. 2.26 shows the 17.2 version of the simulation settings that has the same functionality. If not already set by default, select the Analysis type to Bias Point. Click on Apply but do not exit.

Fig. 2.26
Fig. 2.26 Setting the Bias Point analysis.

7. If you are using 17.2 or later, select the Options tab and then select Output File > General. Uncheck NOBIAS and check LIST as shown in Fig. 2.27.

Fig. 2.27
Fig. 2.27 Setting output file options in 17.2.

If you are using previous versions to 17.2; under the Options tab, select Output File in the Category: box and uncheck (NOBIAS) and check (LIST), see Fig. 2.28. Click on OK.

Fig. 2.28
Fig. 2.28 Setting output file options previous to 17.2.

8. Run the simulation. When PSpice launches, select View > Output file. The output file shows a summary of the resistors, capacitor, and voltage source used in the circuit as shown in Fig. 2.29. The output voltages and currents are not reported in the output file.

Fig. 2.29
Fig. 2.29 Summary list of circuit devices.

9. Create another new PSpice simulation profile but this time the bias point simulation settings will be inherited from the previous bias1 point simulation profile. In the New Simulation window, enter bias2 for the Name. Click on the pull down Inherit From menu as shown in Fig. 2.30, select bias1 and click on Create. In the simulation settings, you will see the Bias Point analysis is selected. Select Options > Output file and you will see LIST is checked and NOBIAS is unchecked. Close on OK to close the new simulation profile.

Fig. 2.30
Fig. 2.30 Inheriting an existing simulation profile settings.

You now have created three bias point simulation profiles, bias, bias1, and bias2.

10. If not already displayed, open the Project Manager window by either selecting, Window > < project path >RC.opj file (Fig. 2.31) or click on the icon Image 18 Image 18.

Fig. 2.31
Fig. 2.31 Selecting the Project Manager.

The Project Manager will be displayed as shown in Fig. 2.32.

Fig. 2.32
Fig. 2.32 Project Manager window.

11. In the Project Manager window, expand the PSpice Resources > Simulation Profiles. The three bias point analysis simulation profiles that have been created are listed in the Project Manager (Fig. 2.33) and are also displayed on the left-hand side of the top tool bar (Fig. 2.34) in which a pull down menu lists the simulation profiles, bias, bias1, and bias2.

Fig. 2.33
Fig. 2.33 Bias profiles listed in Project Manager.
Fig. 2.34
Fig. 2.34 List of bias profiles.

Note that bias2 is selected which appears in the Project Manager with a red icon to its left. This indicates that this is the current or active profile. You can select another profile in the pull down list or alternatively select the profile in the Project Manager and right mouse button (rmb) > Make Active.

12. Select bias1 in the pull down profile list in Fig. 2.34 and note the change in the Project Manager Simulation Profiles section. Bias1 is now the active profile.

Note

This is a useful way to switch between different profiles of different simulation settings or different analysis types.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.233.150