Professional Documents
Culture Documents
Square Wave Generator-1
Square Wave Generator-1
SQURE WAVE GENERATOR
PROJECT REPORT
SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE
AWARD OF THE DIPLOMA OF
Diploma of
(Electronics and Communication Engineering)
SUBMITTED BY
HARMANPREET KAUR (200326104044)
CANDIDATE'S DECLARATION
I hereby certify that the work which is being presented in the report entitled A
“GOVERNMENT POLYTECNIC COLLEGE FOR GIRLS, PATIALA” by
“,HARMANPREET, HARMANJOT,AMANDEEP” in partial fulfilment of
requirements for the award of diploma of (Electronics & Communication
Engineering) submitted in the Department of (Electronics & Communication
Engineering) at GOVERNMENT POLYTECHNIC COLLEGE FOR GIRLS,
PATIALA under PUNJAB TECHNICAL EDUCATION AND INDUSTRIAL
TRAINING CHANDIGARH is an authentic record of my own work carried out
during a period from 7MAY 2022 to _______under the supervision of Er.
YOGESH GARG. The matter presented in this report has not been submitted by
me in any other Board / Institute for the award of Diploma.
accepted.
Signature of Supervisor(s) Signature of External Examiner
Signature of H.O.D
ACKNOWLEDGEMENT
The authors are highly grateful to the Principal, Government Polytechnic College
for Girls, Patiala, for providing this opportunity to carry out the present report/
work
The constant guidance and encouragement received from Er. Jagdev Singh
kaleka Prof. and Head, Department of Electronics and Communication
Engineering, Patiala has been of great help in carrying out the present work and is
acknowledged with reverential thanks.
The authors would like to express a deep sense of gratitude and thanks profusely to
Er. Yogesh Garg, Lecturer, Department of Electronics and Communication
Engineering, Patiala, who was the report Supervisor. Without the wise counsel and
able guidance, it would have been impossible to complete the report in this
manner.
The author express gratitude to other faculty members of Electronics and
Communication Engineering Department GPCG Patiala for their intellectual
support throughout the course of this work.
Finally, the authors are indebted to all whosoever have contributed in this report
work and friendly stay at GPCG Patiala.
“,HARMANPREET , HARMANJOT , AMANDEEP”
CONTENTS
1.1 Background
1.2 Objective
1.3 Basic Block Diagram
2.1 resistor
2.2 capacitor
2.3 Gener diode
2.4 Op-amp
INTRODUCTION
1.1 BACKGROUND
A square wave generator is an electronics circuit witch generates square wave . this section
discusses about op-amp based square wave generators .observe that in the circuit diagram
shown below , the resistor R1 is connected between the inverting input terminal of the op-
amp and its output of op-amp .
Micheal Faraday (22nd September 1971-25th August 1867) is the father of the generator. The square
wave generator is one type of generator used to generates the waveform in a square, the Schmitt
trigger inverters like TTL are used to construct this generator. This generator is used in signal
processing and in electronics. There are different types of generators in different sizes, in that
square wave generator is one type. This article discusses an overview of the square wave generator
which includes its definition, circuit diagram, and derivation of the time period and frequency.
OBJECTIVE
This generator is used in digital signal processing and electronics application. The square wave
generator is also known as astable multivibrator or free running and the frequency of the
square wave generator is independent of the output voltage.
LIST OF COMPONENTS:--
2.1 Resistor
2.2 Capacitor
2.3 Zener diode
2.4 Op-amp
2.1 Resistor :- Resistors are passive electrical elements. This means they
cannot deliver any energy to the circuit, and instead, they receive energy
and dissipates it in the form of heat as long as a current flowing through it.
Different resistors are used in an electrical and electronic circuit to limit the
current flow or produce voltage drops. Resistors are available in many
different resistance values from fractions of Ohm (Ω) to millions of Ohms.
According to ohm’s law, the voltage (V) across a resistor is directly
proportional to the current (I) flowing through it. Where the resistance R is
the constant of proportionality.
VV
Fig : Resistor
Types of Resistors
Fixed Value Resistors. These are the predominant type of resistor configuration, and
as the name suggests, they have a fixed resistance value. ...
Variable Resistors. ...
Resistor Networks. ...
Carbon Film Resistors. ...
Metal Film Resistors. ...
Wirewound Resistors. ...
Metal Oxide Resistors. ...
Metal Strip Resistors.
Pin Configuration
Resistors have two leads, there is no polarity for a resistor and hence can
be connected in both directions. Note: This document refers only to the
carbon film resistors, since they are the most widely used ones for all
electronic projects.
.
Where to Use?
Resistors are usually added to circuits where they complement active components like op-
amps, microcontrollers, and other integrated circuits. Commonly resistors are used to limit
current, divide voltages, and pull-up I/O lines.
The resistor absorbs the electrical energy in the process where it acts as a hindrance
to the flow of electricity by reducing the voltage, and it is dissipated as heat. In
today's world of electronic circuits, the heat dissipation is typically a fraction of a watt.
Features :
Here's a brief glossary of the most important terms used when describing resistors'
characteristics.
Tolerance.
Stability.
Reliability.
Voltage Coefficient.
Noise.
Temperature Rating.
Thermal Resistance.
Temperature Coefficient of Resistance.
Applications
To generate heat
To remove electrical energy
To divide a voltage
To set a time delay
To measure temperature
To set the gain of an amplifire
To obsorb unwanted signal
2.2 Capacitor
Where to Use?
The most common use for capacitors is energy storage. Additional uses include power
conditioning, signal coupling or decoupling, electronic noise filtering, and remote sensing.
Because of its varied applications, capacitors are used in a wide range of industries and
have become a vital part of everyday life.
Features Are:
Types of Capacitors
Ceramic Capacitors.
Film Capacitors.
Power Film Capacitors.
Electrolytic Capacitors.
Ceramic capacitors.
Film capacitors.
Paper capacitors.
Electrolytic capacitors.
Pin Configuration
1.2 Capacitor
Applications of Capacitor
Energy storage. ...
Pulsed power and weapons. ...
Power conditioning. ...
Power factor correction Capacitors. ...
Capacitor Safety. ...
Hold-up capacitor applications. ...
RF coupling and decoupling applications. ...
Smoothing capacitor applications.
Working :
A capacitor is a device that is used to store charges in an electrical
circuit. A capacitor works on the principle that the capacitance of a conductor
increases appreciably when an earthed conductor is brought near it. Hence, a
capacitor has two plates separated by a distance having equal and opposite
charges. The space between the conductors may be filled by vacuum or with an
insulating material known as a dielectric. The ability of the capacitor to store charges
is known as capacitance.
Across the capacitor, an electric field appears. The positive plate will collect positive
charges from the battery, while the negative plate will collect negative charges. After
a certain stage, the capacitor’s capacitance with respect to this voltage allows it to
hold the maximum amount of charge. This time span is called the charging time of
the capacitor.
When the battery is removed from the capacitor, the two plates hold a negative and
positive charge for a certain time. Thus, the capacitor acts as a source of electrical
energy. If these plates are connected to a load, the current flows to the load from
Plate I to Plate II until all the charges are dissipated from both plates. This time span
is known as the discharging time of the capacitor.
A Zener diode is a silicon semiconductor device that permits current to flow in either
a forward or reverse direction. The diode consists of a special, heavily doped p-n
junction, designed to conduct in the reverse direction when a certain specified
voltage is reached.
The Zener diode operates just like the normal diode when in the forward-bias mode,
and has a turn-on voltage of between 0.3 and 0.7 V. However, when connected in
the reverse mode, which is usual in most of its applications, a small leakage current
may flow. As the reverse voltage increases to the predetermined breakdown voltage
(Vz), a current starts flowing through the diode. The current increases to a maximum,
which is determined by the series resistor, after which it stabilizes and remains
constant over a wide range of applied volta ge.
Figure 1: Zener diode IV characteristics
Zener breakdown
The breakdown is either due to the Zener breakdown effect that occurs below 5.5 V,
or impact ionization that occurs above 5.5 V. Both mechanisms result in the same
behavior and do not require different circuitry; however, each mechanism has a
different temperature coefficient.
The Zener effect has a negative temperature coefficient while the impact effect
experiences a positive coefficient. The two temperature effects are almost equal at
5.5 V and cancel out each other to make the Zener diodes rated at around 5.5 V the
most stable over a wide range of temperature conditions.
Voltage Vz: The Zener voltage refers to the reverse breakdown voltage—2.4
V to about 200 V; can go up to 1 kV while the maximum for the surface-
mounted device (SMD) is about 47 V).
Current Iz (max.): Maximum current at the rated Zener voltage Vz—200 uA to
200 A).
Current Iz (min.): Minimum current required for the diode to break down—5
mA and 10 mA.
Power rating: The maximum power the Zener diode can dissipate; given by
the product of voltage across the diode and the current flowing through.
Typical values are 400 mW, 500 mW, 1 W, and 5 W; for surface mounted,
200 mW, 350 mW, 500 mW, and 1 W are typical.
Voltage tolerance: Typically ±5%.
Temperature stability: Diodes around 5 V have the best stability.
Package: Leaded devices and the surface mount either as discrete devices or
within integrated circuits.
Zener resistance (Rz): The diode exhibits some resistance as evident from
the IV characteristics.
Zener diodes are used for voltage regulation, as reference elements, surge
suppressors, and in switching applications and clipper circuits.
Voltage regulator
The load voltage equals breakdown voltage VZ of the diode. The series resistor
limits the current through the diode and drops the excess voltage when the diode is
conducting.
Figure 3: Zener diode shunt regulator
If the input voltage increases to a value higher than the Zener breakdown voltage,
current flows through the diode and create a voltage drop across the resistor; this
triggers the SCR and creates a short circuit to the ground. The short circuit opens up
the fuse and disconnects the load from the supply.
Zener diodes are used to modify or shape AC waveform clipping circuits. The
clipping circuit limits or clips off parts of one or both of the half cycles of an AC
waveform to shape the waveform or provide protection.
Figure 5: Zener diode clipping circuits
2.4 OP-am :
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.
2. What an Operational Amplifier Can Do
An operational amplifier is not used alone but is designed to be connected to other
circuits to perform a great variety of operations. This article provides some typical
examples of usage of circuits with operational amplifiers.
3. Operational Amplifier Applications
As noted above, an operational amplifier is almost never used alone. By connecting
resistors or capacitors, you can configure a circuit capable of the signal amplification,
filtering or arithmetic circuit operations described in “2. What an Operational Amplifier
Can Do”.
The following describes the operations performed by the operational amplifier in the
circuit. Let’s see how an operational amplifier behaves in an amplifier circuit, taking
the example of a non-inverting amplifier circuit.
(2)Circuit examples
VOUT=(1+R2/R1)×VIN
VOUT=-R2/R1×VIN
VOUT=VIN
This is a circuit for amplifying and outputting the difference between two input
signals.
VOUT=R2/R1×(VIN2-VIN1)
4. Selecting an Operational Amplifier and
Explanation of Terms
Here, we will use the ABLIC operational amplifier S-89630A as an example of what
items to check in selecting an operational amplifier and explaining operational
amplifier attributes.
The graph on the right indicates that at a gain of one (=0dB), the maximum
frequency that amplification allows using the S-89630A is 1.2MHz and that at a gain
of 10 (=20dB), the maximum frequency is 120kHz.Make sure that the maximum
frequency you want to amplify to is within the range of the factor by which you want
to amplify.
[Current consumption]
This indicates the current value drawn from the VDD pin. The lower this value is, the
more you can reduce the power of the system. Normally, an operational amplifier
with low current consumption tends to also have low frequency of gain bandwidth.
3.2 CIRCUIT DIAGRAM OF PROJECT (14)
The circuit for square wave generators using op-amp is shown in the below one capacitor is
connected to the inverting terminal of an op-amp with one pin connected to ground and
discharging of the capacitor is also connected to the inverting terminal to output .
One voltage divider is designed using two resistor and is connected to output and ground at the
non-inverting pin .
If we force output to switch between the positive saturation voltage and the
negative saturation voltage at the output of an operational amplifier we can
achieve square wave as an output wave. Ideally without any input applied
the output should be zero, it is expressed as
V0ut ≠ 0
The Resistors R1 and R2 form a voltage divider network. If the initial output
voltage is non-zero we get voltage across Vb. Thus we get a positive input at
the non-inverting terminal and the inverting terminal, then the output gets
amplified by its gain and reaches the maximum output voltage thus we get
the half of the square wave as shown in figure (a).
Wave forms of square wave
In the figure, Square Wave Generator Circuit V2 is the voltage across the
capacitor, and V1 is the node voltage at the positive terminal. The current
through op-amp is zero because of the ideal characteristics of an op-amp.
Let us consider node equations from the circuit diagram.
V1– V0 / R2 + V1 / R1 = 0
V1 [1/R2 + 1/ R1] = V0 / R2
V1 [R1+ R2 / R1 R2] = V0 / R2
V1(α) = V0 ………… eq (1)
Let’s take
CHAPTER: 4
4.1 Advantages
The advantages of the square wave generator are
Simple
Easy to maintenance
Cheap
SUCCESS:
The overall system performs reasonably well. The user is able to carry out comfortable and
precise functions of the robotic hand through the use of a sensor based control glove. Arduino
accepts inputs from sensor and generates the proper control signals based on those inputs.
UNCERTAINTIES:
The lift capacity of servo motors on the robotic hand is limited. Replacement of current
servos with a higher torque model would allow a complete range of motion when
manipulating heavier objects.
The usable lifeline of the flex sensor seems to be limited. The sensors themselves are very
fragile and easy wear out from overuse. Careful maintenance and protection of the flex sensor
is crucial to successful operation of the system.