Hall linear switch single-key wake-up circuit and keyboard

Through the Hall linear switch single-key wake-up circuit, the independently powered Hall sensor chip and wake-up circuit are used to wake up the control chip only when needed, which solves the problem that Hall circuit cannot save power and achieves rapid response and energy consumption saving effects.

CN223157065UActive Publication Date: 2025-07-25SHENZHEN RONGYUAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422386668.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-07-25
Estimated Expiration
2034-09-29

AI Technical Summary

Technical Problem

The existing Hall circuit cannot enter the power-saving mode of the control chip, resulting in faster battery power consumption and the existing power-saving design is complex and costly.

Method used

The Hall linear switch single-key wake-up circuit is adopted, including an independently powered Hall sensor chip and a shared powered Hall sensor chip. It is connected to the control chip through the wake-up circuit, and only wakes up the control chip when needed, saving overall energy consumption.

Benefits of technology

It realizes rapid response to external changes without relying on other circuit states, triggering wake-up signals, significantly saving energy consumption and improving battery life.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223157065U_ABST
    Figure CN223157065U_ABST
Patent Text Reader

Abstract

The utility model discloses a Hall linear switch single-button wake-up circuit and a keyboard, the Hall linear switch single-button wake-up circuit comprises a Hall sensor circuit, a wake-up circuit and a control chip U1, the Hall sensor circuit comprises a plurality of Hall sensor chips and a Hall chip switch circuit, one of the Hall sensor chips independently supplies power, the other Hall sensor chips share power supply, the wake-up circuit is connected with the Hall sensor chip independently supplying power and the control chip U1, and the control chip U1 is connected with the Hall chip switching circuit. According to the utility model, by using the wake-up circuit and the independently-powered Hall sensor chip, the control chip U1 is only waken up when needed, the overall energy consumption is saved, the structural design is simple, and the independently-powered Hall sensor can work continuously without depending on the on-off states of other circuits, so that the cost is reduced. Therefore, external changes can be quickly responded and the wake-up signal can be triggered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of circuits, in particular to a Hall linear switch single-key wake-up circuit and a keyboard. Background Art

[0002] According to the characteristics of Hall sensors, magnetic axes are used in the keys of the keyboard. When a key is pressed or released, the Hall sensor will detect the change of the magnetic field, which is then converted into a change in voltage. After analog-to-digital conversion, the process of pressing or releasing the key is finally processed into a relative linear change. Detect the output voltage change of the Hall sensor in the current group, record the value of the analog-to-digital converter in the current group, and judge the current position of the key through a linear relationship, so as to complete the detection of pressing or releasing the key. When all Hall sensors in several groups are completely detected, the entire key scan cycle is completed. Since there is a certain travel trajectory for pressing and releasing the key, the travel trajectory is divided into several gears, and the value of each gear is recorded by the analog-to-digital converter. Finally, according to the size of the value, the boundary for judging whether the key is pressed or released can be divided into several gears.

[0003] The existing Hall circuit cannot put the control chip into the power-saving mode because it needs to monitor the key state in real time, resulting in relatively fast battery power consumption. Although there are currently some means to put the control chip into the power-saving mode, the design is relatively complex and the cost is relatively high. Summary of the Utility Model

[0004] The purpose of the utility model is to overcome the deficiencies of the prior art and provide a Hall linear switch single-key wake-up circuit and a keyboard.

[0005] To achieve the above purpose, the utility model adopts the following technical solutions:

[0006] On the one hand, the utility model provides a Hall linear switch single-key wake-up circuit, which includes a Hall sensor circuit, a wake-up circuit, and a control chip U1. The Hall sensor circuit includes multiple Hall sensor chips and a Hall chip switch circuit. One of the multiple Hall sensor chips is independently powered, and the other Hall sensor chips share the power supply. The wake-up circuit is connected to the independently powered Hall sensor chip and the control chip U1, and the control chip U1 is connected to the Hall chip switch circuit.

[0007] Further, the wake-up circuit includes a triode QN1, a triode QN2, a resistor R6, and a resistor R8. The base of the triode QN1 is connected to the output pin of the independently powered Hall sensor chip. The collector of the triode QN1 is connected to the control chip U1. The emitter of the triode QN1 is connected to the collector of the triode QN2. The base of the triode QN2 is connected to the control chip U1. The emitter of the triode QN2 is grounded. One end of the resistor R6 is connected to the base of the triode QN1. The other end of the resistor R6 is connected to one end of the resistor R8. The other end of the resistor R8 is connected to the emitter of the triode QN1.

