Site icon Ercan Koçlar

MATHEMATICAL SOLUTION OF TOUCH PANEL CALIBRATION

mathematical-solution-of-touch-panel-calibration

mathematical-solution-of-touch-panel-calibration

This post is also available in: Türkçe


  1. Video Lesson
  2. Touch Panel Calibration
  3. Mathematical Solution of Calibration
  4. Result

TOUCH PANEL CALIBRATION

2 POINT CALIBRATION METHOD

Positions to create for user
Four points are created on the screen above and the user is asked to touch. Thus, the received data is processed. We call it the “virtual spots” from here.
Touched Points in GLCD Values read from Touch Panel
XD YD X Y
1.POINT 48 102 230 730
2.POINT 48 25 228 237
3.POINT 192 25 780 232
4.POINT 192 102 773 704

MATHEMATICAL SOLUTION OF CALIBRATION

Formulas to calculate deviation values and result formula

 Calculation of Deviation Values

 

Calculation of Deviation Values “a1 and b1

FORMULA1:
YD1=(a1*Y1)+(b1*1)
YD3=(a1*Y3)+(b1*1)

 

Calculation of Deviation Values “a2 and b2

FORMULA2:
YD2=(a2*Y2)+(b2*1)
YD4=(a2*Y4)+(b2*1)

 

Calculation of Deviation Values “c1 and d1

FORMULA3:
XD1=(c1*X1)+(d1*1)
XD3=(c1*X3)+(d1*1)

 

Calculation of Deviation Values “c2 and d2

FORMULA4:
XD2=(c2*X2)+(d2*1)
XD4=(c2*X4)+(d2*1)

 

Deviation Values Result Table

1 2 Average
a 0,154 0,164  0,159
b -10,728 -13,868  -12,298
c 0,261 0,264  0,262
d -12,03 -12,192  -12,111

 

Calibration by Using Result Formula

RESULT FORMULA
YD=a*Y(b)
XD=c*X(d)

RESULT

Be sure to watch the video lesson below for action and other details.


Mathematical Solution of Touch Panel Calibration Video Lesson


Exit mobile version