CN114448444A - High-performance mechanical keyboard driving chip and mechanical keyboard - Google Patents

High-performance mechanical keyboard driving chip and mechanical keyboard Download PDF

Info

Publication number
CN114448444A
CN114448444A CN202210070244.1A CN202210070244A CN114448444A CN 114448444 A CN114448444 A CN 114448444A CN 202210070244 A CN202210070244 A CN 202210070244A CN 114448444 A CN114448444 A CN 114448444A
Authority
CN
China
Prior art keywords
module
mechanical keyboard
key
mechanical
data signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210070244.1A
Other languages
Chinese (zh)
Inventor
李亚
蒋仁杰
谭晓强
郭斌
李俊丰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Ruiyi Microelectronics Co ltd
Original Assignee
Changsha Ruiyi Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changsha Ruiyi Microelectronics Co ltd filed Critical Changsha Ruiyi Microelectronics Co ltd
Priority to CN202210070244.1A priority Critical patent/CN114448444A/en
Publication of CN114448444A publication Critical patent/CN114448444A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning

Abstract

The invention discloses a high-performance mechanical keyboard driving chip and a mechanical keyboard, wherein the mechanical keyboard driving chip comprises a key detection module (100), a communication module (101), a digital module (102), an oscillator module (103) and an LED driving module (104); the key detection module (100) detects the key state and stores the detected key state in the digital module (102); the oscillator module (103) provides a clock for the digital module (102); the LED driving module (104) is used for driving the lamp effect LED; the communication module (101) is used for receiving commands and data sent by the controller and transmitting the key state stored by the digital module (102) back to the controller; the standby power consumption of the chip in the standby mode is less than 0.1 uA; waking up the controller when a key is operated; each key corresponds to an independent key detection module (100), the key detection speed is high, the accuracy is high, and the high report rate exceeding 8kHz is realized; the chip can be applied to the field of mechanical keyboards due to the characteristics, and a high-end mechanical keyboard with ultralow standby power consumption and high report rate is developed.

Description

