Linear Hall circuit, magnetic axis keyboard and control method of magnetic axis keyboard

By designing a linear Hall circuit in the magnetic axis keyboard and using temperature compensation and acceleration circuits, the problem of single function keys and long response time in the existing technology is solved, multi-function keys and fast response are realized, and the user experience and keyboard are improved. performance.

CN118764017AInactive Publication Date: 2024-10-11JIANGSU ZHIXIN MICROELECTRONICS TECH CO LTD

Patent Information

Application Number
CN202410646382.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-10-11
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The keys of the existing magnetic axis keyboard can only correspond to one input command, and the output signal is unstable, resulting in confusion of command signals, and the response time is long, making it impossible to realize multi-function configuration of the keys.

Method used

A linear Hall circuit is designed, including a Hall device, an operational amplifier module, a temperature compensation module and an acceleration module. Through the gain control resistor feedback circuit and acceleration circuit, the signal stability and response speed are improved, and multi-key stroke segments are realized. Corresponding to the multi-function button configuration.

Benefits of technology

It realizes the multi-functional configuration of buttons, improves the user experience, shortens the response time from 1ms to 1us~10us, meets the high frequency reporting rate requirements, and ensures the stability and linearity of the output signal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764017A_ABST
    Figure CN118764017A_ABST
Patent Text Reader

Abstract

The invention relates to a linear Hall circuit, a magnetic axis keyboard and a control method of the magnetic axis keyboard, and the linear Hall circuit comprises a Hall device which generates a voltage difference signal between a first output end and a second output end; the operational amplifier module is used for receiving the voltage difference signal and outputting an amplified signal; the output stage receives the amplified signal and outputs a response signal; the temperature compensation module is used for performing temperature compensation on the operational amplifier module to enable the amplified signal to be stable in a working temperature range; and the acceleration module receives the response signal, keeps the response signal stable at the bias voltage of the zero magnetic field when the Hall device detects the magnetic field, and amplifies the response signal and then stably outputs the response signal when the Hall device does not detect the magnetic field. According to the Hall circuit, the stability of the output signal of the Hall circuit can be ensured, the output linear segment of the Hall circuit is increased, and the response speed of the Hall circuit is increased. And a plurality of functions of one key of the magnetic axis keyboard can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electromagnetic signals, and in particular to a linear Hall circuit, a magnetic axis keyboard, and a control method for the magnetic axis keyboard. Background Art

[0002] Keyboards typically have one key associated with one function, so the number of keys on a standard keyboard is essentially fixed. This is determined by the key sensitivity, output stability, and response time. If the linear range corresponding to a key's key travel is small, the key can only correspond to one input command and output the corresponding output signal in response to that input command. If the key output signal is unstable, the key can also only correspond to one input command, otherwise the command signal will be confused.

[0003] The magnetic axis keyboard works with the Hall circuit. Figure 1 This is the structural block diagram of the Hall circuit. Figure 1 As shown in Figure 1, a Hall effect circuit consists of a Hall effect device, an operational amplifier, and an output stage. After the Hall effect device detects a magnetic field, it outputs a voltage difference signal to the operational amplifier. The operational amplifier amplifies the signal and then processes it through the output stage for output.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0005] In view of the deficiencies in the prior art, the present invention discloses a linear Hall circuit, a magnetic axis keyboard, and a control method for the magnetic axis keyboard.

[0006] The technical solutions adopted in the embodiments of the present invention are as follows:

[0007] A linear Hall circuit comprising:

[0008] A Hall device comprising a first output terminal and a second output terminal, generating a voltage difference signal between the first output terminal and the second output terminal;

[0009] an operational amplifier module, receiving the voltage difference signal and outputting an amplified signal;

[0010] an output stage, receiving the amplified signal and outputting a response signal;

[0011] a temperature compensation module, performing temperature compensation on the operational amplifier module so that the amplified signal is stable within an operating temperature range;

