Three-mode keyboard low-power-consumption implementation method based on Hall effect

By introducing low-power mode and timing wake-up mechanisms into the three-mode keyboard, the high power consumption problem caused by Hall sensor is solved, extending the keyboard's battery life and meeting the low-power needs.

CN120179050APending Publication Date: 2025-06-20CHANGZHOU WEISIBAIRUI ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510130775.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-06
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

The existing three-mode keyboard based on the Hall effect consumes too much power due to the addition of Hall sensors, which cannot meet the low power consumption needs of three-mode keyboards.

Method used

By introducing a low power mode into the keyboard, when there is no key trigger in wireless mode for a long time, the keyboard enters a low power mode. The timer actively wakes up the main control chip for key detection, and enters a low power mode again after the detection is completed to reduce the power consumption of the Hall sensor.

Benefits of technology

It achieves extended the battery life of the keyboard, meets the low-power consumption needs of the three-mode keyboard, and is compatible with various usage scenarios such as wired, Bluetooth and 2.4G mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179050A_ABST
    Figure CN120179050A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of three-mode keyboards, and discloses a Hall effect-based three-mode keyboard low power consumption implementation method, which comprises a key module, a Hall sensor module, a main control chip module, a wireless function module and a charging and discharging module. Whether a key is pressed down or not is judged, and whether the low-power-consumption mode needs to be quitted or not is determined, so that the limitation of insufficient endurance time under the condition that a battery is used for supplying power is solved, the endurance time of the keyboard is prolonged, and when the keyboard is in a wireless mode and no key is triggered for a long time, the low-power-consumption mode of a chip is actively entered. When the chip enters the low-power-consumption mode, the Hall sensor cannot be driven, and key awakening cannot be achieved. The keyboard solves the problem that an existing keyboard based on the Hall effect is too high in power consumption due to the use of a Hall sensor and cannot meet the low-power-consumption requirement of a three-mode keyboard.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention application relates to the technical field of three - mode keyboards, and specifically to a method for realizing low power consumption of a three - mode keyboard based on the Hall effect. Background Art

[0002] The keyboard is one of the basic input devices of a computer. Through the keyboard, English letters, Chinese characters, numbers, punctuation marks, etc. can be input into the computer, so as to issue commands to the computer, input data, etc. Common types include mechanical keyboards and membrane keyboards, or single - mode (wired connection) or multi - mode (wired, Bluetooth or 2.4G) connections. Mechanical keyboards are loved by the public for their comfortable feel, high - fidelity typing sound and durability. However, their mechanical contacts are prone to wear, and the problem of contact wear leads to a limited lifespan, usually between 20 million and 100 million key presses. The contact - type design is also easily affected by dust and liquid erosion, which affects the key performance, service life and performance stability. Although membrane keyboards have a lower cost, due to their lack of good key feedback and high durability, they cannot meet the needs of high - end users.

[0003] With the development of technology, a new type of keyboard that uses the Hall effect to detect keys has emerged, which basically makes up for the shortcomings of membrane keyboards and mechanical keyboards. However, in the existing solutions, since the Hall sensor needs to be continuously powered to detect magnetic field changes in real - time, the power consumption is too large, and currently it is only suitable for use in wired keyboards and cannot meet the low - power requirements of three - mode keyboards. Summary of the Invention

[0004] In order to solve the problem that the existing three - mode keyboard based on the Hall effect has too large power consumption due to the addition of the Hall sensor and cannot meet the low - power requirements of the three - mode keyboard, the present invention provides a method for realizing low power consumption of a three - mode keyboard based on the Hall effect to solve the above problems.

[0005] To achieve the above object, the present invention provides the following technical solutions:

[0006] A method for realizing low power consumption of a three - mode keyboard based on the Hall effect, the implementation method includes a key module, a Hall sensor module, a main control chip module, a wireless function module and a charge - discharge module;

[0007] The implementation method includes the following steps:

[0008] Step (A), when the keyboard works in the wireless mode and no key trigger is detected within a preset time period, the keyboard enters the low - power mode;

[0009] Step (B), after the keyboard enters the low - power mode and reaches the time period, the timer actively wakes up the main control chip to enter the key detection state. At this time, the main control chip will turn on the power supply of the Hall sensor;

[0010] Step (C), the main control chip determines the subsequent working state according to the detection of the Hall sensor.

[0011] Further, the time period in the step (A) is 0.05 - 300 s.

[0012] Further, the steps for the keyboard to enter the low power consumption mode in the step (A) are as follows:

[0013] Step (A1), turn off the key light.

[0014] Step (A2), control the wireless module to enter the low power consumption mode.

[0015] Step (A3), turn off the power supply of all Hall sensors.

[0016] Step (A4), the main control chip configures the timing wake-up function in the low power consumption mode with its built-in timer.

[0017] Step (A5), the main control chip enters the low power consumption mode.

[0018] Further, after the Hall sensor is powered on in the step (B), it detects the key position and outputs the detection result to the main control chip. After the main control chip reads the detection result, it immediately turns off the power supply of the Hall sensor.