High-performance mechanical keyboard driving chip and mechanical keyboard
Technical Field
The invention mainly relates to the field of mechanical keyboards, in particular to a high-performance mechanical keyboard driving chip with low standby power consumption and high report rate and a mechanical keyboard.
Background
For a traditional mechanical keyboard, a dynamic matrix scanning working mode is adopted for key detection, a matrix with m rows and n columns is adopted for key detection, in order to prevent detection errors caused by key shaking, the detection time of each column exceeds 200us, and the time n x 200us for completing the whole keyboard scanning is limited, the dynamic matrix scanning working mode limits the promotion of the key detection speed, so that the mechanical keyboard cannot realize higher report rate; because the traditional mechanical keyboard adopts a dynamic matrix scanning working mode, after the keyboard enters a standby mode, a controller needs to be awakened regularly to realize keyboard awakening, and the keyboard matrix is scanned, so that the standby power consumption of the keyboard is higher, and the service life of a battery is influenced for the keyboard powered by the battery; the detection frequency during standby can only be reduced for reducing the standby power consumption, so that the keyboard is awakened slowly, and the keyboard use experience is greatly influenced.
Therefore, there is a need to provide an improved mechanical keyboard driver chip to overcome the above-mentioned drawbacks.
The invention provides a high-performance mechanical keyboard driving chip, which solves the technical problem and comprises a key detection module (100), a communication module (101), a digital module (102), an oscillator module (103) and an LED driving module (104); the key detection module (100) detects the key state and stores the detected key state in the digital module (102); the oscillator module (103) provides a clock for the digital module (102); the LED driving module (104) is used for driving the lamp effect LED; the communication module (101) is used for receiving commands and data sent by the controller and transmitting the key state stored by the digital module (102) back to the controller; in the standby mode, the standby power consumption of the chip is less than 0.1 uA; waking up the controller when a key is operated; each key corresponds to an independent key detection module (100), the key detection speed is high, the accuracy is high, and the high report rate exceeding 8kHz is realized; the chip can be applied to the field of mechanical keyboards due to the characteristics, and a high-end mechanical keyboard with ultralow standby power consumption and high report rate is developed.
Disclosure of Invention
The invention mainly solves the problems that: aiming at the problems in the prior art, the invention provides a high-performance mechanical keyboard driving chip and a mechanical keyboard, wherein the driving chip has extremely low standby power consumption, in a standby mode, a communication module (101) does not adopt a daisy chain shift mode any more, an output data signal SDO is equal to an input data signal SDI and the bit operation of a key detection state, and a key awakening function is supported; each key corresponds to an independent key detection module (100), and the key detection speed is high and the accuracy is high; the mechanical keyboard using the mechanical keyboard driving chip can realize extremely low standby power consumption and report rate exceeding 8 kHz.
In order to solve the technical problems, the solution proposed by the invention is as follows: the system comprises a key detection module (100), a communication module (101), a digital module (102), an oscillator module (103) and an LED drive module (104); the key detection module (100) detects the state of the key, the detected state of the key is stored in the digital module (102), and the output of the key detection module (100) is connected to a first input port of the digital module (102); the oscillator module (103) provides a clock for the digital module (102), and the output of the oscillator module (103) is connected to a second input port of the digital module (102); the LED driving module (104) is used for driving a lamp effect LED, and the input of the LED driving module (104) is connected to the output port of the digital module (102); the communication module (101) is used for receiving commands and data sent by the controller and transmitting the key states stored by the digital module (102) back to the controller, the communication module (101) is connected to a third input port of the digital module (102), an input clock signal SCK of the communication module (101), an input data signal SDI and an output data signal SDO are output by shifting the input data signal SDI.
The mechanical keyboard driving chip is characterized in that the communication module (101) adopts a daisy chain shift mode in a normal working mode, and inputs the clock signal SCK, the input data signal SDI and the output data signal SDO, wherein the output data signal SDO is a shift output of the input data signal SDI.
The mechanical keyboard driving chip is characterized in that in the standby mode, the communication module (101) does not adopt a daisy chain shift mode any more, and the output data signal SDO is equal to the input data signal SDI and the bit operation of the key detection state.
The mechanical keyboard driving chip is characterized in that in the standby mode, the communication module (101) does not adopt a daisy chain shift mode any more, and the clock signal SCK is input as a wake-up signal of the mechanical keyboard driving chip.
The mechanical keyboard driving chip is characterized in that the key detection module (100) adopts a detection structure with hysteresis for solving the problem of mechanical key jitter, and burr filtering time and debounce time of key detection can be configured through the communication module (101).
A mechanical keyboard, comprising: the keyboard comprises a main controller, one or more mechanical keys and one or more mechanical keyboard driving chips.
The mechanical keyboard is characterized in that: the mechanical keyboard driving chip can be distributed on one scan chain or a plurality of scan chains.
The mechanical keyboard is characterized in that: each mechanical keyboard driver chip may drive one or more mechanical keys.
The mechanical keyboard is characterized in that: each mechanical keyboard driver chip may drive zero or more LEDs.
Compared with the prior art, the invention has the advantages that:
1. the standby power consumption is extremely low, and after the keyboard of the traditional mechanical keyboard enters a standby mode, the controller needs to be awakened regularly to scan the keyboard matrix in order to realize the awakening of the keyboard, so that the standby power consumption of the keyboard is limited; each key corresponds to an independent key detection module (100), periodic scanning is not needed, and the static power consumption of the chip in a standby mode is less than 0.1 uA.
2. The traditional mechanical keyboard only can reduce standby power consumption and scanning frequency during standby in order to reduce standby power consumption, so that the awakening speed is low; each key corresponds to an independent key detection module (100), periodic scanning is not needed, in a standby mode, a communication module (101) does not adopt a daisy chain shifting mode any more, an output data signal SDO is equal to an input data signal SDI and bit operation of a key detection state, a controller is awakened in real time, and the controller has extremely high awakening speed.
3. Has extremely high report rate. The traditional mechanical keyboard key detection adopts a dynamic matrix scanning working mode, and the dynamic matrix scanning working mode limits the promotion of key detection speed; each key corresponds to an independent key detection module (100), periodic scanning is not needed, the detection speed is high, the accuracy is high, and the high report rate exceeding 8kHz is realized.
Drawings
FIG. 1 is a schematic structural diagram of a high performance mechanical keyboard driving chip according to the present invention;
FIG. 2 is a timing diagram for detecting high jump of a key of the present invention;
FIG. 3 is a timing diagram illustrating low transition for key detection according to the present invention;
fig. 4 is a schematic diagram of the mechanical keyboard of the present invention.
Detailed Description
The invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
Referring to fig. 1, a high performance mechanical keyboard driving chip of the present invention is characterized in that: the system comprises a key detection module (100), a communication module (101), a digital module (102), an oscillator module (103) and an LED drive module (104); the key detection module (100) detects the state of the key, the detected state of the key is stored in the digital module (102), and the output of the key detection module (100) is connected to a first input port of the digital module (102); the oscillator module (103) provides a clock for the digital module (102), and the output of the oscillator module (103) is connected to a second input port of the digital module (102); the LED driving module (104) is used for driving a lamp effect LED, and the input of the LED driving module (104) is connected to the output port of the digital module (102); the communication module (101) is used for receiving commands and data sent by the controller and transmitting the key states stored by the digital module (102) back to the controller, the communication module (101) is connected to a third input port of the digital module (102), an input clock signal SCK of the communication module (101), an input data signal SDI and an output data signal SDO are output by shifting the input data signal SDI.
Fig. 2 is a timing diagram of detecting high jump of a key according to the present invention, taking detecting high jump of a key signal as an example, SW is a key input signal, when SW jumps high, due to a structural problem of a mechanical key, SW shakes for a duration of t3, and in order to filter out SW key shake, the present invention adopts a scheme that: after the key detection module (100) detects a rising edge, if the duration of the high level is longer than the glitch filtering time t1, the key operation is considered as one key operation, the output SW _ OUT signal of the key detection module (100) is high, but the key jitter is not finished at this time, because the artificial key operation is less than 20 times per second, the key detection module (100) does not detect the SW input signal any more during the debounce time t2 after the SW _ OUT output is high, the SW _ OUT keeps the high level output, as long as the debounce time t2 is less than 50ms, the output accuracy of the key cannot be affected, the scheme is fast in key detection, the time from the change of the key input signal SW to the output SW _ OUT signal of the key detection module (100) is delayed to the glitch filtering time t1, and the glitch filtering time t1 is typically 50 us; the timing chart of the key detection low jump is easily obtained according to the high jump of the key signal, which is shown in figure 3; in order to adapt to different key characteristics and mechanical keyboard requirements, the burr filtering time t1 and the debounce time t2 can be flexibly configured through the communication module (101).
In the mechanical keyboard driving chip, a communication module (101) does not work in a daisy chain shifting mode any more in a standby mode, and an output data signal SDO is equal to an input data signal SDI and bit operation of a key detection state; taking the key input signal SW as a high level during the key operation of the mechanical keyboard as an example, SDO = SDI or SW in the standby mode; FIG. 4 is a schematic diagram of a mechanical keyboard of the present invention, in which n mechanical keyboard driving chips are connected in series, the SDO of the controller is connected to the SDI of chip one, the SCK of the controller is connected to the SCK of each chip, the SDI of the controller is connected to the SDO of chip n, and the SDIs and SDOs of adjacent chips are connected end to end; entering a standby modeSignal SDO of formula rear-entry controllernThe expression is as follows:
SDOn=SDI|SW1|SW2|…|SWn-1|SWn
in standby mode, SDO of the main controller outputs 0, SDI is 0, when any key is pressed, SW signal is changed to high, SDOnChanging the low level into the high level to wake up the controller; and after the controller is awakened, the SCK signal is turned over to awaken all the mechanical keyboard driving chips, and the mechanical keyboard enters a normal working mode.
The mechanical keyboard using the mechanical keyboard driving chip can effectively reduce standby power consumption, improve the keyboard awakening speed, improve the key detection speed and accuracy of the keyboard, and improve the application scheme and the product competitiveness.
The schematic diagrams and implementations of the above modules refer to all implementations having this function. The circuits shown in the above figures are only examples, and the circuit changes caused by simply replacing the devices also belong to the protection scope of the present invention, which should be controlled by the claims.