[0008] Further, the wake-up circuit further includes a resistor R5. One end of the resistor R5 is connected to the power supply voltage. The other end of the resistor R5 is connected to the control chip U1.

[0009] Further, the wake-up circuit further includes a resistor R7. One end of the resistor R7 is connected to the base of the triode QN2. The other end of the resistor R7 is connected to the control chip U1.

[0010] Further, the Vcc pin of the independently powered Hall sensor chip is connected to the power supply voltage.

[0011] Further, the Hall chip switch circuit includes a resistor R4, a triode Q2, and a MOS transistor QP2. One end of the resistor R4 is connected to the control chip U1. The other end of the resistor R4 is connected to the base of the triode Q2. The emitter of the triode Q2 is grounded. The collector of the triode Q2 is connected to the power supply voltage. The gate of the MOS transistor QP2 is connected to the collector of the triode Q2. The source of the MOS transistor QP2 is connected to the Vcc pins of all the Hall sensor chips except the independently powered Hall sensor chip among the multiple Hall sensor chips. The drain of the MOS transistor QP2 is connected to the power supply voltage.

[0012] Further, the Hall chip switch circuit further includes a resistor R3. One end of the resistor R3 is connected to the power supply voltage. The other end of the resistor R3 is connected to the collector of the triode Q2.

[0013] Further, the output pin of the Hall sensor chip is connected to the control chip U1. The GND pin of the Hall sensor chip is grounded.

[0014] Further, the model of the control chip U1 is YC3021.

[0015] On the other hand, the present invention also provides a keyboard, including the above-mentioned Hall linear switch single-key wake-up circuit.

[0016] The beneficial effects of the present utility model compared with the prior art are as follows: A Hall linear switch single-key wake-up circuit includes a Hall sensor circuit, a wake-up circuit, and a control chip U1. The Hall sensor circuit includes multiple Hall sensor chips and a Hall chip switch circuit. One of the multiple Hall sensor chips is independently powered, and the other Hall sensor chips share the power supply. The wake-up circuit is connected to the independently powered Hall sensor chip and the control chip U1, and the control chip U1 is connected to the Hall chip switch circuit. By using the wake-up circuit and the independently powered Hall sensor chip, the present utility model only wakes up the control chip U1 when needed, saving overall energy consumption, and has a simple structural design. At the same time, the independently powered Hall sensor can work continuously and does not depend on the on-off state of other circuits. Therefore, it can quickly respond to external changes and trigger a wake-up signal.

[0017] The above description is only an overview of the technical solution of the present utility model. In order to be able to more clearly understand the technical means of the present utility model, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features, and advantages of the present utility model more obvious and understandable, the following preferred embodiments are specifically given and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present utility model, the drawings required for the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0019] Figure 1 It is a schematic diagram of a Hall linear switch single-key wake-up circuit provided for a specific embodiment of the present utility model.

[0020] REFERENCE NUMERALS

[0021] 1. Hall sensor circuit; 2. Wake-up circuit. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0022] The following will combine specific embodiments of the present utility model to clearly and completely describe the technical solutions of the present utility model. Obviously, the described embodiments are some embodiments of the present utility model, rather than all embodiments. Based on the embodiments in the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the protection scope of the present utility model.

[0023] In the description of the present utility model, it should be understood that the orientation or positional relationship indicated by the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present utility model and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be construed as a limitation to the present utility model.

[0024] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of such features. In the description of the present utility model, the meaning of "a plurality of" is at least two, such as two, three, etc., unless otherwise specifically and clearly defined.

[0025] In the present utility model, unless otherwise clearly specified and defined, the terms such as "mounted", "connected", "connected to", "fixed" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or integrated; it may be a mechanical connection or an electrical connection; it may be directly connected or indirectly connected through an intermediate medium, and it may be the communication inside two elements or the interaction relationship between two elements, unless otherwise clearly defined. For those of ordinary skill in the art, the specific meanings of the above terms in the present utility model can be understood according to specific circumstances.

[0026] In the present utility model, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are indirectly in contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the first feature has a higher horizontal height than the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the first feature has a lower horizontal height than the second feature.