[0012] The acceleration module receives the response signal, keeps the response signal stable at a bias voltage of zero magnetic field when the Hall device detects a magnetic field, and amplifies the response signal and outputs it stably when the Hall device does not detect a magnetic field.

[0013] Its further technical solution is that the Hall device includes a Hall resistor; the temperature compensation module includes a gain control resistor feedback circuit; the gain control resistor feedback circuit includes a gain control resistor; the operational amplifier module includes an operational amplifier; the gain control resistor and the Hall resistor have the same temperature characteristics; and the two ends of the gain control resistor feedback circuit are respectively connected to the output and input ends of the operational amplifier.

[0014] A further technical solution is that the gain control resistor and the Hall resistor are made of the same material.

[0015] A further technical solution is that the acceleration module includes an amplifier tube, a constant current source, a load resistor and an acceleration capacitor; the input end of the amplifier tube receives the amplified signal; the two output ends of the amplifier tube are respectively connected to the power supply end and the load resistor; the acceleration capacitor is connected in parallel with the load resistor; and the constant current source and the load resistor are connected in series.

[0016] A magnetic axis keyboard is equipped with the linear Hall circuit as described in any one of the above items; the magnetic axis keyboard comprises a plurality of keys, each key is configured with one of the linear Hall circuits.

[0017] A further technical solution is that the key includes multiple key range segments, and the multiple key range segments correspond one by one to multiple different command signals.

[0018] Its further technical solution is that the magnetic axis keyboard also includes a control module, and the control module includes: a key designation module, which is used to receive input signals and send out designation signals for specifying keys that need to be set; a setting module, which is used to receive the designation signals and correspond different key travel segments of the designated keys to different command signals; a key travel identification module, which is used to receive press signals and determine the key travel segment corresponding to the press signals based on the received press signals; read the command signals corresponding to different key travel segments in the key designation module; and a command signal output module, which outputs the command signals.

[0019] A control method for a magnetic axis keyboard, based on the magnetic axis keyboard as described above, the control method comprises:

[0020] Receive input signals and send specified signals to specify the keys to be set;

[0021] receiving the designated signal and converting different key segments of the designated key into different command signals;

[0022] Receive a press signal, and determine the key segment corresponding to the press signal according to the received press signal; read the instruction signals corresponding to different key segments in the key designation module;

[0023] The command signal is output.

[0024] The beneficial effects of the embodiments of the present invention are as follows:

[0025] 1. The embodiment of the present invention adds a temperature compensation circuit and an acceleration circuit to the Hall circuit, thereby ensuring the stability of the Hall circuit output signal, increasing the linear section of the Hall circuit output, and increasing the response speed of the Hall circuit.

[0026] 2. This embodiment of the present invention allows a single key to have two key travel segments and perform two functions. Similarly, across the entire keyboard, multiple functions can be achieved per key, allowing for more flexible configuration of the number of keys. With programmable software, each key can be configured to output multiple different functions, significantly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 This is the structural block diagram of the Hall circuit.

[0028] Figure 2 4 is a structural block diagram of a linear Hall circuit in an embodiment of the present invention.

[0029] Figure 3 Schematic diagram of the principle structure of the temperature compensation module in an embodiment of the present invention.

[0030] Figure 4 Schematic diagram of the principle structure of the Hall device.

[0031] Figure 5 Schematic diagram of an acceleration module in an embodiment of the present invention.

[0032] Figure 6 2 is a structural block diagram of a magnetic axis keyboard in an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The specific embodiments of the present invention will be described below with reference to the accompanying drawings.

[0034] In order to make the purpose, technical solutions and advantages of the present invention clearer, the device proposed in the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, please refer to the drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the efficacy and purpose that can be achieved by the present invention, should still fall within the scope of the technical content disclosed by the present invention.

[0035] In the following examples, abbreviations and key terms are defined as:

[0036] Hall effect devices (HALL): Hall effect devices are magnetic sensors based on the Hall effect. They can detect magnetic fields and their changes and can be used in various magnetic field-related situations.

