[go: up one dir, main page]

100% found this document useful (1 vote)
313 views12 pages

Matlab Project For Simple Op-Amp Circuit

This document discusses operational amplifiers and their use in inverting and non-inverting circuits. It provides the basic structure of an op-amp, equations to calculate output voltage for inverting and non-inverting circuits, and MATLAB code and results analyzing the behavior of these circuits with DC and AC input voltages. Figures and equations are included to illustrate op-amp concepts.

Uploaded by

Hào Văn Trí
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
313 views12 pages

Matlab Project For Simple Op-Amp Circuit

This document discusses operational amplifiers and their use in inverting and non-inverting circuits. It provides the basic structure of an op-amp, equations to calculate output voltage for inverting and non-inverting circuits, and MATLAB code and results analyzing the behavior of these circuits with DC and AC input voltages. Figures and equations are included to illustrate op-amp concepts.

Uploaded by

Hào Văn Trí
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

HCM City 2021

TABLE OF CONTENTS

Introduction on Op-Amp............................................................................................3
Inverting Op-Amp Circuits 4
Non-Inverting Op-Amp Circuits5
MATLAB Source Code and Result............................................................................6

1
A. Introduction on Op-Amp
An operational amplifier is an integrated circuit that can amplify weak
electric signals.
An operational amplifier has two input pins and one output pin. Its basic
role is to amplify and output the voltage difference between the two input pins.

Figure 1.1: Op Amp basic structure

In this report, we use the Op-Amp circuit and its characteristics to calculate
the output voltage value with input voltage value, R¿ value, R f value and the
frequency of the function given.

2
B. Inverting Op-Amp Circuits:

Figure 1.2: Inverting Op-Amp Circuit

The operational amplifier inverting input is marked by a "-" sign on the


circuit diagram. A positive voltage applied to the inverting input will produce
a negative swing at the output. Thus any voltage source was applied to the
inverting input, will appear inverted at the output.
The output voltage will be calculated by the formula:
−R f
V out = V
R¿ ¿

3
C. Non-inverting Op-Amp Circuits:

Figure1.3: Non-inverting Op-Amp Circuit

The operational amplifier non-inverting input is marked by a "+" sign on


the circuit diagram. It is found that a positive voltage applied to the non-
inverting input will produce a positive swing at the output. If a voltage source
is applied to the non-inverting input, then it will appear in the same sense at the
output. It has not been inverted.
The output voltage will be calculated by the formula:
V out =¿

4
D. MATLAB Source Code and Result:

5
6
7
8
9
 Results:
 With DC input voltage:
o Inverting Op-Amp:

Figure1.4: DC input voltage and inverting Op-Amp

o Non-inverting Op-Amp:

10
Figure1.5: DC input voltage and Non-inverting Op-Amp

 With AC input voltage:


o Inverting Op-Amp:

Figure1.6: AC input voltage and Inverting Op-Amp


o Non-Inverting Op-Amp:

11
Figure1.7: AC input voltage and Non-inverting Op-Amp

12

You might also like