In The Trenches
With our 1,000 Hz signal, our new
sampling speed is 250,000 Hz (with a
The purpose of these exercises
is to show how carelessness can
create significant problems. It's
important to stop and think about
what actually happens during an
A/D conversion. It's important to be
able to determine these fundamental
sources of error.
Also, of course, it's critical to
understand how these errors can
affect your design.
Most of the time, you should
have a good idea of what signal you
expect your A/D to see. You should
Southeast’s Top Choice for
Communications • Electronics • Computers
February 5-6, 2005
Fair Expo Center, Miami, Florida
Manufacturers, Dealers, Tailgate,
License Exams, Fox Hunts, Awards
email@example.com or firstname.lastname@example.org
TEL: 305-226-5346 or 305-642-4139
Details via mail: Evelyn Gauzens, W4WYR, 2780 N. W. 3rd St, Miami, FL 33125
SO. FLORIDA SECTION CONVENTION
always know what is to be done with
the A/D data, even if that is not your
job. It makes no sense to design
eight-bit hardware when the software
requires 12 bits of resolution. Many
times, the A/D is only measuring a
slowly varying signal, which is
essentially DC (like room temperature).
In such cases, the error considerations are simple, but don't think all
situations are like that. It can't be
over-emphasized that you need to
know which signal parameters are
important (amplitude, frequency,
phase) and how to determine the
error budget for your application.
Error Is in the Eye
of the Tester
The Power to Design...
C I/ O
Development Tools & Kits
Kits for most micros, CPLDs, and more starting at $15…
• Universal CPU Board
• PIC and AVR Kits
• Programmable Logic Kits
• SeaBass Basic Compiler (as low as $10!)
• TTL RS232 Adapters
• PC I/O for Basic, C, Java, Linux, and More
Add powerful features to any microcontroller
project. Perfect for use with Basic Stamps!
Starting at under $10...
• Floating Point & A/D
• PWM & Pulse Output
• Servo Control
• Pulse Input
• PS/2 Keyboard or Mouse
NUTS & VOLTS
C Programmable AVR Kit
Xilinx CPLD Kit
Starts at $49.95
PIC Programming Kit
Starts at $29.95
Visit us for free tools, tutorials and projects
Circle #100 on the Reader Service Card.
You may have noticed that there
are a number of ways to calculate the
For example, you might argue
that the worst case frequency error
should be measured from peak to
peak rather than from zero crossing
to zero crossing. The zero crossing
procedure gives a smaller error.
Conversely, the phase error could be
reduced by measuring zero crossings
rather than peaks.
"Standard engineering practice"
dictates how these errors are measured. However, I am not aware of
any reference that details what
"standard engineering practice"
actually is. There are books on
"standard methods," but these are
chemical analytical techniques. I'm
also sure that there are probably
references in various text books and
manuals that provide occasional
examples, but I haven't found anything like a collection of standard
engineering practices. (If you know
of such a collection, let me know.)
These techniques are usually
learned from experience.
First, all errors should be defined
as worst case errors. "Average" errors
or "typical" errors should never be
used without first stating — very clearly — what the worst case error actually
is. Proper engineering must always