Jump to content
Electronics-Lab.com Community

Noise handling algorithm in 8 wire touch screen


Recommended Posts

Noise handling algorithm in 8 wire touch screen
here's how a touch screen work http://focus.ti.com/lit/an/slaa298/slaa298.pdf


Problem:
when the touch pen is stationary on a point and reading ADC values from a touch screen using the micro controller, the ADC values are never the same
eg, 1st reading might be 500, 2nd reading is 510, 3rd is 505. This causes the the cursor to drift about the touch point, not something nice for the user . caps are already in place. it's a standard schematic so hardware shouldnt be a problem.

Proposed solution:
Now what i did was to create a boundary circle around the point, effectively locking all other bad readings into the circle.

circlejy5.jpg

circlehf0.jpg
but the problem is that
- for slow moving touch pen speed movements, due to this boundary circle, the cursor jumps from 1 circle to another. very ugly and it disallows slow movement.
- the size of the boundary circle has to be expanded when the touch screen wears out because of more noise

does anyone have a better solution?
thanks in advance
- hanhao

Link to comment
Share on other sites


How often can you poll the screen for the touch coordinates?  This sounds similar to several other things that I've pondered.

I would consider getting enough data to establish a probable center for the "boundary circle", which you probably already did.  Then keep sampling input data and averaging it with the previous position.  You may be able to poll the position often enough that the jitter will be less than one pixel width.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
  • Create New...