CN210157170U - Coding type Hall key switch and mechanical keyboard - Google Patents

Coding type Hall key switch and mechanical keyboard Download PDF

Info

Publication number
CN210157170U
CN210157170U CN201920976330.2U CN201920976330U CN210157170U CN 210157170 U CN210157170 U CN 210157170U CN 201920976330 U CN201920976330 U CN 201920976330U CN 210157170 U CN210157170 U CN 210157170U
Authority
CN
China
Prior art keywords
hall
hall element
magnetic
signal output
key switch
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201920976330.2U
Other languages
Chinese (zh)
Inventor
张益乐
郝小妮
杜雪华
徐孝海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jingtai Electronic Co Ltd
Yueqing Heying Electronics Co ltd
Original Assignee
Shenzhen Jingtai Electronic Co Ltd
Yueqing Heying Electronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jingtai Electronic Co Ltd, Yueqing Heying Electronics Co ltd filed Critical Shenzhen Jingtai Electronic Co Ltd
Priority to CN201920976330.2U priority Critical patent/CN210157170U/en
Application granted granted Critical
Publication of CN210157170U publication Critical patent/CN210157170U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Push-Button Switches (AREA)

Abstract

The utility model discloses an encoding type Hall key switch and mechanical keyboard, the key switch comprises a switch body, a Hall element, a magnetic element and two signal output ends, the switch body comprises a press handle which can move up and down, the surface of the Hall element is arranged on a PCB, the magnetic induction direction of the Hall element is vertical, and the Hall element is respectively connected with the two signal output ends; the magnetic element is arranged on the pressing handle, and the NS pole direction of the magnetic element is the horizontal direction; when the press handle is at the lower limit position, the two signal output ends output different levels and form third coded information opposite to the first coded information. The utility model discloses a key switch can prevent external magnetic field interference, has strengthened the interference killing feature greatly, can improve mechanical keyboard's uniformity and reliability greatly.

Description

