Mitigating Capacitive Coupling in FPGA Demo Board with Membrane Keypad

  • Thread starter Thread starter mmcc2014
  • Start date Start date
  • Tags Tags
    Coupling
Click For Summary

Discussion Overview

The discussion revolves around mitigating capacitive coupling issues experienced with a membrane keypad attached to an FPGA demo board. Participants explore potential solutions to the problem of unintended LED activation when a hand is brought near the keypad, focusing on circuit design and input sensitivity.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes the setup involving a 4 x 3 membrane keypad and the issue of LEDs lighting up due to capacitive coupling when a hand is near.
  • Another participant suggests using pull-down resistors on the sense lines to mitigate the sensitivity to induced voltages, questioning the relevance of the scan frequency.
  • A participant confirms the I/O standard as 3.3-V LVTTL and inquires if changing current strength or I/O standard might help.
  • Another participant agrees that pull-down resistors could be a solution and mentions that pull-up resistors might be preferred if the scan generator takes lines low one-at-a-time.
  • There is a discussion about the scan frequency and its potential impact on the issue, with some uncertainty about its relevance.

Areas of Agreement / Disagreement

Participants generally agree on the potential effectiveness of using pull-down resistors, but there is no consensus on the best approach or the impact of scan frequency and current strength on the problem.

Contextual Notes

Participants express uncertainty regarding the behavior of sensitive inputs and the lack of established formulas for predicting the effects of capacitive coupling in this context.

Who May Find This Useful

Individuals working with FPGA boards, membrane keypads, or those interested in addressing capacitive coupling issues in electronic circuits may find this discussion relevant.

mmcc2014
Messages
4
Reaction score
0
I have an FPGA demo board and on the GPIO I have attached a 4 x 3 membrane keypad. This keypad is simple, create a current on the column pins and look for a completed circuit on the row pins.

http://ebay.arduinodiy.co.uk/ebayimages/ebaycontent/kppinout2.jpg
http://iteadstudio.net/Wholesale/images/icons/3x4keypad.jpg

At the minute, I just having it driving a bunch of LEDs to indicate what has been pressed. I have written the VHDL code for this and it appears to be working fine.

My problem is that if I bring my hand within 15cm of the keypad, the LEDs start to light up. So, I am coupling with the circuit and bridging the switches. I dropped the frequency from 2MHz to 1KHz to try to resolve it, but no luck. I can move my hand around the keypad and cause different LEDs to light up.

Does anyone have a resolution for me?
 
Last edited by a moderator:
Engineering news on Phys.org
If your membrane pad is the same as some I'm familiar with, when a button is pressed, it simply completes the circuit between a single X and a single Y line to signal which button is being pressed. With that, I assume you're interfacing by driving one X (or Y) line high at a time (scanning across the set), and sensing what line in the corresponding Y (or X) group goes high. That being said, your sense circuit might typically be CMOS which is very sensitive to induced voltages (including those from your hand). A simple pull-down resistor (about 1 to 10K) on each sense line should take care of that problem. I'm not sure what your talking about relative to the frequency. Is that the keypad scan frequency or the main clock frequency? If it's a matter of induced voltage, the scan frequency is pretty much irrelevant.
 
Last edited:
The I/O standard is 3.3-V LVTTL and your assumption about the method employed is correct.

Does the solution remain the same?

Is there any way to predict this type of behaviour or standard formulas?
Would changing the current strength or I/O standard help at all?
 
I'm not that familiar with the LVTTL topology, but I think the same solution would apply. There really aren't any formulas - just experience with the behavior of sensitive inputs. It certainly won't cause any damage to apply the pull-down resistors to the sense lines so I would try that as a first step. It really should work once you remedy the induced voltages.

It's also possible that your scan generator takes the lines low one-at-a-time. In that case, you would use pull-up resistors on the sense lines. The latter is actually the preferred method if it's a true TTL topology since the input to a TTL gate wants to source current (to ground) in order to see a LOW condition. You should be able to accomplish this through software, though it could be burdensome to make the change.
 

Attachments

  • Switch Circuit.jpg
    Switch Circuit.jpg
    21.9 KB · Views: 512
Last edited:
Is that the keypad scan frequency or the main clock frequency? If it's a matter of induced voltage, the scan frequency is pretty much irrelevant.

Both actually, I'm not doing anything fancy. Initially, I thought the high frequency may be playing a role.
 
Thanks for that solution, I will give it a shot tomorrow and let you know if it resolved it.
 
Good Luck. Do let us know how it works out.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
14K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 65 ·
3
Replies
65
Views
12K