Capacitive Keyboard Matrix Layout for Low Pin Count Input
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional resistance scan matrix keyboards have a large pin count, which increases the die area and reduces robustness, making them unsuitable for small form factor devices and increasing manufacturing costs, while virtual keyboards occupy valuable display space.
Innovation Solution
A capacitance sensor matrix with a reduced pin count is used to detect the presence of a conductive object, allowing for a smaller footprint and integration of a full keyboard on mobile devices without sacrificing display real estate, by assigning keyboard keys to pre-defined areas and measuring capacitance variations to determine key presses.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If a conventional resistance scan matrix keyboard is used, then keyboard functionality is achieved, but the pin count increases and die area increases
Solution Approach 1:
The patent applies multi-functionality by using a single I/O pin to perform multiple roles: driving column lines, sensing row connections, and detecting key presses through capacitance measurement. The microcontroller sequentially assigns different functions to the same pin across different time periods, eliminating the need for separate pins for each row and column connection.
Solution Approach 2:
The patent merges the row drive function and column sense function into a single I/O pin by time-multiplexing. During column drive periods, the pin outputs drive signals; during row sense periods, the same pin measures capacitance to detect key presses. This combining of functions reduces the total pin count from M+N to a small fixed number.
2Ease of operation
If a conventional resistance scan matrix keyboard is used, then keyboard functionality is achieved, but the die area increases
Solution Approach 1:
The patent uses the microcontroller's existing capacitive sensing capability and I/O pins for multiple purposes: general-purpose computing tasks and keyboard input detection. By making the I/O pin universal for both computation control and keyboard sensing, no additional dedicated hardware area is required for keyboard functionality.
Solution Approach 2:
The microcontroller's internal capacitive sensing circuitry serves the keyboard detection function without requiring external sensing components. The system uses its own existing resources (I/O pin capacitance measurement capability) to detect key presses, eliminating the need for separate sensing hardware and reducing overall die area.
3Device complexity
If a virtual keyboard is used, then display space is occupied, but physical keyboard components are eliminated
Solution Approach 1:
The patent replaces the mechanical resistance-based key switch with a capacitive sensing mechanism that detects key presses through capacitance changes. This substitution eliminates the need for mechanical buttons and pull-up resistors while maintaining physical keyboard input functionality, and can be implemented using the microcontroller's existing capacitive sensing capability.
4Device complexity
If a capacitance sensor matrix is used, then pin count is reduced, but manufacturing precision requirements increase
Solution Approach 1:
The patent implements feedback by measuring the capacitance value and comparing it against threshold values to determine key press states. The system continuously monitors capacitance changes and uses this feedback information to accurately detect key presses, compensating for variations in baseline capacitance values and ensuring reliable detection despite manufacturing tolerances.
Solution Approach 2:
The patent changes the detection parameter from resistance (in conventional keyboards) to capacitance. By measuring capacitance changes rather than resistance, the system achieves more accurate and stable key detection. The capacitance measurement parameter is more sensitive to the presence of a finger or conductive object and less affected by contact resistance variations.
Applied Scientific Principles
This section explains which scientific principles are used to turn an abstract innovation direction into a practical engineering solution.
Function Achieved in This Case
This solution reduces the pin count, decreases manufacturing costs, and enables the implementation of a full keyboard on mobile devices without occupying touch-screen display space, while supporting additional user input devices with a single processing chip.
Implementation Method 1
A capacitance sensor matrix with a reduced pin count is used to detect the presence of a conductive object, allowing for a smaller footprint and integration of a full keyboard on mobile devices
Data Source
AI summary
An apparatus and method for selecting a keyboard key based on a position of a presence of a conductive object on a sensing device and a pre-defined area of the keyboard key. The apparatus may include a sensing device and a processing device. The sensing device may include a plurality of sensor elements to detect a presence of a conductive object on the sensing device. Multiple keyboard keys are assigned to pre-defined areas of the sensing device. The processing device is coupled to the sensing device using capacitance sensing pins, and may be operable to determine a position of the presence of the conductive object, and to select a keyboard key based on the position of the conductive object and the pre-defined areas of the sensing device.


