Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
KEYPAD COMPRISING KEYS CAUSING BOTH MCU WAKE-UP AND KEY DETECTION
Document Type and Number:
WIPO Patent Application WO/2023/031102
Kind Code:
A1
Abstract:
It is provided it is provided a keypad comprising: a voltage bus configured to distribute power in the keypad; and a plurality of keys; a plurality of row key connections; and a plurality of column key connections; A wake-up signal causes a microcontroller to transition from a low-power state to an active state such that the microcontroller can detect which one of the plurality of keys was actuated. Each key is connected to a single row key connection and a single column key connection. Each row key connection and/or each column key connection is provided with a respective port circuit that is configured to connect the key connection with keys of the keypad when the wake-up signal is activated. Each port circuit comprises a respective port switch that is turned off in the low-power state to disconnect the column key connections/row key connections from the keys of the keypad.

Inventors:
ARBEGARD BERNT (SE)
DAHLBÄCK ROBIN (SE)
Application Number:
PCT/EP2022/073920
Publication Date:
March 09, 2023
Filing Date:
August 29, 2022
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ASSA ABLOY AB (SE)
International Classes:
G06F1/3234
Foreign References:
US5692203A1997-11-25
Attorney, Agent or Firm:
KRANSELL & WENNBORG KB (SE)
Download PDF:
Claims:
CLAIMS

1. A keypad (1) comprising: a voltage bus (VCC) configured to distribute power in the keypad (i); and a plurality of keys (Ki-Kn) respectively actuable to cause closing of a circuit; a plurality of row key connections (3d-g); and a plurality of column key connections (3a-c); wherein each key (Ki-Kn) is configured to, when actuated, cause at least one switch (Si, S2) to close, causing the voltage bus (VCC) to be connected to a wake-up control signal point (Ci); wherein a wake-up signal is activated when connected to the voltage bus (VCC), causing a microcontroller (20) to transition from a low-power state to an active state such that the microcontroller (20) can detect which one of the plurality of keys (Ki-Kn) was actuated; wherein the keypad (1) keys (Ki-Kn) are provided in a matrix with rows and columns: wherein each key (Ki-Kn) is connected to a single row key connection and a single column key connection, such that when actuated, each key provides a connection between a single column key connection and a single row key connection; wherein each one of the row key connections (3d-g) and/or each one of the column key connections (3a-c) is provided with a respective port circuit (isa-c) that is configured to connect the key connection (3a-g) with keys (Ki-Kn) of the keypad (1) when the wake-up signal is activated; and wherein each port circuit (isa-c) comprises a respective port switch (S4-S6) that is turned off in the low-power state to disconnect the column key connections (3a-3c) or row key connections (3d-g) from the keys (Ki-Kn) of the keypad.

2. The keypad (1) according to claim 1, further comprising a power regulator (8) configured to selectively supply power to the MCU (20), wherein the wake-up signal (Ci) being activated causes the power regulator (8) to start supplying power to the microcontroller (20) to thereby power up the microcontroller (20).

3. The keypad (1) according to claim 2, wherein the power regulator (8) is a DC/DC converter.

4. The keypad (1) according to any one of the preceding claims, wherein a low-pass filter (10) is provided between the plurality of keys and the at least one switch (Si, S2).

5. The keypad (1) according to any one of the preceding claims, wherein each key (Ki- K11) is configured to, when actuated, connect the voltage bus to a control terminal of a first switch (Si), thereby supplying a control signal to a second switch (S2) that closes a connection between the voltage bus and the wake-up signal (Ci).

6. The keypad (1) according to any one of the preceding claims, wherein at least one diode (D1-D3) is provided between the plurality of keys and the at least one switch (Si, S2).

7. The keypad (1) according to any one of the preceding claims, further comprising the microcontroller (20).

Description:
KEYPAD COMPRISING KEYS CAUSING BOTH MCU WAKE-UP AND KEY DETECTION

TECHNICAL FIELD

[0001] The present disclosure relates to the field of keypads and in particular to a keypad comprising keys causing both MCU (microcontroller unit) wake-up and key detection.

BACKGROUND

