Mechanical keyboard and linear magnetic induction integrated circuit and key for mechanical keyboard
By introducing enable input pins into linear magnetic induction integrated circuits, the high power consumption and complexity problems caused by the lack of ENABLE input pins in the prior art are solved, and more efficient power consumption management and circuit simplification are achieved, suitable for applications of mechanical keyboards and wireless keyboards.
Patent Information
- Application Number
- CN202420559460.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-21
- Publication Date
- 2025-03-07
- Estimated Expiration
- 2034-03-21
AI Technical Summary
The existing linear magnetic induction integrated circuits lack the ENABLE input pin, which causes the OUT pin to be unable to be effectively controlled when multiple circuits are used in parallel, which increases cost and complexity, and power consumption can only be managed through power outage, which has low performance.
A linear magnetic induction integrated circuit including an enable input pin (ENABLE) and a linear voltage output pin (OUT) is designed. By enabling the high and low level of the input pin to control the power consumption of the linear magnetic induction integrated circuit and the status of the OUT output pin, logic control of the OUT output pin is realized.
By enabling the control of the input pin, the power consumption management of the linear magnetic induction integrated circuit and the high impedance state of the OUT output pin are realized, which reduces the power consumption of the mechanical keyboard, improves the working efficiency of the microcontroller, reduces costs, and simplifies the circuit design.
Smart Images

