Hall packaging module and electronic equipment
By connecting the switch Hall element and the linear Hall element together, the switch Hall element is used for preliminary detection and wake-up of the linear Hall element, the problem of high energy consumption of the linear Hall element is solved and the energy consumption is reduced.
Patent Information
- Application Number
- CN202421703273.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2034-07-17
AI Technical Summary
Existing linear Hall components consume a large amount of power in application scenarios where multiple components work simultaneously, resulting in increased energy consumption.
The switch Hall element and the linear Hall element are connected together, and the power supply terminal of the switch Hall element is used as the enable terminal, the output terminal is used as the wake-up output terminal, the power supply terminal of the linear Hall element is used as the power supply terminal, and the output terminal is used as the detection output terminal. The initial detection is carried out by enabling the switch Hall element by enabling the enable signal, and the wake-up signal starts the linear Hall element for accurate detection.
While ensuring normal detection of linear Hall components, it reduces power consumption and energy consumption.
Smart Images

Figure CN223274099U_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of electronic technology, and in particular to a Hall effect packaging module and an electronic device. Background Art
[0002] Existing linear Hall elements generally have three pins: a power supply terminal (VCC), a ground terminal (GND), and an output terminal (OUT). The linear Hall element needs to be powered by the power supply terminal to operate normally.
[0003] In applications where multiple linear Hall elements are arranged in a matrix and need to operate simultaneously, they must be powered simultaneously to detect changes in the magnetic field, convert these changes into corresponding electrical signals, and output the detection signals from the output terminals. Because the linear Hall elements need to maintain power to ensure their normal operation, they consume a large amount of power over extended periods of operation, resulting in increased energy consumption. Utility Model Content
[0004] The embodiments of the present application provide a Hall packaging module and an electronic device to solve the technical problem in the related art that linear Hall elements consume a large amount of electricity, resulting in increased energy consumption. The module can effectively reduce the power consumption of linear Hall elements and reduce energy consumption.
[0005] In a first aspect, an embodiment of the present application provides a Hall package module, including a switch Hall element and a linear Hall element, wherein:
[0006] The switch Hall element and the linear Hall element are connected to a common ground and serve as a ground terminal of the Hall package module;
[0007] The power supply end of the switch Hall element serves as the enable end of the Hall package module, and the output end of the switch Hall element serves as the wake-up output end of the Hall package module;
[0008] The power supply end of the linear Hall element serves as the power supply end of the Hall package module, and the output end of the linear Hall element serves as the detection output end of the Hall package module.
[0009] In the embodiment of the present application, a switching Hall element and a linear Hall element are connected to a common ground and used as the grounding end of the Hall package module, wherein the power supply end of the switching Hall element serves as the enable end of the Hall package module, the output end of the switching Hall element serves as the wake-up output end of the Hall package module, the power supply end of the linear Hall element serves as the power supply end of the Hall package module, and the output end of the linear Hall element serves as the detection output end of the Hall package module. The switching Hall element is enabled by sending an enable signal to the enable end of the Hall package module. When the switching Hall element detects a detection target, a wake-up signal is output through the wake-up output end of the Hall package module. At this time, power can be supplied to the linear Hall element through the power supply end of the Hall package module to start the linear Hall element for detection and output a linear Hall detection signal through the detection output end of the Hall package module. The detection target is first detected by the switching Hall element with lower power consumption, and the linear Hall element is enabled for detection after the detection target is detected. While ensuring normal detection of the linear Hall element, the power consumption of the linear Hall element is effectively reduced, thereby reducing energy consumption.
[0010] In a second aspect, an embodiment of the present application provides an electronic device, comprising a first control module and a Hall packaging module as described in any one of the first aspects, wherein the first control module is connected to the enable end, wake-up output end, power supply end and detection output end of the Hall packaging module.
[0011] In the embodiment of the present application, an enable signal is sent to the enable end of the Hall package module through the first control module to enable the switch Hall element. When the switch Hall element detects the detection target, a wake-up signal is output through the wake-up output end of the Hall package module. At this time, the first control module can supply power to the linear Hall element through the power supply end of the Hall package module to start the linear Hall element for detection and output the linear Hall detection signal through the detection output end of the Hall package module. The detection target is first detected by the switch Hall element with lower power consumption, and the linear Hall element is enabled for detection after the detection target is detected. While ensuring the normal detection of the linear Hall element, the power consumption of the linear Hall element is effectively reduced, thereby reducing the energy consumption of the electronic device.
[0012] In a third aspect, an embodiment of the present application provides a keyboard, comprising a circuit board body, a second control module, and a plurality of Hall package modules as described in any one of the first aspects;
[0013] The second control module and the Hall package module are installed on the circuit board body, and the circuit board body is provided with a plurality of keycap installation positions, and the keycap installation positions correspond to one or more Hall package modules;
[0014] The second control module is connected to the enable terminal, the wake-up output terminal, the power supply terminal and the detection output terminal of the Hall package module.
[0015] In the embodiment of the present application, an enable signal is sent to the enable end of the Hall package module through the second control module to enable the switch Hall element. When the switch Hall element detects the detection target, a wake-up signal is output through the wake-up output end of the Hall package module. At this time, the second control module can supply power to the linear Hall element through the power supply end of the Hall package module to start the linear Hall element for detection and output the linear Hall detection signal through the detection output end of the Hall package module. The detection target is first detected by the switch Hall element with lower power consumption, and the linear Hall element is enabled for detection after the detection target is detected. While ensuring the normal detection of the linear Hall element, the power consumption of the linear Hall element is effectively reduced, thereby reducing the energy consumption of the keyboard. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a principle block diagram of the first Hall package module provided in an embodiment of the present application;
[0017] Figure 2 This is a principle block diagram of the second Hall package module provided in an embodiment of the present application;
[0018] Figure 3 This is a principle block diagram of the third Hall package module provided in an embodiment of the present application;
[0019] Figure 4 This is a principle block diagram of the fourth Hall package module provided in an embodiment of the present application;
[0020] Figure 5 This is a principle block diagram of the fifth Hall package module provided in an embodiment of the present application;
[0021] Figure 6 This is a principle block diagram of the sixth Hall package module provided in an embodiment of the present application;
[0022] Figure 7 This is a principle block diagram of the seventh Hall package module provided in an embodiment of the present application;
[0023] Figure 8 This is a principle block diagram of the eighth Hall package module provided in an embodiment of the present application;
[0024] Figure 9 This is a principle block diagram of an electronic device provided in an embodiment of the present application;
[0025] Figure 10 This is a principle block diagram of a keyboard provided in an embodiment of the present application.
[0026] Reference numerals: 100 , switch Hall element; 200 , linear Hall element; 300 , first control module; 400 , second control module; 500 , circuit board body. DETAILED DESCRIPTION
[0027] To make the objectives, technical solutions, and advantages of this application more apparent, specific embodiments of this application are described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are intended only to illustrate this application and are not intended to limit this application. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to this application, not all of the content.
[0028] In the description of the embodiments of the present application, unless otherwise expressly specified or limited, the terms "connected," "connected," and "fixed" should be understood in a broad sense. For example, they can be fixedly connected, detachably connected, or integrated; they can be mechanically connected or electrically connected; they can be directly connected or indirectly connected through an intermediate medium; they can be internal communication between two elements or an interactive relationship between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific circumstances. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the various operations (or steps) as sequential processes, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. The above process can be terminated when its operations are completed, but it can also have additional steps not included in the figures. The above process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0029] Figure 1 The principle block diagram of the first Hall package module provided in the embodiment of the present application is given. Figure 1 The Hall package module includes a switch Hall element 100 (HST1 in the figure) and a linear Hall element 200 (HST2 in the figure). Both the switch Hall element 100 and the linear Hall element 200 are configured with a power supply terminal, a ground terminal and an output terminal.
[0030] When power is supplied to the switch Hall element 100, the switch Hall element 100 is turned on, and the switch Hall element 100 detects the detection target (such as objects that can cause magnetic field changes, such as the human body, metal materials, etc.), and outputs a corresponding switch detection signal. For example, when the detection target is not at a set distance from the switch Hall element 100, the switch Hall element 100 does not detect a change in the magnetic field, or the detected change in the magnetic field does not reach a set threshold, and the switch Hall element 100 outputs a switch detection signal (such as a low-level signal or a high-level signal) from the output end indicating that the detection target is not detected. When the detection target is at a set distance from the switch Hall element 100, the switch Hall element 100 detects a change in the magnetic field, or the detected change in the magnetic field reaches a set threshold, and the switch Hall element 100 outputs a switch detection signal (such as a high-level signal or a low-level signal) from the output end indicating that the detection target is detected.
[0031] In one embodiment, a Hall package module can be formed by sealing or encapsulating the switch Hall element 100 and the linear Hall element 200. For example, the package form of the switch Hall element 100 and the linear Hall element 200 can be SOT23-5, SOT23-6, DFN or other package forms.
[0032] Optionally, according to the requirements of the detection distance of the detection target, the switch Hall element 100 can be set to output a set distance and / or set threshold corresponding to the switch detection signal indicating that the detection target is detected. When the detection target enters the detection distance range, the linear Hall element 200 is started to perform linear Hall detection.
[0033] When power is supplied to the linear Hall element 200, it turns on, detects the target (e.g., a human body, metal material, or other object that can cause a magnetic field change), and outputs a corresponding linear detection signal from its output terminal. The linear detection signal output by the linear Hall element 200 is positively or negatively correlated with the distance between the target and the linear Hall element 200, and / or negatively or positively correlated with the intensity of the detected magnetic field.
[0034] Among them, the switch Hall element 100 and the linear Hall element 200 provided in this solution are connected to the common ground and serve as the grounding terminal of the Hall packaging module. The power supply end of the switch Hall element 100 serves as the enable end of the Hall packaging module, and the output end of the switch Hall element 100 serves as the wake-up output end of the Hall packaging module. The power supply end of the linear Hall element 200 serves as the power supply end of the Hall packaging module, and the output end of the linear Hall element 200 serves as the detection output end of the Hall packaging module. At this time, the Hall packaging module provided by this solution is configured with a power supply end (VCC in the figure), a ground end (GND in the figure), an enable end (EN in the figure), a wake-up output end (INT in the figure) and a detection output end (OUT in the figure) that can be connected.
[0035] The Hall package module provided in this solution can be used for linear Hall detection. When the detection target is close to the Hall package module, the linear Hall element 200 is quickly started for detection. When the detection target is outside the detection range of the Hall package module, the linear Hall element 200 is turned off, thereby reducing power consumption while ensuring the linear Hall detection function.
[0036] For example, based on the power supply voltage of the switching Hall element 100, an enable signal is sent to the enable end of the linear Hall element 200 (for example, the corresponding power supply is continuously provided to the enable end of the Hall package module). At this time, the switching Hall element 100 is working, and no power is supplied to the linear Hall element 200. The linear Hall element 200 is not working. The power consumption of the Hall package module is mainly generated by the switching Hall element 100, and the power supply to the switching Hall element 100 is a small current power supply. The current supplied to the switching Hall element 100 is less than the current supplied to the linear Hall element 200. At this time, the power consumption of the Hall package module is relatively small.
[0037] When the detection target enters the detection range of the Hall package module, the Hall package module outputs a wake-up signal from the wake-up output end. The detection target can be determined to have entered the Hall package module based on the wake-up signal. At this time, power can be supplied to the power supply end of the Hall package module to start the linear Hall element 200 for detection, and the linear Hall detection signal can be received from the detection output end of the Hall package module. When the detection target enters the detection range of the Hall package module, the linear Hall element 200 is started in time for detection. Among them, the reaction speed of the switch Hall element 100 is relatively fast, and the time required for the switch Hall element 100 to detect the change in the magnetic field and output the wake-up signal is relatively short. The Hall package module provided by this solution can start the linear Hall element 200 for detection in time, while reducing the power consumption of the Hall package module, ensuring the normal implementation of the linear Hall detection function.
[0038] In the above, by connecting the switch Hall element 100 and the linear Hall element 200 to a common ground and serving as the grounding terminal of the Hall package module, the power supply terminal of the switch Hall element 100 serves as the enable terminal of the Hall package module, the output terminal of the switch Hall element 100 serves as the wake-up output terminal of the Hall package module, the power supply terminal of the linear Hall element 200 serves as the power supply terminal of the Hall package module, and the output terminal of the linear Hall element 200 serves as the detection output terminal of the Hall package module. By sending an enable signal to the enable terminal of the Hall package module, the switch Hall element 100 is enabled. When the switch Hall element 100 detects When a detection target is detected, a wake-up signal is output through the wake-up output end of the Hall package module. At this time, power can be supplied to the linear Hall element 200 through the power supply end of the Hall package module to start the linear Hall element 200 for detection and output a linear Hall detection signal through the detection output end of the Hall package module. The detection target is first detected by the switch Hall element 100 with lower power consumption. After the detection target is detected, the linear Hall element 200 is enabled for detection. While ensuring the normal detection of the linear Hall element 200, the power consumption of the linear Hall element 200 is effectively reduced, thereby reducing energy consumption.
[0039] Optionally, the switch Hall element 100 and the linear Hall element 200 provided in this solution can be set to one or more. Figure 1 In the example, the number of the switch Hall element 100 and the number of the linear Hall element 200 are both set as one.
[0040] In one possible embodiment, Figure 2 As shown in the principle block diagram of the second Hall package module provided, the linear Hall element 200 provided in this solution is provided with multiple, Figure 2 In the description, an example is given in which one switch Hall element 100 (eg, HST11 in the figure) and two linear Hall elements 200 (eg, HST21 and HST22 in the figure) are provided.
[0041] The Hall package module is configured with multiple detection output terminals and multiple power supply terminals, and the output terminal of each linear Hall element 200 serves as a detection output terminal of the Hall package module, and the power supply terminal of each linear Hall element 200 serves as a power supply terminal of the Hall package module. In this case, the linear Hall element 200 is configured with a connectable ground terminal (GND in the figure), an enable terminal (EN in the figure), a wake-up output terminal (INT in the figure), and multiple power supply terminals (VCC1 and VCC2 in the figure) and detection output terminals (OUT1 and OUT2 in the figure) corresponding to each linear Hall element 200. Figure 2 The following description takes the setting of two power supply terminals and two detection output terminals as an example.
[0042] For example, the linear Hall element 200 that needs to be enabled can be determined based on the needs for signal threshold, sensitivity, etc. When the wake-up signal is received from the wake-up output end of the Hall packaging module, one or more linear Hall elements 200 that need to be enabled can be powered to one or more corresponding power supply ends in the Hall packaging module to enable the corresponding one or more linear Hall elements 200 for detection, and the linear Hall detection signal can be received from the corresponding one or more detection output ends.
[0043] This solution uses a switch Hall element 100 to simultaneously control multiple linear Hall elements 200, and can flexibly configure linear Hall elements 200 with different signal thresholds and sensitivities (for example, linear Hall elements 200 of different models). When the switch Hall element 100 detects a change in the magnetic field, all or some of the linear Hall elements 200 can be turned on. The detection range can be flexibly configured through the enabled linear Hall elements 200, thereby improving detection flexibility.
[0044] In one embodiment, Figure 3 As shown in the principle block diagram of the third Hall package module provided, the linear Hall element 200 provided in this solution is provided with multiple, Figure 3 In the description, an example is given in which one switch Hall element 100 (eg, HST12 in the figure) and two linear Hall elements 200 (eg, HST23 and HST24 in the figure) are provided.
[0045] The Hall package module and Figure 2 The difference of the provided Hall package module is that the power supply ends of the multiple linear Hall elements 200 provided in this solution are connected and serve as the power supply end of the Hall package module. Among them, the Hall package module is configured with multiple detection output ends, and the output end of each linear Hall element 200 serves as a detection output end of the Hall package module. At this time, the linear Hall element 200 is configured with a connectable power supply end (VCC in the figure), a ground end (GND in the figure), an enable end (EN in the figure), a wake-up output end (INT in the figure), and multiple detection output ends (OUT1 and OUT2 in the figure) corresponding to each linear Hall element 200. Figure 3 The following describes the configuration of two detection output terminals as an example.
[0046] For example, when a wake-up signal is received from the wake-up output terminal of the Hall package module, power can be supplied to the power supply terminal of the Hall package module to enable each linear Hall element 200 to perform detection, and a linear Hall detection signal can be received from each detection output terminal.
[0047] This solution uses a switch Hall element 100 to simultaneously control multiple linear Hall elements 200, and can flexibly configure linear Hall elements 200 with different signal thresholds and sensitivities (for example, linear Hall elements 200 of different models). When the switch Hall element 100 detects a change in the magnetic field, all linear Hall elements 200 can be turned on, effectively increasing the detection range and improving the detection accuracy.
[0048] In one possible embodiment, Figure 4 As shown in the principle block diagram of the fourth Hall package module provided, the switch Hall element 100 provided in this solution is provided with multiple, Figure 4 In the description, a linear Hall element 200 (eg, HST25 in the figure) and two switch Hall elements 100 (eg, HST13 and HST14 in the figure) are provided as an example.
[0049] The Hall package module is configured with multiple enable terminals and wake-up output terminals, and the power supply terminal of each switch Hall element 100 serves as an enable terminal of the Hall package module, and the output terminal of each switch Hall element 100 serves as a wake-up output terminal of the Hall package module. At this time, the Hall package module is configured with a connectable power supply terminal (VCC in the figure), a ground terminal (GND in the figure), a detection output terminal (OUT in the figure), and multiple enable terminals (EN1 and EN2 in the figure) and wake-up output terminals (INT1 and INT2 in the figure) corresponding to each switch Hall element 100. Figure 4 The following describes the configuration of two enable terminals and two wake-up output terminals as an example.
[0050] For example, multiple switch Hall elements 100 corresponding to different set distances and / or set thresholds can be configured. One or more switch Hall elements 100 can be flexibly selected based on the requirements for the set distance and / or set threshold, and power can be supplied to one or more enable terminals of the Hall package module to activate the corresponding one or more switch Hall elements 100. Upon receiving a wake-up signal output by one of the detection output terminals of the Hall package module, power can be promptly supplied to the power supply terminal of the Hall package module to promptly activate the linear Hall element 200 for detection. This solution detects the detection target through multiple switch Hall elements 100, effectively improving the detection flexibility of the detection target and improving the flexibility of activating the linear Hall element 200 for detection.
[0051] In one embodiment, Figure 5 As shown in the principle block diagram of the fifth Hall package module provided, the switch Hall element 100 provided in this solution is provided with multiple, Figure 5 In the description, a linear Hall element 200 (eg, HST26 in the figure) and two switch Hall elements 100 (eg, HST15 and HST16 in the figure) are provided as an example.
[0052] Among them, this plan and Figure 4 The difference between the provided Hall package modules is that the power supply terminals of the multiple switch Hall elements 100 provided in this solution are connected and serve as the enable terminals of the Hall package modules. Among them, the Hall package module is configured with multiple wake-up output terminals, and the output terminals of each switch Hall element 100 serve as a wake-up output terminal of the Hall package module. At this time, the Hall package module is configured with an enable terminal (EN in the figure), a power supply terminal (VCC in the figure), a ground terminal (GND in the figure), a detection output terminal (OUT in the figure), and multiple wake-up output terminals (INT1 and INT2 in the figure) corresponding to each switch Hall element 100. Figure 5 The following describes the configuration of one enable terminal and two wake-up output terminals as an example.
[0053] For example, multiple switch Hall elements 100 corresponding to different set distances and / or set thresholds can be configured. One or more switch Hall elements 100 can be flexibly selected based on the requirements for the set distance and / or set threshold. Power can be supplied to the enable terminal of the Hall package module to activate the multiple switch Hall elements 100. Upon receiving a wake-up signal output by one of the detection output terminals of the Hall package module, power can be promptly supplied to the power supply terminal of the Hall package module to promptly activate the linear Hall element 200 for detection. This solution uses multiple switch Hall elements 100 to detect the detection target, effectively improving the detection flexibility of the detection target and the flexibility of activating the linear Hall element 200 for detection.
[0054] In one possible embodiment, Figure 6 As shown in the principle block diagram of the sixth Hall package module provided, the switch Hall element 100 provided in this solution is provided with multiple, Figure 6 In the description, a linear Hall element 200 (eg, HST27 in the figure) and two switch Hall elements 100 (eg, HST17 and HST18 in the figure) are provided as an example.
[0055] The Hall package module provided by this solution is configured with multiple enable terminals, and the power supply terminal of each switch Hall element 100 serves as an enable terminal of the Hall package module (see Figure 4 The Hall package module provided is not described in detail in this solution), or the Hall package module is configured with an enable terminal, and the power supply terminals of the various switch Hall elements 100 are connected and serve as the enable terminal of the Hall package module (for example, the dotted line connection part in the figure can be referred to Figure 5 The Hall package module provided is not described in detail in this solution. The output terminals of the plurality of switch Hall elements 100 are connected and serve as the wake-up output terminal (INT in the figure) of the Hall package module.
[0056] Exemplarily, a plurality of switch Hall elements 100 corresponding to different set distances and / or set thresholds can be configured, and one or more switch Hall elements 100 can be flexibly selected according to the requirements of the set distance and / or set threshold, and power can be supplied to one or more enable terminals of the Hall package module to start the corresponding one or more switch Hall elements 100. When one of the switch Hall elements 100 detects the detection target, the detection output terminal of the Hall package module outputs a wake-up signal. Upon receiving the wake-up signal output by the detection output terminal of the Hall package module, power can be promptly supplied to the power supply terminal of the Hall package module, and the linear Hall element 200 can be promptly started for detection. This solution detects the detection target through multiple switch Hall elements 100, effectively improving the detection flexibility of the detection target and improving the flexibility of starting the linear Hall element 200 for detection.
[0057] In one possible embodiment, Figure 7 As shown in the principle block diagram of the seventh Hall package module provided, the linear Hall element 200 and the switch Hall element 100 provided in this solution are both provided with multiple, Figure 7 In the description, two linear Hall elements 200 (eg, HST28 and HST29 in the figure) and two switch Hall elements 100 (eg, HST19 and HST110 in the figure) are set as an example.
[0058] The Hall package module is configured with multiple detection output terminals, and the output terminal of each linear Hall element 200 serves as a detection output terminal of the Hall package module; the Hall package module is configured with multiple power supply terminals, and the power supply terminal of each linear Hall element 200 serves as a power supply terminal of the Hall package module (see Figure 2 The Hall package module provided is not described in detail in this solution), or the Hall package module is configured with a power supply end, and the power supply ends of each linear Hall element 200 are connected and serve as the power supply end of the Hall package module (for example, the dotted line connection part in the figure can be referred to Figure 3 The Hall package module provided is not described in detail in this solution).
[0059] The Hall package module is configured with multiple enable terminals, and the power supply terminal of each switch Hall element 100 serves as an enable terminal of the Hall package module (see Figure 4 The Hall package module provided is not described in detail in this solution), or the Hall package module is configured with an enable terminal, and the power supply terminals of the various switch Hall elements 100 are connected and serve as the enable terminal of the Hall package module (for example, the dotted line connection part in the figure can be referred to Figure 5The Hall package module provided is not described in detail in this solution). In this solution, the Hall package module is configured with multiple wake-up output terminals, and the output terminal of each switch Hall element 100 serves as a wake-up output terminal of the Hall package module. At this time, the Hall package module provided by this solution is configured with multiple wake-up output terminals corresponding to each switch Hall element 100. This solution can determine the correspondence between different linear Hall elements 200 and switch Hall elements 100 by flexibly configuring multiple linear Hall elements 200 and switch Hall elements 100, and can turn on the corresponding linear Hall element 200 according to the wake-up output terminal that outputs the wake-up signal, thereby improving the detection flexibility of the Hall package module.
[0060] In one possible embodiment, Figure 8 As shown in the principle block diagram of the eighth Hall package module provided, the linear Hall element 200 and the switch Hall element 100 provided in this solution are both provided with multiple, Figure 8 In the description, two linear Hall elements 200 (eg, HST210 and HST211 in the figure) and two switch Hall elements 100 (eg, HST111 and HST112 in the figure) are set as an example.
[0061] The Hall package module is configured with multiple detection output terminals, and the output terminal of each linear Hall element 200 serves as a detection output terminal of the Hall package module; the Hall package module is configured with multiple power supply terminals, and the power supply terminal of each linear Hall element 200 serves as a power supply terminal of the Hall package module (see Figure 2 The Hall package module provided is not described in detail in this solution), or the Hall package module is configured with a power supply end, and the power supply ends of each linear Hall element 200 are connected and serve as the power supply end of the Hall package module (refer to Figure 3 The Hall package module provided is not described in detail in this solution).
[0062] The Hall package module is configured with multiple enable terminals, and the power supply terminal of each switch Hall element 100 serves as an enable terminal of the Hall package module (see Figure 4 The Hall package module provided is not described in detail in this solution), or the Hall package module is configured with an enable terminal, and the power supply terminals of the various switch Hall elements 100 are connected and serve as the enable terminal of the Hall package module (refer to Figure 5 The Hall package module provided by this solution is not described in detail in this solution. Figure 7The difference between the provided Hall effect packaging module and the provided Hall effect packaging module is that the output ends of the multiple switch Hall effect elements 100 provided in this solution are connected and serve as the wake-up output end of the Hall effect packaging module. In this case, the Hall effect packaging module provided in this solution is configured with a single wake-up output end. This solution can flexibly configure multiple linear Hall effect elements 200 and switch Hall effect elements 100. When the Hall effect packaging module outputs a wake-up signal, one or more linear Hall effect elements 200 are activated, thereby improving the detection flexibility of the Hall effect packaging module.
[0063] Based on the above embodiments, Figure 9 A block diagram of the principle of an electronic device provided in an embodiment of the present application is given. Figure 9 The Hall package module includes a first control module 300 and one or more Hall package modules provided by any of the above embodiments. The figure describes the configuration of one Hall package module as an example.
[0064] The first control module 300 provided in this solution is connected to the enable terminal, wake-up output terminal, power supply terminal, and detection output terminal of each Hall-effect package module. The first control module 300 can perform linear Hall-effect detection through the Hall-effect package module and perform subsequent data analysis and / or execute set actions based on the linear Hall-effect detection signal.
[0065] In one embodiment, the first control module 300 provided by the present solution can be used to send an enable signal to the enable end of the Hall package module so that the switch Hall element 100 corresponding to the enable end in the Hall package module is turned on and detects the detection target. When the switch Hall element 100 detects the detection target (the detected magnetic field changes or the magnetic field change reaches a set threshold), the wake-up output end corresponding to the Hall package module outputs a wake-up signal (for example, a high-level signal or a low-level signal). When the first control module 300 receives the wake-up signal output by the wake-up output end of the Hall package module, it supplies power to the power supply end set in the Hall package module to turn on the linear Hall element 200 corresponding to the power supply end, and receives the linear Hall detection signal through the detection output end of the Hall package module.
[0066] Optionally, the first control module 300 provided in this solution can operate in working mode or sleep mode, and can switch between working mode and sleep mode, wherein the power consumption of the electronic device in sleep mode is lower than that in working mode. For example, when the first control module 300 is in sleep mode, it sends an enable signal to the enable end of the Hall package module (powering the enable end based on the power supply demand of the switch Hall element 100), and detects the detection target through the switch Hall element 100. At this time, the first control module 300 and the Hall package module both operate with low power consumption. When the wake-up output end of the Hall package module outputs a wake-up signal, the first control module 300 switches from sleep mode to working mode, and supplies power to the power supply end of the Hall package module based on the power supply demand of the linear Hall element 200. Detection is performed through the linear Hall element 200, which can effectively reduce the power consumption of the electronic device in sleep mode, and can also wake up the first control module 300 based on the wake-up signal to achieve automatic wake-up of the electronic device.
[0067] This solution controls the Hall package module through the first control module 300, uses the switch Hall element 100 to detect the detection target, turns on the linear Hall element 200 to perform linear Hall detection when the detection target is detected, and obtains a linear Hall detection signal. While ensuring the linear Hall detection effect of the Hall package module, it effectively reduces the power consumption of the Hall package module when there is no detection target within the detection range.
[0068] As described above, the first control module 300 sends an enable signal to the enable end of the Hall package module to enable the switch Hall element 100. When the switch Hall element 100 detects the detection target, the wake-up signal is output through the wake-up output end of the Hall package module. At this time, the first control module 300 can supply power to the linear Hall element 200 through the power supply end of the Hall package module to start the linear Hall element 200 for detection and output the linear Hall detection signal through the detection output end of the Hall package module. The detection target is first detected by the switch Hall element 100 with lower power consumption. After the detection target is detected, the linear Hall element 200 is enabled for detection. While ensuring the normal detection of the linear Hall element 200, the power consumption of the linear Hall element 200 is effectively reduced, thereby reducing the energy consumption of the electronic device.
[0069] Based on the above embodiments, Figure 10 A block diagram of the principle of a keyboard provided in an embodiment of the present application is given. Figure 10 The Hall package module includes a circuit board body 500, a second control module 400 and a plurality of Hall package modules provided in any of the above embodiments.
[0070] Among them, the second control module 400 and the Hall packaging module provided in this solution are installed on the circuit board main body 500. The circuit board main body 500 is provided with multiple keycap installation positions (such as the dotted area in the figure). The keycap installation positions correspond to one or more Hall packaging modules. The tapping action on the keycap can be detected by the Hall packaging module. For example, the key detection signal output by the Hall packaging module is positively correlated or negatively correlated with the pressing depth of the keycap, and the keyboard input operation information of the keyboard is determined accordingly.
[0071] The second control module 400 is connected to the enable terminal, wake-up output terminal, power supply terminal, and detection output terminal of the Hall package module. The second control module 400 can perform linear Hall-based detection through the Hall package module, and generate keyboard input operation information based on the key detection signal (i.e., linear Hall detection signal), and send it to the terminal device (such as a mobile phone, tablet, computer, etc.) connected to the keyboard by wire and / or wireless connection.
[0072] In one embodiment, the second control module 400 provided by the present solution can be used to send an enable signal to the enable end of the Hall package module, so that the switch Hall element 100 corresponding to the enable end in the Hall package module is turned on and the displacement of the keycap is detected (the keycap is the detection target at this time, and when the magnetic field change detected by the switch Hall element 100 due to the displacement of the keycap reaches a set threshold, the switch Hall element 100 outputs a wake-up signal). When the switch Hall element 100 detects the displacement sent by the keycap, the wake-up output end corresponding to the Hall package module outputs a wake-up signal (for example, a high-level signal or a low-level signal). When the second control module 400 receives the wake-up signal output by the wake-up output end of the Hall package module, it supplies power to the power supply end set in the Hall package module to turn on the linear Hall element 200 corresponding to the power supply end, and receives the key detection signal through the detection output end of the Hall package module.
[0073] Optionally, the second control module 400 provided in this solution can operate in working mode or sleep mode, and can switch between working mode and sleep mode, wherein the power consumption of the keyboard in sleep mode is lower than that in working mode. For example, when the second control module 400 is in sleep mode, it sends an enable signal to the enable end of the Hall package module (power is supplied to the enable end based on the power supply demand of the switch Hall element 100), and detects the displacement of the keycap through the switch Hall element 100. At this time, the second control module 400 and the Hall package module both operate with low power consumption. When the wake-up output end of the Hall package module outputs a wake-up signal, the second control module 400 switches from sleep mode to working mode, and supplies power to the power supply end of the Hall package module based on the power supply demand of the linear Hall element 200. Detection is performed through the linear Hall element 200, which can effectively reduce the power consumption of the keyboard in sleep mode, and can also wake up the second control module 400 based on the wake-up signal to achieve automatic wake-up of the keyboard.
[0074] This solution controls the Hall package module through the second control module 400, uses the switch Hall element 100 to detect the displacement of the keycap, turns on the linear Hall element 200 to perform linear Hall detection when the displacement of the keycap is detected, and obtains the key detection signal. While ensuring the linear Hall detection effect of the Hall package module, it effectively reduces the power consumption of the Hall package module when the keyboard is not operated.
[0075] As described above, the second control module 400 sends an enable signal to the enable end of the Hall package module to enable the switch Hall element 100. When the switch Hall element 100 detects the detection target, the wake-up signal is output through the wake-up output end of the Hall package module. At this time, the second control module 400 can supply power to the linear Hall element 200 through the power supply end of the Hall package module to start the linear Hall element 200 for detection and output the linear Hall detection signal through the detection output end of the Hall package module. The detection target is first detected by the switch Hall element 100 with lower power consumption. After the detection target is detected, the linear Hall element 200 is enabled for detection. While ensuring the normal detection of the linear Hall element 200, the power consumption of the linear Hall element 200 is effectively reduced, thereby reducing the energy consumption of the keyboard.
[0076] The above are only preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments provided herein, and various obvious changes, readjustments, and substitutions that can be made by those skilled in the art will not depart from the scope of protection of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments. Without departing from the concept of the present application, it may also include more other equivalent embodiments, and the scope of the present application is determined by the scope of the claims.
Claims
1. A Hall package module, characterized in that: It includes switch Hall elements and linear Hall elements, among which: The switch Hall element and the linear Hall element are connected to a common ground and serve as a ground terminal of the Hall package module; The power supply end of the switch Hall element serves as the enable end of the Hall package module, and the output end of the switch Hall element serves as the wake-up output end of the Hall package module; The power supply end of the linear Hall element serves as the power supply end of the Hall package module, and the output end of the linear Hall element serves as the detection output end of the Hall package module.
2. The Hall package module according to claim 1, characterized in that: The linear Hall element is provided in plurality; The Hall package module is configured with a plurality of detection output terminals, and the output terminal of each linear Hall element serves as a detection output terminal of the Hall package module; The Hall package module is configured with multiple power supply ends, and the power supply end of each linear Hall element serves as a power supply end of the Hall package module, or the power supply ends of multiple linear Hall elements are connected and serve as the power supply end of the Hall package module.
3. The Hall package module according to claim 1, wherein: The switch Hall element is provided in plurality; The Hall package module is configured with multiple enable terminals, and the power supply terminals of each switch Hall element serve as an enable terminal of the Hall package module, or the power supply terminals of multiple switch Hall elements are connected and serve as the enable terminal of the Hall package module; The Hall package module is configured with a plurality of wake-up output terminals, and the output terminal of each switch Hall element serves as a wake-up output terminal of the Hall package module.
4. The Hall package module according to claim 1, wherein: The switch Hall element is provided in plurality; The Hall package module is configured with multiple enable terminals, and the power supply terminals of each switch Hall element serve as an enable terminal of the Hall package module, or the power supply terminals of multiple switch Hall elements are connected and serve as the enable terminal of the Hall package module; The output ends of the plurality of switch Hall elements are connected and serve as the wake-up output end of the Hall package module.
5. The Hall package module according to claim 1, wherein: The linear Hall element and the switch Hall element are both provided in plurality; The Hall package module is configured with multiple detection output terminals, and the output terminal of each linear Hall element serves as a detection output terminal of the Hall package module; the Hall package module is configured with multiple power supply terminals, and the power supply terminal of each linear Hall element serves as a power supply terminal of the Hall package module, or the power supply terminals of multiple linear Hall elements are connected and serve as the power supply terminal of the Hall package module; The Hall packaging module is configured with multiple enable terminals, and the power supply terminal of each switch Hall element serves as an enable terminal of the Hall packaging module, or the power supply terminals of multiple switch Hall elements are connected and serve as the enable terminal of the Hall packaging module; the Hall packaging module is configured with multiple wake-up output terminals, and the output terminal of each switch Hall element serves as a wake-up output terminal of the Hall packaging module.
6. The Hall package module according to claim 1, characterized in that: The linear Hall element and the switch Hall element are both provided in plurality; The Hall package module is configured with multiple detection output terminals, and the output terminal of each linear Hall element serves as a detection output terminal of the Hall package module; the Hall package module is configured with multiple power supply terminals, and the power supply terminal of each linear Hall element serves as a power supply terminal of the Hall package module, or the power supply terminals of multiple linear Hall elements are connected and serve as the power supply terminal of the Hall package module; The Hall packaging module is configured with multiple enable terminals, and the power supply terminal of each switch Hall element serves as an enable terminal of the Hall packaging module, or the power supply terminals of multiple switch Hall elements are connected and serve as the enable terminal of the Hall packaging module; the output terminals of multiple switch Hall elements are connected and serve as the wake-up output terminal of the Hall packaging module.
7. An electronic device, characterized in that: The device comprises a first control module and the Hall package module according to any one of claims 1 to 6, wherein the first control module is connected to the enable terminal, the wake-up output terminal, the power supply terminal and the detection output terminal of the Hall package module.
8. The electronic device according to claim 7, wherein: The first control module is used to send an enable signal to the enable end of the Hall packaging module, and upon receiving a wake-up signal output by the wake-up output end of the Hall packaging module, supply power to the power supply end of the Hall packaging module, and receive a linear Hall detection signal through the detection output end of the Hall packaging module.
9. A keyboard, characterized in that: It comprises a circuit board body, a second control module and a plurality of Hall package modules according to any one of claims 1 to 6; The second control module and the Hall package module are installed on the circuit board body, and the circuit board body is provided with a plurality of keycap installation positions, and the keycap installation positions correspond to one or more Hall package modules; The second control module is connected to the enable terminal, the wake-up output terminal, the power supply terminal and the detection output terminal of the Hall package module.
10. The keyboard according to claim 9, wherein The second control module is used to send an enable signal to the enable end of the Hall packaging module, and upon receiving a wake-up signal output by the wake-up output end of the Hall packaging module, supply power to the power supply end of the Hall packaging module, and receive a key detection signal through the detection output end of the Hall packaging module.