Claims (9)

1. A high-performance mechanical keyboard driving chip is characterized in that: the system comprises a key detection module (100), a communication module (101), a digital module (102), an oscillator module (103) and an LED drive module (104); the key detection module (100) detects the state of the key, the detected state of the key is stored in the digital module (102), and the output of the key detection module (100) is connected to a first input port of the digital module (102); the oscillator module (103) provides a clock for the digital module (102), and the output of the oscillator module (103) is connected to a second input port of the digital module (102); the LED driving module (104) is used for driving a lamp effect LED, and the input of the LED driving module (104) is connected to the output port of the digital module (102); the communication module (101) is used for receiving commands and data sent by the controller and transmitting the key states stored by the digital module (102) back to the controller, the communication module (101) is connected to a third input port of the digital module (102), an input clock signal SCK of the communication module (101), an input data signal SDI and an output data signal SDO are output by shifting the input data signal SDI.
2. The mechanical keyboard driver chip of claim 1, wherein the communication module (101) employs a daisy chain shift scheme in a normal operation mode, wherein the input clock signal SCK, the input data signal SDI, and the output data signal SDO are shifted outputs of the input data signal SDI.
3. The mechanical keyboard driver chip of claim 1, wherein in the standby mode, the communication module (101) no longer employs daisy chain shift mode, and the output data signal SDO is equal to the input data signal SDI and the bit operation of the key detection status.
4. The mechanical keyboard driver chip according to claim 1, wherein in the standby mode, the communication module (101) no longer employs daisy chain shift mode, and inputs the clock signal SCK as the wake-up signal of the mechanical keyboard driver chip.
5. The mechanical keyboard driver chip of claim 1, wherein the key detection module (100) employs a detection structure with hysteresis to solve the mechanical key jitter problem, and the communication module (101) can configure the glitch filtering time and the debounce time for key detection.
6. A mechanical keyboard, comprising: the mechanical keyboard comprises a main controller, one or more mechanical keys and one or more mechanical keyboard driving chips as claimed in any one of claims 1-5.
7. The mechanical keyboard of claim 6, wherein: the mechanical keyboard driving chip can be distributed on one scan chain or a plurality of scan chains.
8. The mechanical keyboard of claim 6, wherein: each mechanical keyboard driver chip may drive one or more mechanical keys.
9. The mechanical keyboard of claim 6, wherein: each mechanical keyboard driver chip may drive zero or more LEDs.
CN202210070244.1A 2022-01-21 2022-01-21 High-performance mechanical keyboard driving chip and mechanical keyboard Pending CN114448444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210070244.1A CN114448444A (en) 2022-01-21 2022-01-21 High-performance mechanical keyboard driving chip and mechanical keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210070244.1A CN114448444A (en) 2022-01-21 2022-01-21 High-performance mechanical keyboard driving chip and mechanical keyboard