[0027] It should be noted that when an element is referred to as "fixed to" or "disposed on" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected" to another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are for illustrative purposes only and do not represent the only implementation.

[0028] Please refer to Figure 1 , the embodiment of the present utility model provides a Hall linear switch single-key wake-up circuit 2, which includes a Hall sensor circuit 1, a wake-up circuit 2 and a control chip U1. The Hall sensor circuit 1 includes a plurality of Hall sensor chips and a Hall chip switch circuit. One of the plurality of Hall sensor chips is independently powered, and the other Hall sensor chips share the power supply. The wake-up circuit 2 is connected to the independently powered Hall sensor chip and the control chip U1, and the control chip U1 is connected to the Hall chip switch circuit.

[0029] In this embodiment, there are a total of four Hall sensor chips, namely Hall sensor chip P1, Hall sensor chip P2, Hall sensor chip P3 and Hall sensor chip P4. Among them, Hall sensor chip P4 is independently powered, and the Vcc pin of Hall sensor chip P4 is connected to the power supply voltage. The output pins of Hall sensor chip P1, Hall sensor chip P2, Hall sensor chip P3 and Hall sensor chip P4 are respectively connected to the GPIO3, GPIO5, GPIO6 and GPIO7 pins of control chip U1, and the GND pins of Hall sensor chip P1, Hall sensor chip P2, Hall sensor chip P3 and Hall sensor chip P4 are grounded.

[0030] By using the wake-up circuit 2 and the independently powered Hall sensor chip, the present utility model wakes up the control chip U1 only when needed, saves the overall energy consumption, and has a simple structural design. At the same time, the independently powered Hall sensor can work continuously and does not depend on the on-off state of other circuits. Therefore, it can quickly respond to external changes and trigger a wake-up signal.

[0031] Please refer to Figure 1, the wake-up circuit 2 includes a triode QN1, a triode QN2, a resistor R6, and a resistor R8. The base of the triode QN1 is connected to the output pin of the independently powered Hall sensor chip P4 to receive the output signal of the Hall sensor chip. The collector of the triode QN1 is connected to the GPIO41 pin of the control chip U1 for transmitting the wake-up signal. The emitter of the triode QN1 is connected to the collector of the triode QN2. The base of the triode QN2 is connected to the GPIO42 pin of the control chip U1 for receiving the control signal of the control chip U1. The emitter of the triode QN2 is grounded. One end of the resistor R6 is connected to the base of the triode QN1 to limit the current of the input signal. The other end of the resistor R6 is connected to one end of the resistor R8, and the other end of the resistor R8 is connected to the emitter of the triode QN1 to provide a suitable bias voltage.

[0032] Through the above connection relationship, the wake-up circuit 2 can quickly wake up the control chip U1 when the Hall sensor chip detects a magnetic field change. Since the base of the triode QN1 is directly connected to the output pin of the independently powered Hall sensor chip, when the Hall sensor detects a magnetic field change, QN1 can be quickly turned on, thereby quickly transmitting the wake-up signal to the control chip U1. Ensuring independent power supply keeps the key Hall sensor chip always in working state, and even if other parts of the circuit are turned off, it will not affect the wake-up function. When there is no external magnetic field change, the wake-up circuit 2 is in a low-power state, and only activates the control chip U1 when needed, thus effectively saving energy consumption. The triode QN1 is reasonably biased through the resistors R6 and R8 to ensure it is within the normal working range, avoiding mis-triggering and stability problems.

[0033] Please refer to Figure 1 , the wake-up circuit 2 further includes a resistor R5. One end of the resistor R5 is connected to the power supply voltage, and the other end of the resistor R5 is connected to the GPIO41 pin of the control chip U1. Through the designed resistor R5, the leakage can be reduced. In the wake-up circuit 2, it is ineffective during operation to prevent affecting the output of the Hall sensor.

[0034] Please refer to Figure 1 , the wake-up circuit 2 further includes a resistor R7. One end of the resistor R7 is connected to the base of the triode QN2, and the other end of the resistor R7 is connected to the GPIO42 pin of the control chip U1. R7 only takes effect when the control chip U1 enters deep sleep.