[0002] Keypads are used for a great variety of applications, e.g. electronic locks, alarm panels, etc. Keypads can be battery powered, for simplifying installation wiring and adding flexibility in location of installation.

[0003] However, for most of the time, keypads are in a low-power state, such as standby. The electrical energy consumption of the battery when in the low-power state severely limits the battery life.

[0004] It is a significant challenge to reduce the power consumption when the keypad is in the low-power state, while also making the keypad responsive when it needs to be used for user input.

SUMMARY

[0005] One object is to reduce power consumption of a keypad in low-power state while allowing a single key press from a user to both activate the keypad (and its MCU) and be used for user input.

[0006] According to a first aspect, it is provided a keypad comprising: a voltage bus configured to distribute power in the keypad; and a plurality of keys respectively actuable to cause closing of a circuit; a plurality of row key connections; and a plurality of column key connections; wherein each key is configured to, when actuated, cause at least one switch to close, causing the voltage bus to be connected to a wake-up control signal point. A wake-up signal is activated when connected to the voltage bus, causing a microcontroller to transition from a low-power state to an active state such that the microcontroller can detect which one of the plurality of keys was actuated. The keypad keys are provided in a matrix with rows and columns. Each key is connected to a single row key connection and a single column key connection, such that when actuated, each key provides a connection between a single column key connection and a single row key connection. Each one of the row key connections and/or each one of the column key connections is provided with a respective port circuit that is configured to connect the key connection with keys of the keypad when the wake-up signal is activated. Each port circuit comprises a respective port switch that is turned off in the low-power state to disconnect the column key connections or row key connections from the keys of the keypad.

[0007] The keypad may comprise a power regulator configured to selectively supply power to the MCU, wherein the wake-up signal being activated causes the power regulator to start supplying power to the microcontroller to thereby power up the microcontroller.

[0008] The power regulator may be a DC/DC converter.

[0009] A low-pass filter may be provided between the plurality of keys and the at least one switch.

[0010] Each key may be configured to, when actuated, connect the voltage bus to a control terminal of a first switch, thereby supplying a control signal to a second switch that closes a connection between the voltage bus and the wake-up signal.

[0011] At least one diode may be provided between the plurality of keys and the at least one switch.

[0012] The keypad may further comprise the microcontroller.

[0013] Generally, all terms used in the claims are to be interpreted according to their ordinary meaning in the technical field, unless explicitly defined otherwise herein. All references to "a/an/the element, apparatus, component, means, step, etc." are to be interpreted openly as referring to at least one instance of the element, apparatus, component, means, step, etc., unless explicitly stated otherwise. The steps of any method disclosed herein do not have to be performed in the exact order disclosed, unless explicitly stated.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Aspects and embodiments are now described, by way of example, with reference to the accompanying drawings, in which:

[0015] Fig 1 is a schematic diagram illustrating an environment in which embodiments presented herein can be applied; and

[0016] Fig 2 is a schematic circuit diagram illustrating one embodiment that can be used in the environment of Fig 1.

DETAILED DESCRIPTION

[0017] The aspects of the present disclosure will now be described more fully hereinafter with reference to the accompanying drawings, in which certain embodiments of the invention are shown. These aspects may, however, be embodied in many different forms and should not be construed as limiting; rather, these embodiments are provided by way of example so that this disclosure will be thorough and complete, and to fully convey the scope of all aspects of invention to those skilled in the art. Like numbers refer to like elements throughout the description.

[0018] Embodiments presented herein provide a very power efficient keypad. An MCU (microcontroller unit) of the keypad can normally be in a low-power mode, such as a sleep mode or completely powered off. When a user presses a key on the keypad, in a first phase, the key causes a wake-up signal by connecting the wake-up signal with a voltage bus. The wake-up signal causes power to be supplied to the MCU, which is powered up into a fully operational active state. In a second phase, the MCU detects which key of the keypad that is actuated. The first phase is sufficiently quick to allow the MCU to also detect the key, even if a user only presses the key shortly. Since the wakeup in the first phase is based on levels, rather than differentials, the wake-up is stable and resilient against interference. Moreover, one key press by a user causes both the wake-up and the reading of the key that is pressed; no special wake-up manoeuvre is needed by the user. [0019] Fig 1 is a schematic diagram illustrating an environment in which embodiments presented herein can be applied.