[0019] Further, the execution time of one key detection cycle in the step (B) is about 100 μs.

[0020] Further, in the step (C), when no key press is detected, the main control chip reconfigures the timing wake-up function in the low power consumption mode and then enters the low power consumption mode.

[0021] Further, in the step (C), when a key press is detected, the main control chip exits the low power consumption mode according to the steps.

[0022] Further, the steps for the main control chip to exit the low power consumption mode in the step (C) are as follows:

[0023] The step (C1), wake up the wireless module to enter the normal working state.

[0024] The step (C2), turn on the key light.

[0025] The step (C3), after the wireless communication is restored, report the key detection result in the low power consumption mode.

[0026] Further, the key module adopts magnetic axis keys, and a small magnet is equipped at the bottom of the keys. As the keys are pressed or released, the position of the magnet changes, thereby affecting the magnetic field strength. The Hall sensor module is arranged below each key. By detecting the magnetic field strength when the key is pressed or lifted, the output result of the Hall sensor is changed for the main control chip to judge and process.

[0027] Further, the main control chip module coordinates the working logic of each module, mainly responsible for converting the output result of the Hall sensor into a key signal and outputting it to the computer. The wireless function module reports the key information to the host side in a wireless mode. The charge and discharge module controls the power stability of the entire system and realizes circuit protection such as overcharge and overload.

[0028] Compared with the prior art, the beneficial effects of the present invention are:

[0029] In the present invention, key detection is performed by means of timed wake-up to determine whether a key is pressed and decide whether it is necessary to exit the low-power mode, thereby solving the limitation of insufficient battery life when using battery power supply and extending the battery life of the keyboard. When the keyboard is in the wireless mode, it actively enters the low-power mode of the chip when there is no key trigger for a long time. When the chip enters the low-power mode, the Hall sensor cannot be driven, and the key wake-up cannot be realized. The present invention solves the problem that the existing Hall effect-based keyboard has excessive power consumption due to the use of the Hall sensor and cannot meet the low-power requirements of the three-mode keyboard. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0031] Figure 1 is a schematic structural diagram of a magnetic axis key according to an embodiment of the present application;

[0032] Figure 2 is a schematic structural diagram of a Hall sensor according to an embodiment of the present application;

[0033] Figure 3 is Figure 1 a schematic diagram of a key detection flowchart in the shown embodiment;

[0034] Figure 4 is Figure 1 a schematic diagram of a low-power timed wake-up flowchart in the shown embodiment;

[0035] Figure 5 Yes Figure 1 Schematic diagram of key detection principle in the illustrated embodiment. Specific implementation manner

[0036] In order to make the application purpose, features, and advantages of the present application more obvious and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the embodiments described below are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0037] Refer to Figures 1 to 5 , a low-power implementation method for a three-mode keyboard based on the Hall effect, the implementation method includes a key module, a Hall sensor module, a main control chip module, a wireless function module, and a charging and discharging module;

[0038] The implementation method includes the following steps:

[0039] Step (A), when the keyboard is working in the wireless mode and no key trigger is detected within a preset time period, the keyboard enters the low-power mode;

[0040] Step (B), after the keyboard enters the low-power mode and reaches the time period, the timer actively wakes up the main control chip to enter the key detection state, and at this time, the main control chip will turn on the power supply of the Hall sensor;

[0041] Step (C), the main control chip determines the subsequent working state according to the detection of the Hall sensor;

[0042] The magnetic axis key has a contactless design compared with the traditional mechanical axis key, avoiding wear problems, with a key life of up to hundreds of millions of times. The Hall effect detection has a fast response speed, extremely low latency, high-precision detection, is suitable for e-sports and high-intensity input scenarios, has a simple structure, a high product production yield, low production costs, a contactless structure reduces losses, and reduces maintenance costs. By entering the low-power mode, the usage time is extended, the battery life is longer, and it is more suitable for outdoor office environments where charging is inconvenient. It is compatible with multiple usage scenarios such as wired mode, Bluetooth mode, and 2.4G mode.

[0043] When the keyboard is working in the wireless mode and within a preset time period, the time period is 0.05 - 300 s, and no key trigger is detected, the keyboard will enter the low-power mode according to the following steps: 1. Turn off the key lights, 2. Control the wireless module to enter the low-power mode, 3. Turn off the power supply of all Hall sensors, such as Figure 4Among R1_EN---RN_EN, 4. The main control chip configures the timer wake-up function in the low-power mode with its built-in timer. 5. The main control chip enters the low-power mode;

[0044] Assume that the configured wake-up period of the main control chip is 50 ms. After the main control chip enters the low-power mode for 50 ms, the timer actively wakes up the main control chip and enters the key detection state. At this time, the main control chip will turn on the power of the Hall sensor, that is Figure 4 Among R1_EN---RN_EN, after the Hall sensor is powered on, it will detect the key position and output the detection result to the main control chip, that is Figure 4 Among COL_1---COL_N, the execution time of one key detection cycle is about 100 us. After the main control chip reads the detection result, that is Figure 4 Among COL_1---COL_N, immediately turn off the power of the Hall sensor, that is Figure 4 Among R1_EN---RN_EN, and then determine the subsequent working state according to the key detection result;