[0037] Magnetic axis keyboard: A computer keyboard axis that uses the interaction between magnetism and Hall sensors to trigger keys.

[0038] Linear Hall circuit: The input is magnetic induction intensity, and the output is a voltage proportional to the input. The linear Hall circuit has high sensitivity and excellent linearity;

[0039] The magnetic axis is a type of axis technology that uses the interaction between magnetic force and Hall sensors to achieve button triggering. Compared with traditional mechanical axes, the biggest highlight of the magnetic axis is its RT (Rapid Trigger) function. By adjusting the trigger position and stroke length, the magnetic axis can achieve rapid triggering within a very short stroke, greatly improving the keystroke speed. In addition to the leap in speed, the magnetic axis also has the advantage of fast response speed, with a delay of only 1ms, allowing players to react faster in the game. Secondly, the magnetic axis feels smooth and has no physical friction, bringing a smoother and more natural input experience. Finally, the magnetic axis has a longer lifespan, and the electromagnetic triggering method avoids physical wear and enhances the durability of the product.

[0040] Example 1.

[0041] The first embodiment discloses a linear Hall circuit. Figure 2 FIG is a block diagram of the linear Hall circuit in an embodiment of the present invention. Figure 2As shown, the linear Hall effect circuit includes a Hall device, an operational amplifier module, an output stage, a temperature compensation module, and an acceleration module. The Hall device includes a first output terminal and a second output terminal. After detecting a magnetic field signal, the Hall device generates a voltage difference signal between the first and second output terminals. This voltage difference signal is transmitted as a differential signal to the operational amplifier module. The operational amplifier module receives the voltage difference signal, amplifies it, and outputs an amplified signal. The output stage receives the amplified signal, conditions it, and outputs a response signal. The temperature compensation module performs temperature compensation on the operational amplifier module to ensure that the amplified signal is stable within the operating temperature range (the operating range refers to the range within which the linear Hall effect circuit can output a linear signal). The acceleration module receives the response signal and, based on the magnetic field detected by the Hall device, outputs a stable response signal. When the Hall device detects a magnetic field, the response signal is quickly stabilized at the zero magnetic field bias voltage without any additional fluctuations. When the Hall device does not detect a magnetic field, the response signal is amplified and output stably.

[0042] Figure 3 FIG. 1 is a schematic diagram of the principle structure of the Hall device in an embodiment of the present invention. Figure 3 As shown, the Hall device comprises a bridge circuit consisting of four Hall resistors R1-R4, which are completely symmetrical. The two input terminals of the Hall device are connected to a power supply VB. When the power supply voltage is applied, current flows through the Hall resistors R1-R4. When a magnetic field is applied perpendicular to the plane of the Hall resistors, according to the Lorentz law, a Hall voltage U = Vp - Vn is generated between the other two output terminals Vp and Vn. The value of the Hall voltage U is proportional to the current flowing through the Hall resistors R1-R4; the greater the current, the greater the Hall voltage. The output terminals of the Hall device output a voltage difference signal as a differential signal, also known as the Hall voltage. In semiconductor manufacturing, Hall devices are made of N-type semiconductor diffusion. The Hall resistors of N-type diffusion exhibit a negative temperature characteristic. As temperature increases, the resistance of the Hall resistor decreases, causing the current flowing through the Hall resistors R1-R4 to increase, and the Hall voltage also increases. This means that the Hall device is affected by temperature, resulting in unstable output signals.

[0043] Figure 4 The figure is a schematic diagram of the principle structure of the temperature compensation module in an embodiment of the present invention. The temperature compensation module includes a gain control resistor feedback circuit connected to the operational amplifier module. The gain control resistor feedback circuit includes a gain control resistor. The gain control resistor and the Hall resistors R1 to R4 have the same temperature characteristics. The two ends of the gain control resistor feedback circuit are respectively connected to the output end and the input end of the operational amplifier module. Figure 4As shown, in this embodiment, the gain control resistor feedback circuit is formed by connecting resistors Ra, Rb, Rf and R'. When Ra=Rb and Rf=R', the gain of the operational amplifier is Rf / Ra, and the gain control resistor Rs=Rf / Ra. Figure 4 What is shown is a schematic diagram. In actual application, the gain control resistor feedback circuit will be more complex according to actual needs, and can be experimented and adjusted according to the specific relationship between temperature change and current change.