[0035] Please refer to Figure 1, the Hall chip switch circuit includes a resistor R4, a triode Q2, and a MOS transistor QP2. One end of the resistor R4 is connected to the GPIO40 pin of the control chip U1, and the other end of the resistor R4 is connected to the base of the triode Q2. The emitter of the triode Q2 is grounded, the collector of the triode Q2 is connected to the power supply voltage, the gate of the MOS transistor QP2 is connected to the collector of the triode Q2, the source of the MOS transistor QP2 is connected to the Vcc pins of the Hall sensor chips P1, P2, and P3, and the drain of the MOS transistor QP2 is connected to the power supply voltage.

[0036] The conduction state of the triode Q2 is controlled by the GPIO40 pin of the control chip U1 and the resistor R4, and then the conduction or cutoff of the MOS transistor QP2 is controlled, so as to realize the efficient power supply control of the Hall sensor chips P1, P2, and P3. When the Hall sensor chips P1, P2, and P3 do not need to work, the power supply of the Hall sensor chips P1, P2, and P3 can be cut off by turning off the MOS transistor QP2, saving energy consumption. By using one MOS transistor QP2 to control the power supply of multiple Hall sensors, the circuit design is simplified and the use of components is reduced. Due to the low on-resistance and high current-carrying capacity of the MOS transistor QP2, the stability of the Hall sensor during power supply can be ensured, and the operation reliability is improved.

[0037] Please refer to Figure 1 , the Hall chip switch circuit further includes a resistor R3. One end of the resistor R3 is connected to the power supply voltage, and the other end of the resistor R3 is connected to the collector of the triode Q2. With such a design, the resistor R3 can quickly raise the collector voltage of the triode Q2, enabling the MOS transistor QP2 to quickly switch to the cutoff state, improving the response speed of the circuit. The resistor R3 stabilizes the voltage level at the collector of the triode Q2, ensuring that the MOS transistor QP2 can conduct and cutoff stably, and avoiding unstable states caused by voltage fluctuations. Through the action of the resistor R3, false triggering phenomena caused by power supply voltage transients or noise can be effectively prevented, improving the anti-interference ability of the circuit. To a certain extent, the resistor R3 can limit the current flowing through the collector of the MOS transistor Q2, avoiding damage to the MOS transistor Q2 caused by excessive current, and thus extending the device life.

[0038] In this embodiment, the triodes QN1, QN2, and Q2 are all NPN-type triodes, the model of the MOS transistor QP2 is SI2301, and the model of the control chip U1 is YC3021.

[0039] Of course, in other embodiments, the MOS transistor QP2 can be a MOS transistor with a similar function to SI2301, and the control chip U1 can be a chip with a similar function to YC3021.

[0040] The specific working process is as follows:

[0041] When the control chip U1 enters the power-saving mode, the GPIO40 pin of the control chip U1 will output a low voltage (0V) to the R4 resistor, turning off the triode Q2, and the MOS transistor QP2 will be cut off and no longer supply power to the Hall sensor chip P1, Hall sensor chip P2, and Hall sensor chip P3. The Hall sensor chip P4 is powered by 5V independently for a long time. Since the output voltage of the Hall sensor chip is half of the input voltage, that is, 5V input, the output pin of the Hall sensor chip P4 is 2.5V. However, for the corresponding magnetic field, there will be a distinction between the N pole and the S pole, which also affects the level distinction at the output end of the Hall sensor chip P4. (For example: the output level changes in the range of 0 - 2.5V for the N pole, and the output level changes in the range of 2.5V - 5V for the S pole.) Currently, it is calculated according to the N pole method; the relationship between the R6 / R8 resistors is a voltage division method (U = (R8 ÷ (R8 + R6)) x U). Currently, U is known, which is half of the Hall voltage input, that is, 2.5V, and the resistance parameters are also known. The currently calculated result is 0.927V. This voltage is in a saturated state (0.6V) at the collector terminal of the triode QN1. When the magnetic axis is pressed down, the voltage will decrease from 2.5V. When the output reaches about 1.5V, the collector terminal of the triode is only 0.556V through the relationship of R6 / R8 and cannot reach saturation, so the triode QN1 will not take effect. If the S pole direction is used, only the two resistance parameters of R6 / R8 need to be changed, which is flexible and convenient. The resistor R7 takes effect only when the control chip U1 enters the deep sleep state. When the WAKE_PWR pin outputs a high level, the collector voltage of the triode QN2 is greater than 0.6V and becomes saturated. The base of the triode QN2 will leak to the emitter of the triode QN2, thereby directly pulling the effective signal of the triode QN1 to the ground wire. The original low level of the WAKE_UP pin becomes a high level, thereby waking up the entire control chip U1. The function of R5 is to increase the external pull-up resistor to reduce leakage. In the wake-up circuit 2, it does not take effect during operation to prevent affecting the Hall output. It only takes effect after the external chip enters the deep sleep state, thereby achieving power saving and improving the battery life, making the user experience better.