Figure CN222582406U_ABST
Abstract
Description
Technical Field
[0001] The utility model belongs to the technical field of integrated circuits, and specifically relates to a mechanical keyboard. The utility model also relates to a linear magnetic induction integrated circuit used for the mechanical keyboard, and the utility model also relates to a key used for the mechanical keyboard. Background Art
[0002] At present, the linear magnetic induction integrated circuits (ICs) on the market do not have ENABLE inputs and cannot control and manage the linear voltage output pin OUT. When hundreds of them are used together, dozens of OUT pins cannot be used together. When used, analog switches must be added, which greatly increases the cost and makes the wiring of the printed circuit board (PCB) complicated. The power consumption of the linear magnetic induction integrated circuit without an ENABLE pin can only be controlled by powering off the linear magnetic induction integrated circuit, which is inefficient and inconvenient. Utility Model Content
[0003] The purpose of the utility model is to provide a linear magnetic induction integrated circuit, which not only reduces the power consumption of a mechanical keyboard and can work in a wireless keyboard with a lower power consumption requirement to save power to the greatest extent, but also greatly improves the working efficiency of the single-chip microcomputer of the mechanical keyboard, so that the single-chip microcomputer of the mechanical keyboard can have more time to handle other matters; at the same time, the design of a mechanical keyboard using the linear magnetic induction integrated circuit does not require an analog switch chip, which greatly reduces the cost of the mechanical keyboard.
[0004] The second object of the utility model is to provide a key including the above-mentioned linear magnetic induction integrated circuit.
[0005] The third object of the utility model is to provide a mechanical keyboard comprising the above-mentioned keys.
[0006] The first technical solution adopted by the utility model is that the linear magnetic induction integrated circuit includes a power input pin, a ground pin, an enable input pin, and a linear voltage output pin, the enable input pin corresponds to the linear voltage output pin, and the enable input pin and the linear voltage output pin are respectively connected to the single chip computer;
[0007] The enable input pin is the ENABLE input pin, the linear voltage output pin is the OUT output pin, and the ENABLE input pin and the OUT output pin have a corresponding relationship in logic control.
[0008] The first technical solution of the utility model is also characterized in that:
[0009] The ENABLE input pin controls the on or off of the OUT output pin through high or low levels.
[0010] The ENABLE input pin controls the power consumption of the linear magnetic induction integrated circuit through high and low levels. When the ENABLE input pin turns off the OUT output pin, the power consumption of the linear magnetic induction integrated circuit is reduced at the same time.
[0011] The ENABLE input pin controls the power consumption of the linear magnetic induction integrated circuit through high and low levels. When the ENABLE input pin turns off the OUT output pin, it also turns the OUT output pin into a high impedance state.
[0012] The OUT output pin outputs a linear voltage under the influence of the magnetic force.
[0013] The linear magnetic induction integrated circuit is a linear magnetic induction chip.
[0014] Linear magnetic induction integrated circuits are packaged in chip or direct-insert packaging.
[0015] The second technical solution adopted by the utility model is that the button comprises an upper shell and a lower shell that are fixedly connected, a handle is arranged on the upper shell, the handle can move up and down relative to the upper shell, a receiving space is formed between the upper shell and the lower shell, a non-magnetic spring is arranged in the receiving space, and the non-magnetic spring is located below the handle;
[0016] The button also includes a magnetic element fixed on the button handle and a linear magnetic induction integrated circuit chip. The magnetic element moves up and down with the button handle. The linear magnetic induction integrated circuit chip includes the above-mentioned linear magnetic induction integrated circuit. The linear magnetic induction integrated circuit chip is arranged on the printed circuit board and is located below the magnetic element.
[0017] The third technical solution adopted by the utility model is that the mechanical keyboard includes a printed circuit board, a single chip microcomputer is arranged on the printed circuit board, and also includes a plurality of the above-mentioned keys, and the key bodies are arranged on the printed circuit board.
[0018] The beneficial effects of the utility model are:
[0019] (1) The ENABLE input pin and the OUT output pin of the linear magnetic induction integrated circuit of the utility model have a logical correspondence. The ENABLE input pin can change the linear voltage output pin to a high impedance state when the OUT output pin of the linear magnetic induction integrated circuit does not output a voltage. Therefore, in the keyboard design, it is no longer necessary to add an analog switch chip to isolate multiple OUT output pins, thereby greatly saving the cost of the mechanical keyboard and making the keyboard circuit simpler and the program design more convenient.
[0020] (2) The ENABLE input pin of the linear magnetic induction integrated circuit of the utility model can allow the ENABLE input pins of multiple linear magnetic induction integrated circuits to be connected in parallel to the same IO port of the single-chip microcomputer. The multiple IO ports of the single-chip microcomputer are correspondingly connected to the OUT output pins of multiple linear magnetic induction integrated circuits, and the voltage can be read from the OUT output pins of each linear magnetic induction integrated circuit at the same time, which greatly improves the working efficiency of the single-chip microcomputer.
[0021] (3) The ENABLE input pin of the linear magnetic induction integrated circuit of the utility model can allow the linear voltage output pins of multiple linear magnetic induction integrated circuits to be connected in parallel to the same IO port of the single-chip microcomputer, and then allow the single-chip microcomputer to read the OUT output pin voltage in a time-sharing manner. This method of reading the OUT output pin voltages of multiple linear magnetic induction integrated circuits with only one IO port greatly saves the IO port resources of the single-chip microcomputer and saves costs.
[0022] (4) The ENABLE input pin in the linear magnetic induction integrated circuit of the utility model can instantly change the OUT output pin to a high impedance state when the OUT output pin does not need to output a voltage. At this time, the microcontroller connected to the OUT output pin is not constrained by the change in the OUT output pin voltage, and the IO port of the microcontroller can freely operate other functions during this time period, thereby realizing the IO pin multiplexing of the keyboard microcontroller and improving the performance of the microcontroller.
[0023] (5) The ENABLE input pin in the linear magnetic induction integrated circuit of the utility model can also instantly turn off the magnetic induction circuit when the OUT output pin does not need to output voltage, thereby effectively reducing the power consumption of the linear magnetic induction integrated circuit and the power consumption of the entire keyboard. Such a linear magnetic induction integrated circuit chip can be better used in wireless keyboards with lower power consumption requirements to save power to the greatest extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the structure of the linear magnetic induction integrated circuit of the utility model;
[0025] Figure 2 It is a schematic diagram of the structure in which a plurality of linear magnetic induction integrated circuits of the utility model are arranged on a printed circuit board;
[0026] Figure 3 It is a structural schematic diagram of the key of the utility model.
[0027] In the figure, 1. magnetic element, 2. non-magnetic spring, 3. printed circuit board, 4. linear magnetic induction integrated circuit chip, 5. upper shell, 6. lower shell, 7. handle. DETAILED DESCRIPTION
[0028] The utility model is described in detail below with reference to the accompanying drawings and specific implementation modes.
[0029] Example 1
[0030] like Figure 1 As shown, the linear magnetic induction integrated circuit of the utility model comprises a power input pin VCC, a ground pin GND, an enable input pin ENABLE, and a linear voltage output pin OUT, and the enable input pin ENABLE and the linear voltage output pin OUT are respectively connected to a single chip microcomputer.
[0031] The linear magnetic induction integrated circuit of the utility model is a linear magnetic induction chip, which can be packaged in a surface mount package or a direct insertion package.
[0032] Furthermore, the enable input pin ENABLE controls the power consumption of the linear magnetic induction integrated circuit through high and low levels. When the enable input pin ENABLE turns off the linear voltage output pin OUT, the power consumption of the linear magnetic induction integrated circuit is reduced, and the linear voltage output pin OUT is changed to a high impedance state.
[0033] That is, in general, when the enable input pin ENABLE is defined as a high level, the linear voltage output pin OUT does not output voltage to the microcontroller and the linear voltage output pin OUT is set to a high impedance state. At this time, the IO port of the microcontroller connected to the linear voltage output pin OUT is in a free state, and can process other tasks without being interfered by the linear voltage output pin OUT, thereby improving the performance of the microcontroller.
[0034] At the same time, the linear voltage output pin OUT does not output voltage to the single-chip microcomputer and turns off the linear magnetic induction integrated circuit of the utility model to reduce power consumption to the greatest extent.
[0035] When the enable input pin ENABLE is defined as a low level, the linear voltage output pin OUT outputs a linear voltage to the microcontroller.
[0036] Furthermore, the linear magnetic induction integrated circuit of the utility model can be configured such that when the enable input pin ENABLE is at a low level, the linear voltage output pin OUT does not output voltage to the single-chip microcomputer;
[0037] When the enable input pin ENABLE is at a high level, the linear voltage output pin OUT outputs voltage to the microcontroller.
[0038] Example 2
[0039] The mechanical keyboard of the utility model is applied to the mechanical keyboard by setting multiple linear magnetic induction integrated circuits on a printed circuit board 3 (Printed circuit board, PCB for short), each linear magnetic induction integrated circuit corresponds to a key of the mechanical keyboard, and the enable input pin ENABLE and the linear voltage output pin OUT of the linear magnetic induction integrated circuit of the utility model are respectively connected to the microcontroller of the mechanical keyboard.
[0040] Specifically, Figure 2 As shown, it includes interconnected linear magnetic induction integrated circuits U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, and U12; EN0, EN1, and EN2 are three IO ports of the single-chip microcomputer respectively; AD0, AD1, AD2, and AD3 are four AD ports of the single-chip microcomputer respectively; and the four AD ports are respectively connected to the linear voltage output pins OUT of the linear magnetic induction integrated circuits U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, and U12.
[0041] When the voltage of the enable input pin ENABLE is at a high level, the linear voltage output pin OUT does not output voltage and is set to a high impedance state. When the voltage of the enable input pin ENABLE is at a high level, the linear magnetic induction integrated circuit of the utility model can be stopped from working at this time to reduce unnecessary power consumption. When the voltage of the enable input pin ENABLEE is at a low level, the linear voltage output pin OUT works normally and outputs a linear voltage.
[0042] If the conventional linear magnetic induction integrated circuit does not have an ENABLEE input pin, it only has three pins: power input pin VCC, ground pin GND and OUT output pin. The OUT output pins cannot be directly connected together, and the OUT output pins must be isolated by an analog switch chip. However, the utility model can directly save the analog switch chip by adding an ENABLE input pin, greatly reducing the cost and making the circuit application simpler.
[0043] When EN0=LOW, EN1=HIGH, EN2=HIGH, that is, EN0 is low level, EN1 is high level, EN2 is high level, the first row of linear magnetic induction integrated circuits U1, U2, U3, U4 work, linear magnetic induction integrated circuits U5, U6, U7, U8, U9, U10, U11, U12 do not work, the keyboard microcontroller directly reads the voltage signal from the OUT output pins of U1, U2, U3, U4 connected to AD0, AD1, AD2, AD3;
[0044] When EN0=HIGH, EN1=LOW, EN2=HIGH, that is, EN0 is high, EN1 is low, and EN2 is high, the second row of linear magnetic induction integrated circuits U5, U6, U7, and U8 work, and the linear magnetic induction integrated circuits U1, U2, U3, U4, U9, U10, U11, and U12 do not work, and the keyboard microcontroller directly reads the voltage signal from the OUT output pins of U5, U6, U7, and U8 connected to AD0, AD1, AD2, and AD3;
[0045] When EN0=HIGH, EN1=HIGH, EN2=LOW, that is, EN0 is high, EN1 is high, and EN2 is low, the third row of linear magnetic induction integrated circuits U9, U10, U11, and U12 work, and linear magnetic induction integrated circuits U1, U2, U3, U4, U5, U6, U7, and U8 do not work, and the keyboard microcontroller directly reads the voltage signal from the OUT output pins of U9, U10, U11, and U12 connected to AD0, AD1, AD2, and AD3.
[0046] Example 3
[0047] like Figure 3 As shown, the key of the utility model, also called the shaft in the mechanical keyboard, comprises an upper shell 5 and a lower shell 6 which are fixedly connected, a handle 7 is arranged on the upper shell 5, and the handle 7 can move up and down relative to the upper shell 5, and an accommodation space is formed between the upper shell 5 and the lower shell 6, and a non-magnetic spring 2 is arranged in the accommodation space, and the non-magnetic spring 2 is located below the handle 7;
[0048] The key also includes a magnetic element 1 and a linear magnetic induction integrated circuit chip 4 fixed on the handle 7. The magnetic element 1 moves up and down with the handle 7. The linear magnetic induction integrated circuit chip 4 includes the linear magnetic induction integrated circuit of Example 1. The linear magnetic induction integrated circuit chip 4 is arranged on the printed circuit board 3 and is located below the magnetic element 1. The distance between the magnetic element 1 and the linear magnetic induction integrated circuit chip 4 changes, that is, the magnetic strength changes, and the linear voltage output pin OUT outputs a linear changing voltage; the linear magnetic induction integrated circuits U1, U2, U3, U4, U5, U6, U7, U8, U9, U10, U11, and U12 in Example 2 are all correspondingly provided with keys of this structure, and a mechanical keyboard with adjustable travel is constructed by a one-to-one correspondence between a number of keys and the linear magnetic induction integrated circuit chips 4.
[0049] The above are only preferred embodiments of the utility model patent, but the protection scope of the utility model patent is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes within the scope disclosed by the utility model patent according to the technical solution and utility model concept of the utility model patent, which are all within the protection scope of the utility model patent.
Claims
1. A linear magnetic induction integrated circuit, characterized in that: It includes a power input pin, a ground pin, an enable input pin, and a linear voltage output pin, wherein the enable input pin corresponds to the linear voltage output pin, and the enable input pin and the linear voltage output pin are respectively connected to the single chip microcomputer; The enable input pin is the ENABLE input pin, the linear voltage output pin is the OUT output pin, and the ENABLE input pin and the OUT output pin are in a corresponding relationship in terms of logic control.
2. The linear magnetic induction integrated circuit according to claim 1, characterized in that: The ENABLE input pin controls the on or off of the OUT output pin through high or low levels.
3. The linear magnetic induction integrated circuit according to claim 2, characterized in that: The ENABLE input pin controls the power consumption of the linear magnetic induction integrated circuit through high and low levels. When the ENABLE input pin turns off the OUT output pin, the power consumption of the linear magnetic induction integrated circuit is reduced at the same time.
4. The linear magnetic induction integrated circuit according to claim 1 or 2, characterized in that: The ENABLE input pin controls the power consumption of the linear magnetic induction integrated circuit through high and low levels. When the ENABLE input pin turns off the OUT output pin, the OUT output pin is simultaneously turned into a high impedance state.
5. The linear magnetic induction integrated circuit according to claim 1 or 2, characterized in that: The OUT output pin outputs a linear voltage under the action of the magnetic force.
6. The linear magnetic induction integrated circuit according to claim 1 or 2, characterized in that: The linear magnetic induction integrated circuit is a linear magnetic induction chip.
7. The linear magnetic induction integrated circuit according to claim 1 or 2, characterized in that: The linear magnetic induction integrated circuit adopts chip packaging or direct plug-in packaging.
8. A button, characterized in that, Comprising an upper shell (5) and a lower shell (6) which are fixedly connected, the upper shell (5) being provided with a push handle (7), the push handle (7) being movable up and down relative to the upper shell (5), a receiving space being formed between the upper shell (5) and the lower shell (6), a non-magnetic spring (2) being provided in the receiving space, the non-magnetic spring (2) being located below the push handle (7); The button further comprises a magnetic element (1) and a linear magnetic induction integrated circuit chip (4) fixed on the button handle (7); the magnetic element (1) moves up and down along with the button handle (7); the linear magnetic induction integrated circuit chip (4) comprises a linear magnetic induction integrated circuit according to any one of claims 1 to 7; the linear magnetic induction integrated circuit chip (4) is arranged on the printed circuit board (3) and is located below the magnetic element (1).
9. A mechanical keyboard, characterized in that: It comprises a printed circuit board (3), on which a single-chip microcomputer is arranged, and it also comprises a plurality of keys according to claim 8, wherein the key bodies are arranged on the printed circuit board (3).