Key assembly and keyboard
Patent Information
- Application Number
- CN202522148196.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-11
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2035-10-11
AI Technical Summary
[0003]然而,在进一步的实际应用和测试中发现,该技术方案在应对按键左右移动的情况时,存在变化量过大的问题
[0017]本实用新型的技术方案通过两个磁性传感器全面捕捉磁性件的运动状态,从而精准反映按键的操作情况,避免对按键操作的误判,提升整个键盘系统的准确性和稳定性。
Smart Images

Figure CN224803803U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of keyboard technology, and in particular to a key assembly and a keyboard. Background Technology
[0002] In the field of keyboard key technology, traditional key technology has many shortcomings in terms of precision, stability, and lifespan. For example, mechanical keys are prone to contact wear and poor contact after prolonged use, leading to key malfunction or accidental triggering, which affects the user experience. With the development of technology, higher requirements are placed on the precision and reliability of keyboard key technology; therefore, the development of new key technologies is urgently needed. The applicant previously filed a patent for a technology that uses a Hall sensor placed on one side of a magnet within the button structure to detect button presses using the Hall effect. This technical solution effectively addresses issues related to overall range and linearity to a certain extent. When a button press causes a change in the magnet's position, the Hall sensor detects the change in magnetic field and converts it into an electrical signal output, thereby achieving accurate detection of button presses.
[0003] However, further practical applications and testing revealed that this technical solution suffers from excessive variation in the amount of change when dealing with left and right key movements. When a key makes a slight displacement in the left or right direction, the change in the magnetic field detected by the Hall sensor exceeds the expected range, resulting in large fluctuations in the output electrical signal, which fails to accurately reflect the actual position and action state of the key. This not only affects the user experience when performing precise operations (such as drawing and precise control in games), but may also lead to misinterpretation of key operations by the system, reducing the accuracy and stability of the entire keyboard system. Utility Model Content
[0004] The main purpose of this invention is to provide a key component and keyboard that aims to solve the problem of misjudgment of key operations and improve the accuracy and stability of the entire keyboard system.
[0005] To achieve the above objectives, the present invention proposes a button assembly, including a key core assembly and a PCB board. The key core assembly includes a pressing component and a magnetic component that can move synchronously. The PCB board is provided with a first magnetic sensor and a second magnetic sensor, which are located on the same plane and are at the same distance from the magnetic component.
[0006] In one embodiment, both the first magnetic sensor and the second magnetic sensor are Hall sensors; the magnetic poles of the magnetic element are distributed radially along the magnetic element; and the first magnetic sensor and the second magnetic sensor are respectively oriented toward the two magnetic poles of the magnetic element.
[0007] In one embodiment, a first through hole is provided on the PCB board for the magnetic component to pass through.
[0008] In one embodiment, the first magnetic sensor and the second magnetic sensor are located around the first through hole.
[0009] In one embodiment, both the first magnetic sensor and the second magnetic sensor are located on the upper surface of the PCB board.
[0010] In one embodiment, a third magnetic sensor is further disposed on the lower surface of the PCB board at the position corresponding to the first magnetic sensor.
[0011] In one embodiment, a fourth magnetic sensor is disposed on the lower surface of the PCB board at the location corresponding to the second magnetic sensor.
[0012] In one embodiment, both the first magnetic sensor and the second magnetic sensor are TMR sensors; the magnetic poles of the magnetic element are distributed along the axial direction of the magnetic element.
[0013] In one embodiment, the button assembly further includes a third magnetic sensor, wherein the first magnetic sensor, the second magnetic sensor, and the third magnetic sensor are evenly distributed around the central axis of the magnetic element.
[0014] In one embodiment, the button assembly further includes a third magnetic sensor, a fourth magnetic sensor... an Nth magnetic sensor, where N is an integer and N≥4; the first magnetic sensor, the second magnetic sensor, the third magnetic sensor, the fourth magnetic sensor... the Nth magnetic sensor are evenly distributed around the central axis of the magnetic element.
[0015] In one embodiment, the magnetic element is movable relative to the PCB board on one side of the PCB board and is always located on the outside of the PCB board.
[0016] This utility model also proposes a keyboard, including the aforementioned key components.
[0017] The technical solution of this utility model uses two magnetic sensors to fully capture the movement state of the magnetic components, thereby accurately reflecting the operation of the keys, avoiding misjudgment of key operations, and improving the accuracy and stability of the entire keyboard system. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this utility model or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0019] Figure 1 A schematic diagram of the structure of an embodiment of the button assembly provided by this utility model; Figure 2 A cross-sectional structural schematic diagram of an embodiment of the button assembly provided by this utility model; Figure 3 The graph shows the linear relationship between the voltage analog signals of the first and second magnetic sensors and the stroke. Figure 4 The graph shows the linear relationship between the difference values of the first and second magnetic sensors and the travel distance. Figure 5 A cross-sectional structural schematic diagram of another embodiment of the button assembly provided by this utility model.
[0020] Explanation of icon numbers: 10. Key core assembly; 11. Pressing element; 111. Pressing part; 112. Connecting rod part; 12. Magnetic element; 13. Fixing element; 131. Sliding groove; 132. Hollow shaft; 14. Elastic element; 20. PCB board; 21. First magnetic sensor; 22. Second magnetic sensor; 23. Third magnetic sensor; 24. Fourth magnetic sensor; 25. First through hole; 30. Housing; 31. Second through hole.
[0021] The realization of the purpose, functional features and advantages of this utility model will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0022] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present utility model.
[0023] It should be noted that if the embodiments of this utility model involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.
[0024] Furthermore, if the embodiments of this utility model involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied simultaneously. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this utility model.
[0025] This utility model proposes a button assembly.
[0026] Please see Figure 1 and Figure 2 In one embodiment of this utility model, the button assembly includes a key core assembly 10 and a PCB board 20. The key core assembly 10 includes a pressing member 11 and a magnetic member 12 that can move synchronously. A first magnetic sensor 21 and a second magnetic sensor 22 are disposed on the PCB board 20. The first magnetic sensor 21 and the second magnetic sensor 22 are located on the same plane, and the distance between the two and the magnetic member 12 is the same.
[0027] Specifically, in this embodiment, the pressing member 11 and the magnetic member 12 have the characteristic of synchronous movement; that is, when the pressing member 11 is operated and displaced, the magnetic member 12 will move in the same way. A first magnetic sensor 21 and a second magnetic sensor 22 are provided on the PCB board 20. These two sensors have two significant characteristics: first, they are on the same plane; second, they are equidistant from the magnetic member 12, that is, the straight-line distance from the magnetic member 12 to the first magnetic sensor 21 is equal to the straight-line distance to the second magnetic sensor 22. The distance between the first magnetic sensor 21 and the second magnetic sensor 22 and the magnetic member 12 is the perpendicular distance from both to the surface of the magnetic member 12 in the direction of movement. The magnetic member 12 can be a magnetic shaft, and it has clearly defined magnetic poles, including a first magnetic pole (e.g., N pole) and a second magnetic pole (e.g., S pole). The magnetic member 12 moves relative to the first magnetic sensor 21 and the second magnetic sensor 22. For example, when a user presses a button, the operation will first act on the pressing component 11, while the magnetic component 12 will move synchronously relative to the first magnetic sensor 21 and the second magnetic sensor 22 under the action of the pressing component 11.
[0028] In this embodiment, the movement of the magnetic component 12 causes a change in the surrounding magnetic field, and the first magnetic sensor 21 and the second magnetic sensor 22 on the PCB board 20 are responsible for sensing this change in magnetic field. Since the two sensors are at the same distance from the magnetic component 12 and are located on the same plane, when the magnetic component 12 moves with the pressing component 11, the two sensors will receive magnetic field signals based on their own positions, and the signals received by the two sensors are corresponding and can be referenced to each other.
[0029] This application utilizes the synchronized movement of the pressing component 11 and the magnetic component 12 to accurately transmit user operations to the magnetic component 12. Two magnetic sensors, located on the same plane and equidistant from the magnetic component 12, detect changes in the magnetic field, allowing for a more comprehensive capture of the magnetic component 12's movement state and thus accurately reflecting key operation details such as press depth and direction of movement. The placement of the two magnetic sensors and their symmetrical positional relationship with the magnetic component 12 reduces the impact of external factors or minor deviations during detection. For example, when external magnetic field interference exists, the signals from the two sensors can be mutually calibrated, reducing errors that may occur with single-sensor detection and improving the stability of key detection. Because it can accurately and stably detect key operations, users receive more reliable feedback during use, whether for everyday typing or finer operations, reducing misoperations caused by inaccurate detection and improving the overall user experience.
[0030] Furthermore, both the first magnetic sensor 21 and the second magnetic sensor 22 are Hall sensors; the magnetic poles of the magnetic element 12 are distributed radially along the magnetic element 12; the first magnetic sensor 21 and the second magnetic sensor 22 are respectively oriented toward the two magnetic poles of the magnetic element 12.
[0031] Specifically, in this embodiment, the first magnetic sensor 21 and the second magnetic sensor 22 on the PCB board 20 of the button assembly are both Hall sensors, relying on the Hall effect to detect and convert magnetic field signals. The magnetic poles of the magnetic component 12 are not traditionally distributed axially (with the two ends of the shaft being the N pole and the S pole, respectively), but are arranged radially along itself (i.e., the two opposite sides of the shaft in the circumferential direction are the N pole and the S pole, respectively). The first magnetic sensor 21 and the second magnetic sensor 22 form a clear orientation in space, each facing the two different magnetic poles of the magnetic component 12 (for example, the first magnetic sensor 21 faces the N pole of the magnetic component 12, and the second magnetic sensor 22 faces the S pole of the magnetic component 12). In addition, combined with the previous characteristics, the two sensors are still on the same plane and at the same distance from the magnetic component 12.
[0032] The radially distributed dual magnetic poles of the magnetic component 12 create a stable and directional radial magnetic field around it. The first magnetic sensor 21 and the second magnetic sensor 22, facing the two magnetic poles respectively, are within the magnetic field range of the corresponding magnetic sample and can directly sense the changes in the magnetic field strength and direction of their respective magnetic poles, providing a precise magnetic field source for signal detection. The radial magnetic pole layout of the magnetic component 12, combined with Hall sensors facing the two magnetic poles respectively, allows the two sensors to capture magnetic field signals with clear polarity and significant differences (such as the magnetic field signals of the N pole and the S pole being opposite). Compared with a single sensor or detection methods with non-corresponding magnetic poles, it can more clearly identify the minute displacements of the magnetic component 12 (such as pressing depth, left and right movement), reducing detection errors caused by signal confusion. The two Hall sensors detect the magnetic field signals of different magnetic poles respectively, and the interference of the external environmental magnetic field can be canceled by comparing the two signals (such as differential calculation). At the same time, the radial magnetic pole distribution makes the magnetic field distribution more uniform in the sensor detection area, and the electrical signal output by the Hall sensor fluctuates less, further improving the stability of button operation detection.
[0033] In this embodiment, the first magnetic sensor 21 and the second magnetic sensor 22 are located on opposite sides of the magnetic component 12. When the magnetic component 12 moves horizontally, both magnetic sensors increase or decrease simultaneously; when the magnetic component 12 moves vertically, the two magnetic sensors exhibit opposite changes (see reference...). Figure 3 (As shown). By observing the changes in these two states, the direction of movement of the magnetic component 12 can be determined, and corresponding control can be performed. If the movement is confirmed to be horizontal, the change is ignored; if the movement is confirmed to be vertical, the relevant operation can be triggered.
[0034] like Figure 3 The linear graphs of the voltage analog signals of the two magnetic sensors during the pressing stroke are shown below. Figure 4 The diagram shows the linear graph of the voltage analog signal calculated differentially by the two magnetic sensors. Differential calculation also cancels out common-mode noise. Because the two Hall effect sensors are designed with opposite position response directions, the signal amplitude during differential calculation is doubled, thus improving the signal-to-noise ratio (SNR). With the improved SNR, noise components in the signal are suppressed, signal fluctuations are reduced, and the output is smoother and more stable. Stable and accurate button signals allow the system to respond to button operations more quickly and reliably. For example, in game controller buttons, high SNR button detection allows player commands to be transmitted to the game console more promptly and accurately, enhancing the gaming experience.
[0035] Furthermore, a first through hole 25 is provided on the PCB board 20 for the magnetic component 12 to pass through. A first magnetic sensor 21 and a second magnetic sensor 22 are located around the first through hole 25. Both the first magnetic sensor 21 and the second magnetic sensor 22 are located on the upper surface of the PCB board 20.
[0036] Specifically, in this embodiment, the core function of the first through hole 25 is to allow the magnetic component 12 to pass through during movement (e.g., when the pressing component 11 moves the magnetic component 12 up and down, the magnetic component 12 can pass through the through hole to achieve displacement). Simultaneously, the first magnetic sensor 21 and the second magnetic sensor 22 are disposed on the upper surface of the PCB board 20. The first magnetic sensor 21 and the second magnetic sensor 22 are respectively located in the peripheral area of the first through hole 25 and face the two magnetic poles of the magnetic component 12. The peripheral area of the first through hole 25 can be such that one side of the first magnetic sensor 21 and the second magnetic sensor 22 is aligned with the periphery of the first through hole 25, while the other side is located inside the PCB board 20. The diameter and position of the first through hole 25 are precisely matched with the size and movement trajectory of the pressing component 11 passing through the first through hole 25, preventing the magnetic component 12 from getting stuck or shifting during passage. The two sensors are distributed around the first through hole 25 in a symmetrical layout with the magnetic component 12 as the center (because they need to face the two radial magnetic poles respectively and be at the same distance), forming a symmetrical detection structure around the movement path of the magnetic component 12. This symmetrical layout is a prerequisite for realizing differential calculation and effectively canceling common-mode noise.
[0037] The radial magnetic pole distribution of the magnetic component 12 corresponds precisely to the formation of the two sensors: Since the magnetic poles are distributed radially, the two magnetic poles of the magnetic component 12 will release magnetic fields in opposite directions to the surrounding area at the same time. The two Hall sensors are respectively facing the two magnetic poles, and can directly and efficiently capture the magnetic field changes of their respective magnetic poles (such as the magnetic field strengthening when the magnetic component 12 is close and weakening when it is far away). Because the distance is consistent, the magnetic field change amplitudes sensed by the two sensors have a symmetrical correlation. At the same time, they will synchronously receive common-mode noise in the environment (such as external stray magnetic fields and circuit noise of PCB board 20). After differential processing, the common-mode noise can be eliminated.
[0038] The entire structure has no physical contacts like traditional mechanical buttons, avoiding malfunctions or false triggers caused by contact wear and extending the lifespan of the buttons. At the same time, differential calculation eliminates common-mode noise, further improving detection accuracy and response stability. This allows users to obtain more accurate and interference-free feedback in precise operations (such as precise button presses in games or pressure control when drawing), completely reducing false operations caused by noise and significantly improving the overall user experience.
[0039] Furthermore, a third magnetic sensor 23 is also provided on the lower surface of the PCB board 20 at the position corresponding to the first magnetic sensor 21.
[0040] Specifically, the third magnetic sensor 23 is disposed on the lower surface of the PCB board 20, and its position corresponds exactly to that of the first magnetic sensor 21 on the upper surface of the PCB board 20, forming a vertically aligned spatial layout. This ensures that it is on the same vertical line as the first magnetic sensor 21, accurately aligning with the movement trajectory of the magnetic component 12. The core function of the third magnetic sensor 23 is to increase the button's pressing travel, complementing the travel of the first magnetic sensor 21 and the second magnetic sensor 22. The detection travel of the first and second magnetic sensors 21 covers a range of 0-3.3mm, while the detection travel of the third magnetic sensor 23 specifically covers a range of 3.3-4.4mm. The travels of the two sensors are closely connected without significant gaps. The detection starting point of the third magnetic sensor 23 (i.e., at 3.3mm, or other preset values) needs to be accurately confirmed through an algorithm, without requiring additional mechanical calibration structures.
[0041] This implementation overcomes the limitation that the first magnetic sensor 21 and the second magnetic sensor 22 can only cover a short stroke of 0-3.3mm. By using the third sensor, the total pressing stroke is extended to 0-4.4mm. This not only retains the short stroke operation required in daily typing scenarios, but also meets the fine operation requirements of long stroke, such as long press and deep press in games and pressure gradient adjustment in professional drawing, which greatly improves the functional adaptability of the button.
[0042] The stroke can be extended simply by adding a third magnetic sensor 23 corresponding to the first magnetic sensor 21. There is no need to make significant adjustments to the layout of the original first magnetic sensor 21 and second magnetic sensor 22, nor is there a need to design an additional complex mechanical transmission structure. At the same time, the algorithm confirms the starting point based on the signal of the existing first magnetic sensor 21, without the need for additional calibration steps, which simplifies the technical implementation process and reduces hardware and software costs.
[0043] Furthermore, a fourth magnetic sensor 24 is provided on the lower surface of the PCB board 20 at the position corresponding to the second magnetic sensor 22.
[0044] Specifically, the fourth magnetic sensor 24 is disposed on the lower surface of the PCB board 20, and its position corresponds completely to that of the second magnetic sensor 22 on the upper surface of the PCB board 20, forming a vertically aligned spatial layout. It is symmetrically distributed with the third magnetic sensor 23 (corresponding to the first magnetic sensor 21) on the lower surface of the PCB board 20, and together they accurately align with the movement trajectory of the magnetic component 12.
[0045] The fourth magnetic sensor 24 and the third magnetic sensor 23 constitute the differential detection group on the lower surface. The two work together and form a complementary and logically unified combination with the differential detection groups of the first magnetic sensor 21 and the second magnetic sensor 22 on the upper surface. The upper surface group is responsible for differential judgment of the 0-3.3mm stroke, and the lower surface group is responsible for differential judgment of the 3.3-4.4mm stroke, together improving the differential detection system for the entire stroke.
[0046] The pressing component 11 drives the magnetic component 12 to move downwards synchronously. When the displacement is between 0 and 3.3 mm, the magnetic field of the magnetic component 12 mainly acts on the first magnetic sensor 21 and the second magnetic sensor 22 on the upper surface. The two sensors output a pressing depth signal through differential calculation. When the displacement exceeds 3.3 mm and enters the range of 3.3-4.4 mm, the magnetic field of the magnetic component 12 extends to the lower surface, triggering the third and fourth sensors. The two sensors immediately start differential calculation, and the deep pressing action is reflected by the reverse signal difference of the magnetic field change. The movement state of the magnetic component 12 is accurately transmitted through differential signal, avoiding the deviation of single sensor detection.
[0047] Both strokes rely on differential calculation, which avoids the failure risk of single sensor detection during long strokes. The detection stability and fault tolerance of the entire stroke are significantly improved, ensuring that both deep and shallow press operations can be accurately recognized during long-term use.
[0048] It should be noted that the button assembly also includes a housing 30, and the key core assembly 10 is mounted on the housing 30. The key core assembly 10 also includes a fixing member 13. The housing 30 has a second through hole 31 located above the first through hole 25, and the fixing member 13 is installed in the second through hole 31. The pressing member 11 is slidably disposed on the fixing member 13. The pressing member 11 includes a pressing part 111 and a connecting rod part 112 integrally connected. The connecting rod part 112 extends toward the first through hole 25 and is inserted into the first through hole 25. The magnetic member 12 is installed in the connecting rod part 112. The upper end of the fixing member 13 forms a sliding groove 131. The key core assembly 10 also includes an elastic member 14, which is sleeved on the outside of the connecting rod part 112 and located between the pressing part 111 and the bottom wall of the sliding groove 131. A hollow shaft 132 for the connecting rod part 112 to pass through is provided on the bottom wall of the sliding groove 131. The hollow shaft 132 extends into the first through hole 25.
[0049] Specifically, the fixing member 13, as the core support component of the key core assembly 10, is installed in the second through hole 31 of the housing 30 (the second through hole 31 is located directly above the first through hole 25 of the PCB board 20 and is coaxial with the first through hole 25), forming a guide structure that runs vertically through the structure. The upper end of the fixing member 13 is provided with a sliding groove 131, and a hollow shaft 132 is provided on the bottom wall of the sliding groove 131. The connecting rod part 112 of the pressing member 11 passes through the hollow shaft 132, and the hollow shaft 132 extends into the first through hole 25 of the PCB board 20, so as to achieve precise positioning of the fixing member 13 and the PCB board 20. The pressing component 11 adopts an integrated structure, including a pressing part 111 (located above the sliding groove 131 of the fixing component 13, for direct pressing by the user) and a connecting rod part 112 (extending downward from the pressing part 111, passing through the hollow shaft 132 of the fixing component 13 and the first through hole 25 of the PCB board 20 in sequence, thus penetrating the PCB board 20). The entire component can slide linearly along the sliding groove 131, hollow shaft 132 and first through hole 25 of the fixing component 13. The magnetic component 12 is built into the connecting rod part 112 and moves synchronously with the connecting rod part 112. Since the connecting rod part 112 penetrates the PCB board 20, the magnetic component 12 will pass through the PCB board 20 together with the connecting rod part 112 and complete the movement within the space on both sides of the PCB board 20. The elastic element 14 is sleeved on the outside of the connecting rod portion 112 of the pressing element 11 (located above the PCB board 20, inside the sliding groove 131 of the fixing element 13), and its two ends abut against the lower surface of the pressing portion 111 and the bottom wall of the sliding groove 131 of the fixing element 13 respectively, in a pre-compressed state, to provide the pressing element 11 with a reset elastic force.
[0050] A second through hole 31 is provided on the housing 30. The second through hole 31 is located directly above the first through hole 25 on the PCB board 20. The diameter of the hole matches the shape of the fastener 13 and is used to fix the fastener 13. The second through hole 31 and the first through hole 25 are coaxially arranged, and together they provide vertically aligned through channels for the connecting rod 112 of the pressing member 11 and the hollow shaft 132 of the fastener 13, ensuring that the connecting rod 112 can smoothly penetrate the PCB board 20 and that the movement trajectories of each component are completely consistent.
[0051] The fixing member 13 is installed in the second through hole 31 of the housing 30, and radial positioning is achieved through the second through hole 31. At the same time, the hollow shaft 132 of the fixing member 13 extends into the first through hole 25 of the PCB board 20, and further restricts the radial offset of the fixing member 13 through the first through hole 25, forming a three-point positioning structure of "housing 30-fixing member 13-PCB board 20", ensuring that the fixing member 13 is always coaxial with the first through hole 25 and the second through hole 31, providing a stable guiding foundation for the sliding of the pressing member 11, and avoiding pressing jamming caused by the tilt of the fixing member 13.
[0052] The connecting rod 112 of the pressing member 11 passes through the hollow shaft 132 of the fixing member 13 and can slide linearly along the hollow shaft 132. When the user presses the pressing part 111, the pressing member 11 slides downward against the elastic force of the elastic member 14, and the connecting rod 112 drives the built-in magnetic member 12 to move downward synchronously; when the pressing part 111 is released, the elastic member 14 releases the pre-compression elastic force, pushes the pressing member 11 upward to reset, and the connecting rod 112 drives the magnetic member 12 back to the initial position. Throughout the sliding process, the hollow shaft 132 of the fixing member 13 always restricts the radial displacement of the pressing member 11, ensuring that the pressing member 11 moves only along the axial direction, and the magnetic field of the magnetic member 12 is always aligned with the detection area on the same side of the PCB board 20.
[0053] Understandably, the first magnetic sensor 21 and the second magnetic sensor 22 can perform differential operations, as well as other operations, such as rate of change, velocity, and variance.
[0054] In an optional embodiment, both the first magnetic sensor 21 and the second magnetic sensor 22 are TMR sensors; the magnetic poles of the magnetic element 12 are distributed along the axial direction of the magnetic element 12.
[0055] In this embodiment, both the first magnetic sensor 21 and the second magnetic sensor 22 are TMR sensors (tunnel magnetoresistive sensors). Compared with Hall sensors, TMR sensors have higher magnetic sensitivity, lower power consumption and a wider dynamic detection range, and can accurately capture weak magnetic field changes, providing a more sensitive signal basis for differential detection.
[0056] The magnetic poles of the magnetic component 12 are distributed along its axial direction (e.g., the upper end face of the magnetic component 12 has N poles and the lower end face has S poles, or vice versa). Unlike the previous radial magnetic pole layout, the axial magnetic poles cause the magnetic field direction to differ vertically along the movement axis of the magnetic component 12 (i.e., the pressing direction), and the magnetic field gradient is more concentrated in the vertical direction of the pressing stroke. In combination with the axial magnetic pole distribution of the magnetic component 12, the first magnetic sensor 21 and the second magnetic sensor 22 are both set on the upper surface of the PCB board 20 and located around the first through hole 25. There is no need to force a symmetrical setting (the relative position can be adjusted according to the wiring space of the PCB board 20 and the layout requirements of other components), but it is necessary to ensure that the distance between the two sensors and the magnetic component 12 is the same to achieve the requirement of synchronously capturing changes in the magnetic field. The initial signal deviation caused by the position difference is offset by subsequent differential calculation, which is adapted to the differential detection logic.
[0057] Furthermore, the button assembly also includes a third magnetic sensor 23, and the first magnetic sensor 21, the second magnetic sensor 22, and the third magnetic sensor 23 are evenly distributed around the central axis of the magnetic component 12.
[0058] Specifically, in this embodiment, the newly added third magnetic sensor 23 of the button assembly is of the same type as the first magnetic sensor 21 and the second magnetic sensor 22, all being TMR sensors. Continuing the characteristics of high magnetic sensitivity, low power consumption, and wide dynamic detection range, it can accurately capture subtle changes in the axial magnetic field of the magnetic component 12, and work in conjunction with the first two sensors to achieve multi-dimensional magnetic field detection. The first magnetic sensor 21, the second magnetic sensor 22, and the third magnetic sensor 23 are evenly distributed around the central axis of the magnetic component 12 (i.e., all three are on the same circumference, with an angle of 120° between adjacent sensors), and are all located on the upper surface of the PCB board 20, around the first through hole 25. Combining the characteristic of the magnetic poles of the magnetic component 12 being distributed axially, the evenly distributed circumference of the three sensors and their perpendicular distance from the magnetic component 12 are adapted to the coverage range of the axial magnetic field—ensuring that when the magnetic component 12 moves up and down along the central axis, the three sensors can synchronously receive the change signal of the magnetic field strength. Furthermore, due to the evenly distributed angles, the magnetic field changes captured by each sensor have a "periodic" pattern, providing a stable multi-source data foundation for subsequent signal processing.
[0059] In another optional embodiment, the button assembly further includes a third magnetic sensor 23, a fourth magnetic sensor 24... the Nth magnetic sensor, where N is an integer and N≥4; the first magnetic sensor 21, the second magnetic sensor 22, the third magnetic sensor 23, the fourth magnetic sensor 24... the Nth magnetic sensor are evenly distributed around the central axis of the magnetic element 12.
[0060] Specifically, in this embodiment, multiple sensors are provided. The button assembly includes a first magnetic sensor 21, a second magnetic sensor 22, a third magnetic sensor 23, a fourth magnetic sensor 24, ... an Nth magnetic sensor (N is an integer and N≥4). All sensors are TMR sensors, continuing the characteristics of high magnetic sensitivity, low power consumption, and wide dynamic detection range. They can simultaneously and accurately capture subtle changes in the axial magnetic field of the magnetic component 12, forming a multi-dimensional system of "N TMR sensors working together for detection".
[0061] The first magnetic sensor 21 to the Nth magnetic sensor are evenly distributed around the central axis of the magnetic component 12—all sensors are located on the same circumference, and the included angle between any two adjacent sensors is 360° / N (e.g., 90° when N=4, 72° when N=5); and they are all set on the upper surface of the PCB board 20, around the first through hole 25, and within the effective detection range of the axial magnetic field of the magnetic component 12. There is no need to force symmetry in a specific direction, only to maintain a spatial layout with evenly distributed angles around the central axis of the magnetic component 12, which can be flexibly adjusted to accommodate different N values.
[0062] By combining the evenly distributed circumference of multiple sensors and their perpendicular distance from the magnetic component 12, the coverage range of the axial magnetic field is adapted to ensure that all sensors can synchronously receive the change signal of magnetic field strength when the magnetic component 12 moves up and down along the central axis. Moreover, because the angles are evenly distributed, the magnetic field changes captured by each sensor have a periodic symmetrical pattern (the difference in magnetic field changes between adjacent sensors is fixed), providing a stable multi-source data foundation for subsequent multi-group signal processing.
[0063] In some embodiments, the magnetic element 12 is movable relative to the PCB board 20 on one side of the PCB board 20 and is always located on the outside of the PCB board 20.
[0064] Specifically, in this embodiment, the magnetic component 12 is limited to only one side of the PCB board 20 (i.e., the "outer" area away from the other side of the PCB board 20), and can move linearly back and forth relative to the PCB board 20; and throughout the entire button pressing stroke (such as the full stroke operation of the button), the magnetic component 12 is always in the outer space of the PCB board 20, does not penetrate the board structure of the PCB board 20, does not rely on through holes or clearance slots opened on the PCB board 20, and only moves along a preset trajectory within a fixed area on one side of the PCB board 20.
[0065] This utility model also proposes a keyboard, which includes the above-described key assembly. The specific structure of the key assembly is as described in the above embodiments. Since the keyboard adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described in detail here.
[0066] The above description is merely an exemplary embodiment of the present utility model and does not limit the scope of protection of the present utility model. Any equivalent structural transformations made based on the technical concept of the present utility model and the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the scope of protection of the present utility model.
Claims
1. A button assembly, characterized in that, include: The key core assembly includes a synchronously movable pressing element and a magnetic element; A PCB board, on which a first magnetic sensor and a second magnetic sensor are disposed, the first magnetic sensor and the second magnetic sensor are located on the same plane, and the distance between the two and the magnetic component is the same.
2. The button assembly as described in claim 1, characterized in that, Both the first magnetic sensor and the second magnetic sensor are Hall sensors; the magnetic poles of the magnetic element are distributed radially along the magnetic element; the first magnetic sensor and the second magnetic sensor are respectively oriented towards the two magnetic poles of the magnetic element.
3. The button assembly as described in claim 2, characterized in that, The PCB board has a first through hole for the magnetic component to pass through.
4. The button assembly as described in claim 3, characterized in that, The first magnetic sensor and the second magnetic sensor are located around the first through hole.
5. The button assembly as described in any one of claims 2 to 4, characterized in that, Both the first magnetic sensor and the second magnetic sensor are located on the upper surface of the PCB board.
6. The button assembly as described in claim 5, characterized in that, A third magnetic sensor is also provided on the lower surface of the PCB board at the location corresponding to the first magnetic sensor.
7. The button assembly as described in claim 6, characterized in that, A fourth magnetic sensor is provided on the lower surface of the PCB board at the location corresponding to the second magnetic sensor.
8. The button assembly as described in claim 1, characterized in that, Both the first magnetic sensor and the second magnetic sensor are TMR sensors; the magnetic poles of the magnetic element are distributed along the axial direction of the magnetic element.
9. The button assembly as described in claim 8, characterized in that, The button assembly also includes a third magnetic sensor, and the first magnetic sensor, the second magnetic sensor, and the third magnetic sensor are evenly distributed around the central axis of the magnetic component.
10. The button assembly as claimed in claim 8, characterized in that, The button assembly further includes a third magnetic sensor, a fourth magnetic sensor, ..., an Nth magnetic sensor, where N is an integer and N≥4; the first magnetic sensor, the second magnetic sensor, the third magnetic sensor, the fourth magnetic sensor, ..., the Nth magnetic sensor are evenly distributed around the central axis of the magnetic component.
11. The button assembly as claimed in claim 1, characterized in that, The magnetic component is movable relative to the PCB board on one side of the PCB board and is always located on the outside of the PCB board.
12. A keyboard, characterized in that, Includes the button assembly as described in any one of claims 1 to 11.