Design - Implementation of A Digital Oscilloscope
Design - Implementation of A Digital Oscilloscope
Design - Implementation of A Digital Oscilloscope
Oscilloscope
This paper has been submitted to the department of Electrical & Electronic Engineering of
European University of Bangladesh in partial fulfillment of the requirement for the degree of
Bachelor of Science in Electrical and Electronic Engineering.
SUBMITTED BY:
SUPERVISED BY:
Md. Abdur Rahman
Lecturer
Department of Electrical and Electronic Engineering
To,
The Supervisor
Department of EEE
European University of Bangladesh
Gabtoli, Dhaka-1216.
Dear Sir,
Please find enclosed the project report entitled Design & Implementation of A Digital
Oscilloscope. The study has been carried out in partial fulfillment of the requirements for the
degree of Bachelor of Science in Electrical & Electronic Engineering.
In carrying out the study, we have followed supervisor’s advice and collected required from
several text books, reference books, web sites and other sources. I/we think you will find it useful
and informative. We would be glad to furnish you further explanations or clarifications if
required.
Sincerely yours,
………………………….
Md. Hamimur Rahman
ID: 160316088
………………………….
Shamim Al Amin
ID: 170216065
………………………….
Arun tripura
ID: 180115012
………………………….
Md. Razu Mollah
ID: 180115021
ii
Declaration
We do hereby solemnly declare that the work presented in this report entitled Design &
Implementation of A Digital Oscilloscope has been carried out by us and has not been
previously submitted to any other university, college or organization for an academic
qualification, certificate or diploma/degree.
We hereby warrant that the work that has been presented here does not breach any existing
copyright. We further undertake to indemnify the university against any loss or damage arising
from breach of the foregoing obligations.
Author/s
iii
EUROPEAN UNIVERSITY OF BANGLADESH
Certificate
This is to certify that the report entitled Design & Implementation of A Digital Oscilloscope is
the valid record of the work done by Md. Hamimur Rahman, Shamim Al Amin, Arun tripura &
Md. Razu Mollah for partial fulfillment of the requirement of the degree of B.Sc. in Electrical
and Electronic Engineering (EEE) from European University of Bangladesh.
This work has been carried out under my guidance and is a bonafide record of valid works carried
out successfully.
Faculty Guide
___________________
iv
Acknowledgement
We would like to express our greatest gratitude to the people who helped and supported me/us
throughout this work. First and foremost, we would like to thank our honorable supervisor, Md.
Abdur Rahman, Lecturer, Department of EEE, for giving me/us enormous support, advices and
valued guidance concerning this thesis.
We are grateful to Prof. Md. Hazrat Ali, honorable Chairman, Department of EEE, Faculty of
Engineering, European University of Bangladesh (EUB) for his comments, encouragement and
support.
We are grateful to my/our respected coordinator Md. Saidur Rahman, Lecturer, Department of
EEE, Faculty of Engineering, European University of Bangladesh (EUB) for kindly agreeing to
examine my thesis.
Next, we would like to thank our family and friends for their valuable support to complete this
thesis.
Finally, we would like to express our heartiest gratefulness to Almighty Allah for His heavenly
blessings. Without his blessings it would not possible to complete our work successfully.
Author/s
v
Executive Summary
The aim of this project is to understand and be able to use the basic function of an oscilloscope.
This includes the gain time base controls, triggering, AC-DC setting and voltage-time and
voltage-voltage modes. We should measure the amplitude and frequency periodic waveform and
determine the phase shift between two waveforms.
The result of this new development provides the output signal of different waveform which is
displayed on oscilloscope screen. We can move this signal left to right or right to left and up to
down or down to up as per our required. We should understand the experimental errors associated
with the use of our oscilloscope. This should give you a quick overview of the most important
features of the oscilloscope and the function generator as well as give you some practical
experience. The trainer will help you explore further if you want.
vi
Table of Contents
Letter of Transmittal II
Declaration III
Certificate IV
Acknowledgement V
Executive Summery VI
Table of Figures IX
1.1 Introduction 02
1.2 Objectives 03
3.1 Introduction 09
3.2 Hardware Implementation 09
3.3 Probes 10
3.4 Types and Models 12
3.4.1 Cathode Ray Oscilloscope 12
3.4.2 Dual Beam Oscilloscope 13
3.4.3 Analog Storage oscilloscope 13
3.4.4 Digital Oscilloscope 13
vii
3.4.5 Mixed Signal Oscilloscope 14
3.4.6 Mixed Domain Oscilloscope 14
3.4.7 Handheld Oscilloscope 15
3.5 Specifications 15
3.5.1 Bandwidth 15
3.5.2 Sample Rate 16
3.5.3 Memory Size/ Depth 17
3.5.4 Rise Time 18
3.5.5 Channels 19
3.5.6 Trigger 20
viii
Chapter 5: Results 31-35
5.1 Application 32
5.2 Advantages 32
5.3 Disadvantages 32
5.4 Experimental Results 33
6.1 Discussion 37
6.2 Conclusion 37
References 38
ix
List of Figures
Figure 3.1 Full Overview of Oscilloscope 09
Figure 3.2 Harmonic Relationship 12
Figure 3.3 Complex Signal 12
Figure 3.4 Digital Oscilloscope in Lab 13
Figure 3.5 Bandwidth 16
Figure 3.6 Sample Rate 17
Figure 3.7 Memory Depth 18
Figure 3.8 Rise Time 19
Figure 3.9 Channels 19
Figure 3.10 Trigger 20
x
Chapter 1
Introduction
11
1.1 Introduction
The digital storage oscilloscope is an instrument which gives the storage of a digital
waveform or the digital copy of the waveform. It allows us to store the signal or the
waveform in the digital format, and in the digital memory also it allows us to do the digital
signal processing techniques over that signal. The maximum frequency measured on the
digital signal oscilloscope depends upon two things they are: sampling rate of the scope
and the nature of the converter. The traces in DSO are bright, highly defined, and
displayed within seconds.
The oscilloscope can be adjusted so that repetitive signals can be displayed as persistent
waveforms on the screen. A storage oscilloscope can capture a single event and display
it continuously, so the user can observe events that would otherwise appear too briefly to
be seen directly.
Oscilloscopes are used in the sciences, medicine, engineering, automotive and the
telecommunications industry. General-purpose instruments are used for maintenance of
electronic equipment and laboratory work. Special-purpose oscilloscopes may be used to
analyze an automotive ignition system or to display the waveform of the heartbeat as
an electrocardiogram, for instance.
Early oscilloscopes used cathode ray tubes (CRTs) as their display element (hence they
were often referred to as CROs) and linear amplifiers for signal processing. Storage
oscilloscopes used special storage CRTs to maintain a steady display of a single brief
12
signal. CROs were later largely superseded by digital storage oscilloscopes (DSOs)
with thin panel displays, fast analog-to-digital converters and digital signal processors.
DSOs without integrated displays (sometimes known as digitizers) are available at lower
cost and use a general-purpose computer to process and display waveforms.
1.2 Objectives
• Upon completion of this experiment, you should understand and be able to use the
basic functions of an oscilloscope. These include the gain and time base controls,
triggering, AC/DC setting and voltage-time (y-t) and voltage-voltage (x-y) modes.
• You should be able to measure the amplitude and frequency of a periodic
waveform and to determine the phase shift between two waveforms.
• You should also understand the experimental errors associated with the use of an
oscilloscope.
13
Chapter 2
14
2.1 Literature Review
The Braun tube was known in 1897, and in 1899 Jonathan Zenneck equipped it with beam-
forming plates and a magnetic field for sweeping the trace. Early cathode ray tubes had
been applied experimentally to laboratory measurements as early as the 1920s, but suffered
from poor stability of the vacuum and the cathode emitters. V. K. Zworykin described a
permanently sealed, high-vacuum cathode ray tube with a thermionic emitter in 1931. This
stable and reproducible component allowed General Radio to manufacture an oscilloscope
that was usable outside a laboratory setting. After World War II surplus electronic parts
became the basis for the revival of HealthKit Corporation, and a $50 oscilloscope kit made
from such parts proved its premiere market success. The Cathode ray Oscilloscope
(C.R.O.) is a powerful tool used both for displaying and measuring electrical signals –
frequently ones which are varying too rapidly to be measured with a meter. The heart of an
oscilloscope is a cathode ray tube, similar to that used in a television. Electrons are emitted
by a heated filament, then focused into a beam and accelerated by a high voltage until they
strike a phosphor screen, where they give up their kinetic energy and emit a spot of light.
Voltages applied to pairs of metal plates can deflect the beam either horizontally or
vertically, so moving the spot on the screen. The oscilloscope is sensitive to external
voltages, which are connected to internal amplifiers via sockets on the front panel. The
primary use of an oscilloscope is to display the variation of one or two signals with time.
The vertical axis then displays a voltage while the horizontal one shows time. The scale of
the two axes is set by the gain and time-base controls. In order to obtain a steady state
display for a repetitive signal, the time-base may be synchronized to one of the input
signals. This is achieved using the trigger controls. A second mode of operation is known
as x-y display in which the voltage applied to one input is displayed as a function of the
voltage applied to the second input. In 1897, Karl Ferdinand Brawn invented an
oscilloscope. We know about the cathode ray oscilloscope which is used for the display
and analysis of different types of waveforms of electronic signals in the electronics and
electrical circuits. The DSO is also one type of oscilloscope, used to display the waveform,
but the difference between CRO and DSO is that in DSO, the digital signal is converted
into analog and that analog signal will be displayed on the screen of the digital storage
oscilloscope. In the conventional CRO, there is no procedure for the storage of the
15
waveform but in DSO, there is a digital memory that is going to store the digital copy of
the waveform. A brief explanation about DSO is explained below.
2.2 Methodology
An analog oscilloscope is typically divided into four sections: the display, vertical controls,
horizontal controls and trigger controls. The display is usually a CRT with horizontal and
vertical reference lines called the graticule. CRT displays also have controls for focus,
intensity, and beam finder.
The vertical section controls the amplitude of the displayed signal. This section has a volts-
per-division (Volts/Div) selector knob, an AC/DC/Ground selector switch, and the vertical
(primary) input for the instrument. Additionally, this section is typically equipped with the
vertical beam position knob.
The horizontal section controls the time base or "sweep" of the instrument. The primary
control is the Seconds-per-Division (Sec/Div) selector switch. Also included is a horizontal
input for plotting dual X-Y axis signals. The horizontal beam position knob is generally
located in this section.
The trigger section controls the start event of the sweep. The trigger can be set to
automatically restart after each sweep, or can be configured to respond to an internal or
external event. The principal controls of this section are the source and coupling selector
switches, and an external trigger input (EXT Input) and level adjustment.
In addition to the basic instrument, most oscilloscopes are supplied with a probe. The probe
connects to any input on the instrument and typically has a resistor of ten times the
oscilloscope's input impedance. This results in a .1 (-10X) attenuation factor; this helps to
isolate the capacitive load presented by the probe cable from the signal being measured.
Some probes have a switch allowing the operator to bypass the resistor when appropriate.
Most modern oscilloscopes are lightweight, portable instruments compact enough for a
single person to carry. In addition to portable units, the market offers a number of miniature
battery-powered instruments for field service applications. Laboratory grade oscilloscopes,
16
especially older units that use vacuum tubes, are generally bench-top devices or are
mounted on dedicated carts. Special-purpose oscilloscopes may be rack-mounted or
permanently mounted into a custom instrument housing.
17
Chapter 3
18
3.1 Introduction
A digital storage oscilloscope (DSO) is an oscilloscope which stores and analyses the
input signal digitally rather than using analog techniques. It is now the most common type
of oscilloscope in use because of the advanced trigger, storage, display and measurement
features which it typically provides.
The input analogue signal is sampled and then converted into a digital record of the
amplitude of the signal at each sample time. The sampling frequency should be not less
than the Nyquist rate to avoid aliasing. These digital values are then turned back into an
analogue signal for display on a cathode ray tube (CRT), or transformed as needed for the
various possible types of output—liquid crystal display, chart recorder, plotter or network
interface.
The signal to be measured is fed to one of the input connectors, which is usually a coaxial connector
such as a BNC or UHF type. Binding posts or banana plugs may be used for lower frequencies. If
19
the signal source has its own coaxial connector, then a simple coaxial cable is used; otherwise, a
specialized cable called a "scope probe", supplied with the oscilloscope, is used. In general, for
routine use, an open wire test lead for connecting to the point being observed is not satisfactory,
and a probe is generally necessary. General-purpose oscilloscopes usually present an input
impedance of 1 megohm in parallel with a small but known capacitance such as 20 picofarads. This
allows the use of standard oscilloscope probes. Scopes for use with very high frequencies may have
50-ohm inputs. These must be either connected directly to a 50-ohm signal source or used with
Z0 or active probes.
Less-frequently-used inputs include one (or two) for triggering the sweep, horizontal
deflection for X-Y mode displays, and trace brightening/darkening, sometimes
called z'-axis inputs.
3.3 Probes:
Open wire test leads (flying leads) are likely to pick up interference, so they are not suitable
for low level signals. Furthermore, the leads have a high inductance, so they are not suitable
for high frequencies. Using a shielded cable (i.e., coaxial cable) is better for low level
signals. Coaxial cable also has lower inductance, but it has higher capacitance: a typical
50-ohm cable has about 90 pF per meter. Consequently, a one-meter direct (1X) coaxial
probe loads a circuit with a capacitance of about 110 pF and a resistance of 1 megohm.
To minimize loading, attenuator probes (e.g., 10X probes) are used. A typical probe uses a
9 megohm series resistor shunted by a low-value capacitor to make an RC compensated
divider with the cable capacitance and scope input. The RC time constants are adjusted to
match. For example, the 9 megohm series resistor is shunted by a 12.2 pF capacitor for a
time constant of 110 microseconds. The cable capacitance of 90 pF in parallel with the
scope input of 20 pF and 1 megohm (total capacitance 110 pF) also gives a time constant
of 110 microseconds. In practice, there is an adjustment so the operator can precisely match
the low frequency time constant (called compensating the probe). Matching the time
constants makes the attenuation independent of frequency. At low frequencies (where the
resistance of R is much less than the reactance of C), the circuit looks like a resistive
divider; at high frequencies (resistance much greater than reactance), the circuit looks like
a capacitive divider.
The result is a frequency compensated probe for modest frequencies. It presents a load of
about 10 megohms shunted by 12 pF. Such a probe is an improvement, but does not work
well when the time scale shrinks to several cable transit times or less (transit time is
typically 5 ns). In that time frame, the cable looks like its characteristic impedance, and
reflections from the transmission line mismatch at the scope input and the probe causes
ringing. The modern scope probe uses lossy low capacitance transmission lines and
sophisticated frequency shaping networks to make the 10X probe perform well at several
20
hundred megahertz. Consequently, there are other adjustments for completing the
compensation.
Probes with 10:1 attenuation are by far the most common; for large signals (and slightly-
less capacitive loading), 100:1 probe may be used. There are also probes that contain
switches to select 10:1 or direct (1:1) ratios, but the latter setting has significant capacitance
(tens of pF) at the probe tip, because the whole cable's capacitance is then directly
connected.
Most oscilloscopes provide for probe attenuation factors, displaying the effective
sensitivity at the probe tip. Historically, some auto-sensing circuitry used indicator lamps
behind translucent windows in the panel to illuminate different parts of the sensitivity scale.
To do so, the probe connectors (modified BNCs) had an extra contact to define the probe's
attenuation. (A certain value of resistor, connected to ground, "encodes" the attenuation.)
Because probes wear out, and because the auto-sensing circuitry is not compatible between
different oscilloscopes makes, auto-sensing probe scaling is not foolproof. Likewise,
manually setting the probe attenuation is prone to user error. Setting the probe scaling
incorrectly is a common error, and throws the reading off by a factor of 10.
Special high voltage probes form compensated attenuators with the oscilloscope input.
These have a large probe body, and some require partly filling a canister surrounding the
series resistor with volatile liquid fluorocarbon to displace air. The oscilloscope end has a
box with several waveform-trimming adjustments. For safety, a barrier disc keeps the user's
fingers away from the point being examined. Maximum voltage is in the low tens of kV.
(Observing a high voltage ramp can create a staircase waveform with steps at different
points every repetition, until the probe tip is in contact. Until then, a tiny arc charges the
probe tip, and its capacitance holds the voltage (open circuit). As the voltage continues to
climb, another tiny arc charges the tip further.)
There are also current probes, with cores that surround the conductor carrying current to
be examined. One type has a hole for the conductor, and requires that the wire be passed
through the hole for semi-permanent or permanent mounting. However, other types, used
for temporary testing, have a two-part core that can be clamped around a wire. Inside the
probe, a coil wound around the core provides a current into an appropriate load, and the
voltage across that load is proportional to current. This type of probe only senses AC.
A more-sophisticated probe includes a magnetic flux sensor (Hall effect sensor) in the
magnetic circuit. The probe connects to an amplifier, which feeds (low frequency) current
into the coil to cancel the sensed field; the magnitude of the current provides the low-
frequency part of the current waveform, right down to DC. The coil still picks up high
frequencies. There is a combining network akin to a loudspeaker crossover.
21
3.4 Types and models
The following section is a brief summary of various types and models available. For a
detailed discussion, refer to the other article.
For analog television, an analog oscilloscope can be used as a vectors cope to analyze
complex signal properties, such as this display of SMPTE color bars.
The earliest and simplest type of oscilloscope consisted of a cathode ray tube, a
vertical amplifier, a time base, a horizontal amplifier and a power supply. These are now
called "analog" scopes to distinguish them from the "digital" scopes that became common
in the 1990s and later.
Analog scopes do not necessarily include a calibrated reference grid for size measurement
of waves, and they may not display waves in the traditional sense of a line segment
sweeping from left to right. Instead, they could be used for signal analysis by feeding a
reference signal into one axis and the signal to measure into the other axis. For an
oscillating reference and measurement signal, this results in a complex looping pattern
22
referred to as a Lissajous curve. The shape of the curve can be interpreted to identify
properties of the measurement signal in relation to the reference signal, and is useful across
a wide range of oscillation frequencies.
The dual-beam analog oscilloscope can display two signals simultaneously. A special dual-
beam CRT generates and deflects two separate beams. Multi-trace analog oscilloscopes
can simulate a dual-beam display with chop and alternate sweeps—but those features do
not provide simultaneous displays. (Real time digital oscilloscopes offer the same benefits
of a dual-beam oscilloscope, but they do not require a dual-beam display.) The
disadvantages of the dual trace oscilloscope are that it cannot switch quickly between
traces, and cannot capture two fast transient events. A dual beam oscilloscope avoids those
problems.
Trace storage is an extra feature available on some analog scopes; they used direct-view
storage CRTs. Storage allows a trace pattern that normally would decay in a fraction of a
second to remain on the screen for several minutes or longer. An electrical circuit can then
be deliberately activated to store and erase the trace on the screen.
While analog devices use continually varying voltages, digital devices use numbers that
correspond to samples of the voltage. In the case of digital oscilloscopes, an analog-to-
digital converter (ADC) changes the measured voltages into digital information.
23
The digital storage oscilloscope, or DSO for short, is the standard type of oscilloscope
today for the majority of industrial applications, and thanks to the low costs of entry-level
oscilloscopes even for hobbyists. It replaces the electrostatic storage method in analog
storage scopes with digital memory, which stores sample data as long as required without
degradation and displays it without the brightness issues of storage-type CRTs. It also
allows complex processing of the signal by high-speed digital signal processing circuits.
A standard DSO is limited to capturing signals with a bandwidth of less than half the
sampling rate of the ADC (called the Nyquist limit). There is a variation of the DSO called
the digital sampling oscilloscope which can exceed this limit for certain types of signals,
such as high-speed communications signals, where the waveform consists of repeating
pulses. This type of DSO deliberately samples at a much lower frequency than the Nyquist
limit and then uses signal processing to reconstruct a composite view of a typical pulse.
A mixed-signal oscilloscope (or MSO) has two kinds of inputs, a small number of analog
channels (typically two or four), and a larger number of digital channels (typically sixteen).
It provides the ability to accurately time-correlate analog and digital channels, thus offering
a distinct advantage over a separate oscilloscope and logic analyser. Typically, digital
channels may be grouped and displayed as a bus with each bus value displayed at the
bottom of the display in hex or binary. On most MSOs, the trigger can be set across both
analog and digital channels.
24
3.4.7 Handheld oscilloscopes
Handheld oscilloscopes are useful for many test and field service applications. Today, a
hand-held oscilloscope is usually a digital sampling oscilloscope, using a liquid
crystal display.
Many hand-held and bench oscilloscopes have the ground reference voltage common to all
input channels. If more than one measurement channel is used at the same time, all the
input signals must have the same voltage reference, and the shared default reference is the
"earth". If there is no differential preamplifier or external signal isolator, this traditional
desktop oscilloscope is not suitable for floating measurements. (Occasionally an
oscilloscope user breaks the ground pin in the power supply cord of a bench-top
oscilloscope in an attempt to isolate the signal common from the earth ground. This practice
is unreliable since the entire stray capacitance of the instrument cabinet connects into the
circuit. It is also a hazard to break a safety ground connection, and instruction manuals
strongly advise against it.)
Some models of oscilloscope have isolated inputs, where the signal reference level
terminals are not connected together. Each input channel can be used to make a "floating"
measurement with an independent signal reference level. Measurements can be made
without tying one side of the oscilloscope input to the circuit signal common or ground
reference.
3.5 Specifications
With this article, you will learn the meaning of the most important specifications of an
oscilloscope in a simple and practical way.
The technical specifications of an oscilloscope can easily fill several pages in table format.
Similar to when you are looking for a new car or a new computer, you should focus on
what is important first, because the details matter a lot less. Your objective is to find an
oscilloscope that fits your budget, and allows you to measure the things that you want to
measure. Oscilloscope specifications can be daunting.
3.5.1 Bandwidth
Probably the most important specification of an oscilloscope is its bandwidth. The
bandwidth of the scope governs the maximum frequency of the signal that it can capture
and analyze.
25
As the frequency of the signal gets closer to the maximum frequency that the oscilloscope
can work with, its accuracy drops.
The bandwidth of the scope governs the maximum frequency of the signal that it can
capture and analyze. To figure out what bandwidth your oscilloscope should be, use the
rule of 5:"figure out what is the highest frequency in a test signal you’d like to measure,
and multiply it by 5."That’s your oscilloscope bandwidth. For example, if you want to work
with an at its’ maximum 20MhZ clock speed, you will need an oscilloscope that is rated at
100MhZ. Beware though that this is the Arduino internal clock speed. If you want to work
with Arduino PWM signals, then their frequency is just 490 Hz. Or if you want to work
with I2C communications between an Arduino and a sensor, you will typically work at
100KHz. So, you can see that even at 20Mhz or 50Mhz of bandwidth, your oscilloscope is
perfectly capable to work with most of the kind of signals you are likely to encounter.
3.5.2 Sample rate
The next important specification of an oscilloscope is its sample rate. The sample rate is
the number of samples that the oscilloscope is capable of capturing per second. Obviously,
the more, the better. But higher sample rates require more and faster memory to store, and
faster electronics and processor to capture and process, driving up the price of the
instrument.
26
Figure 3.6: Sample Rate
The sample rate is the number of samples that the oscilloscope is capable of capturing per
second.
As with the bandwidth and other technical decisions we are often called to make, we need
to choose an instrument with a sample rate that is good enough for our purposes.
A rule of thumb is to multiply the highest frequency you are likely to encounter in your
work with the oscilloscope, and multiply by 2.5.
For example, if you want to work with an I2C signal at 100KHz, multiplying this frequency
by 2.5 will give you a sample rate of 250,000 samples per second. Most digital
oscilloscopes these days can easily handle this.
27
Figure 3.7: Memory Depth
Manufacturers report the memory size of their oscilloscopes using the term “memory
depth”, and instead of using the regular byte unit, they use the “points” unit.
Of course, memory depth and sample rate go hand in hand. As the sample rate increases,
the oscilloscope will need a larger memory to be able to record events that take place within
a unit of time.
This about this: Say you want to record a waveform as it changes within 1 second. If your
sample rate is 1000 samples per second, then you will need a memory with depth of 1000
points to store all samples. But if your oscilloscope is double as fast and can sample at 2000
samples per second, then you will need a memory depth of 2000 sample to do a full
recording for the 1 second event.
Because of the close relation between the sample rate and the memory depth, modern
oscilloscopes will automatically manage the sample rate depending on the time scale you
have chosen so that the available memory is always filled.
3.5.4 Rise time
The Rise time of an oscilloscope describes the ability of the instrument to detect and
capture rapidly rising and falling signals. This is particularly important when we work with
square waves that have very sharp edges. A square wave can rise from 0V to 5V within
nanoseconds.
28
Figure 3.8: Rise Time
The Rise time of an oscilloscope describes the ability of the instrument to detect and
capture rapidly rising and falling signals.
For the oscilloscope to be able to display the waveform of such signal precisely, it must be
able to detect such rapid changes.
For example, my oscilloscope has a rise time of 5 nano seconds, which means that the
fastest rise time it can detect is 5 nano seconds.
3.5.5 Channels
Oscilloscopes typically offer 2 or 4 channels.
Each channel has a separate connector where you can attach a probe, and through this probe
to monitor a signal.
3.5.6 Trigger
The trigger of an oscilloscope is fundamental to its operation. The trigger is the mechanism
through which the oscilloscope can recognize a specific attribute of the input signal. Based
on this attribute, the oscilloscope can achieve synchronization.
You know that the oscilloscope is in synch when the graphical representation of the signal
on the screen is clear and stable.
30
Chapter 4
System Design
31
4.1 Block Diagram
In this chapter, we are going to explain the system design construction through hardware
and development of software. the block diagram of the digital storage oscilloscope consists
of an amplifier, digitizer, memory, analyzer circuitry. Waveform reconstruction, vertical
plates, horizontal plates, cathode ray tube (CRT), horizontal amplifier, time base circuitry,
trigger, and clock. The block diagram of the digital storage oscilloscope is shown in the
below figure.
The As seen in the above figure, at first digital storage oscilloscope digitizes the analog
input signal, then the analog input signal is amplified by amplifier if it has any weak signal.
After amplification, the signal is digitized by the digitizer and that digitized signal stores
in memory. The analyzer circuit process the digital signal after that the waveform is
reconstructed (again the digital signal is converted into an analog form) and then that signal
is applied to vertical plates of the cathode ray tube (CRT).
The cathode ray tube has two inputs they are vertical input and horizontal input. The
vertical input signal is the ‘Y’ axis and the horizontal input signal is the ‘X’ axis. The time
base circuit is triggered by the trigger and clock input signal, so it is going to generate the
time base signal which is a ramp signal. Then the ramp signal is amplified by the horizontal
amplifier, and this horizontal amplifier will provide input to the horizontal plate. On the
CRT screen, we will get the waveform of the input signal versus time.
The digitizing occurs by taking a sample of the input waveform at periodic intervals. At
the periodic time interval means, when half of the time cycle is completed then we are
32
taking the samples of the signal. The process of digitizing or sampling should follow the
sampling theorem. The sampling theorem says that the rate at which the samples are taken
should be greater than twice the highest frequency present in the input signal. When the
analog signal is not properly converted into digital then there occurs an aliasing effect.
When the analog signal is properly converted into digital then the resolution of the A/D
converter will be decreased. When the input signals stored in analog store registers can be
read out at a much slower rate by the A/D converter, then the digital output of the A/D
converter stored in the digital store, and it allows operation up to 100 mega samples per
second. This is the working principle of a digital storage oscilloscope.
In A simplified block diagram of a digital storage oscilloscope is shown below. The input
circuitry of the DSO and probes used for the measurement are the same as the conventional
oscilloscopes. The input is attenuated and amplified with the input amplifiers as in any
oscilloscope. This is done to scale the input signal so that the dynamic range of the A/D
converter can be utilized maximally. Many DSOs can also operate in a conventional mode,
bypassing the digitizing and storing features. The output of the input amplifier drives the
trigger circuit that provides signal to the control logic. It is also sampled under the control
33
of the control logic. The sample and hold circuit take the sample and stores it as a charge
on a capacitor. Hence, the value of the signal is kept constant during the analog to digital
conversion. The analog to digital converter (A/D) generates a binary code related to the
magnitude of the sampled signal. The speed of the A/D converter is important and “flash”
converters are mostly used. The binary code from the A/D converter is stored in the
memory. The memory consists of a bank of random-access memory (RAM) integrated
circuits (ICs).
4.2.3 Astigmatism
This control may instead be called "shape" or "spot shape". It adjusts the voltage on the
last CRT anode (immediately next to the Y deflection plates). For a circular spot, the final
anode must be at the same potential as both of the Y-plates (for a centered spot the Y-plate
voltages must be the same). If the anode is made more positive, the spot becomes elliptical
in the X-plane as the more negative Y-plates will repel the beam. If the anode is made more
negative, the spot becomes elliptical in the Y-plane as the more positive Y-plates will
attract the beam. This control may be absent from simpler oscilloscope designs or may
even be an internal control. It is not necessary with flat panel displays.
34
4.2.4 Beam finder
Modern oscilloscopes have direct-coupled deflection amplifiers, which means the trace
could be deflected off-screen. They also might have their beam blanked without the
operator knowing it. To help in restoring a visible display, the beam finder circuit overrides
any blanking and limits the beam deflected to the visible portion of the screen. Beam-finder
circuits often distort the trace while activated.
4.2.5 Graticule
The graticule is a grid of lines that serve as reference marks for measuring the displayed
trace. These markings, whether located directly on the screen or on a removable plastic
filter, usually consist of a 1 cm grid with closer tick marks (often at 2 mm) on the centre
vertical and horizontal axis. One expects to see ten major divisions across the screen; the
number of vertical major divisions varies. Comparing the grid markings with the waveform
permits one to measure both voltage (vertical axis) and time (horizontal axis). Frequency
can also be determined by measuring the waveform period and calculating its reciprocal.
On old and lower-cost CRT oscilloscopes the graticule is a sheet of plastic, often with light-
diffusing markings and concealed lamps at the edge of the graticule. The lamps had a
brightness control. Higher-cost instruments have the graticule marked on the inside face of
the CRT, to eliminate parallax errors; better ones also had adjustable edge illumination
with diffusing markings. (Diffusing markings appear bright.) Digital oscilloscopes,
however, generate the graticule markings on the display in the same way as the trace.
External graticules also protect the glass face of the CRT from accidental impact. Some
CRT oscilloscopes with internal graticules have an unmarked tinted sheet plastic light filter
to enhance trace contrast; this also serves to protect the faceplate of the CRT.
Accuracy and resolution of measurements using a graticule is relatively limited; better
instruments sometimes have movable bright markers on the trace. These permit internal
circuits to make more refined measurements.
Both calibrated vertical sensitivity and calibrated horizontal time are set in 1 – 2 – 5 –
10 steps. This leads, however, to some awkward interpretations of minor divisions.
35
Digital oscilloscopes generate the graticule digitally. The scale, spacing, etc., of the
graticule can therefore be varied, and accuracy of readings may be improved.
36
Often the observed signal is offset by a steady component, and only the changes are of
interest. An input coupling switch in the "AC" position connects a capacitor in series with
the input that blocks low-frequency signals and DC. However, when the signal has a fixed
offset of interest, or changes slowly, the user will usually prefer "DC" coupling, which
bypasses any such capacitor. Most oscilloscopes offer the DC input option. For
convenience, to see where zero volts input currently shows on the screen, many
oscilloscopes have a third switch position (usually labeled "GND" for ground) that
disconnects the input and grounds it. Often, in this case, the user centers the trace with the
vertical position control. Better oscilloscopes have a polarity selector. Normally, a positive
input moves the trace upward; the polarity selector offers an "inverting" option, in which a
positive-going signal deflects the trace downward.
37
4.2.11 Horizontal position control
38
Some Philips dual-trace analog oscilloscopes had a fast analog multiplier, and provided a
display of the product of the input channels.
Multiple-trace oscilloscopes have a switch for each channel to enable or disable display of
the channel's trace.
39
Chapter 5
40
5.1 Experimental Results
In this part of this proposal we discuss about our project output results.
41
Figure 5.3: AC hum on sound
42
Figure 5.6: Sum of low frequency and High frequency
43
Chapter 6
Conclusion
44
6.1 Applications
The applications of the DSO are
• It checks faulty components in circuits
• Used in the medical field
• Used to measure capacitor, inductance, time interval between signals, frequency
and time period
• Used to observe transistors and diodes V-I characteristics
• Used to analyze TV waveforms
• Used in video and audio recording equipment’s
• Used in designing
• Used in the research field
• For comparison purpose, it displays 3D figure or multiple waveforms
• It is widely used an oscilloscope
6.2 Advantages
The advantages of the DSO are
• Portable
• Have the highest bandwidth
• The user interface is simple
• Speed is high
6.3 Disadvantages
The disadvantages of the DSO are
• Complex
• High cost
45
6.4 Conclusion
This paper elaborates the design and construction of a digital oscilloscope. This should
give us a quick overview of the most important features of the oscilloscope and the function
generator as well as give us some practical experience.
46
REFERENCES
[1] How the Cathode Ray Oscillograph Is Used in Radio Servicing Archived 2013-05-24 at
the Wayback Machine, National Radio Institute (1943)
[2] "Cathode-Ray Oscillograph 274A Equipment DuMont Labs, Allen B" (in German).
Radiomuseum.org. Archived from the original on 2014-02-03. Retrieved 2014-03-15.
[3] Jump up to: Kularatna, Nihal (2003), "Fundamentals of Oscilloscopes", Digital and
Analogue Instrumentation: Testing and Measurement, Institution of Engineering and
Technology, pp. 165–208, ISBN 978-0-85296-999-1
[5] The 20 picofarad value is typical for scope bandwidths around 100 MHz; for example, a
200 MHz Tektronix 7A26 input impedance is 1M and 22 pF. (Tektronix (1983, p. 271);
see also Tektronix (1998, p. 503), "typical high Z 10X passive probe model".) Lower
bandwidth scopes used higher capacitances; the 1 MHz Tektronix 7A22 input impedance
is 1M and 47 pF. (Tektronix 1983, pp. 272–273) Higher bandwidth scopes use smaller
capacitances. The 500 MHz Tektronix TDS510A input impedance is 1M and 10 pF.
(Tektronix 1998, p. 78)
[6] Probes are designed for a specific input impedance. They have compensation adjustments
with a limited range, so they often cannot be used on different input impedances.
[9] Tektronix (1983, p. 426); Tek claims 300 MHz resistive coax at 30 pF per meter; schematic
has 5 adjustments.
[11] Jones, David. "Oscilloscope Trigger Holdoff Tutorial". EEVblog. Archived from the
original on 28 January 2013. Retrieved 30 December 2012.
[12] Nosowitz, Dan (2008-11-08). "'Tennis for Two', the World's First Graphical
Videogame". Retromodo. Gizmodo. Archived from the original on 2008-12-07.
Retrieved 2008-11-09.
[13] Jump up to:a b Webster, John G. (1999). The Measurement, Instrumentation and Sensors
Handbook (illustrated ed.). Springer. pp. 37–24. ISBN 978-3540648307.
47
[14] Spitzer, Frank; Howarth, Barry (1972), Principles of modern Instrumentation, New York:
Holt, Rinehart and Winston, p. 119 , ISBN 0-03-080208-3
[15] "Archived copy" (PDF). Archived (PDF) from the original on 2015-04-02.
Retrieved 2015-03-20.
[16] Jones, David. "DSO Tutorial". EEVblog. Archived from the original on 28 January 2013.
Retrieved 30 December 2012.
[18] Green, Leslie (June 21, 2001), "The alias theorems: practical undersampling for expert
engineers", EDN, archived from the original on 20 June 2013, retrieved 11 October 2012
48