Publications (1)

Publication Number Publication Date
CN114448444A true CN114448444A (en) 2022-05-06

Family

ID=81368619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210070244.1A Pending CN114448444A (en) 2022-01-21 2022-01-21 High-performance mechanical keyboard driving chip and mechanical keyboard

Country Status (1)

Country Link
CN (1) CN114448444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928910A (en) * 2022-06-27 2022-08-19 长沙锐逸微电子有限公司 LED driving chip

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580913A (en) * 1991-09-18 1993-04-02 Hitachi Ltd Keyboard device
US6040788A (en) * 1998-01-21 2000-03-21 Vlsi Technology, Inc. Cache based scan matrix keyboard controller
US20080246634A1 (en) * 2007-04-03 2008-10-09 Motorola, Inc. Key press registration in an electronic device with moveable housings
WO2011120553A1 (en) * 2010-03-29 2011-10-06 Greenpeak Technologies N.V. Keyboard scanner
US20130290760A1 (en) * 2011-10-01 2013-10-31 Barnes Cooper Fast platform hibernation and resumption of computing systems
CN106125945A (en) * 2016-06-20 2016-11-16 贵州航天天马机电科技有限公司 A kind of universal keyboard for vehicle-mounted cabinet
CN110221709A (en) * 2019-05-28 2019-09-10 深圳超酷科技有限公司 A kind of key detecting method, keyboard and key system
CN110308707A (en) * 2019-07-04 2019-10-08 无锡琼智信息科技有限公司 Controller, intelligentized Furniture and key control method
CN110850995A (en) * 2019-12-17 2020-02-28 郝小妮 Hall integrated circuit, key and mechanical keyboard
CN111142654A (en) * 2019-12-27 2020-05-12 安凯(广州)微电子技术有限公司 Low-power-consumption chip architecture system with multiple wake-up source inputs and quick starting method
CN113157104A (en) * 2021-04-29 2021-07-23 长沙锐逸微电子有限公司 Mechanical key detection chip and mechanical keyboard
WO2021197199A1 (en) * 2020-03-31 2021-10-07 比亚迪半导体股份有限公司 Touch key scanning circuit, low power mode exiting method, and device
CN113608605A (en) * 2021-07-16 2021-11-05 芯来智融半导体科技(上海)有限公司 Wake-up circuit, chip system and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0580913A (en) * 1991-09-18 1993-04-02 Hitachi Ltd Keyboard device
US6040788A (en) * 1998-01-21 2000-03-21 Vlsi Technology, Inc. Cache based scan matrix keyboard controller
US20080246634A1 (en) * 2007-04-03 2008-10-09 Motorola, Inc. Key press registration in an electronic device with moveable housings
WO2011120553A1 (en) * 2010-03-29 2011-10-06 Greenpeak Technologies N.V. Keyboard scanner
US20130290760A1 (en) * 2011-10-01 2013-10-31 Barnes Cooper Fast platform hibernation and resumption of computing systems
CN106125945A (en) * 2016-06-20 2016-11-16 贵州航天天马机电科技有限公司 A kind of universal keyboard for vehicle-mounted cabinet
CN110221709A (en) * 2019-05-28 2019-09-10 深圳超酷科技有限公司 A kind of key detecting method, keyboard and key system
CN110308707A (en) * 2019-07-04 2019-10-08 无锡琼智信息科技有限公司 Controller, intelligentized Furniture and key control method
CN110850995A (en) * 2019-12-17 2020-02-28 郝小妮 Hall integrated circuit, key and mechanical keyboard
CN111142654A (en) * 2019-12-27 2020-05-12 安凯(广州)微电子技术有限公司 Low-power-consumption chip architecture system with multiple wake-up source inputs and quick starting method
WO2021197199A1 (en) * 2020-03-31 2021-10-07 比亚迪半导体股份有限公司 Touch key scanning circuit, low power mode exiting method, and device
CN113157104A (en) * 2021-04-29 2021-07-23 长沙锐逸微电子有限公司 Mechanical key detection chip and mechanical keyboard
CN113608605A (en) * 2021-07-16 2021-11-05 芯来智融半导体科技(上海)有限公司 Wake-up circuit, chip system and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱仕浪,王宜怀,冯德旺: "《基于KL25低功耗唤醒机制的TSI键盘应用分析》", 《知网》 *
石朝林编著: "《dsPIC数字信号控制器入门与实战 入门篇》", 31 August 2009 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928910A (en) * 2022-06-27 2022-08-19 长沙锐逸微电子有限公司 LED driving chip