[0020] A keypad 1 is used for receiving user input from a user 5. The keypad is connected to a microcontroller unit (MCU) 20. Optionally, the MCU 20 is integrated in the keypad 1. The MCU 20 is connected to an electronic device 30 that receives as an input an indication of the key(s) that the user presses on the keypad 1. This enables the keypad 1 to be used as user input for the electronic device 30. Optionally, the electronic device 30 is combined with the MCU 20 and the keypad 1. The electronic device 30 can be any device that benefits from user input based on the keypad 1. For instance, the electronic device can be an electronic lock, an alarm system, or any other low-power system with a keypad interface. The keypad 1 is powered by a power source being a battery, e.g. a primary (disposable), secondary (rechargeable) battery, capacitor or any suitable component that can store and supply electrical energy.

[0021] The keypad 1 in this example comprises eleven keys K1-K11. Each key K1-K11 is actuable to cause closing of a circuit. In other words, when the user presses a key, the key causes a connection between two points and when the user releases the key, the two points are disconnected from each other. It is to be noted that the number of keys is not important; the keypad can have any suitable number of keys. The keypad 1 can also contain other elements, e.g. light emitting diodes (LEDs), a display, etc. (not shown).

[0022] Fig 2 is a schematic circuit diagram illustrating one embodiment that can be used in the environment of Fig 1. The circuit diagram is presented in accordance with an example where one of the keys is actuated (i.e. pressed) by a user 5. This key actuation causes, in a first phase, the MCU 20 to be woken up to an active state, and in a second phase, the MCU to detect which one of the keys was actuated. The same procedure is applicable for any one of the keys K1-K11. The example presented herein assumes a positive voltage on the voltage bus, also known as Voltage Common Collector bus VCC, but the same principles are equally applicable with a negative voltage on VCC. The VCC is connected to a power source, such as one or more batteries. The voltage bus VCC is configured to distribute power in the keypad. [0023] The switches mentioned hereinafter can be any suitable electronically controllable switches, such as transistors, controllable via supplying a control signal on its control terminal, such as gate (or base, when applicable). While the term gate is used hereinafter for the control terminal of the switch, this term is to be interpreted as any suitable control terminal of the switch. In one embodiment, the switches are implemented using MOSFETs (Metal-oxide-semiconductor Field Effect Transistors) that provide great power efficiency.

[0024] Whenever the term point is mentioned herein, this indicates a logical point in the circuit and may, but does not need to, correspond to a physical connection terminal.

[0025] The first (wake-up) phase will now be described. When this example starts, the MCU 20 is in a low-power state, such as being in a standby state, being powered off or in a sleep state. The MCU is configured with its input/ output (I/O) pins respectively being connected to a plurality of row key connections 3d-g, one for each key row, and a plurality of column key connections 3a-c, one for each key column. Each key K1-K11 is connected to a single row key connection and a single column key connection, such that when actuated, each key provides a connection between a single column key connection and a single row key connection.

[0026] The VCC is connected to the power source. In this example, the keys K1-K11 are provided in rows and columns, corresponding to a numerical keypad. Each one of the keys K1-K11 is connected on one pole, via row-wise common resistors R15-R18 to VCC. The other pole of the keys K1-K11 is connected, via column-wise diodes D1-D3 to a common point Pi. Hence, when any one of the keys K1-K11 is pressed, the common point Pi is pulled up to VCC. When the common point Pi is pulled up, this controls a first switch Si, via its gate, to enter a conducting state.

