Capacitive Keyboard Matrix Layout for Low Pin Count Input

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering 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

Engineering Contradiction:
Improvekeyboard functionalityVSAvoidpin count
Core Design Contradiction:
Ease of operationVSDevice complexity

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.

Inventive Principle:
Principle #6Universality (Multi-functionality)

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.

Inventive Principle:
Principle #5Merging (Combining)

2Ease of operation

If a conventional resistance scan matrix keyboard is used, then keyboard functionality is achieved, but the die area increases

Engineering Contradiction:
Improvekeyboard functionalityVSAvoiddie area
Core Design Contradiction:
Ease of operationVSArea of stationary object

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.

Inventive Principle:
Principle #6Universality (Multi-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.

Inventive Principle:
Principle #25Self-service

3Device complexity

If a virtual keyboard is used, then display space is occupied, but physical keyboard components are eliminated

Engineering Contradiction:
Improvephysical componentsVSAvoiddisplay space
Core Design Contradiction:
Device complexityVSArea of stationary object

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.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Device complexity

If a capacitance sensor matrix is used, then pin count is reduced, but manufacturing precision requirements increase

Engineering Contradiction:
Improvepin countVSAvoidcapacitance measurement accuracy
Core Design Contradiction:
Device complexityVSManufacturing precision

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.

Inventive Principle:
Principle #23Feedback

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.

Inventive Principle:
Principle #35Parameter changes

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

Methodology Applied
Scientific EffectCapacitance: Capacitance

Data Source

PatentUS9747026B1Low pin count solution using capacitance sensing matrix for keyboard architecture
Publication Date: 2017.08.29 WISTRON CORP
  • US9747026B1 patent drawing
  • US9747026B1 patent drawing
  • US9747026B1 patent drawing

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.