[0045] When no key press is detected, that is, the magnetoresistive sensor (i.e., the Hall sensor) does not detect the travel change of the magnet inside the keyboard axis, the main control chip reconfigures the timer wake-up function in the low-power mode and then enters the low-power mode; when a key press is detected, the main control chip exits the low-power mode according to the following steps: 1. Wake up the wireless module to enter the normal working state. 2. Turn on the key light. 3. After the wireless communication resumes, report the key detection result in the low-power mode, such as Figure 3 After measurement, the average power consumption of a 68-key three-mode keyboard during normal operation is about 150 mA - 200 mA, and the power consumption of a single Hall sensor is about 1.1 mA. If the main control chip is periodically woken up for key detection with a 50 ms sleep time plus a 100 us key detection time as the cycle, the average power consumption of the keyboard in the low-power mode can be reduced to about 400 uA, which basically meets the power consumption requirements of the three-mode keyboard in the low-power mode, and this power consumption value can be further reduced by increasing the timed sleep wake-up time.

[0046] Among them, the key module uses magnetic axis keys, which are characterized by a small magnet equipped at the bottom of the key. As the key is pressed or released, the position of the magnet changes, thus affecting the magnetic field strength;

[0047] The Hall sensor module is arranged under each key. By detecting the magnetic field strength when the key is pressed or lifted, the output result of the Hall sensor is changed for the main control chip to judge and process;

[0048] Main control chip module: Coordinate the working logic of each module, mainly responsible for converting the output result of the Hall sensor into a key signal and outputting it to the computer, and at the same time handling the wake-up in the low-power mode and some other basic functions of the keyboard;

[0049] Wireless function module: Responsible for reporting the key information to the host side wirelessly.

[0050] Charge and discharge module: Responsible for controlling the power stability of the entire system and implementing circuit protection such as overcharge and overload.

[0051] For those skilled in the art, it is obvious that this application is not limited to the details of the above exemplary embodiments, and without departing from the spirit or basic characteristics of this application, this application can be implemented in other specific forms. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-limiting. The scope of this application is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in this application. Any reference signs in the claims should not be regarded as limiting the claimed rights.

[0052] As described above, the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it; although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments or equivalently replace some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for realizing low power consumption of a three-mode keyboard based on the Hall effect, characterized in that: The implementation method includes a key module, a Hall sensor module, a main control chip module, a wireless function module and a charging and discharging module; The implementation method comprises the following steps: Step (A), when the keyboard is operating in wireless mode, if no key trigger is detected within a preset time period, the keyboard enters a low power consumption mode; Step (B), after the keyboard enters the low power mode for a certain period of time, the timer actively wakes up the main control chip to enter the key detection state, at which time the main control chip turns on the power supply of the Hall sensor; Step (C), the main control chip determines the subsequent working state according to the detection of the Hall sensor.

2. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: The time period in the step (A) is 0.05-300s.

3. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: In step (A), the keyboard enters the low power consumption mode as follows: Step (A1), turn off the key light; Step (A2), controlling the wireless module to enter a low power consumption mode; Step (A3), turning off the power supply of all Hall sensors; Step (A4), the main control chip uses its own timer to configure the timed wake-up function in the low power consumption mode; Step (A5), the main control chip enters a low power consumption mode.

4. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: In the step (B), the Hall sensor detects the button position after being powered on, and outputs the detection result to the main control chip. After the main control chip reads the detection result, it immediately turns off the power of the Hall sensor.

5. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: The key detection cycle in step (B) is about 100us.

6. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: In the step (C), when no key press is detected, the main control chip reconfigures the timer wake-up function in the low power consumption mode and enters the low power consumption mode.

7. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: In the step (C), when it is detected that a key is pressed, the main control chip exits the low power consumption mode according to the steps.

8. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: In step (C), the steps for the main control chip to exit the low power consumption mode are: The step (C1) is to wake up the wireless module and put it into normal working state; The step (C2) is to turn on the key light; The step (C3) reports the key detection result in the low power consumption mode after the wireless communication is restored.

9. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: The button module adopts a magnetic axis button, and a small magnet is equipped at the bottom of the button. As the button is pressed or released, the position of the magnet changes, thereby affecting the magnetic field strength. The Hall sensor module is arranged under each button, and changes the Hall sensor output result by detecting the magnetic field strength when the button is pressed or released, so that the main control chip can judge and process it.

10. The method for realizing low power consumption of a three-mode keyboard based on the Hall effect according to claim 1, characterized in that: The main control chip module coordinates the working logic of each module, and is mainly responsible for converting the output results of the Hall sensor into key signals and outputting them to the computer. The wireless function module reports the key information to the host end wirelessly. The charging and discharging module controls the power stability of the entire system to achieve circuit protection such as overcharging and overload.