Docsity

Operational Amplifier Circuits and Applications - Prof. Farooq, Assignments of Electrical Engineering

Toggle sidebar
bg1
Introduction of Multisim
The simulation software is a principle capture and interaction simulation software introduced
by the US National Instrument Co., Ltd. The software has a rich component library, which
contains a large number of digital devices, supporting 51 series single-chip computers and pic
single-chip computers, and has a very complete virtual test instrument to support its
operation, mainly including universal meters, function signals, generators, oscilloscopes,
frequency meters, and so on.
The software has innovative circuit design technology, which can synchronize theoretical
teaching with experimental teaching, making the design operation be more systematic and
intuitive. At the same time, it also overcomes many obstacles and problems encountered in
electronic teaching and has obvious advantages compared with traditional education methods.
[1]
When the system carries out simulation, through the control of the single-pole double-throw
switch, the output and input logic levels can be changed. If lights are on, correspond to the
high level and if off, to the low level. Universal meter can intuitively reflect the situation of
the output voltage terminal.
2 Application of simulation in combinational logic circuit
After students master the logic function of simulation gate circuit, they can begin to learn
simulation combinational logic circuit which is an important part of digital logic and plays a
role of connecting the preceding and the following in the digital logic circuit.The knowledge
involved in combinational logic circuit is relatively extensive. During learning, students can
consolidate algebra to a great extent. Mastering the functions of combinational logic circuits
will be of great help to the following study, which will lay a foundation for the overall
cognition of electronic engineering. At the same time, it is also an exercise of students'
analytical and innovative abilities. This software can enable students to have a
comprehensive understanding of the analysis of logic circuit. The following will take the
design of a two-input NAND gate three-person voting circuit as an example to analyze its
application in combinational logic circuit.[4]
As the name implies, if there are 3 persons who vote the circuit, there should be 3 persons
who participate in the vote. The signal should be recognized as being passed before it can
work, otherwise it will be regarded as transmission failure. The 3 persons can be set to A, B
and C at first, and then they can be set logically. The logic when agreeing is set to 1, and the
logic when not agreeing is set to 0. During the operation of the software, all the output signals
should be matched to ensure the integrity of the required signals, and be judged whether to
pass or not according to the actual situation of signal transmission so as to obtain the output
logic mode (as shown in Fig. 2).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26

Partial preview of the text

Download Operational Amplifier Circuits and Applications - Prof. Farooq and more Assignments Electrical Engineering in PDF only on Docsity!

Introduction of Multisim

The simulation software is a principle capture and interaction simulation software introduced

by the US National Instrument Co., Ltd. The software has a rich component library, which

contains a large number of digital devices, supporting 51 series single-chip computers and pic

single-chip computers, and has a very complete virtual test instrument to support its

operation, mainly including universal meters, function signals, generators, oscilloscopes,

frequency meters, and so on.

The software has innovative circuit design technology, which can synchronize theoretical

teaching with experimental teaching, making the design operation be more systematic and

intuitive. At the same time, it also overcomes many obstacles and problems encountered in

electronic teaching and has obvious advantages compared with traditional education methods.

[1]

When the system carries out simulation, through the control of the single-pole double-throw

switch, the output and input logic levels can be changed. If lights are on, correspond to the

high level and if off, to the low level. Universal meter can intuitively reflect the situation of

the output voltage terminal.

2 Application of simulation in combinational logic circuit

After students master the logic function of simulation gate circuit, they can begin to learn

simulation combinational logic circuit which is an important part of digital logic and plays a

role of connecting the preceding and the following in the digital logic circuit.The knowledge

involved in combinational logic circuit is relatively extensive. During learning, students can

consolidate algebra to a great extent. Mastering the functions of combinational logic circuits

will be of great help to the following study, which will lay a foundation for the overall

cognition of electronic engineering. At the same time, it is also an exercise of students'

analytical and innovative abilities. This software can enable students to have a

comprehensive understanding of the analysis of logic circuit. The following will take the

design of a two-input NAND gate three-person voting circuit as an example to analyze its

application in combinational logic circuit.

[4]

As the name implies, if there are 3 persons who vote the circuit, there should be 3 persons

who participate in the vote. The signal should be recognized as being passed before it can

work, otherwise it will be regarded as transmission failure. The 3 persons can be set to A, B

and C at first, and then they can be set logically. The logic when agreeing is set to 1, and the

logic when not agreeing is set to 0. During the operation of the software, all the output signals

should be matched to ensure the integrity of the required signals, and be judged whether to

pass or not according to the actual situation of signal transmission so as to obtain the output

logic mode (as shown in Fig. 2).

lab

The goal of this laboratory is to learn some useful features of the Multisim simulation software and

to highlight some differences between the computations as they are done in class and the results of

Multisim simulations and benchtop experiments.

We use a guided discovery approach, in which we do pencil-and-paper computations of the circuit

outputs to gain a basic understanding of how these circuits work. In the lab, we will build the circuits

in Multisim first, to examine how they behave in simulation and identify some differences between

the computations and the simulations. Last, we build the circuits on the benchtop with hardware to

further understand how the real circuits differ from the simulated systems.

Prelab:

In exercise 1, you will work with the circuit below:

Multisim has a generic blue LED which turns on when the LED current is 5 mA. In the lab, you will

work with the blue LED you used in a previous lab (reference C503B-BCN). For the pre-lab:

1. 1) Determine the setting of the potentiometer that sets the LED current to 10 mA. What are

voltages A, B, and C for this setting of the potentiometer.

2. 2) Determine the setting of the potentiometer for which the current exceeds the maximum

current of one of the Zener diodes. Which Zener diode reaches its maximum current first

when the potentiometer resistance is decreased.

3. The waveform generator is used to represent an ac voltage source. The frequency is set to

60 Hz and the amplitude of the sine wave is set to 10 V, peak. The DF06MA diode bridge is of

the same family as the DF02 and DF04 diode bridges you used in a previous lab.

On a new sheet, assemble the op-amp amplifier circuit shown below. Use a LM 741 H op-amp. To

power the device, connect two 12 V dc supplies as shown on the diagram. Wire the middle point to

ground.

From the menu, select “place – connector – on page connector”. Drop the connector on the sheet.

Name the connector V+ and attach to the positive side of the top +12 V supply. Repeat with a second

“on page connector”. Name the connector V- and attach to the negative side of the bottom +12 V

supply.

Wire the op-amp with its 100 kΩ feedback resistor, 1 kΩ input resistor, and 10 kΩ load resistor.

Select “place connector – on page connector” one more time. After the connector is dropped on the

sheet, select to associate it to V+, then wire the connector to pin 7 of the op-amp. Repeat and use

another connector associated to V- for pin 4 of the op-amp. Using connectors in this way minimizes

the long wires connected to the power supplies of complex circuits.

Run the simulation with the waveform generator set to a frequency of 100 Hz, 1000 Hz, 10,000 Hz,

100,000 Hz. What do you observe for the amplitude of the output waveform?

Double click on the net at the output of the op-amp and note the net number. Set the preferred net

name to “output”. To capture the effect of frequency on the amplifier gain in one shot, we can use

the analysis capability of Multisim. On the menu bar, select “simulate – analyses and simulations – ac

sweep”.

Configure the frequency parameters to range from 1 Hz to 1,000,000 Hz with 100 points per decade.

Click on the output tab. Among the variables in the circuit, select V(output) and add it to the

variables for analysis. Press “run”. Multisim displays a plot of the amplitude and phase of the output

voltage as a function of frequency. Select “Cursor – show cursor” on the menu.

Use the cursor to measure the amplitude (y) of the output voltage at multiple frequencies between

100 Hz and 100 KHz. On the top menu, select “Export to Excel” to export the frequency response of

the op-amp amplifier. Save the excel sheet.

While sweeping in frequency and measuring the amplifier output would be relative straightforward

to do on the bench, other types of simulations are more difficult to do with real devices.

Replace the waveform generator at the input with a DC power supply set to deliver a voltage of 50

mV. On the menu bar, select “simulate – analyses and simulations – parameter sweep” to change

the value of the load resistor between 1 Ω and 1000 Ω. Configure the sweep to “device parameter”.

Device type to “resistor”. The resistor is the DefRes of the load (R3 in the image below). Configure

the sweep to go from 1 Ω to 1 kΩ in 101 points and to display the “DC operating point”.

Run the simulation. The graph shows the voltage output amplitude for an input of 50 mV. The

output voltage increases when the resistance increases to about 200 ohms and then stabilizes to the

expected value of ~ 5 V. Export the data to Excel. Note that the resistance for which the output

plateaus. Use the Excel sheet to compute the output current of the op-amp. What do you notice in

the relation between load resistance and output current?

B. Develop the op-amp amplifier on the benchtop

Build the op-amp amplifier circuit on your protoboard with a 10 kΩ load. Use a 741 op-amp

powered with +/- 12 volt supplies from the virtual bench device.

LAB

OBJECTIVES

 Verify Ideal Model Op-Amp Characteristics  Design, build, and test a DC Inverting Amplifier  Design, build, and test a DC Non-Inverting Amplifier  Design, build, and test a DC Summing Amplifier  Design, build, and test a DC Difference Amplifier  Design, build, and test a Buffer (Current Amplifier)  Design, build, and test a Comparator

INTRODUCTION

Operational Amplifiers or “ Op-Amps ” are important building blocks for a wide range of electronic circuits. They are among the most widely used electronic devices today with usage in a vast array of consumer, industrial, and scientific devices. The term ‘operational’ is used because they can perform all the basic arithmetic operations (addition – summing, subtraction – difference, multiplication, and division). In this lab, we will examine the characteristics of an ideal Op-Amp, build fundamental DC Operational Amplifier Feedback Circuits and see the effects of the Op-Amps on the output of those circuits. General Operational Amplifier Physical Details The circuit symbol for an Op-Amp is shown on the right in Figure 1 where: Applications

 VP : Non-Inverting Input

 VN : Inverting Input

 Vout : Output Voltage

 VCC+ : Positive Power Supply • VCC- : Negative Power Supply

Multisim DC Simulation The output voltage of an Op-Amp Circuit using only DC input voltages can be simulated quickly and easily. Once your circuit is complete, click the green arrow to run the simulation. Once the simulation is running, click on the Voltage probe button ( ) and place a probe at Vout, or any other location on the circuit where you would like to make a measurement. Initially, the probe will show much more information than is currently necessary. Double-click the probe information to bring up the window shown in Figure 6. Notice that under the Show column, almost every property starts with a Yes. Deselect all properties by clicking the checkbox at the top of the Show column, then proceed to select the desired properties. In this case, we will only need the top voltage property V. We can also change the Precision to show six significant figures.

  1. Using Table 1 and Figure P.4 , design a DC Difference Amplifier that has the following specifications:  VCC+ = +12VVCC- = -12VV 1 = 400mVV 2 = 900mVClosed Loop Voltage Gain (K) = K 1 = K 2 = 2Assume R 1 = R 2 = 10kΩ
  2. Show all general equations and design steps.
  3. Simulate your design in Multisim as described in the Introduction.
  4. Build the Inverting Amplifier according to your prelab design and Figure 1.. Note: The Op-Amp must be positioned as shown in Figure 1.2 so that the pins do not short.
  1. Set the KEYSIGHT Power Supply +25V terminals to 12V and the -25V terminals to - 12V. a. Ensure the output is OFF before attaching the power supply to the LM741. b. Connect VCC+ (pin 7) to the + 12V terminal on the power supply. c. Connect VCC- (pin 4) to the - 12V terminal on the power supply.
  2. Set the KEYSIGHT Power Supply 6V terminals to 200mV. a. Ensure the output is OFF before attaching the power supply to the LM741. b. Connect the negative terminal to the common green ground terminal on the KEYSIGHT Power Supply, tying all ground nodes together. c. Connect the positive terminal to Rin , which is then connected to VN (pin 2). d. Turn on the power supply once the circuit is fully connected.
  3. Measure VP , VN , and Vout of the Op-Amp using the DMM. Verify that the voltage gain (K) is -. a. Record all of your data in Table 1..
  4. Change the original 200mV input to 2V. What is Vout? a. Record your answer as Vout2. Discuss any limitations you find in the analysis section of your lab report.
  5. Change the input back to 200mV and substitute the feedback resistor Rf on the inverting amplifier with a resistor of large value.
  6. Measure the output and confirm that the gain corresponds to the nominal gain given by -Rf/Rin.
  7. Progressively increase the gain and measure the output. Is there a limit where the output does not change regardless of the gain?
  8. Replace the DC input voltage with a 400mVpp 10kHz sine wave using the function generator. a. Measure Vout using the oscilloscope. Does the signal invert? b. Save a screenshot from the oscilloscope showing both Vin and Vout.