Similar Documents

Publication Publication Date Title
US4649373A (en) Powered conservation system in battery powered keyboard device including a microprocessor
US7783905B2 (en) Method for reducing power consumption of a computer system in the working state
EP2324407B1 (en) Circuit having a low power mode
US8923088B2 (en) Solid state storage device with sleep control circuit
TWI401696B (en) Progressive power control of a multi-port memory device
US4901076A (en) Circuit for converting between serial and parallel data streams by high speed addressing
EP1749256B1 (en) Automatic clock speed control
US20080080648A1 (en) Microcontroller unit (mcu) with suspend mode
CN114448444A (en) High-performance mechanical keyboard driving chip and mechanical keyboard
CN1866166A (en) Systematic large-scale integrated circuit
JP2005166048A (en) Read-only serial interface provided with other intended use mode programming
KR20130122695A (en) Power conservation
US20100214854A1 (en) Shift register providing glitch free operation in power saving mode
EP1965608B1 (en) Control circuit for automatically generating latch signal to control LED device according to input data signal and clock signal
US10331592B2 (en) Communication apparatus with direct control and associated methods
TW200713331A (en) DLL driver control circuit
CN112825236A (en) Display driving system and method for display driving system
TWI697841B (en) Control circuit and method for fast setting power mode
US7457972B2 (en) South and north bridge and related computer system for supporting CPU
US11297699B2 (en) LED module with sleep mode and LED light string having the same
CN111600591A (en) Key identification method and system of matrix keyboard
JPH06350415A (en) Module clock signal genarating circuit and electronics system
CN116743705B (en) Address configuration method, backlight control device and display device
CN211296708U (en) Circuit for multiplexing GPIO interface
CN112382226B (en) Data driving chip and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination