Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

The Oscilloscope

Status
Not open for further replies.

ElectroMaster

Administrator
The oscilloscope is basically a graph-displaying device - it draws a graph of an electrical signal. In most applications the graph shows how signals change over time: the vertical (Y) axis represents voltage and the horizontal (X) axis represents time. The intensity or brightness of the display is sometimes called the Z axis. (See Figure 1.) This simple graph can tell you many things about a signal. Here are a few:
  • You can determine the time and voltage values of a signal.
  • You can calculate the frequency of an oscillating signal.
  • You can see the "moving parts" of a circuit represented by the signal.
  • You can tell if a malfunctioning component is distorting the signal.
  • You can find out how much of a signal is direct current (DC) or alternating current (AC).
  • You can tell how much of the signal is noise and whether the noise is changing with time.
the_oscilloscope_1.gif

Figure 1: X, Y, and Z Components of a Displayed Waveform

An oscilloscope looks a lot like a small television set, except that it has a grid drawn on its screen and more controls than a television. The front panel of an oscilloscope normally has control sections divided into Vertical, Horizontal, and Trigger sections. There are also display controls and input connectors. See if you can locate these front panel sections in Figures 2 and 3 and on your oscilloscope.

the_oscilloscope_2.gif

Figure 2: The TAS 465 Analog Oscilloscope Front Panel

the_oscilloscope_3.gif

Figure 3: The TDS 320 Digital Oscilloscope Front Panel

What Can You Do With It?

Oscilloscopes are used by everyone from television repair technicians to physicists. They are indispensable for anyone designing or repairing electronic equipment.
The usefulness of an oscilloscope is not limited to the world of electronics. With the proper transducer, an oscilloscope can measure all kinds of phenomena. A transducer is a device that creates an electrical signal in response to physical stimuli, such as sound, mechanical stress, pressure, light, or heat. For example, a microphone is a transducer.

An automotive engineer uses an oscilloscope to measure engine vibrations. A medical researcher uses an oscilloscope to measure brain waves. The possibilities are endless.

the_oscilloscope_4.gif

Figure 4: Scientific Data Gathered by an Oscilloscope

Analog and Digital

Electronic equipment can be divided into two types: analog and digital. Analog equipment works with continuously variable voltages, while digital equipment works with discrete binary numbers that may represent voltage samples. For example, a conventional phonograph turntable is an analog device; a compact disc player is a digital device.
Oscilloscopes also come in analog and digital types. An analog oscilloscope works by directly applying a voltage being measured to an electron beam moving across the oscilloscope screen. The voltage deflects the beam up and down proportionally, tracing the waveform on the screen. This gives an immediate picture of the waveform.

In contrast, a digital oscilloscope samples the waveform and uses an analog-to-digital converter (or ADC) to convert the voltage being measured into digital information. It then uses this digital information to reconstruct the waveform on the screen.

the_oscilloscope_5.gif

Figure 5: Digital and Analog Oscilloscopes Display Waveforms

For many applications either an analog or digital oscilloscope will do. However, each type does possess some unique characteristics making it more or less suitable for specific tasks.

People often prefer analog oscilloscopes when it is important to display rapidly varying signals in "real time" (or as they occur).

Digital oscilloscopes allow you to capture and view events that may happen only once. They can process the digital waveform data or send the data to a computer for processing. Also, they can store the digital waveform data for later viewing and printing.

How Does an Oscilloscope Work?

To better understand the oscilloscope controls, you need to know a little more about how oscilloscopes display a signal. Analog oscilloscopes work somewhat differently than digital oscilloscopes. However, several of the internal systems are similar. Analog oscilloscopes are somewhat simpler in concept and are described first, followed by a description of digital oscilloscopes.

Analog Oscilloscopes

When you connect an oscilloscope probe to a circuit, the voltage signal travels through the probe to the vertical system of the oscilloscope. Figure 6 is a simple block diagram that shows how an analog oscilloscope displays a measured signal.

the_oscilloscope_6.gif

Figure 6: Analog Oscilloscope Block Diagram

Depending on how you set the vertical scale (volts/div control), an attenuator reduces the signal voltage or an amplifier increases the signal voltage.

Next, the signal travels directly to the vertical deflection plates of the cathode ray tube (CRT). Voltage applied to these deflection plates causes a glowing dot to move. (An electron beam hitting phosphor inside the CRT creates the glowing dot.) A positive voltage causes the dot to move up while a negative voltage causes the dot to move down.

The signal also travels to the trigger system to start or trigger a "horizontal sweep." Horizontal sweep is a term referring to the action of the horizontal system causing the glowing dot to move across the screen. Triggering the horizontal system causes the horizontal time base to move the glowing dot across the screen from left to right within a specific time interval. Many sweeps in rapid sequence cause the movement of the glowing dot to blend into a solid line. At higher speeds, the dot may sweep across the screen up to 500,000 times each second.

Together, the horizontal sweeping action and the vertical deflection action traces a graph of the signal on the screen. The trigger is necessary to stabilize a repeating signal. It ensures that the sweep begins at the same point of a repeating signal, resulting in a clear picture as shown in Figure 7.

the_oscilloscope_7.gif

Figure 7: Triggering Stabilizes a Repeating Waveform

In conclusion, to use an analog oscilloscope, you need to adjust three basic settings to accommodate an incoming signal:
  • The attenuation or amplification of the signal. Use the volts/div control to adjust the amplitude of the signal before it is applied to the vertical deflection plates.
  • The time base. Use the sec/div control to set the amount of time per division represented horizontally across the screen.
  • The triggering of the oscilloscope. Use the trigger level to stabilize a repeating signal, as well as triggering on a single event.
    Also, adjusting the focus and intensity controls enables you to create a sharp, visible display.
Digital Oscilloscopes

Some of the systems that make up digital oscilloscopes are the same as those in analog oscilloscopes; however, digital oscilloscopes contain additional data processing systems. (See Figure 8.) With the added systems, the digital oscilloscope collects data for the entire waveform and then displays it.

When you attach a digital oscilloscope probe to a circuit, the vertical system adjusts the amplitude of the signal, just as in the analog oscilloscope.

Next, the analog-to-digital converter (ADC) in the acquisition system samples the signal at discrete points in time and converts the signal's voltage at these points to digital values called sample points. The horizontal system's sample clock determines how often the ADC takes a sample. The rate at which the clock "ticks" is called the sample rate and is measured in samples per second.

The sample points from the ADC are stored in memory as waveform points. More than one sample point may make up one waveform point.

Together, the waveform points make up one waveform record. The number of waveform points used to make a waveform record is called the record length. The trigger system determines the start and stop points of the record. The display receives these record points after being stored in memory.

Depending on the capabilities of your oscilloscope, additional processing of the sample points may take place, enhancing the display. Pretrigger may be available, allowing you to see events before the trigger point.

the_oscilloscope_8.gif

Figure 8: Digital Oscilloscope Block Diagram

Fundamentally, with a digital oscilloscope as with an analog oscilloscope, you need to adjust the vertical, horizontal, and trigger settings to take a measurement.

Sampling Methods

The sampling method tells the digital oscilloscope how to collect sample points. For slowly changing signals, a digital oscilloscope easily collects more than enough sample points to construct an accurate picture. However, for faster signals, (how fast depends on the oscilloscope's maximum sample rate) the oscilloscope cannot collect enough samples. The digital oscilloscope can do two things:
  • It can collect a few sample points of the signal in a single pass (in real-time sampling mode) and then use interpolation. Interpolation is a processing technique to estimate what the waveform looks like based on a few points.
  • It can build a picture of the waveform over time, as long as the signal repeats itself (equivalent-time sampling mode).
Real-Time Sampling with Interpolation

Digital oscilloscopes use real-time sampling as the standard sampling method. In real-time sampling, the oscilloscope collects as many samples as it can as the signal occurs. (See Figure 9.) For single-shot or transient signals you must use real time sampling.

the_oscilloscope_9.gif

Figure 9: Real-time Sampling

Digital oscilloscopes use interpolation to display signals that are so fast that the oscilloscope can only collect a few sample points. Interpolation "connects the dots."

Linear interpolation simply connects sample points with straight lines. Sine interpolation (or sin x over x interpolation) connects sample points with curves. (See Figure 10.) Sin x over x interpolation is a mathematical process similar to the "oversampling" used in compact disc players. With sine interpolation, points are calculated to fill in the time between the real samples. Using this process, a signal that is sampled only a few times in each cycle can be accurately displayed or, in the case of the compact disc player, accurately played back.

the_oscilloscope_10.gif

Figure 10: Linear and Sine Interpolation

Equivalent-Time Sampling

Some digital oscilloscopes can use equivalent-time sampling to capture very fast repeating signals. Equivalent-time sampling constructs a picture of a repetitive signal by capturing a little bit of information from each repetition. (See Figure 11.) You see the waveform slowly build up like a string of lights going on one-by-one. With sequential sampling the points appear from left to right in sequence; with random sampling the points appear randomly along the waveform.

the_oscilloscope_11.gif

Figure 11: Equivalent-time Sampling
 
The main difference between an analog scope and a digital one, forgetting the advantages and disadvantages of both, is that an analog scope samples signals in an analog fashion, and a digital scope samples signal in a digital fashion.

Concentrating on sampling methods only, why would this mean that a digital scope is not a real time instrument, just because it samples digitally?

Brian
 
raybo said:
An analog scope is a real time instrument
A digital scope is not a real time instrument
there is also the memory scopes.
Look it up in your books of knowledge

:confused: all of the digital scopes in my lab are real time instruments.
 
Probably not. In the same way a computer processes data so fast it may seem real-time to slow human reflexes, but it still takes a finite amount of time.
 
dknguyen said:
Probably not. In the same way a computer processes data so fast it may seem real-time to slow human reflexes, but it still takes a finite amount of time.
I don't think you understand what a real time oscilloscope is. It means that the scope effectively captures a single "window" of time. For example, a real time scope will capture say 1 million data samples corresponding to a single trigger acquisition. In other words, for the 100us or whatever the capture length is, the scope is "seeing" everything. Contrast this to an equivalent time scope, which uses multiple triggers and multiple waveforms to build up that same 100us time window.
 
I thought real-time meant it displays the signal data as it comes in instead of storing it in some kind of buffer.
 
dknguyen said:
Probably not. In the same way a computer processes data so fast it may seem real-time to slow human reflexes, but it still takes a finite amount of time.

The very definition of "real time" is that an operation is completed so quickly that it appears to happen instantaneously. A Multitasking OS operates in real time if it is able to switch between programs so quickly that they all appear to run simultaneously, although we know this not to actually be true. If we were to say that nothing is "real time" unless it happens instantaneously, then we would have to say that nothing works in real time, because EVERYTHING takes a finite time to happen.

If a real time oscilloscope is an instrument which displays the waveform on screen as it is captured as opposed to storing it for later examination, then my digital scope is both a real time instrument and not a real time intrument at the same time - because I can operate it as a normal scope OR save a waveform to memory for later examination if I choose to at any time.

Brian
 
Analogue oscilloscope will also take some amount of time before it displays the signal, (electrical signals travel at speed of light) though negligebly small.
 
setting of time/div control

Hi!
One basic query......
If the input signal to the scope is of 10 KHz frequency, then what would be the proper setting of time/div control knob for having good display?
 
so how about pc base oscilloscope are they take too much time to show a wave rather than that of digital oscilloscope?
 
Status
Not open for further replies.

New Articles From Microcontroller Tips

Back
Top