A shaft magnetic keyboard circuit
By designing a multifunctional axes and magnetic keyboard circuit, including a main control unit, a Hall detection unit and a variety of modules, the existing axes and magnetic keyboard circuit has solved the problems of single functions, poor expansion and insufficient temperature stability, and achieved high response speed, accuracy and temperature stability.
Patent Information
- Application Number
- CN202421308359.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2034-06-07
AI Technical Summary
The existing axial magnetic keyboard circuit has single functions and poor expansion, and the Hall components have high requirements for temperature stability, so ambient temperature changes may lead to measurement errors and key series problems.
An axial magnetic keyboard circuit including a main control unit, a Hall detection unit, a storage unit, a SPI drive signal amplification module, an encoder, a power supply module, a charging module, a reset circuit and a Bluetooth module are designed. The key signal is amplified through the SPI drive signal amplification module to improve the anti-interference ability and transmission distance; a high-precision linear Hall sensor is used to have good temperature stability; and wireless communication is realized through the Bluetooth module, and the IO expansion port increases functional expansion.
It improves the response speed and accuracy of the keyboard, enhances the press resolution of the keys, ensures stable performance under different temperature environments, and significantly improves anti-interference performance, press resolution and temperature drift characteristics.
Smart Images

Figure CN222704983U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of mechanical keyboards, in particular to a shaft magnetic keyboard circuit. Background Art
[0002] Traditional keyboard circuits mostly use mechanical switches or membrane switches to realize key functions, but these switches have disadvantages such as easy wear, short life, and high noise. In order to overcome these disadvantages, shaft magnetic keyboards have appeared in recent years, which use the Hall effect to detect key movements and have the advantages of high sensitivity, long life, and no noise.
[0003] However, the current magnetic keyboard circuits on the market often have single functions and poor scalability, and cannot meet the diverse needs of users. In addition, the Hall elements that may be used in magnetic keyboards have certain requirements for temperature stability. If the ambient temperature is too high, the measurement error caused by temperature changes will cause the elements to fail to ensure the normal operation of the magnetic keyboard. Signal interference may cause the magnetic keyboard to have string key problems, that is, the keys on the same signal line affect each other, resulting in automatic input or failure to input. Utility Model Content
[0004] The utility model aims at solving the problems existing in the prior art and provides a shaft magnetic keyboard circuit.
[0005] In order to achieve the above objectives, the present invention is implemented through the following technical solutions:
[0006] A shaft magnetic keyboard circuit includes a main control unit, which is connected to multiple Hall detection units and storage units. Each Hall detection unit sends a detected key signal to the main control unit. The main control unit reads the output signal of the corresponding Hall detection unit to determine the state and position of the key, and after reading the predetermined information stored in the storage unit, communicates with the host according to the predetermined information to transmit the key data.
[0007] Furthermore, the Hall detection unit is connected to the main control unit via an SPI drive signal amplification module, and the SPI drive signal amplification module amplifies the key signal and sends it to the main control unit.
[0008] Furthermore, the main control unit is also connected to an encoder, and the encoder is a rotary encoder.
[0009] Furthermore, the main control unit is connected to a power supply module, which includes a DC-DC transformer module, and the input and output ends of the DC-DC transformer module are both connected to a plurality of protection capacitors.
[0010] Furthermore, the power supply module is connected to a charging module, and the charging module includes a power management module. A voltage output end of the power management module is connected in parallel with a plurality of filter capacitors, protection diodes and a transistor.
[0011] Furthermore, the main control unit is also connected to a reset circuit, the reset circuit includes a field effect transistor, and the g-pole of the field effect transistor is connected to an RC reset circuit.
[0012] Furthermore, the main control unit is also connected to a Bluetooth module, which is a 2.4G wireless communication module.
[0013] Furthermore, the main control unit is also connected to a plurality of IO expansion ports.
[0014] Beneficial effects of the utility model:
[0015] The shaft magnetic keyboard circuit provided by the utility model effectively amplifies the key signal from the Hall detection unit through the SPI drive signal amplification module, thereby improving the anti-interference ability and transmission distance of the signal, ensuring that the key signal can be accurately transmitted to the main control unit 1, and improving the response speed and accuracy of the keyboard. Each axis is equipped with an independent Hall sensor chip, and each chip has an independent ADC conversion, which ensures a better linear curve and sensitivity. This further improves the pressing resolution of the key, allowing the user to more accurately control the trigger point and strength of the key. The high-precision linear Hall sensor used in the shaft magnetic keyboard has good temperature stability. This means that under different temperature environments, the output voltage of the Hall element changes less, thereby ensuring that the magnetic shaft keyboard can maintain stable performance under various temperature conditions. The shaft magnetic keyboard circuit shows significant advantages in anti-interference performance, pressing resolution and temperature drift characteristics. By adopting technical means such as the SPI drive signal amplification module, fine key travel adjustment and high-precision linear Hall sensor, the shaft magnetic keyboard circuit provides users with a more stable, accurate and reliable input experience. Whether in a complex electromagnetic environment or under extreme temperature conditions, the shaft magnetic keyboard can maintain excellent performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is the principle block diagram of the shaft magnetic keyboard circuit of the utility model;
[0017] Figure 2 This is a schematic diagram of the circuit structure of the main control unit of the utility model;
[0018] Figure 3 This is a schematic diagram of the circuit structure of the Hall detection unit of the utility model;
[0019] Figure 4 This is a schematic diagram of the circuit structure of the storage unit of the utility model;
[0020] Figure 5 This is a schematic diagram of the circuit structure of the SPI drive signal amplification module of the utility model;
[0021] Figure 6 This is a schematic diagram of the circuit structure of the rotary encoder of the utility model;
[0022] Figure 7 This is a schematic diagram of the circuit structure of the power supply module of the utility model;
[0023] Figure 8 This is a schematic diagram of the circuit structure of the charging module of the utility model;
[0024] Fig. 9 This is a schematic diagram of the circuit structure of the reset circuit of the utility model;
[0025] Fig.10 This is a schematic diagram of the circuit structure of the Bluetooth module of the utility model;
[0026] Fig.11 This is a schematic diagram of the circuit structure of the IO expansion port of the utility model.
[0027] In the figure: 1-main control unit, 2-Hall detection unit, 3-storage unit, 5-SPI drive signal amplification module, 6-encoder, 7-power supply module, 71-DC-DC transformer module, 72-protection capacitor, 8-charging module, 81-power management module, 82-filter capacitor, 83-protection diode, 84-transistor, 9-reset circuit, 91-field effect tube, 92-RC reset circuit, 10-Bluetooth module, 11-IO expansion port. DETAILED DESCRIPTION
[0028] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0029] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0030] Unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0031] Please refer to Figure 1-4 , a shaft magnetic keyboard circuit provided by the utility model includes a main control unit 1, multiple Hall detection units 2, a storage unit 3, an SPI drive signal amplification module 5, an encoder 6, a power supply module 7, a charging module 8, a reset circuit 9, a Bluetooth module 10 and multiple IO expansion ports 11. These modules and units together constitute the overall structure of the shaft magnetic keyboard circuit through reasonable circuit design and connection.
[0032] Among them, the main control unit 1 is connected with the Hall detection unit 2 and the storage unit 3, and as the core of the shaft magnetic keyboard circuit, is responsible for receiving the key signal of the Hall detection unit 2, judging the state and position of the key, and reading the predetermined information in the storage unit 3, communicating with the host according to the predetermined information, and transmitting the key data to the host. In this embodiment, the main control unit 1 adopts a high-performance microprocessor chip with powerful data processing capabilities and communication functions.
[0033] Please refer to Figure 3 and Figure 5 The Hall detection unit 2 is a key part of the shaft magnetic keyboard circuit and is responsible for detecting the action of the key. When the key is pressed or released, the state of the shaft magnetic switch will change, thereby causing the output signal of the Hall detection unit 2 to change. In order to improve the stability and reliability of the key signal, this embodiment adds an SPI drive signal amplification module 5 between the Hall detection unit 2 and the main control unit 1. The SPI drive signal amplification module 5 can amplify the key signal and send it to the main control unit 1, thereby improving the signal's anti-interference ability and transmission distance. The Hall detection unit 2 uses a 3D digital Hall detector, and each Hall detector outputs a digital signal.
[0034] Please refer to Figure 6 In order to increase the function of the shaft magnetic keyboard circuit, the present embodiment connects an encoder 6 to the main control unit 1. The encoder 6 is a rotary encoder that can realize rotary input functions such as volume adjustment, brightness adjustment, etc. The main control unit 1 realizes the corresponding function by reading the output signal of the encoder 6.
[0035] Please refer to Figure 7 and Figure 8The main control unit 1 is connected to a power supply module 7, which is an important component of the shaft magnetic keyboard circuit and is responsible for providing a stable power supply for the entire circuit. The power supply module 7 includes a DC-DC transformer module 71, which can convert the input DC voltage into a stable voltage required by the circuit. In order to ensure the stability and reliability of the power supply, the input and output ends of the DC-DC transformer module 71 are connected to a plurality of protection capacitors 72. In addition, the power supply module 7 is also connected to a charging module 8, which includes a power management module 81. The voltage output end of the power management module 81 is connected in parallel with a plurality of filter capacitors 82, a protection diode 83 and a transistor 84 to ensure the stability and safety of the output voltage.
[0036] Please refer to Fig. 9 The main control unit 1 is also connected to a reset circuit 9, which is an important part of the shaft magnetic keyboard circuit and can realize a reset operation when an abnormal situation occurs in the circuit. The reset circuit 9 of this embodiment includes a field effect transistor 91, and the g pole of the field effect transistor 91 is connected to an RC reset circuit 92. When an abnormality occurs in the circuit, the RC reset circuit 92 generates a reset signal to turn on the field effect transistor 91, thereby realizing a reset operation on the main control unit 1.
[0037] Please refer to Fig.10 In order to increase the communication flexibility of the shaft magnetic keyboard circuit, this embodiment connects a Bluetooth module 10 to the main control unit 1. The Bluetooth module 10 is a 2.4G wireless communication module that can realize wireless communication with a host or other devices. Through the Bluetooth module 10, the user can realize the transmission and control of keyboard data without cables.
[0038] Please refer to Fig.11 In order to meet the needs of different users, this embodiment connects multiple IO expansion ports 11 to the main control unit 1. These expansion ports can be connected to various external devices or sensors to achieve more functions and applications. For example, users can connect devices such as mice and game controllers through IO expansion ports to achieve linkage control of keyboards and other devices.
[0039] Working principle:
[0040] The Hall detection unit 2 detects the state change of the shaft magnetic switch, identifies the pressing or releasing action of the key, and generates a corresponding signal. The SPI drive signal amplification module 5 further amplifies these signals to improve the anti-interference ability and transmission distance of the signal. The main control unit 1 receives the key signal from the Hall detection unit 2, determines the state and position of the key, and communicates with the host according to the predetermined information in the storage unit 3 to transmit the key data. The encoder 6 provides the main control unit 1 with a rotation input function, such as volume adjustment, brightness adjustment, etc. By reading the output signal of the encoder 6, the main control unit 1 can perform the corresponding functional operation. The power supply module 7 and the charging module 8D convert the input DC voltage into a stable voltage required by the circuit to ensure the stable operation of the circuit. When the circuit is abnormal, the reset circuit 9 generates a reset signal through the RC reset circuit, so that the field effect tube is turned on, and the reset operation of the main control unit 1 is realized, thereby restoring the normal working state of the circuit. The Bluetooth module 10 provides the main control unit 1 with a wireless communication function, so that the keyboard data can be transmitted to the host or other devices without a cable, which increases the flexibility and convenience of communication. Multiple IO expansion ports 11 allow users to connect various external devices or sensors to achieve more functions and applications. These expansion ports provide users with great flexibility, allowing them to connect different devices as needed and achieve linked control of the keyboard and other devices.
[0041] The above contents are further detailed descriptions of the present invention in combination with specific preferred implementations, and the specific implementation of the present invention cannot be considered to be limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A shaft magnetic keyboard circuit, characterized in that: The invention comprises a main control unit (1), wherein the main control unit (1) is connected to a plurality of Hall detection units (2) and a storage unit (3), wherein each Hall detection unit (2) sends a detected key signal to the main control unit (1), and the main control unit (1) reads the output signal of the corresponding Hall detection unit (2) to determine the state and position of the key, and after reading the predetermined information stored in the storage unit (3), communicates with the host according to the predetermined information to transmit the key data.
2. The shaft magnetic keyboard circuit according to claim 1, characterized in that: The Hall detection unit (2) is connected to the main control unit (1) via an SPI drive signal amplification module (5), and the SPI drive signal amplification module (5) amplifies the key signal and sends it to the main control unit (1).
3. The shaft magnetic keyboard circuit according to claim 1, characterized in that: The main control unit (1) is also connected to an encoder (6), and the encoder (6) is a rotary encoder.
4. The shaft magnetic keyboard circuit according to claim 1, characterized in that: The main control unit (1) is connected to a power supply module (7), the power supply module (7) comprises a DC-DC transformer module (71), and the input end and the output end of the DC-DC transformer module (71) are both connected to a plurality of protection capacitors (72).
5. The shaft magnetic keyboard circuit according to claim 4, characterized in that: The power supply module (7) is connected to a charging module (8), the charging module (8) comprises a power management module (81), and a voltage output end of the power management module (81) is connected in parallel to a plurality of filter capacitors (82) and a protection diode (83) and a transistor (84).
6. The shaft magnetic keyboard circuit according to claim 1, characterized in that: The main control unit (1) is also connected to a reset circuit (9), the reset circuit (9) comprising a field effect tube (91), and the g-pole of the field effect tube (91) is connected to an RC reset circuit (92).
7. The shaft magnetic keyboard circuit according to claim 1, characterized in that: The main control unit (1) is also connected to a Bluetooth module (10), and the Bluetooth module (10) is a 2.4G wireless communication module.
8. The shaft magnetic keyboard circuit according to claim 1, characterized in that: The main control unit (1) is also connected to a plurality of IO expansion ports (11).