Coding type Hall key switch and mechanical keyboard
Technical Field
The utility model relates to a coded hall key switch and mechanical keyboard belongs to mechanical keyboard's research field.
Background
A mechanical keyboard is a common keyboard, and each key has a separate switch to control the closing. The mechanical keyboard is always a representative high-end product and is popular with more and more computer users and game players, but the traditional mechanical keyboard is provided with a conducting component on a lower shell, the conducting component comprises a movable spring and a static spring, and the contact point on the movable spring and the static spring is closed and closed by pressing a pressing handle to realize the on-off of electricity. The welding and the PCB are very troublesome to disassemble and maintain, easy to have poor contact, short service life and the like.
A new keyboard appears on the market at present, the original optical crystal device is replaced by a Hall element, and the Hall element has the characteristics of no contact, low power consumption, long service life, high response frequency and the like, but the keyboard has the following defects:
1) due to the fact that the difference of the magnetic field intensity of the magnets and the difference of the Hall elements on the magnetic field induction intensity are added, namely the conduction points of the key switches are inconsistent, the triggering points are inconsistent, the whole moving distance is assumed to be 4mm, for the same key switch, the key switch is likely to be conducted at the position of 1mm in a pressing mode, the key switch is likely to be conducted at the position of 2mm in a pressing mode in a triggering mode again, the conduction points of the key switches are not accurate points but fuzzy points, the Hall elements at a certain position are enabled to be switched between on and off continuously, and therefore the key switches are enabled to send codes continuously.
2) Because the keyboard generally has 100 key switches, namely 100 conducting points, the Hall element has no way to control the consistency of the strength change, so that the structure input action and the function input can not be consistent all the time, and the hand feeling and the experience feeling of a user are greatly reduced.
3) The interference killing feature is not strong, as long as external magnetic field is powerful enough, to certain key switch, as long as be close to this key switch and all can trigger this key switch and switch on, to whole keyboard, when external magnet is close to, have most key switch to be triggered by unknown ground, bring the unknown loss for the user.
SUMMERY OF THE UTILITY MODEL
The utility model aims at solving above-mentioned prior art's defect, provide a coding formula hall key switch, this key switch can prevent external magnetic field interference, has strengthened the interference killing feature greatly, can improve mechanical keyboard's uniformity and reliability greatly, can accomplish normally to open or normally closed form, and the conduction form is various, and volume production more easily need not to carry on spacingly, and stability is better.
Another object of the present invention is to provide a mechanical keyboard comprising the above coded hall key switch.
The purpose of the utility model can be achieved by adopting the following technical scheme:
a kind of coded Hall key switch, including switch body, component, magnetic element and two signal output terminals, the said switch body includes the press handle that can move up and down, the surface of the said Hall component is set up on PCB board, the magnetic induction direction of the Hall component is the vertical direction, the Hall component couples to two signal output terminals separately; the magnetic element is arranged on the pressing handle, and the NS pole direction of the magnetic element is the horizontal direction;
when the press handle is static, the magnetic element is positioned above one side of the Hall element; along with the up-and-down movement of the press handle, the magnetic element passes through the opening on the PCB and makes reciprocating motion along the horizontal plane of the Hall element in the vertical direction; when the press handle is at the lower limit position, the two signal output ends output different levels and form third coded information opposite to the first coded information.
Furthermore, the hall element comprises a hall element with N polarity and a hall element with S polarity, and the hall element with N polarity and the hall element with S polarity are respectively connected with the two signal output ends.
Further, the magnetic element has a magnetic field strength capable of attracting the hall element when the polarities of the hall element and the magnetic element meet the attraction polarity state within the reciprocating motion range.
Further, the hall element is a linear hall element, and the linear hall element is respectively connected with the two signal output ends through the two comparators.
Furthermore, the surface of the Hall element is attached to the upper surface or the lower surface of the PCB.
Further, the switch body further comprises an upper shell and a lower shell, the upper shell is fixedly connected with the lower shell, the lower shell is mounted on the PCB, the press handle is arranged on the upper shell in a vertically movable mode, an accommodating space is formed between the upper shell and the lower shell, a first elastic element is arranged in the accommodating space, and the first elastic element is located below the press handle.
Furthermore, a second elastic element is further arranged in the accommodating space, a driving block is arranged on the pressing handle, and when the pressing handle is pressed down or bounced, the driving block acts on the second elastic element to change the shape of the second elastic element.
Further, the second elastic element is a torsion spring structure or a spring plate structure.
Furthermore, the upper shell is provided with a fixing buckle and an opening, the upper shell is fixedly connected with the lower shell through the fixing buckle, and the pressing handle penetrates through the opening and is arranged on the upper shell in a vertically movable mode.
Further, the switch also comprises a backlight lamp, wherein the backlight lamp is arranged on the PCB and is positioned right below the switch body.
Further, the switch body is of a full-transparent structure.
Furthermore, the switch body is of a non-transparent structure, and a light hole corresponding to the backlight lamp is formed in the switch body.
The utility model discloses a further purpose can reach through taking following technical scheme:
a mechanical keyboard comprises a PCB and the coded Hall key switch, wherein the PCB is provided with a hole which is positioned under a pressing handle, and a switch body is installed on the PCB through a fixing plate.
The utility model discloses for prior art have following beneficial effect:
1. the utility model arranges the Hall element on the PCB, arranges the magnetic element on the press handle, and the magnetic element is arranged above one side of the Hall element, so that the Hall element and the magnetic element are relatively staggered in the horizontal direction, along with the up-and-down movement of the press handle, the magnetic element passes through the hole on the PCB and makes reciprocating movement in the vertical direction along the horizontal plane of the Hall element, when the press handle is at the original position, two signal output ends output different levels and form first coded information, when the press handle is at the critical position, two signal output ends output the same level and form second coded information, when the press handle is at the lower limit position, two signal output ends output different levels and form third coded information opposite to the first coded information, because of the existence of the second coded information, the state that the critical position has no magnetic field can be embodied, thereby the original position and the state of the lower limit position can be distinguished, by adopting the coding mode, the second coding information is effective when the key is pressed or released, so that the state that two signal output ends output to the same level can not occur no matter at the original position and the lower limit position under the strong interference of an external magnetic field, the condition of magnetic field random code sending can be fundamentally solved, the anti-interference capability is greatly enhanced, and the key switches have accurate conducting points due to the first coding information and the second coding information, so that a plurality of key switches of the mechanical keyboard have excellent consistency; in addition, make full use of the trompil on the PCB, can regard as ultra-thin formula key switch to use to adopt hall element, the consumption is lower, can make wireless keyboard or bluetooth keyboard.
2. The switch body (the upper shell, the lower shell and the press handle) and the Hall element are separately arranged, namely, the machinery and the electronics are completely separately arranged, thus being beneficial to the disassembly of the PCB and being convenient for maintenance; because machinery and electron are the separation setting, so hall element can install on PCB board upper surface, also can install on PCB board lower surface, not only simple to operate, be convenient for maintain moreover.
Drawings
Fig. 1 is a side view structural diagram of an encoding hall key switch according to embodiment 1 of the present invention.
Fig. 2 is a top view structural diagram of the coded hall key switch according to embodiment 1 of the present invention.
Fig. 3 is a schematic circuit diagram of a hall element according to embodiment 1 of the present invention.
Fig. 4 is a schematic structural diagram of a hall element according to embodiment 1 of the present invention.
Fig. 5 is a magnetic induction schematic diagram of the coded hall key switch of embodiment 1 of the present invention with the pressing handle at the original position.
Fig. 6 is a front view structural diagram of the coded hall key switch of embodiment 1 of the present invention, in which the pressing handle moves downward to the critical position.
Fig. 7 is a magnetic induction schematic diagram of the coded hall key switch of embodiment 1 according to the present invention, in which the pressing handle moves downward to the critical position.
Fig. 8 is a front view structural diagram of the coded hall key switch according to embodiment 1 of the present invention, in which the pressing handle moves downward to the lower limit position.
Fig. 9 is a magnetic induction schematic diagram of the coded hall key switch according to embodiment 1 of the present invention, in which the pressing handle moves downward to the lower limit position.
Fig. 10 is a schematic circuit diagram of a hall element according to embodiment 2 of the present invention.
Fig. 11 is a magnetic induction schematic diagram of the coded hall key switch of the present invention in the original position of the pressing handle.
Fig. 12 is a magnetic induction schematic diagram of the coded hall key switch according to embodiment 3 of the present invention, in which the pressing handle moves downward to the critical position.
Fig. 13 is a schematic diagram of the magnetic induction principle of the coded hall key switch of the present invention according to embodiment 3, in which the pressing handle moves downward to the lower limit position.
Fig. 14 is a top view structural diagram of the coded hall key switch according to embodiment 4 of the present invention.
Fig. 15 is a top view structural diagram of the coded hall key switch according to embodiment 5 of the present invention.
Fig. 16 is a top view structural diagram of an encoding hall key switch according to embodiment 6 of the present invention.
Fig. 17 is a top view structural diagram of an encoding hall key switch according to embodiment 7 of the present invention.
The LED lamp comprises a Hall element 1, a magnetic element 2, a PCB 3, an upper shell 4, a lower shell 5, a press handle 6, a first elastic element 7, an opening 8, a backlight lamp 9, a light hole 10, a first magnetic line A11, a second magnetic line A12 and a third magnetic line A13.
Detailed Description
The present invention will be described in further detail with reference to the following examples and drawings, but the present invention is not limited thereto.
Example 1:
as shown in fig. 1 to fig. 3, the present embodiment provides an encoding type hall key switch, which includes a switch body, a hall element 1, a magnetic element 2, and two signal output terminals, where the hall element 1 is disposed on a PCB 3, specifically, the hall element 1 is attached to an upper surface or a lower surface of the PCB 3 by welding, and a magnetic induction direction of the hall element 1 is a vertical direction, the hall element 1 has four pins, where the pin 1 is connected to a first voltage input terminal VDD, the pin 2 is connected to a second voltage input terminal VSS, the pin 3 is connected to the first signal output terminal a, the pin 4 is connected to a second signal output terminal B, and the first voltage input terminal VDD is used for connecting to a power supply.
The switch body comprises an upper shell 4, a lower shell 5 and a pressing handle 6, wherein the upper shell 4 is fixedly connected with the lower shell 5, the lower shell 5 is installed on the PCB 3, the pressing handle 6 is arranged on the upper shell 4 in a vertically movable mode, specifically, a fixing buckle (not shown in the figure) and an opening (not shown in the figure) are arranged on the upper shell 4, the upper shell 4 is fixedly connected with the lower shell 5 through the fixing buckle, and the pressing handle 6 penetrates through the opening and is arranged on the upper shell 4 in a vertically movable mode.
Further, a containing space is formed between the upper shell 4 and the lower shell 5, a first elastic element 7 is arranged in the containing space, the first elastic element 7 is positioned below the pressing handle 6, and the first elastic element 7 can be a spring, so that the pressing handle 6 can be pressed down (moved down) and bounced up (moved up); the magnetic element 2 is arranged on the pressing handle 6, and the direction of the NS pole of the magnetic element 2 is a horizontal direction, as can be seen from fig. 2, the magnetic element 2 of the present embodiment is arranged on the front side of the pressing handle 6, the hall element 1 is located below the front side of the magnetic element 2, and it adopts a chip of unipolar hall effect, and along with the up-and-down movement of the pressing handle 6, the magnetic element 2 can pass through the opening on the PCB 3 and make reciprocating movement along the central plane of the horizontal plane of the hall element 1 in the vertical direction.
As shown in fig. 4, the hall element 1 of the present embodiment includes a hall element with N polarity and a hall element with S polarity, wherein the hall element with N polarity is connected to the first signal output terminal a, and the hall element with S polarity is connected to the second signal output terminal B.
For the Hall element with N polarity, when the N pole of the magnetic element 2 is close to the front induction of the Hall element with N polarity, the Hall element with N polarity attracts and outputs low level, when the S pole of the magnetic element 2 is close to the front induction of the Hall element with N polarity, the Hall element with N polarity does not act and outputs high level, and the phenomenon is called as the front characteristic of the Hall element with N polarity; the characteristic of the Hall element with the N polarity on the 180-degree back side is equivalent to the front characteristic of the Hall element with the S polarity, when the S pole of the magnetic element 2 is close to the back side of the Hall element with the N polarity for induction, the Hall element with the N polarity is equivalently close to the front side of the Hall element with the S polarity of the magnetic element 2, the Hall element with the N polarity is attracted and outputs a low level, when the N pole of the magnetic element 2 is close to the back side of the Hall element with the N polarity for induction, the Hall element with the N polarity is equivalently close to the front side of the Hall element with the S polarity of the magnetic element 2, the Hall element with the N polarity does not act, and a high level.
For the Hall element with the S polarity, when the S pole of the magnetic element 2 is close to the front induction of the Hall element with the S polarity, the Hall element with the S polarity is attracted and outputs a low level, and when the N pole of the magnetic element 2 is close to the front induction of the Hall element with the S polarity, the Hall element with the S polarity does not act and outputs a high level, which is called as the front characteristic of the Hall element with the S polarity; the characteristic of the Hall element with the S polarity on the 180-degree back side of the Hall element is equivalent to the front side characteristic of the Hall element with the N polarity, when the N pole of the magnetic element 2 is close to the back side of the Hall element with the S polarity for induction, the Hall element with the S polarity is equivalently close to the front side of the Hall element with the N polarity of the magnetic element 2, the Hall element with the S polarity is attracted and outputs a low level, when the S pole of the magnetic element 2 is close to the back side of the Hall element with the S polarity for induction, the Hall element with the S polarity is equivalently close to the front side of the Hall element with the N polarity of the magnetic element 2, the Hall element with the S polarity does not act.
In the push-button switch of the present embodiment, the front end of the magnetic element 2 is an N-pole, the rear end is an S-pole, as shown in fig. 1 and 5, when the handle 6 is at rest (the handle 6 is at the original position), the magnetic element 2 is located above the front side of the hall element 1, and the magnetic element 2 is parallel to the opposite surface of the hall element 1, at this time, neither the first magnetic line a11 nor the second magnetic line a12 of the magnetic element 2 can cut the hall element 1 in the vertical direction, so the two groups of magnetic lines do not affect the state of the hall element 1, the vertical component of the third magnetic line a13 may cut the hall element 1 to affect the hall element 1, the third magnetic line a13 is the front surface of the hall element with the N-pole direction close to the N-pole, so the hall element with the N-pole attracts, the first signal output terminal a outputs a low level, and the third magnetic line a13 is the magnetic line of the hall element with the N, therefore, the hall element with the S polarity is not operated, the second signal output terminal B outputs a high level, the low level is represented by 0, and the high level is represented by 1, that is, the first encoded information formed by the combination is 01.
As shown in fig. 6 and 7, when the handle 6 moves downward from the home position to the critical position, the N-pole of the magnetic element 2 is horizontally aligned with the hall element 1, and the magnetic element 2 is parallel to the hall element 1, at this time, the first magnetic line a11, the second magnetic line a12, and the third magnetic line a13 of the magnetic element 2 cannot cut the hall element 1 in the vertical direction, so the hall element with N-polarity does not operate, the first signal output terminal a outputs a high level, the hall element with S-polarity does not operate, the output of the second signal output terminal B maintains a high level, that is, the combined second encoded information is 11.
As shown in fig. 8 and 9, when the pressing handle 6 moves downward from the critical position to the lower limit position, the magnetic element 2 moves downward to the lower front side of the hall element 1 through the opening 8 on the PCB 3 along with the pressing handle 6, and the magnetic element 2 is parallel to the opposite surface of the hall element 1, at this time, neither the second magnetic line a12 nor the third magnetic line a13 of the magnetic element 2 can cut the hall element in the vertical direction, so the two groups of magnetic lines do not affect the state of the hall element 1, only the vertical component of the first magnetic line a11 cuts the hall element 1, the first magnetic line a11 is the back surface of the hall element with the N-polarity in the N-pole direction, and is equivalent to the first magnetic line a11 is the front surface of the hall element with the S-polarity in the N-pole direction, so the hall element with the N-polarity still operates, the output of the first signal output terminal a remains high level, and the first magnetic force line a11 is the back of the hall element with the N-pole direction close to the S-pole, which is equivalent to the first magnetic force line a11 being the front of the hall element with the N-pole direction close to the N-pole, so that the hall element with the N-pole attracts, the second signal output end B outputs a low level, that is, the third encoded information formed by combination is 10, and it can be seen that the third encoded information is opposite to the first encoded information.
When the pressing handle 6 moves upwards from the lower limit position to the critical position, the equivalent reverse process is performed when the pressing handle moves downwards from the critical position to the lower limit position.
When the pressing handle 6 moves upwards from the critical position to the original position, the equivalent reverse process is performed when the pressing handle moves downwards from the original position to the critical position.
According to the above, when the pressing handle 6 is at each position, the output of the first signal output terminal a and the second signal output terminal B are as follows:
position of the pressing handle First signal output terminal A Second signal output terminal B
Original position 0 1
Critical position 1 1
Lower limit position 1 0
The above is the whole state that the press handle 6 is pressed and bounced, the magnetic element 2 is in the movement range of the original position and the critical position (including the original position), and the magnetic element 2 is in the movement range of the critical position and the lower limit position (including the lower limit position), has the magnetic field intensity that can attract the hall element 1, can see that the magnetic element 2 is always parallel to the different surface or the same surface of the horizontal plane of the hall element 1 in the process of moving up and down along with the press handle 6, wherein when the magnetic element 2 moves down along with the press handle 6 to be parallel to the same surface of the hall element 1, the turning point of the state change of the hall element 1 can be reflected, because of the existence of the second coding information, the state that the critical position has no magnetic field can be reflected, thereby distinguishing the states of the original position and the lower limit position, by adopting the coding mode, the second coding information is necessary to be effective when the press key or the release is judged, therefore, under the strong interference of an external magnetic field, no matter how the first signal output end A and the second signal output end B are in the same level state at the original position and the lower limit position, the problem of magnetic field random code generation can be fundamentally solved, the anti-interference capability is greatly enhanced, only the Hall element with one end output is submerged in the previous state or the next state when the Hall element is parallel to the Hall element without the magnetic field state output, and the random code generation phenomenon is easy to occur under the strong interference of the external magnetic field.
The key switch of the present embodiment may be considered as a normally open type key switch, but may be changed to a normally closed type key switch, and as long as the outputs of the first signal output terminal a and the second signal output terminal B are negated, that is, the first encoded information becomes 10 when the push lever is at the home position, the second encoded information becomes 00 at the critical position, and the third encoded information becomes 01 at the down position.
As can be understood by those skilled in the art, a logic gate circuit can be added on the basis of the two signal output ends to convert the output of the two signal output ends into one path of output, so that the anti-interference capability is enhanced, and the use by a user is facilitated.
In order to realize the background light emitting function, the key switch of the embodiment further includes a backlight 9, the backlight 9 is an LED lamp, and is disposed on the PCB 3, and may be specifically attached to the PCB 3, the switch body of the embodiment is a non-transparent structure, and a light hole 10 corresponding to the backlight 9 may be disposed on the upper casing 4 and the lower casing 5, and light emitted from the backlight 9 may be transmitted through the light hole 10; those skilled in the art will understand that the switch body of the present embodiment may also be a transparent structure, which directly transmits the light emitted from the backlight 9.
In the embodiment, the mechanical keyboard can be produced by using the key switches, the mechanical keyboard comprises a PCB (printed circuit board) 3 and a plurality of the key switches, a fixing plate can be arranged between the PCB 3 and the key switches, and the lower shell on the switch body is mounted on the PCB 3 through the fixing plate; the PCB board 3 is fixed with the fixing board through screws or clamping, and the first coding information and the second coding information enable the key switches to have accurate conduction points, so that the plurality of key switches of the mechanical keyboard have excellent consistency.
Example 2:
the key switch of the present embodiment is different from embodiment 1 in that: as shown in fig. 10, the hall element 1 is a linear hall element, a first comparator LM1 and a second comparator LM2 are disposed between the linear hall element and two signal output terminals, an output terminal of the linear hall element is connected to an inverting input terminal of the first comparator LM1, a non-inverting input terminal of the first comparator LM1 is connected to a reference voltage of 3V, an output terminal of the first comparator LM1 is connected to a first signal output terminal a, an output terminal of the linear hall element is connected to a non-inverting input terminal of the second comparator LM2, a non-inverting input terminal of the second comparator LM2 is connected to a reference voltage of 2V, an output terminal of the second comparator LM2 is connected to a second signal output terminal B, in this embodiment, when the operating voltage is less than 3V, the first signal output terminal a outputs a high level, when the operating voltage is greater than 3V, the first signal output terminal a outputs low level, and when the operating voltage is greater than 2V, the second signal output terminal B outputs high level, when the working voltage is less than 2V, the second signal output end B outputs low level.
In this embodiment, when the handle 6 is at the original position, the operating voltage is greater than 3V, the first signal output terminal a outputs the low level, the second signal output terminal B outputs the high level, that is, the first encoded information is 01, when the handle 6 is at the critical position, the operating voltage is less than 3V and greater than 2V, the first signal output terminal a outputs the high level, the second signal output terminal B outputs the high level, that is, the first encoded information is 11, when the handle 6 is at the lower limit position, the operating voltage is less than 2V, the first signal output terminal a outputs the high level, and the second signal output terminal B outputs the low level.
Those skilled in the art can understand that two comparators can also be integrated with the linear hall element, and then the two comparators are directly output on two signal output terminals for direct use by a user; furthermore, on the basis of two signal output ends, a logic gate circuit is added to convert the output of the two signal output ends into one path of output, so that the anti-interference capability is enhanced, and the use by a user is facilitated.
Example 3:
the key switch of this embodiment has the following main structure differences from embodiment 1:
in the push-button switch of the present embodiment, the front end of the magnetic element 2 is an S-pole, the rear end is an N-pole, as shown in fig. 11, when the push handle 6 is at rest, the magnetic element 2 is located above the front side of the hall element 1, and the magnetic element 2 is parallel to the opposite surface of the hall element 1, at this time, neither the first magnetic line a11 nor the second magnetic line a12 of the magnetic element 2 can cut the hall element 1 in the vertical direction, so the two sets of magnetic lines do not affect the state of the hall element 1, the third magnetic line a13 is the front surface of the hall element with the S-pole direction close to the N-pole, so the hall element with the N-pole does not operate, the first signal output terminal a outputs a high level, and the third magnetic line a13 is the front surface of the hall element with the S-pole direction close to the S-pole, so the hall element with the S-pole attracts, the second signal output terminal B outputs a, i.e. the first coded information formed by the combination is 10.
As shown in fig. 12, when the pressing handle 6 moves downward from the home position to the critical position, the S-pole of the magnetic element 2 is horizontally aligned with the hall element 1, and the magnetic element 2 is parallel to the hall element 1, at this time, the first magnetic line a11, the second magnetic line a12, and the third magnetic line a13 of the magnetic element 2 cannot cut the hall element 1 in the vertical direction, so the hall element with N-polarity does not operate, the output of the first signal output terminal a remains at high level, the hall element with S-polarity does not operate, and the second signal output terminal B outputs high level, that is, the combined second coded information is 11.
As shown in fig. 13, when the pressing handle 6 moves downward from the critical position to the lower limit position, the magnetic element 2 moves downward to the lower part of the front side of the hall element 1 through the opening 8 on the PCB 3 along with the pressing handle 6, and the magnetic element 2 is parallel to the opposite side of the hall element 1, at this time, neither the second magnetic line a12 nor the third magnetic line a13 of the magnetic element 2 can cut the hall element in the vertical direction, so the two groups of magnetic lines do not affect the state of the hall element 1, only the vertical component of the first magnetic line a11 cuts the hall element 1, the first magnetic line a11 is the back side of the hall element with the S-pole direction close to the N-pole, and the first magnetic line a11 is the front side of the hall element with the S-pole direction close to the S-pole, so the hall element with the N-pole attracts, the first signal output terminal a outputs a low level, and the first magnetic line a11 is the back side of the hall element with the S-pole direction close to the S-, the first magnetic flux lines a11 are the front surfaces of the hall elements with the S-pole direction close to the N-pole, so the hall elements with the S-pole still do not operate, the output of the second signal output terminal B remains high, that is, the third encoded information formed by combination is 01, and it can be seen that the third encoded information is opposite to the first encoded information.
When the pressing handle 6 moves upwards from the lower limit position to the critical position, the equivalent reverse process is performed when the pressing handle moves downwards from the critical position to the lower limit position.
When the pressing handle 6 moves upwards from the critical position to the original position, the equivalent reverse process is performed when the pressing handle moves downwards from the original position to the critical position.
As described above, when the push lever 6 is at each position, the first signal output terminal a and the second signal output terminal B of the hall element 1 output as follows:
position of the pressing handle First signal output terminal A Second signal output terminal B
Original position 1 0
Critical position 1 1
Lower limit position 0 1
The push switch of the present embodiment may be considered as a normally closed push switch, but may be changed to a normally open push switch, in which the first encoded information is changed to 01 when the outputs of the first signal output terminal a and the second signal output terminal B of the hall element 1 are negated, that is, the push lever is at the home position, the second encoded information is changed to 00 at the critical position, and the third encoded information is changed to 10 at the down position.
Example 4:
the key switch of this embodiment has the main structure similar to that of embodiments 1 and 3, and the difference is: as shown in fig. 14, the hall element 1 is located below the left side of the magnetic element 2, and the left end of the magnetic element 2 is the N pole and the right end is the S pole.
Example 5:
in the key switch of embodiment 4, as shown in fig. 15, the hall element 1 is located below the left side of the magnetic element 2, and is rotated 90 degrees clockwise on the PCB 3, and the left end of the magnetic element 2 is an N pole, and the right end is an S pole.
Example 6:
the key switch of this embodiment has the main structure similar to that of embodiments 1 and 3, and the difference is: as shown in fig. 16, the hall element 1 is located below the right side of the magnetic element 2, and the magnetic element 2 has an N-pole at the left end and an S-pole at the right end.
Example 7:
the key switch of this embodiment has the main structure similar to that of embodiment 6, except that: as shown in fig. 17, the hall element 1 is located below the right side of the magnetic element 2, and rotates 90 degrees counterclockwise on the PCB board 3, and the left end of the magnetic element 2 is an N pole and the right end is an S pole.
Example 8:
the key switch of this embodiment is a key switch such as a green axis and a tea axis, and in order to realize that the key switch generates sound and paragraph feeling after being pressed, the key switch of this embodiment is further provided with a second elastic element in the accommodating space, the second elastic element of this embodiment is a torsion spring structure or a spring plate structure, the pressing handle 6 is provided with a driving block, and when the pressing handle 6 is pressed down or bounced, the driving block acts on the second elastic element to change the shape of the second elastic element, thereby generating sound and paragraph feeling. The rest of the examples are the same as examples 1 to 7.
To sum up, the present invention arranges the hall element on the PCB, and arranges the magnetic element on the handle, and the magnetic element is arranged above one side of the hall element, so that the hall element and the magnetic element are relatively dislocated in the horizontal direction, along with the up-and-down movement of the handle, the magnetic element passes through the opening on the PCB and makes reciprocating movement in the vertical direction along the horizontal plane of the hall element, when the handle is at the original position, the two signal output ends output different levels and form the first coded information, when the handle is at the critical position, the two signal output ends output the same level and form the second coded information, when the handle is at the lower limit position, the two signal output ends output different levels and form the third coded information opposite to the first coded information, because of the existence of the second coded information, the state that the critical position has no magnetic field can be embodied, the states of the original position and the lower limit position are distinguished, and the state that the second coding information is needed to be effective when the key is pressed down or released is judged by adopting the coding mode, so that the state that two signal output ends are output to the same level can not occur at the original position and the lower limit position no matter how under the strong interference of an external magnetic field, the condition that the magnetic field is in a random code can be fundamentally solved, the anti-interference capability is greatly enhanced, and the key switches have accurate conducting points due to the first coding information and the second coding information, so that a plurality of key switches of the mechanical keyboard have excellent consistency; in addition, make full use of the trompil on the PCB, can regard as ultra-thin formula key switch to use to adopt hall element, the consumption is lower, can make wireless keyboard or bluetooth keyboard.
The above, only be the embodiment of the utility model discloses a patent preferred, nevertheless the utility model discloses a protection scope is not limited to this, and any technical personnel who is familiar with this technical field are in the utility model discloses a within range, according to the utility model discloses a technical scheme and utility model design equivalence substitution or change all belong to the protection scope of the utility model patent.

