Professional Documents
Culture Documents
An Easy-To-Understand Explanation of Calibration in Touch-Screen Systems, Part 1
An Easy-To-Understand Explanation of Calibration in Touch-Screen Systems, Part 1
Introduction
Mechanical misalignment and scaling factors can lead to a mismatch between the values from a
touch-panel system (in this article the touch-panel system implies a setup comprised of a touch
screen and a touch screen controller) and the display (typically an LCD) on which the touch
screen is mounted. This article discusses the mathematical techniques to calibrate the touch-
panel system so you can match the graphics on the display to the output from the touch-screen
controller.
Figure 1. A circle changes shape on a touch screen because of a mismatch between the display
and the touch-panel system.
Intuition suggests that any coordinate point x,y in an x-y plane that has undergone a
transformation should look like:
1
yNEW = f2(xOLD, yOLD) + constant2 (Eq. 1b)
Where xNEW and yNEW are the transformed coordinates; xOLD and yOLD are the old coordinates;
f1() and f2() are functions that transform the old coordinates; constants1 and 2 are just that,
constants.
If the transformation is linear, then functions f1() and f2() can be replaced by the following
equations:
Faisal Tariq is a Senior Applications Engineer with Maxim Integrated Products. He has been in
the semiconductor industry for over 20 years and holds three patents that focus on flow control.
Mr. Tariq has a BSEE from the University of North Dakota and an MSEE from Kansas State
University.