[0027] A resistor is provided between the gate of the first switch Si and ground to ensure that the switch Si is opens in the low-power state. Furthermore, a low-pass filter 10 is optionally provided between the plurality of keys K1-K11 and the at least one switch Si, S2, e.g. on the gate of the first switch Si. Depending on the configuration of the low- pass filter 10, the resistor between the gate of the first switch Si and ground can optionally form part of the low pass filter 10, as shown in Fig 2. The low-pass filter 10 filters out interference (e.g. external interference such as EMC (electro-magnetic compatibility) interference) or transients when one of the keys Ki-Kn is actuated. The low pass filter can prevent undesired accidental wake-ups, which only consume power, thus saving even more energy. While, in this example, the low-pass filter 10 is implemented using an RC filter, the low-pass filter 10 can be implemented in any suitable manner. The main current path of the first switch Si (e.g. via the source and drain when the first switch is a MOSFET) is connected on one end to ground and on the other end to the gate of a second switch S2. Hence, when the first switch Si is set in conducting state, also the second switch S2 is set in a conducting state. One end of the main current path (e.g. via the source and drain when the second switch is a MOSFET) of the second switch S2 is connected to VCC (and via a resistor R3 to its gate) and the other end is connected to a wake-up control signal point Ci, as well as to ground via a resistor R2 to provide a positive voltage on the wake-up control signal point Ci when in active mode. While Fig 2 discloses an embodiment with two switches Si, S2 between the keys K1-K11 and the wake-up control signal point Ci, this can also be implemented with an embodiment comprising a single switch between the keys K1-K11 and the wake-up control signal point Ci.

[0028] According to embodiments presented herein, each key K1-K11 is configured to, when actuated, cause (via the common point Pi going high) at least one switch Si, S2 to close, causing the voltage bus VCC to be connected to a wake-up control signal point Ci, i.e. the control signal point Ci going high.

[0029] Optionally, a power regulator 8 is provided to selectively supply power to the MCU 20. When the wake-up signal Ci is activated (e.g. by going high), this causes a power regulator 8 to start supplying power to the MCU 20 (from VCC) via a power point 7 to thereby power up the MCU 20, to transition from the low-power state to an active state, where the MCU is fully operational. The power regulator 8 can e.g. be a DC (Direct Current) / DC converter such, as a buck-boost converter or any other suitable power regulator that uses the VCC as input and provides a suitable voltage as output to power the MCU 20. Depending on the MCU configuration and VCC voltage, the power regulator can be omitted, in which case the second switch S2, when closed, connects VCC to the power point 7. [0030] Optionally, the power point 7 is connected to a third switch S3 such that when the power point 7 goes high, the third switch S3 closes. The third switch S3 closing, in turn, causes a set of port circuits isa-c to be in a conducting state. The port circuits isa-c can be configured in any suitable manner that fulfils this function. For instance, each port circuit isa-c can comprise a respective port switch S4-S6 whose gate is controlled by the third switch S3. The main circuit of the respective port switch S4-S6 is connected, via a respective inline resistor R8-R10, to one pole of the keys of the respective column. The gate terminal of the port switches S4-S6 is also connected, via a respective resistor R5-R7, to the key side (e.g. source) of the main current path of the respective port switch S4-S6. The other side (e.g. drain) of the main current path of the respective port switch S4-S6 is connected to the respective column key connection 3a-c.

[0031] In this way, when the third switch S3 closes (triggered by the wake-up signal and power regulator 8), this causes the port switches S4-S6 to connect the keys K1-K11 with the column key connections 3a-c, and thus with the column pins of the MCU.

[0032] When in the low-power state, the third switch S3 is turned off by a resistor R4 which in turn causes the port switches S4-S6 to be turned off. When the port switches S4-S6 are turned off, the column key connections 3a-3c are disconnected from the inline resistors R8-R10 and hence also from the keys K1-K11 of the keypad. In this way, backward leakage is stopped from the keypad columns via the column key connections 3a-3c into the MCU pins in the low-power state. Hence, the port circuits isa-c (optionally along with the third switch S3) ensures proper wake-up operation and also reduce power consumption of the keypad 1 when in the low-power state.