Claims (10)

1. A coded Hall key switch comprises a switch body, wherein the switch body comprises a press handle capable of moving up and down, and the coded Hall key switch is characterized by further comprising a Hall element, a magnetic element and two signal output ends, wherein the surface of the Hall element is arranged on a PCB (printed Circuit Board), the magnetic induction direction of the Hall element is vertical, and the Hall element is respectively connected with the two signal output ends; the magnetic element is arranged on the pressing handle, and the NS pole direction of the magnetic element is the horizontal direction;
when the press handle is static, the magnetic element is positioned above one side of the Hall element; along with the up-and-down movement of the press handle, the magnetic element passes through the opening on the PCB and makes reciprocating motion along the horizontal plane of the Hall element in the vertical direction; when the press handle is at the lower limit position, the two signal output ends output different levels and form third coded information opposite to the first coded information.
2. The encoded hall keyswitch of claim 1 wherein the hall elements comprise an N-polarity hall element and an S-polarity hall element, the N-polarity hall element and the S-polarity hall element being coupled to two signal outputs, respectively.
3. The encoded hall key switch of claim 2 wherein the magnetic element has a magnetic field strength that enables the hall element to attract when the polarities of the hall element and the magnetic element satisfy the attracted polarity condition within the range of reciprocating motion.
4. The encoded hall keyswitch of claim 1 wherein the hall element is a linear hall element, and wherein the linear hall element is connected to two signal output terminals via two comparators.
5. The encoded hall keyswitch of claim 1 wherein the hall element is surface mounted to either the top surface or the bottom surface of the PCB.
6. The encoded hall key switch of any one of claims 1 to 5 wherein the switch body further comprises an upper housing and a lower housing, the upper housing is fixedly connected to the lower housing, the lower housing is mounted on the PCB board, the pressing handle is movably disposed on the upper housing in an up-and-down manner, a receiving space is formed between the upper housing and the lower housing, and a first elastic element is disposed in the receiving space and located below the pressing handle.
7. The encoded hall key switch of claim 6 wherein a second elastic element is further disposed in the accommodating space, and a driving block is disposed on the pressing handle, and when the pressing handle is pressed down or bounced, the driving block acts on the second elastic element to change the shape of the second elastic element.
8. The encoded hall keyswitch of claim 7, wherein the second resilient element is a torsion spring structure or a leaf spring structure.
9. The encoded hall key switch of any one of claims 1 to 5, further comprising a backlight lamp, wherein the backlight lamp is disposed on the PCB and is located directly below the switch body.
10. A mechanical keyboard comprises a PCB board and is characterized by further comprising a plurality of coded Hall key switches according to any one of claims 1 to 9, an opening is formed in the PCB board and located right below a pressing handle, and a switch body is mounted on the PCB board through a fixing plate.
CN201920976330.2U 2019-06-26 2019-06-26 Coding type Hall key switch and mechanical keyboard Active CN210157170U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920976330.2U CN210157170U (en) 2019-06-26 2019-06-26 Coding type Hall key switch and mechanical keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920976330.2U CN210157170U (en) 2019-06-26 2019-06-26 Coding type Hall key switch and mechanical keyboard