depends on the values of the resistors connected to the input and the feedback paths.

The value of the gains for the two amps are given by the equations that follow.

  • AV^ =^1 +^

RF

RG

(Kennedy, 1988)

  • For an inverting amplifier, the gain is expressed as follows:
  • AV^ =

− RF

RG

(Kennedy, 1988)

  • Where RF denotes the feedback resistor and RG the input resistor
  • Two different operational amplifier circuits are utilized in performing mathematical

operations such as integration and differentiation. The op-amp that performs

numerical integration on an input signal is termed as the integrator. In contrast, the

circuit that performs mathematical differential on an input signal is known as the

differentiator. The integrator has a capacitor connected in series with the feedback

while a resistor is coupled at the input. In a differentiator, a capacitor is coupled at the

input path while the resistor connected in series with the feedback path. An

expression of the output voltage from the integrator is as shown:

  • Vout =

RC

0 t

( Vin ) dt

  • Where R is the input resistor, and C is the series capacitor in the feedback path (Tool

et al., 2020).

  • The equation gives the output voltage from the differentiator circuit:
  • Vout =

− RC ∗ dVin

dt

("Operational Amplifier | Op Amp Basics and Applications",

  • Where R is the resistor connected to the feedback path and C is the capacitor

connected in the input path.

  • A digital to analogue converter is an operational amplifier circuit that converts a

digital input voltage into an analogue output. The conversion depends on the values if

the resistors connected to the input side. The output is usually a decimal equivalent of

input voltage multiplied by the reference voltage.

o Experimental procedure

 The comparator circuit was constructed in MULTISIM software and powered by

1Vpp input signal @1kHz. Input and output voltage signals were plotted on a

Tektronix oscilloscope. The input signal voltage from the generator was changed

from 1Vpp to 0.1Vpp. Non-inverting terminal was then grounded and the input signal

voltage at the inverting input. Input and output voltage waveforms were then taken

from the oscilloscope

 Next, the buffer was then constructed in MULTISIM and 1Vpp sinusoidal voltage

applied to the non-inverting terminal. Input and output voltage waveforms were then

shown on the oscilloscope.

 Next, Non-inverting op-amp was then built in MULTISIM and a 1Vpp sinusoidal

signal applied to its non-inverting input. Input and output voltage waveforms were

then displayed on the oscilloscope.

 Next, Inverting op-amp was built in MULTISIM and a 1Vpp sinusoidal signal applied

to its inverting input. Input and output voltage waveforms were then displayed on the

oscilloscope.

 Next, differentiator and integrator circuits were built in MULTISIM. A sinusoidal and

a square waveform was applied on the inputs of the integrator and oscilloscope used

to display both input and output waveforms. A sinusoidal and triangular waveform

VCC

10V

VEE

-10V

XFG

XSC

Tektronix 1 2 3 4 T G P

Figure 1 : Voltage follower circuit built-in MULTISM software