[0042] The embodiment of the present invention also provides a keyboard, including the above-mentioned Hall linear switch single-key wake-up circuit 2. Except for the above-mentioned Hall linear switch single-key wake-up circuit 2, the remaining structures of the keyboard can be the same as those in the prior art, and the remaining structures will not be elaborated here.

[0043] The above are only the specific embodiments of the present utility model, but the protection scope of the present utility model is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present utility model can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should all be covered within the protection scope of the present utility model. Therefore, the protection scope of the present utility model shall be subject to the protection scope of the claims.

Claims

1. A Hall linear switch single-key wake-up circuit, characterized in that, It includes a Hall sensor circuit, a wake-up circuit, and a control chip U1. The Hall sensor circuit includes multiple Hall sensor chips and a Hall chip switch circuit. One of the multiple Hall sensor chips is independently powered, and the other Hall sensor chips share the power supply. The wake-up circuit is connected to the independently powered Hall sensor chip and the control chip U1, and the control chip U1 is connected to the Hall chip switch circuit.

2. The Hall linear switch single-key wake-up circuit according to claim 1, wherein The wake-up circuit includes a triode QN1, a triode QN2, a resistor R6, and a resistor R8. The base of the triode QN1 is connected to the output pin of the independently powered Hall sensor chip. The collector of the triode QN1 is connected to the control chip U1. The emitter of the triode QN1 is connected to the collector of the triode QN2. The base of the triode QN2 is connected to the control chip U1. The emitter of the triode QN2 is grounded. One end of the resistor R6 is connected to the base of the triode QN1, the other end of the resistor R6 is connected to one end of the resistor R8, and the other end of the resistor R8 is connected to the emitter of the triode QN1.

3. The Hall linear switch single-key wake-up circuit according to claim 2, characterized in that The wake-up circuit further includes a resistor R5. One end of the resistor R5 is connected to the power supply voltage, and the other end of the resistor R5 is connected to the control chip U1.

4. The Hall linear switch single-key wake-up circuit according to claim 2, characterized in that, The wake-up circuit further includes a resistor R7. One end of the resistor R7 is connected to the base of the triode QN2, and the other end of the resistor R7 is connected to the control chip U1.

5. The Hall linear switch single-key wake-up circuit according to claim 2, characterized in that The Vcc pin of the independently powered Hall sensor chip is connected to the power supply voltage.

6. The Hall linear switch single-key wake-up circuit according to claim 1, wherein, The Hall chip switch circuit includes a resistor R4, a triode Q2, and a MOS transistor QP2. One end of the resistor R4 is connected to the control chip U1, the other end of the resistor R4 is connected to the base of the triode Q2. The emitter of the triode Q2 is grounded. The collector of the triode Q2 is connected to the power supply voltage. The gate of the MOS transistor QP2 is connected to the collector of the triode Q2. The source of the MOS transistor QP2 is connected to the Vcc pins of all the Hall sensor chips except the independently powered Hall sensor chip among the multiple Hall sensor chips. The drain of the MOS transistor QP2 is connected to the power supply voltage.

7. The Hall linear switch single-key wake-up circuit according to claim 6, wherein The Hall chip switch circuit further includes a resistor R3. One end of the resistor R3 is connected to the power supply voltage, and the other end of the resistor R3 is connected to the collector of the triode Q2.

8. The Hall linear switch single-key wake-up circuit according to claim 1, wherein The output pin of the Hall sensor chip is connected to the control chip U1, and the GND pin of the Hall sensor chip is grounded.

9. The Hall linear switch single-key wake-up circuit according to claim 1, characterized in that, The model of the control chip U1 is YC3021.

10. A keyboard, characterized in that, It includes the Hall linear switch single-key wake-up circuit according to any one of claims 1-9.