Key Matrix Pin Multiplexing for Lower-Pin Key Control
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Reducing the key matrix pin count in electronic devices to lower production costs while maintaining the number of available keys is challenging, as conventional methods result in a reduced number of keys available to the user.
Innovation Solution
An integrated circuit (IC) is used to detect key presses by controlling pins to alternate between input and output modes, allowing for key control with a reduced pin count by utilizing a combination of row and column signals to manage key presses efficiently, effectively reducing the number of pins required for key matrices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If the key matrix pin count is reduced to save costs, then the production cost is reduced, but the number of available keys is reduced
Solution Approach 1:
The patent applies dynamic multiplexing by alternating pin functions between input and output modes across different time periods. Pins that would traditionally be static are dynamically reassigned: in the first time period, first pins are outputs and second pins are inputs; in the second time period, their roles reverse. This temporal dynamic allocation allows the same physical pins to control more keys than their static count would suggest, resolving the contradiction between pin count and key availability
Solution Approach 2:
The patent implements periodic scanning by cycling through different time periods where pin configurations are systematically changed. During each period, specific pins are configured as outputs to drive row or column signals, then in subsequent periods they switch to input mode to detect key presses. This periodic reconfiguration enables the system to monitor multiple key matrix rows and columns using fewer pins than the total key count, maintaining full key functionality while reducing pin requirements
2Device complexity
If the key matrix pin count is reduced, then the overall pin count is reduced, but the key control functionality is compromised
Solution Approach 1:
The patent incorporates feedback mechanisms where the IC monitors voltage levels on pins during each time period to detect key presses. When a key is pressed, it creates a detectable voltage change that feeds back to the control logic, which then identifies the specific key pressed based on which pins are in input mode and what voltage levels are detected. This feedback loop ensures reliable key detection even with reduced pin count, as the system continuously monitors pin states and adjusts its interpretation based on the current time period's configuration
Solution Approach 2:
The patent performs preliminary configuration by pre-establishing which pins will be outputs and which will be inputs before each scanning period begins. The IC proactively configures the pin modes in advance according to the scanning sequence, ensuring that when key presses occur, the pins are already in the correct state to detect them reliably. This preliminary setup prevents functionality loss by ensuring proper pin configuration before detection is needed
Data Source
AI summary
An apparatus for performing key control includes an integrated circuit (IC) arranged to detect a key press according to some input/output signals of a key matrix, where the input/output signals include first input/output signals corresponding to a first direction and second input/output signals corresponding to a second direction. In addition, the IC includes a plurality of first pins and a plurality of second pins, for transmitting the first and the second input/output signals, respectively. In particular, during the detection of the key press, the IC controls at least one first pin of the first pins to be in an output mode and controls the second pins to be in an input mode in a first time period, and controls at least one second pin of the second pins to be in an output mode and controls the first pins to be in an input mode in a second time period.