[0044] Preferably, resistor Rf and resistor Ra are made of different materials. Resistor Rf and Hall resistors R1-R4 are made of the same material, while resistor Ra is made of a low-temperature drift resistor. In this embodiment, resistor Rf is an N-type epitaxial resistor with a temperature coefficient of 1000-2000 ppm, and resistor Ra is a P-type polycrystalline resistor with a stability coefficient of 100-300 ppm. Therefore, the temperature coefficient of gain control resistor Rs is determined by the temperature characteristics of Rf.

[0045] In this embodiment, the operational amplifier includes a gain control resistor Rs, which controls the gain of the operational amplifier. The greater the resistance of gain control resistor Rs, the greater the gain. When the material of gain control resistor Rs is the same as that of Hall resistors R1-R4, the temperature characteristics of the two resistors are also the same. As the temperature rises, Hall resistors R1-R4 decrease, the current increases, the Hall voltage Vp-Vn increases, and the operational amplifier input signal increases. Simultaneously, gain control resistor Rs decreases, reducing the gain of the operational amplifier. Ultimately, the output voltage difference signal at the output of the Hall device remains essentially unchanged within the normal operating temperature range, thereby improving the linearity and stability of the output signal.

[0046] Figure 5 FIG. 1 is a schematic diagram of an acceleration circuit according to an embodiment of the present invention. Figure 5 As shown, the acceleration module includes an amplifier tube Q, a constant current source Idc, a load resistor RL, and an acceleration capacitor C1. The input end of the amplifier tube Q receives the signal amplified by the operational amplifier module. The two output ends of the amplifier tube Q are respectively connected to the power supply terminal VCC and the load resistor RL. The acceleration capacitor C1 is connected in parallel with the load resistor RL, and the constant current source Idc and the load resistor RL are connected in series. In this embodiment, the amplifier tube Q is an NPN-type triode. The base of the amplifier tube Q is connected to the output end of the operational amplifier module, the collector of the amplifier tube Q is connected to the power supply VCC, the emitter of the amplifier tube Q is connected to the first end of the load resistor RL, and the second end of the load resistor RL is connected to the constant current source Idc. The two ends of the acceleration capacitor C1 are respectively connected to the two ends of the load resistor RL.

[0047] Preferably, the current of the constant current source Idc is 50uA to 200uA, the resistance of the load resistor RL is 1K to 10K, and the capacitance of the acceleration capacitor C1 is 1PF to 10PF. This design ensures that the circuit can output stably at an operating frequency of 1Mhz and the signal is jitter-free. The acceleration circuit is used to improve the response speed of the keyboard. When the circuit is not inducing a magnetic field, the voltage on the acceleration capacitor C1 will not change suddenly, and the output voltage can quickly stabilize at the set zero magnetic field bias voltage. When the circuit detects a magnetic field, the amplified output signal can be quickly output through the load resistor RL.

[0048] This embodiment adds a temperature compensation circuit and an acceleration circuit to the Hall circuit to ensure the stability of the Hall circuit output signal, increase the linear range of the Hall circuit output, and improve the response speed of the Hall circuit. While the response time of a traditional Hall circuit is approximately 1ms, the linear Hall circuit proposed in this embodiment can achieve a response time of 1µs to 10µs.

[0049] Example 2.

[0050] Based on the linear Hall effect circuit disclosed in Example 1, Example 2 discloses a magnetic axis keyboard and a control method for the magnetic axis keyboard. The magnetic axis keyboard includes multiple keys, each of which is configured with a linear Hall effect circuit. Within the linear signal output range of the key, the key includes multiple key travel segments corresponding to different key pressing forces. Different key pressing forces correspond to different command signals.