Publications (1)

Publication Number Publication Date
CN210157170U true CN210157170U (en) 2020-03-17

Family

ID=69764353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920976330.2U Active CN210157170U (en) 2019-06-26 2019-06-26 Coding type Hall key switch and mechanical keyboard

Country Status (1)

Country Link
CN (1) CN210157170U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114323083A (en) * 2021-12-17 2022-04-12 上海艾为电子技术股份有限公司 Hall sensing device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114323083A (en) * 2021-12-17 2022-04-12 上海艾为电子技术股份有限公司 Hall sensing device and electronic equipment

Similar Documents

Publication Publication Date Title
TW201709241A (en) Photoelectric keyboard key
KR20170060563A (en) Mechanical keyboard switch of led lamp based on hall principle
CN210157170U (en) Coding type Hall key switch and mechanical keyboard
US3680026A (en) Contactless switching apparatus
CN209526035U (en) Magnetic induction keyboard
WO2022143376A1 (en) Balancing frame triggered turning-on and sound production mechanism applied to keyboard switch
TWM627695U (en) Balance frame trigger single arm conducting voicing mechanism for keyboard switch
CN207441550U (en) Stir key switch device and its electronic equipment
CN113948334A (en) Press sound and press button with adjustable hand feeling
CN219085853U (en) Be applied to key switch's magnetism mechanism that switches on
CN216213052U (en) Press sound and button of pressing down power adjustable
CN207896953U (en) A kind of mouse push-button unit
CN210927595U (en) Antimagnetic Hall key switch and mechanical keyboard
US3863182A (en) Magnetically operated electrical switch
CN205828286U (en) A kind of motor-driven relay
CN212875767U (en) Key switch, mouse and mechanical keyboard
CN111243895B (en) Button generator of wireless doorbell
CN107895667A (en) A kind of modified electromechanics detached keyboard
CN211321186U (en) Z-shaped magnetic conduction plate magnetic generating device
CN207856290U (en) A kind of joystick of changeable sensitivity
CN110957886A (en) Button type magnetic generating device
CN205881755U (en) Permanent magnet button
CN220106331U (en) Multi-conduction key switch
CN105161341A (en) Magnetic suspension button and keyboard
CN208938859U (en) A kind of trigger-type magnetic force key

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant