PCB, magnetic shaft and keyboard capable of directly installing the magnetic shaft
By setting slots on the PCB to fix the magnetic axis, integrating the magnetic induction circuit and GRB RGB driving circuit into a chip, and using a serial-parallel single-bus serial communication circuit, the problems of large assembly errors and high costs of existing magnetic axis keyboards are solved, realizing a low-cost, high-reliability ultra-thin keyboard design.
Patent Information
- Application Number
- CN202620078995.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2026-01-21
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2036-01-21
AI Technical Summary
Existing magnetic axis keyboards have large assembly errors and high costs, and the MCU needs to be built into the magnetic axis PCB, making the components complex and unable to achieve a single-board design.
The chip, which integrates magnetic induction circuit and GRB color driving circuit, is fixed with slots on the PCB and magnetic shaft. It adopts a serial-parallel single-bus serial communication circuit to simplify the circuit structure. The MCU can be externalized to realize hot standby communication.
It reduces material and assembly costs, improves reliability and stability, supports ultra-thin designs, simplifies circuit structure, reduces the number of MCU pins, and enhances keyboard reliability and contamination resistance.
Smart Images

Figure CN225018724U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to a magnetic axis keyboard, and more particularly to a PCB, magnetic axis, and keyboard that can be directly mounted with a magnetic axis. Background Technology
[0002] Traditional magnetic switch keyboards all have dedicated mounting plates for the switches, requiring them to be securely locked to the PCB during assembly. This results in high costs and significant assembly errors. Magnetic switches with RGB indicators have many components, and the MCUs with USB functionality have at least 30 pins. Most are double-sided, and making them single-sided would require hundreds more components, necessitating the integration of the MCU onto the magnetic switch PCB. Furthermore, the original magnetic switch illuminated keycaps require separate GRB LEDs for indication. Utility Model Content
[0003] The purpose of this invention is to overcome the shortcomings and deficiencies of the prior art and provide a PCB that can directly mount a magnetic shaft.
[0004] Another objective of this invention is to provide a magnetic shaft.
[0005] Another objective of this invention is to provide a keyboard.
[0006] The objective of this utility model is achieved through the following technical solution:
[0007] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic full-color chip.
[0008] The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a serial and parallel single bus. It includes a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin. The power supply pin is used to power the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding.
[0009] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.
[0010] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0011] GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO;
[0012] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0013] Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.
[0014] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic full-color chip.
[0015] The magnetic full-color chip is used to drive external LED beads. It integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a ground pin, a parallel data line pin, an address code input pin, an address code output pin, a G pin, an R pin, and a B pin. The power supply pin is used to power the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are connected to the external green LED, red LED, and blue LED, respectively.
[0016] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.
[0017] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0018] GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO;
[0019] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0020] Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.
[0021] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic oscillator chip.
[0022] The magnetic converter chip integrates a magnetic induction circuit, an address code memory, and a serial communication circuit with a single bus, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin; the power supply pin is used to power the magnetic converter chip, and the ground pin is used for signal grounding and power grounding;
[0023] The address code input pins and address code output pins of n magnetic oscillator chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic oscillator chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic oscillator chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.
[0024] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0025] Information from the magnetic shaft switch can be transmitted on the parallel data line network (DIO).
[0026] Information from the magnetic shaft switch can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0027] Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic shaft switch information and serve as hot backups for each other.
[0028] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic color chip.
[0029] The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, and a series single-bus serial communication circuit, including a power supply pin, a ground pin, a series signal input pin, and a series signal output pin; the power supply pin is used to power the magnetic color chip, and the ground pin is used for signal grounding and power grounding;
[0030] The serial signal input pins and serial signal output pins of n magnetic color chips are cascaded to form a serial data line network DIN(1)-DOUT(n). The two ends of the serial data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU transmits the GRB color information and magnetic shaft switch information to the MCU through the serial data line network DIN(1)-DOUT(n).
[0031] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0032] GRB RGB information and magnetic shaft switch information are transmitted on the serial data line network DIN(1)-DOUT(n);
[0033] The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
[0034] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic chip.
[0035] The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin, a grounding pin, and a parallel data line pin. The power supply pin is used to power the magnetic color chip, and the grounding pin is used for signal grounding and power grounding.
[0036] The parallel data lines are connected together to form a parallel data line network (DIO), which is then connected to the MCU. The address code of the Magnetchip chip is written into the address code memory through an external fixture and used as the communication address code.
[0037] Parallel single-bus serial communication circuits are used to process information from parallel data line networks;
[0038] GRB RGB information and magnetic shaft switch information are transmitted on the parallel data line network DIO;
[0039] The parallel data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
[0040] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic carrier chip.
[0041] The magnetic color-carrying chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color-carrying drive circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin and a grounding pin. The power supply pin is used to supply power to the magnetic color-carrying chip and transmit information, while the grounding pin is used for signal grounding and power grounding.
[0042] The magnetic carrier chip address code is written into the address code memory through an external fixture and used as the communication address code; the data information is modulated on the power network VCC and transmitted to the MCU via power line carrier. The power network VCC is the parallel carrier data line network VCC (DIO).
[0043] Parallel single-bus serial communication circuits are used to process information from parallel carrier data line networks;
[0044] GRB holographic information and magnetic shaft switch information are transmitted on the parallel carrier data line network VCC (DIO);
[0045] The parallel carrier data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
[0046] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a magnetic full-color chip.
[0047] The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a grounding pin, an address code input pin, and an address code output pin. The power supply pin is used to power the magnetic full-color chip and transmit information, while the grounding pin is used for signal grounding and power grounding.
[0048] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, and the ground pins are connected in parallel to share the ground network GND. The data information is modulated on the power supply network VCC and transmitted to the MCU via power line carrier. The power supply network VCC is the parallel carrier data line network VCC(DIO).
[0049] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel carrier data line network information.
[0050] GRB holographic information and magnetic shaft switch information can be transmitted on the parallel carrier data line network VCC (DIO);
[0051] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0052] Both the parallel carrier data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information, and are hot-standby for each other.
[0053] Another objective of this utility model is achieved through the following technical solution:
[0054] A magnetic shaft has a snap-fit mechanism on its shaft body, which is fixed to a slot on the PCB, and the magnetic shaft can be repeatedly inserted into and removed from the PCB.
[0055] Another objective of this utility model is achieved through the following technical solution:
[0056] A keyboard includes the aforementioned PCB and a magnetic shaft corresponding to the PCB and capable of being repeatedly plugged into and removed from the PCB.
[0057] Compared with the prior art, this utility model has the following advantages and beneficial effects:
[0058] 1. This utility model eliminates the need for a dedicated shaft fixing plate, further reducing material and assembly costs.
[0059] 2. This invention also reduces the keyboard height, making the keyboard more ergonomic.
[0060] 3. The overall circuit of this utility model, which is composed of magnetic full-color chip, magnetic external color chip, magnetic full-color chip, magnetic magic color chip, magnetic color chip, magnetic color carrier chip, or magnetic full-color carrier chip, is simpler, and the PCB can be made into a single-sided PCB, which improves reliability and reduces cost.
[0061] 4. The overall circuit of this utility model, composed of magnetic full-color chip, magnetic external color chip, magnetic all-color chip, magnetic magic color chip, magnetic color chip, magnetic carrier color chip, and magnetic full-carrying color chip, is simpler. The MCU with USB function only needs 6 pins to complete the communication between the keyboard and the computer, which further reduces the cost.
[0062] 5. The overall circuit of this utility model, composed of a magnetic full-color chip, a magnetic external color chip, a magnetic all-color chip, a magnetic magic color chip, a magnetic convergence color chip, a magnetic carrier color chip, and a magnetic full-carrying color chip, is simpler. The MCU with USB function can be externally placed at the wire end, making the heart of the keyboard less susceptible to contamination by external liquids and dust. The MCU has good reliability, and the reliability and stability of the keyboard are further enhanced.
[0063] 6. This utility model uses a magnetic full-color chip, a magnetic external color chip, a magnetic full-device chip, and a magnetic full-carrying color chip as a series-parallel serial communication circuit. The series and parallel connections serve as hot standby for each other. This hot standby is not a simple repetitive dual-series hot standby, nor is it the same as a simple dual-parallel hot standby. The series-parallel hot standby has stronger complementarity, better hot standby effect, and more stable performance.
[0064] 7. This utility model uses a magnetic full-color chip, a magnetic external color chip, a magnetic device chip, and a magnetic full-carrying color chip. The coding can be completed by the serial data network formed by the cascading of the chips themselves. It does not require any external fixtures. The process is simple, improves reliability and stability, and reduces manufacturing costs.
[0065] 8. This utility model omits the dedicated insert plate, thus having a natural advantage in making ultra-thin keyboards; furthermore, the magnetic shaft can be made into an ultra-thin shaft, further reducing the thickness of the ultra-thin keyboard and making it an ultra-thin keyboard.
[0066] 9. In order to minimize power consumption, the control signal interface pin of this utility model operates in a time-division multiplexing manner: when detecting a button, it is an input port (INPUT); when not detecting a button, the control signal interface pin is an output port (OUTPUT), which can output a low level, and the button is in a zero power consumption state.
[0067] 10. Magnetic full-color chip, magnetic external color chip, magnetic magic color chip, magnetic convergence color chip, magnetic carrier color chip, and magnetic full carrier color chip all come with built-in GRB LEDs as keycap indicators, making them easier to use and reducing the PCB space occupied by the components. Attached Figure Description
[0068] Figure 1 This is a functional schematic diagram of the magnetic full-color chip described in Example 1.
[0069] Figure 2 This is a functional schematic diagram of the magnetic full-color chip described in Example 2.
[0070] Figure 3 This is a functional schematic diagram of the magnetic oscillator chip described in Example 3.
[0071] Figure 4 This is a functional schematic diagram of the magnetic color chip described in Example 4.
[0072] Figure 5 This is a functional schematic diagram of the magnetic color chip described in Example 5.
[0073] Figure 6 This is a functional schematic diagram of the magnetic color chip described in Example 6.
[0074] Figure 7 This is a functional schematic diagram of the magnetic full-color chip described in Example 7.
[0075] Figure 8 This is a timing diagram of address code transmission in Example 1.
[0076] Figure 9 This is a schematic diagram of the address code composition in Example 1.
[0077] Figure 10This is a schematic diagram of the composition of the magnetic shaft switch information code transmitted on the serial data line network DIN(1)-DOUT(n) in Example 1.
[0078] Figure 11 This is the encoding function diagram for Example 1.
[0079] Figure 12 This is an exploded view of the magnetic shaft described in this utility model.
[0080] Figure 13 This is a schematic diagram of the overall structure of the magnetic shaft described in this utility model.
[0081] Figure 14 This is a schematic diagram of the PCB and magnetic shaft mounting structure described in this utility model.
[0082] Figure 15 This is a schematic diagram of the PCB structure described in this utility model.
[0083] Figure 16 This is a partial structural diagram of a PCB containing only one magnetic full-color chip in Embodiment 7 of this utility model.
[0084] The meanings of the reference numerals in the attached figures are as follows:
[0085] 1-Slot, 2-Through hole, 3-Magnetic full-color chip, 4-Magnet, 5-Snap fastener. Detailed Implementation
[0086] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings, but the implementation of the present invention is not limited thereto.
[0087] Example 1
[0088] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic full-color chip.
[0089] like Figure 1 The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus in series and parallel connection. It includes a power supply pin, a grounding pin, a parallel data line pin, an address code input pin, and an address code output pin. The power supply pin is used to supply power to the magnetic full-color chip, and the grounding pin is used for signal grounding and power grounding.
[0090] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.
[0091] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0092] GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO;
[0093] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0094] Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.
[0095] Both serial and parallel data line networks transmit data information simultaneously. In practical applications, GRB RGB information is transmitted on the serial data line network, while magnetic shaft switch information is transmitted on the parallel data line network. This improves the scanning frequency of the magnetic induction button and the scanning frequency of the GRB LED to achieve the highest stability and reliability. The data communication network is switched intelligently and instantly only in the extreme case of failure of one side.
[0096] There are many forms of specific transmission protocols for data information on parallel data line networks (DIO). The Chinese utility model patent with announcement number CN120049875B, "A magnetic induction integrated circuit chip with address code, key and magnetic induction keyboard", provides a variety of different custom code transmission methods and working modes. For those skilled in the art, the transmission methods are clear and feasible, and will not be elaborated here.
[0097] like Figure 8 ADD1 is the first magnetic full-color chip, ADD2 is the second magnetic full-color chip, and ADD3 is the third magnetic full-color chip; ADD stands for ADDRESS. The data structure is: 16 bits of data from the first magnetic full-color chip + 16 bits of data from the second magnetic full-color chip + 16 bits of data from the third magnetic full-color chip + ... + 16 bits of data from the nth magnetic full-color chip + Trst.
[0098] like Figure 9 The most significant byte is placed first, followed by the least significant byte. The first 6 bits of the 16-bit data are the address command code "A5, A4, A3, A2, A1, A0", followed by 10 bits of the address code "D9, D8, D7, D6, D5, D4, D3, D2, D1, D0", totaling 10 bits. =1024 address codes.
[0099] like Figure 8 The first magnetic full-color chip receives n 16-bit data, retains the first address code in the address code memory of the first magnetic full-color chip, and transmits the second 16-bit data to the nth 16-bit data as is to the second magnetic full-color chip.
[0100] The second magnetic full-color chip receives n-1 16-bit data, retains the original second address code in the address code memory of the second magnetic full-color chip, and transmits the third to nth 16-bit data to the third magnetic full-color chip as is.
[0101] The third magnetic full-color chip receives n-2 16-bit data, retains the third address code in the address code memory of the third magnetic full-color chip, and transmits the fourth to nth 16-bit data to the fourth magnetic full-color chip as is.
[0102] The nth magnetic full-color chip receives 16 bits of data and stores the nth address code in the address code memory of the nth magnetic full-color chip.
[0103] When the parallel data line network fails, the magnetic shaft switch information is switched to be transmitted on the series data line network. At this time, the series data line network acts as a backup data line for the parallel data line network, and its transmission process is as follows:
[0104] The magnetic shaft switch information code is defined to include the key command code and the key status code.
[0105] When the first magnetic full-color chip receives the magnetic shaft switch information code, it simultaneously transmits the first bit of the button command code to the second magnetic full-color chip upon receiving the second bit of the button command code.
[0106] When the second magnetic full-color chip receives the second bit of the key command code, it simultaneously transmits the first bit of the key command code to the third magnetic full-color chip.
[0107] When the third magnetic full-color chip receives the second bit of the key command code, it simultaneously transmits the first bit of the key command code to the fourth magnetic full-color chip.
[0108] ...
[0109] When the nth magnetic full-color chip receives the second bit of the key command code, it simultaneously sends the first bit of the key command code to the MCU through the address code output pin DOUT(n).
[0110] Specifically, such as Figure 10 Taking 1024 magnetic shaft switch information codes as an example, "M5, M4, M3, M2, M1, M0" are the key command codes. M1 and M0 are the defined total number of keys, which can be customized.
[0111] M1=0 and M0=0 represent 128 keys, meaning there are 128 bits after reading the key command code;
[0112] M1=0 and M0=1 represent 256 keys, meaning there are 256 bits after reading the key command code;
[0113] M1=1 and M0=0 represent 512 keys, meaning there are 512 bits after reading the key command code;
[0114] M1=1 and M0=1 represent 1024 keys, meaning there are 1024 bits after reading the key command code;
[0115] The first magnetic full-color chip will receive 1030 bits of magnetic shaft switch information sequentially;
[0116] The second magnetic full-color chip will receive 1030 bits of magnetic shaft switch information in sequence;
[0117] The third magnetic full-color chip will receive 1030 bits of magnetic shaft switch information in sequence;
[0118] The nth magnetic full-color chip will receive 1030 bits of magnetic shaft switch information in sequence;
[0119] To save time, when the first magnetic full-color chip receives bit M4, it simultaneously sends bit M5 to the second magnetic full-color chip.
[0120] When the second magnetic full-color chip receives bit M4, it simultaneously sends bit M5 to the third magnetic full-color chip;
[0121] When the third magnetic full-color chip receives bit M4, it simultaneously sends bit M5 to the fourth magnetic full-color chip.
[0122] When the nth magnetic full-color chip receives the M4 bit, it simultaneously sends the M5 bit to the MCU through the address code output pin DOUT(n).
[0123] G1023……G2, G1, G0 are initially set to 1024 return-to-zero codes of “1”.
[0124] like Figure 11 :
[0125] Code 0 indicates that the magnetic shaft has been triggered and is in place for sorting;
[0126] 0# indicates that the magnetic shaft has not been triggered, but there is a placeholder sorting, i.e., a placeholder code 0;
[0127] Code 1 represents the initial code, indicating that the magnetic shaft has not been triggered and is not occupying a space;
[0128] When the first magnetic full-color chip is not triggered by the corresponding magnetic axis, the bit of G1023 must be set to placeholder 1#, that is, placeholder 1 code, indicating that the magnetic axis has not been triggered, but there is a placeholder for sorting.
[0129] When the second magnetic full-color chip is triggered by the corresponding magnetic axis, it first detects that bit 0# of G1023 and bit 1 of G1022. Therefore, the second magnetic full-color chip can only occupy bit 1 of G1022. At this time, when the second magnetic full-color chip is triggered by the corresponding magnetic axis, bit 0 of G1022 must be set to 0. Bit 0 of G1022 indicates that this button has been triggered and is in place.
[0130] When the third magnetic full-color chip is triggered by the corresponding magnetic axis, it is first detected that bit 1 of G1023 is occupied because there is no trigger; bit 0 of G1022 is occupied because there is a trigger. Therefore, the third magnetic full-color chip can only occupy bit G1021 for sorting. At this time, when the third magnetic full-color chip is triggered by the corresponding magnetic axis, bit G1021 must be set to bit 0. Bit 0 of G1021 indicates that this button has been triggered and is occupied for sorting.
[0131] This process continues until the nth magnetic full-color chip.
[0132] The serial data line network, serving as a backup data line for the parallel data line network, transmits magnetic shaft switch information. This is fundamentally different from the Chinese utility model patent "A Magnetic Induction Integrated Circuit Chip with Data Line, Keypad and Magnetic Induction Keyboard" (authorization announcement number CN117270701B), which transmits key information through placeholder information, and thus saves more time.
[0133] The magnetic full-color chip contains GRB LED beads and is packaged in a light-transmitting LED-type package; the GRB color information includes GRB LED bead color information, light grayscale information, and light current information.
[0134] The magnetic shaft switch information includes magnetic induction polarity setting, Bop value setting, and Brup value setting.
[0135] Example 2
[0136] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic full-color chip.
[0137] like Figure 2 The magnetic full-color chip is used to drive external LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a ground pin, a parallel data line pin, an address code input pin, an address code output pin, a G pin, an R pin, and a B pin. The power supply pin is used to supply power to the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are respectively connected to the external green LED, red LED, and blue LED.
[0138] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.
[0139] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0140] GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO;
[0141] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0142] Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.
[0143] Example 3
[0144] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic oscillator chip.
[0145] like Figure 3The magnetic converter chip integrates a magnetic induction circuit, an address code memory, and a serial-parallel single-bus serial communication circuit, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin; the power supply pin is used to power the magnetic converter chip, and the ground pin is used for signal grounding and power grounding;
[0146] The address code input pins and address code output pins of n magnetic oscillator chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic oscillator chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic oscillator chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU.
[0147] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information.
[0148] Information from the magnetic shaft switch can be transmitted on the parallel data line network (DIO).
[0149] Information from the magnetic shaft switch can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0150] Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic shaft switch information, and they serve as hot backups for each other.
[0151] Example 4
[0152] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic color chip.
[0153] like Figure 4 The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, and a series single-bus serial communication circuit, including a power supply pin, a grounding pin, a series signal input pin, and a series signal output pin; the power supply pin is used to power the magnetic color chip, and the grounding pin is used for signal grounding and power grounding;
[0154] The serial signal input pins and serial signal output pins of n magnetic color chips are cascaded to form a serial data line network DIN(1)-DOUT(n). The two ends of the serial data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU transmits the GRB color information and magnetic shaft switch information to the MCU through the serial data line network DIN(1)-DOUT(n).
[0155] A serial single-bus serial communication circuit is used to process information from a serial data line network.
[0156] GRB RGB information and magnetic shaft switch information are transmitted on the serial data line network DIN(1)-DOUT(n);
[0157] The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
[0158] Example 5
[0159] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic chip.
[0160] like Figure 5 The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin, a grounding pin, and a parallel data line pin. The power supply pin is used to supply power to the magnetic color chip, and the grounding pin is used for signal grounding and power grounding.
[0161] The parallel data lines are connected together to form a parallel data line network (DIO), which is then connected to the MCU. The address code of the Magnetchip chip is written into the address code memory through an external fixture and used as the communication address code.
[0162] Parallel single-bus serial communication circuits are used to process information from parallel data line networks;
[0163] GRB RGB information and magnetic shaft switch information are transmitted on the parallel data line network DIO;
[0164] The parallel data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
[0165] Example 6
[0166] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a corresponding magnetic carrier chip.
[0167] like Figure 6 The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin and a grounding pin. The power supply pin is used to supply power to the magnetic color chip and transmit information, while the grounding pin is used for signal grounding and power grounding.
[0168] The magnetic carrier chip address code is written into the address code memory through an external fixture and used as the communication address code; the data information is modulated on the power network VCC and transmitted to the MCU via power line carrier. The power network VCC is the parallel carrier data line network VCC (DIO).
[0169] Parallel single-bus serial communication circuits are used to process information from parallel carrier data line networks;
[0170] GRB holographic information and magnetic shaft switch information are transmitted on the parallel carrier data line network VCC (DIO);
[0171] The parallel carrier data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
[0172] Example 7
[0173] A PCB that can directly mount magnetic shafts has several slots on it. The PCB is fixed to the magnetic shaft through the slots, and each magnetic shaft is equipped with a magnetic full-color chip.
[0174] like Figure 7 The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a grounding pin, an address code input pin, and an address code output pin. The power supply pin is used to power the magnetic full-color chip and transmit information, while the grounding pin is used for signal grounding and power grounding.
[0175] The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, and the ground pins are connected in parallel to share the ground network GND. The data information is modulated on the power supply network VCC and transmitted to the MCU via power line carrier. The power supply network VCC is the parallel carrier data line network VCC(DIO).
[0176] Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel carrier data line network information.
[0177] GRB holographic information and magnetic shaft switch information can be transmitted on the parallel carrier data line network VCC (DIO);
[0178] GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n);
[0179] Both the parallel carrier data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information, and are hot-standby for each other.
[0180] like Figures 14 to 16 In Example 7, the PCB is provided with a plurality of slots 1 and through holes 2. The magnetic shaft is inserted into the PCB through the through hole 2 and fixed to the PCB through the slot 1. Each magnetic shaft is provided with a magnetic full-color chip 3.
[0181] like Figure 12 and Figure 13 A magnetic shaft includes a top cover, a handle, a magnet 4, a drive spring, and a base. The shaft body of the magnetic shaft is provided with a buckle 5, which is fixed to a slot 1 on the PCB, and the magnetic shaft can be repeatedly inserted and removed from the PCB. When the magnetic shaft is pressed down, the magnet 4 moves downward. When the magnet 4 passes through the horizontal induction critical surface of the magnetic pole of the magnetic full-color chip 3, the magnetic shaft is turned on and sends magnetic shaft switch information to the magnetic full-color chip 3.
[0182] A keyboard includes the aforementioned PCB and a magnetic shaft corresponding to the PCB and capable of being repeatedly plugged into and removed from the PCB.
[0183] The PCB described in Examples 1 to 6, and the keyboard that can be obtained according to Examples 1 to 6, differ from Example 7 in that the chip corresponding to each magnetic axis is different, while the rest are the same.
[0184] In Examples 1 to 7, it should be noted that in the same electrical system, all networks with the same name (such as VCC, GND, DIO, DIN, DOUT) are electrically connected. Furthermore, VCC and VCC(DIO) are essentially the same electrical network.
[0185] The above embodiments are preferred embodiments of the present utility model, but the embodiments of the present utility model are not limited to the above embodiments. Any changes, modifications, substitutions, combinations, or simplifications made without departing from the spirit and principle of the present utility model shall be considered equivalent substitutions and shall be included within the protection scope of the present utility model.
Claims
1. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic full-color chip. The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial-parallel single-bus serial communication circuit, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin. The power pin is used to power the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding. The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU. Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information. GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO; GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.
2. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic full-color chip. The magnetic full-color chip is used to drive external LED beads. It integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus. It includes a power supply pin, a ground pin, a parallel data line pin, an address code input pin, an address code output pin, a G pin, an R pin, and a B pin. The power supply pin is used to power the magnetic full-color chip, and the ground pin is used for signal grounding and power grounding. The G pin, R pin, and B pin are connected to the external green LED, red LED, and blue LED, respectively. The address code input pins and address code output pins of n magnetic full-color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence number formed by the cascaded magnetic full-color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-color chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU. Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information. GRB RGB information and magnetic shaft switch information can be transmitted on the parallel data line network DIO; GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the series data line network use the serial single-bus communication protocol to transmit GRB RGB information and magnetic shaft switch information, and are hot-standby for each other.
3. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic chip. The magnetic sensor chip integrates a magnetic induction circuit, an address code memory, and a serial-parallel single-bus serial communication circuit, including a power supply pin, a ground pin, a parallel data line pin, an address code input pin, and an address code output pin. The power pin is used to supply power to the magnet chip, and the ground pin is used for signal grounding and power grounding. The address code input pins and address code output pins of n magnetic oscillator chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic oscillator chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic oscillator chips are connected in parallel to share the power supply network VCC, the ground pins are connected in parallel to share the ground network GND, and the parallel data line pins are connected in parallel to form a parallel data line network DIO, which is then connected to the MCU. Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel data line network information. Information from the magnetic shaft switch can be transmitted on the parallel data line network (DIO). Information from the magnetic shaft switch can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel data line network and the series data line network use a serial single-bus communication protocol to transmit magnetic shaft switch information and serve as hot backups for each other.
4. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a corresponding magnetic color chip. The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, and a series single-bus serial communication circuit, including a power supply pin, a ground pin, a series signal input pin, and a series signal output pin; the power supply pin is used to power the magnetic color chip, and the ground pin is used for signal grounding and power grounding; The serial signal input pins and serial signal output pins of n magnetic color chips are cascaded to form a serial data line network DIN(1)-DOUT(n). The two ends of the serial data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU transmits the GRB color information and magnetic shaft switch information to the MCU through the serial data line network DIN(1)-DOUT(n). A serial single-bus serial communication circuit is used to process information from a serial data line network. GRB RGB information and magnetic shaft switch information are transmitted on the serial data line network DIN(1)-DOUT(n); The serial data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
5. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a magnetic color chip. The magnetic color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin, a grounding pin, and a parallel data line pin. The power supply pin is used to power the magnetic color chip, and the grounding pin is used for signal grounding and power grounding. The parallel data lines are connected together to form a parallel data line network (DIO), which is then connected to the MCU. The address code of the Magnetchip chip is written into the address code memory through an external fixture and used as the communication address code. Parallel single-bus serial communication circuits are used to process information from parallel data line networks; GRB RGB information and magnetic shaft switch information are transmitted on the parallel data line network DIO; The parallel data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
6. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a magnetic color chip. The magnetic color-carrying chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color-carrying drive circuit, a parallel single-bus serial communication circuit, and an address code memory. It includes a power supply pin and a grounding pin. The power supply pin is used to supply power to the magnetic color-carrying chip and transmit information, while the grounding pin is used for signal grounding and power grounding. The magnetic carrier chip address code is written into the address code memory through an external fixture and used as the communication address code; the data information is modulated on the power network VCC and transmitted to the MCU via power line carrier. The power network VCC is the parallel carrier data line network VCC (DIO). Parallel single-bus serial communication circuits are used to process information from parallel carrier data line networks; GRB holographic information and magnetic shaft switch information are transmitted on the parallel carrier data line network VCC (DIO); The parallel carrier data line network uses a serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information.
7. A PCB capable of directly mounting a magnetic shaft, characterized in that, The PCB has several slots, and the PCB is fixed to the magnetic shaft through the slots. Each magnetic shaft is equipped with a magnetic full-color chip. The magnetic full-color chip contains GRB LED beads and integrates a magnetic induction circuit, a GRB color driving circuit, an address code memory, and a serial communication circuit with a single bus, including a power supply pin, a ground pin, an address code input pin, and an address code output pin. The power pin is used to supply power to the magnetic full-load color chip and transmit information, while the ground pin is used for signal grounding and power grounding. The address code input pins and address code output pins of n magnetic full-load color chips are cascaded to form a series data line network DIN(1)-DOUT(n). The two ends of the series data line network DIN(1) and DOUT(n) are connected to the MCU respectively. The MCU writes the sequence bit formed by the cascaded magnetic full-load color chips into the address code memory through the series data line network DIN(1)-DOUT(n) and uses it as the communication address code. The power supply pins of the n magnetic full-load color chips are connected in parallel to share the power supply network VCC, and the ground pins are connected in parallel to share the ground network GND. The data information is modulated on the power supply network VCC and transmitted to the MCU via power line carrier. The power supply network VCC is the parallel carrier data line network VCC (DIO). Serial-parallel single-bus serial communication circuits are used to process serial data line network information and parallel carrier data line network information. GRB holographic information and magnetic shaft switch information can be transmitted on the parallel carrier data line network VCC (DIO); GRB RGB information and magnetic shaft switch information can also be transmitted on the serial data line network DIN(1)-DOUT(n); Both the parallel carrier data line network and the serial data line network use the serial single-bus communication protocol to transmit GRB holographic information and magnetic shaft switch information, and are hot-standby for each other.
8. A magnetic shaft, characterized in that, The magnetic shaft is provided with a snap fastener to be fixed to a slot on the PCB as described in any one of claims 1 to 7, and the magnetic shaft can be repeatedly inserted and removed from the PCB.
9. A keyboard, characterized in that, It includes the PCB as described in any one of claims 1 to 7, and a magnetic shaft corresponding to the PCB and capable of being repeatedly inserted and removed from the PCB.
Citation Information
Patent Citations
Integrated circuit chip, key and mechanical keyboard with data line
CN117270701B
Integrated circuit chip, key and mechanical keyboard with address code
CN120049875B