[0033] It is to be noted that the port circuits can equally well instead be provided between the keys K1-K11 and the row connections 3d-3g. In short, the port circuits 15a- c, provided in connection with each one of the row key connections/ 3d-g and/ or each one of the column key connections, are each configured to connect the key connection 3a-g with keys K1-K11 of the keypad 1 when the wake-up signal is activated, and each port circuit isa-c comprises a respective port switch S4-S6 that is turned off in the low- power state to disconnect the column key connections 3a-3c or row key connections 3d- g from the keys K1-K11 of the keypad. In this way, A resulting technical effect is that no electrical power can flow through the keys when in the low-power state, preventing leakage current in low-power state (in addition to setting the MCU in a low-power state). Even if the leakage current is small, keypads in the field are mostly in the low- power state, whereby any reduction of power, no matter how small, when the keypad is in the low-power state gives a significant reduction in power consumption. Power consumption of the keypad is thus reduced.

[0034] When the MCU 20 is in the active state, the second (detection) phase starts. The MCU 20 then detects which one of the plurality of keys K1-K11 was actuated. This can occur e.g. by scanning key connection combinations, i.e. all combination of a row key connection and a column key connection, to find where there is a connection between a row and a column, indicating which key was actuated. The transition from the low-power state to the active state of the MCU 20 is quick (in the order of 10s or few 100s of milliseconds) such that a single key actuation by a user will cause both the wakeup of the MCU 20 and a correct detection of the key that is actuated. The reading of the detected key is provided from the MCU to the electronic device 30.

[0035] After detection of the actuated key, the MCU 20 can stay in the active state to detect further actuations of the keys K1-K11. A time-out can be defined for when the MCU 20 enters the low-power state again after a period of no key actuations.

[0036] When in the low-power state, the MCU 20 is not supplied with power, causing minimal leakage. Moreover, no voltage is supplied to any I/O pins of the MCU 20 (via the key connections 3a-g) . This increases power efficiency of the keypad 1, thus significantly extending battery life.

[0037] Using embodiments presented herein, the keys are used both to trigger the wake-up of the MCU as well as for user input. Moreover, since this solution does not supply power to the MCU 1/ O pins (via the key connections 3a-g) when in the low- power state, leakage current in the MCU is greatly reduced.

[0038] Here now follows a list of embodiments, enumerated with roman numerals.

[0039] i. A keypad comprising: a voltage bus configured to distribute power in the keypad; and a plurality of keys respectively actuable to cause closing of a circuit; wherein each key is configured to, when actuated, cause at least one switch to close, causing the voltage bus to be connected to a wake-up control signal point; wherein the wake-up signal is activated when connected to the voltage bus, causing a microcontroller to transition from a low-power state to an active state such that the microcontroller can detect which one of the plurality of keys was actuated.

[0040] ii. The keypad according to embodiment i, further comprising a power regulator configured to selectively supply power to the MCU, wherein the wake-up signal being activated the power regulator to start supplying power to the microcontroller to thereby power up the microcontroller.

[0041] hi. The keypad according to embodiment ii, wherein the power regulator is a DC/DC converter.

[0042] iv. The keypad according to any one of the preceding embodiments, wherein a low-pass filter is provided between the plurality of keys and the at least one switch.

[0043] v. The keypad according to any one of the preceding embodiments, wherein the keypad keys are provided in a matrix with rows and columns, wherein the keypad further comprises: a plurality of row key connections and a plurality of column key connections; wherein each key is connected to a single row key connection and a single column key connection, such that when actuated, each key provides a connection between a single column key connection and a single row key connection.

[0044] vi. The keypad according to embodiment v, wherein each one of the row key connections and/or each one of the column key connections is provided with a respective port circuit that is configured to connect the key connection with keys of the keypad when the wake-up signal is activated.

[0045] vii. The keypad according to any one of the preceding embodiments, wherein each key is configured to, when actuated, connect the voltage bus to a control terminal of a first switch, thereby supplying a control signal to a second switch that closes a connection between the voltage bus and the wake-up signal.

[0046] viii. The keypad according to any one of the preceding embodiments, wherein at least one diode is provided between the plurality of keys and the at least one switch.

[0047] ix. The keypad according to any one of the preceding embodiments, further comprising the microcontroller.

[0048] The aspects of the present disclosure have mainly been described above with reference to a few embodiments. However, as is readily appreciated by a person skilled in the art, other embodiments than the ones disclosed above are equally possible within the scope of the invention, as defined by the appended patent claims. Thus, while various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.