[0051] The magnetic axis keyboard also includes a control module, which includes a key assignment module, a setting module, a key range resolution module, and a command signal output module. The key assignment module is used to receive input signals and issue a specified signal to specify the key to be set. The input signal is input through an external input device, such as a keyboard, mouse, or touch screen. The keyboard includes multiple keys, and the key assignment module can specify the specific key that requires key range setting. The setting module is used to receive the specified signal and correspond different key range segments of the specified key to different command signals.

[0052] During use, a key on a magnetic axis keyboard is pressed. For keys with multiple key travels, each press may result in different key travel segments. The key travel resolution module receives the press signal, determines the key travel segment to which the key signal corresponds based on the received signal, and reads the command signals corresponding to the different key travel segments from the key assignment module. The command signal output module outputs the corresponding command signal to implement keyboard control operations.

[0053] The Hall effect keyboard in this embodiment realizes a one-touch multi-function key. In the keyboard of the prior art, a key can only have one function, that is, it can only output one command signal when pressed. Generally speaking, a one-touch multi-function key requires multiple sampling and averaging of the output voltage within a very short key travel, requiring the Hall effect circuit's reporting rate to be greater than 8Khz. The response time of a traditional Hall effect circuit is about 1ms, which is far from meeting the 8Khz reporting rate requirement. The response time of the linear Hall effect circuit in this embodiment is 1us to 10us, and the reporting rate is above 8K, meeting the requirements of one-touch multi-function with multiple key travels.

[0054] Based on the above control module, the control method of the magnetic axis keyboard includes a setting stage and a use stage.

[0055] Control methods during the setup phase include:

[0056] Receive input signals and send specified signals to specify the keys that need to be set;

[0057] The designated signal is received and different key segments of the designated key are mapped to different command signals. At this time, the multi-function key is designated and the command signals corresponding to the multiple key segments of the key are also set.

[0058] Control methods during the use phase include:

[0059] Receive a press signal. When a key is pressed by an external press signal, determine the key segment corresponding to the press signal based on the received press signal; read the command signal corresponding to different key segments in the key designation module;

[0060] Output command signal.

[0061] Specifically, for example, the control key needs to be set to two key strokes corresponding to two functions, the first pressing strength corresponds to the control function, that is, the control function, and the second pressing strength corresponds to control+C, that is, the copy function. The control method specifically includes the following steps:

[0062] During the setup phase, signals are input through external input devices such as a keyboard, mouse, or touch screen. The key assignment module receives the input signals and sends a specified signal to designate the specific key to be set as the control key.

[0063] The setting module receives the designated signal and corresponds the first key segment of the designated control key to the command signal of the control function and the second key segment to the command signal of the copy function.

[0064] When the keyboard is in use, pressing the keyboard generates a press signal, and different press forces correspond to different press signals. The key range resolution module receives the press signal and determines whether it corresponds to the first key range segment based on the received press signal. Then, based on the correspondence relationship set by the setting module, it finds the command signal corresponding to the first key range segment as the control function. The command signal output module outputs the command signal of the corresponding control function to realize the keyboard's operating function.

[0065] In actual use, a time control module can be set up separately to distinguish whether the key is pressed to the first key segment and then stops, or whether it needs to be pressed through the first key segment to the second key segment according to the length of the pressing time.

[0066] Based on the above, this embodiment allows a single key to have two key travel segments and perform two functions. Similarly, across the entire keyboard, multiple functions can be achieved per key, allowing for more flexible configuration of the number of keys. With programmable software, each key can be configured to output multiple different functions, significantly improving the user experience.

[0067] The linear Hall effect circuit proposed in this application ensures that the keyboard's magnetic axis not only triggers quickly within a very short travel distance, but also distinguishes and accurately classifies the travel distance, allowing for software-configured functions. The linear Hall effect circuit offers high output sensitivity, enhanced output stability, smooth output signal jitter, fast response time, and a wide linear range corresponding to key travel, outperforming existing technologies in all respects.

[0068] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0069] The above-described embodiments merely illustrate several implementations of the present invention, and while their descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent. It should be noted that a person skilled in the art would be able to make numerous variations and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the patent for this invention shall be determined by the appended claims.

Claims

1. A linear Hall circuit, characterized in that: include: A Hall device, comprising a first output terminal and a second output terminal, generating a voltage difference signal between the first output terminal and the second output terminal; An operational amplifier module receives the voltage difference signal and outputs an amplified signal; an output stage, receiving the amplified signal and outputting a response signal; A temperature compensation module, which performs temperature compensation on the operational amplifier module so that the amplified signal is stable within an operating temperature range; The acceleration module receives the response signal, keeps the response signal stable at a bias voltage of zero magnetic field when the Hall device detects a magnetic field, and amplifies the response signal and outputs it stably when the Hall device does not detect a magnetic field.

2. The linear Hall circuit according to claim 1, characterized in that: The Hall device includes a Hall resistor; the temperature compensation module includes a gain control resistor feedback circuit; the gain control resistor feedback circuit includes a gain control resistor; the operational amplifier module includes an operational amplifier; the gain control resistor and the Hall resistor have the same temperature characteristics; and the two ends of the gain control resistor feedback circuit are respectively connected to the output end and the input end of the operational amplifier.

3. The linear Hall circuit according to claim 2, characterized in that: The gain control resistor and the Hall resistor are made of the same material.

4. The linear Hall circuit according to claim 1, characterized in that: The acceleration module includes an amplifier tube, a constant current source, a load resistor and an acceleration capacitor; the input end of the amplifier tube receives the amplified signal; the two output ends of the amplifier tube are respectively connected to the power supply end and the load resistor; the acceleration capacitor is connected in parallel with the load resistor; the constant current source and the load resistor are connected in series.

5. A magnetic axis keyboard, characterized in that: A linear Hall circuit as described in any one of claims 1 to 4 is installed; the magnetic axis keyboard includes a plurality of keys, and each key is configured with one of the linear Hall circuits.

6. The magnetic axis keyboard according to claim 5, characterized in that: The key includes a plurality of key travel segments, and the plurality of key travel segments correspond to a plurality of different command signals respectively.

7. The magnetic axis keyboard according to claim 6, characterized in that: The magnetic axis keyboard also includes a control module, and the control module includes: A key designation module is used to receive an input signal and send a designated signal to designate a key to be set; a setting module is used to receive the designated signal and correspond different key segments of the designated key to different command signals; A key travel distinguishing module is used to receive a pressing signal and determine the key travel segment corresponding to the pressing signal according to the received pressing signal; and read the instruction signals corresponding to different key travel segments in the key specifying module; The command signal output module outputs the command signal.

8. A control method for a magnetic axis keyboard, characterized in that: Based on the magnetic axis keyboard according to claim 7, the control method comprises: Receive input signals and send out specified signals to specify the keys to be set; Receiving the designated signal and converting different key segments of the designated key into different command signals; Receive a pressing signal, and determine the key segment corresponding to the pressing signal according to the received pressing signal; read the instruction signal corresponding to different key segments in the key designation module; The command signal is output.

Citation Information

Patent Citations

  • Current output-type linear hall-effect sensor

    CN103308075A

  • Magnetic sensitivity temperature compensation circuit and programmable linear Hall sensor chip

    CN106153084A

  • Dual-mode keyboard device

    CN210721382U

  • Temperature compensated input power and output offset circuits for a hall effect transducer

    US4371837A

  • Hall effect device with epitaxal layer resistive means for providing temperature independent sensitivity

    US4760285A

Cited By

  • Overcurrent protection circuit and electronic device

    CN121324721A

  • Key triggering determination method, magnetic axis keyboard and computer equipment

    CN122577867A

  • A key trigger determination method, a magnetic shaft keyboard and a computer device

    CN122577867B